Physical Computing
Dive into the world of physical computing with insights on Arduino and Raspberry Pi. Learn about essential components like sensors, controls, and communication modules, including Wi-Fi and Bluetooth. This guide covers the basics of microcontrollers (Atmel AVR, ARM), programming with Arduino IDE, and utilizing various interfaces such as I2C, SPI, and UART. Discover project ideas and applications involving barometric pressure sensors, humidity sensors, and more. Unlock your creativity with customizable graphics and low-power solutions for interactive projects.
Physical Computing
E N D
Presentation Transcript
Physical Computing Arduino, Raspberry Pi, Sensors, Controls…
Atmel AVR, ARM • 1.8-12V • 1-84MHz (ATtiny, ATmega…) • Arduino IDE + libraries • I2C, SPI, PWM, UART, USB host • $12-60 Arduino
Broadcom SoC • 700-900 MHz, 512GB RAM • 5V, ~1A • Linux (Arch, Debian, Chromium), Python • Integrated A/V out, Ethernet, GPIO • $35 Raspberry Pi
General Purpose Input Output • digital • 0-5V • on/off switching, bit-banging • no analog in or out (no ADCs, DACs, PWMs) GPIO?
Barometric Pressure Sensor BMP085 Breakout $19.95 Barometric Pressure Sensor BMP085$8.95 https://www.sparkfun.com/products/11282
SPI • I2C • USI • USB Serial • TWI • CAN BUS • UART • RS-232 • Ethernet 3.3V and 5V don’t mesh: https://www.sparkfun.com/products/8745 Wired Communication
WiFi • Bluetooth • Xbee / ZigBee • Wireless USB/RS-232 • IrDA • 315 & 434 MHz radio Tend to drain power Most require Client/Server relationship Wireless Communication
Microcontroller Motor, Valve, Relay, Light 50 mA < 5A
Microcontroller Motor, Valve, Relay, Light (Current Source) (Current Sink) 50 mA < 5A
Microcontroller Motor, Valve, Relay, Light (Current Source) (Current Sink) 50 mA < 5A
Solenoids Motors Relays (non-SSR) Inductive Loads
2012 Senior Design Project Human Interaction
2012 Senior Design Project Human Interaction
Human interface • Graphical Touchscreen • Customizable • Ultra low power • Wi-Fi integration • Built-in Tutorial
Human interface • Graphical Touchscreen • Customizable • Ultra low power • Wi-Fi integration • Built-in Tutorial
Human interface • Graphical Touchscreen • Customizable • Ultra low power • Wi-Fi integration • Built-in Tutorial
http://shop.oreilly.com/category/deals/arduino-owo.do?code=WKARD&cmp=tw-make-dotw-arduinohttp://shop.oreilly.com/category/deals/arduino-owo.do?code=WKARD&cmp=tw-make-dotw-arduino http://www.adafruit.com/blog/2013/01/23/adafruits-raspberry-pi-lesson-10-stepper-motors-raspberry_pi-raspberrypi/