Beginning Raspberry Pi, Arduino, and Friends
Raspberry Pi , Arduino, And Friends This monthly meetup focuses on microcontrollers. At the time of this writing, Raspberry Pi and Arduino are the most popular devices that people are likely to have and likely to search for when seeking out a community to collaborate with. But we don't want to rule out other prototyping boards or even bare microcontroller chips like the AVR family from Atmel, TI launchpad, PIC controllers or the latest hotness on the crowd-sourcing site of the hour.
Each session, a new topic is introduced to give folks something to chew on. These topics occasionally build on previous sessions, but the workshops are kept open so folks can focus on topics from previous events or work on their own projects and get support from other attendees.
Here is a list of topics covered so far with links to tutorials covering the topic:
2015
Feb
Motion Detection - reading a PIR sensor
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-12-sensing-movement/
Mar
Video with Pi Camera
https://www.raspberrypi.org/documentation/usage/camera/README.md
Apr
Web Controlled lamp using Flask
http://mattrichardson.com/Raspberry-Pi-Flask/
May
https://github.com/miguelgrinberg/Flask-SocketIO
Jun
running raspi headless (without monitor, keyboard, or mouse)
- run raspi-config and enable sshd (in advanced settings)
- enable a wi-fi adapter
- use nmap or some other tool (like the app fing for android and IOS) to find your pi on the network (or use some other clever way to know the ip address)
- ssh into your pi
- from here you can use tmux for console-based interaction or install and run vncserver if you like the comfort of the gui desktop
Jul
simple raspi and arduino communication over usb
http://blog.oscarliang.net/connect-raspberry-pi-and-arduino-usb-cable/
Aug
reading analog sensor via software SPI and an MCP3008 chip
Sep
Basic interrupt handling for Arduino and Raspberry Pi. A few simple C programs (conditionally compiled for either Arduino or Raspberry Pi) will be used to demonstrate simple interrupt handling.
Raspberry Pi Wiring Pi library install instructions: https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/
Arduino C code sketches: http://bitser.net/arduino_interrupts.zip Raspberry Pi make files and C code: http://bitser.net/raspberry_pi_interrupts.zip
Oct
Using PIR (Passive InfraRed) sensors with Arduino and Raspberry Pi. A variation on the September C code will be used with PIR (body motion) sensors.
PIR tutorial: https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor/how-pirs-work
Functional equivalent PIR sensor details and links to other tutorials: https://www.adafruit.com/products/189
Raspberry Pi pin numbering table (only 1st 26 pins used, even on B+/model 2): http://wiringpi.com/wp-content/uploads/2013/03/gpio1.png
C code and slide URLs for this meeting coming soon.
The following parts relevant to this and future meetings will be available in limited quantities at the meeting and can be kept in return for small donations to Splatspace:
1) PIR sensors & compatible jumpers 2) breadboards 3) LEDs & current limit resistors 4) Jumpers 5) On/off and momentary contact switches 6) Piezo beepers
2016
January
This month will be a new twist on the April, 2015 Flask workshop, using some pre-built lamp switches as well as the usual LEDs and pushbuttons. Flask details here: http://mattrichardson.com/Raspberry-Pi-Flask/
December
This month we'll have show and tells and discussion related to the Splatspace infrastructure, starting with the lighting system but visiting intelligence for property IDs, self-maintaining solar powered outdoor signs, and more for the current location and the new, totally cooler expansion into one of the Scrap Exchange buildings next year.