Difference between revisions of "Beginning Raspberry Pi, Arduino, and Friends"
Line 55: | Line 55: | ||
Sep | 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 | 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 | ||
+ | |||
+ | 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 |
Revision as of 16:56, 22 October 2015
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
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