One of the most interesting things I did all summer was a workshop called Pi Maker that I conducted as a launch event for a new MakerSpace in Noida (close to Delhi, India). Helping a group of people visualize the endless possibilities in the world of DIY electronics by using the Raspberry Pi as a medium, was in itself, quite rewarding. 🙂
The main content for the workshop was provided by Inventrom robotics initially, which I modified to include all that I’d discovered and learnt in these past few years of working with the Pi. I also had a lot of support from RobotechLabs in Delhi to help setup this entire event.
I’ve uploaded the material on SlideShare and anybody looking to get started with the Pi from scratch (no electronics/programming past experience) or maybe on the hunt for some inspiration can have a look at them 🙂 Feel free to share and use but please don’t modify the slides in any manner that removes the existing watermarks.
Here’s a link to the first presentation in a set of 6:
Head over to these websites and check out the cool work they’ve been doing too!
In order to draw in more participants, here’s a sort of promotional video that I’d cooked up :
I’d promised to put up the relevant explanation for this Intruder Alert system, and here’s my shot at it.
Here’s what happens when a person tries to enter my room:
- A PIR sensor detects a human presence which sends a signal to a GPIO pin on the Raspberry Pi
- The Pi communicates with the Arduino via serial and also plays a wailing siren from omxplayer
- The Arduino Uno, on receiving data from the Pi through a USB cable, switches on the christmas lights on the floor through a relay board.
- The Pi sends me an e-mail using ssmtp saying that somebody tried to enter my room
- An IR LED connected to the Raspberry Pi is used to trigger off my Nikon camera mounted on a tripod using LIRC
Here’s a look at the code:
This is the basic PIR sensor code I’d implemented first before setting up the Intruder alert system:
import RPi.GPIO as GPIO from time import sleep # from subprocess import call import os GPIO.setmode(GPIO.BOARD) GPIO.setup(7,GPIO.OUT) GPIO.setup(11,GPIO.IN) GPIO.output(7,True) while True: sleep(1) if GPIO.input(11) == True: os.system('omxplayer /home/pi/Projects/PIR/hey.mp3')
I’d hoped to get some individuals hooked on to this amazing and rewarding world of magic through this workshop and I hope that the slides I’ve uploaded help me in spreading this know-how to other far-off places thorough the internet.
Just to show off the MakerSpace and give a glimpse into the 2 day workshop: