Published © CC BY-NC-SA

The Internet Controlled Corona Virus Slapper

Let's collectively vent our frustrations by slapping the Corona Virus via the internet!

BeginnerFull instructions providedOver 1 day1,219
The Internet Controlled Corona Virus Slapper

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1
Servo mg995
×1
Camera Module
Raspberry Pi Camera Module
×1

Software apps and online services

Raspbian
Raspberry Pi Raspbian
Remo.tv

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Googly Eyes
Wire (preferably fishing wire, but any other type of wire will also do the trick)
Popsicle stick
Glue
Plier, Long Nose
Plier, Long Nose

Story

Read more

Code

code

Python
# This is a dummy file to allow the automatic loading of modules without error on none.
from gpiozero import Servo
import time
slapServo = Servo(17)

def setup(robot_config):
    return
    
def move(args):

    sleepTime = 0.4

    slapServo.max()
    time.sleep(sleepTime)
    slapServo.min()
    time.sleep(sleepTime)

    slapServo.detach()

    return

Credits

Comments