Difference between revisions of "Beginning Raspberry Pi, Arduino, and Friends"

From Splatspace
Jump to: navigation, search
Line 1: Line 1:
 
[[File:Pi_Arduino_Launch_and_friends.png]]
 
[[File:Pi_Arduino_Launch_and_friends.png]]
  
An exciting monthly meetup that focuses on an introduction and learning of microcontroller starter boards and introductory electronic sensors, actuators and their control.  Several types of microcontrollers are worked with, from 32-bit ones capable of running Linux, to 8-bit ones that just run your own single process, and several types in-between.  Raspberry Pi's are the most popular Linux-running microcontroller boards, and Arduino's are the most popular of the 8-bit variety.  These two comprise the most popular devices that people are likely to have and likely to search for when seeking out a community to collaborate with.  But don't rule out other prototyping boards or even bare microcontroller chips like the PIC family from Microchip, TI launchpad family, other ARM-chip controllers like the BeagleBone and the Cypress PSOC.
+
An exciting monthly meetup that focuses on an introduction and learning of microcontroller starter boards and introductory electronic sensors, actuators and their control.  Several types of [[microcontrollers]] are worked with, from 32-bit ones capable of running Linux, to 8-bit ones that just run your own single process, and several types in-between.  Raspberry Pi's are the most popular Linux-running [[microcontrollers|microcontroller]] boards, and Arduino's are the most popular of the 8-bit variety.  These two comprise the most popular devices that people are likely to have and likely to search for when seeking out a community to collaborate with.  But don't rule out other prototyping boards or even bare [[microcontrollers|microcontroller]] chips like the PIC family from Microchip, TI launchpad family, other ARM-chip controllers like the BeagleBone and the Cypress PSOC.
  
 
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 are some topics previously presented with links to tutorials and materials covering the topic:
 
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 are some topics previously presented with links to tutorials and materials covering the topic:

Revision as of 18:43, 9 February 2017

Pi Arduino Launch and friends.png

An exciting monthly meetup that focuses on an introduction and learning of microcontroller starter boards and introductory electronic sensors, actuators and their control. Several types of microcontrollers are worked with, from 32-bit ones capable of running Linux, to 8-bit ones that just run your own single process, and several types in-between. Raspberry Pi's are the most popular Linux-running microcontroller boards, and Arduino's are the most popular of the 8-bit variety. These two comprise the most popular devices that people are likely to have and likely to search for when seeking out a community to collaborate with. But don't rule out other prototyping boards or even bare microcontroller chips like the PIC family from Microchip, TI launchpad family, other ARM-chip controllers like the BeagleBone and the Cypress PSOC.

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 are some topics previously presented with links to tutorials and materials covering the topic:

  • Video with Pi Camera
 https://www.raspberrypi.org/documentation/usage/camera/README.md
  • Web Controlled lamp using Flask
 http://mattrichardson.com/Raspberry-Pi-Flask/
https://github.com/miguelgrinberg/Flask-SocketIO
  • Tweak your Raspberry Pi:
    • 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
  • Simple RasPi and Arduino communication over usb
 http://blog.oscarliang.net/connect-raspberry-pi-and-arduino-usb-cable/
  • Reading analog sensor via software SPI and an MCP3008 chip
 https://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi/connecting-the-cobbler-to-a-mcp3008
  • 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
  • Motion Detection - reading a PIR sensor
 https://learn.adafruit.com/adafruits-raspberry-pi-lesson-12-sensing-movement/
  • Full PIR Tutorial: Using PIR (Passive InfraRed) sensors with Arduino and Raspberry Pi.
 A variation on the motion-detection 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
    • 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
  • 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.