Arduino workshop

Embed Size (px)

Citation preview

Arduino workshop

Over The Air, 2008-04-04

Workshop format

Intro talk

Hands on projects

Blinking LED

Reading a sensor

Wireless communication

demo

code (Arduino and Series 60 Python)

Aside: control my name badge

+ =

Text 'badge ' to
07960 731188

e.g. badge fuchsia, badge #ff0000

What is the Arduino?

Platform for physical computing...

...and for tinkering

Can run standalone or networked

Cheap (20)

Extensible

Open source

All shapes and sizes

What's on the board?

Summary

ATMEGA168 AVR microcontroller

Headers for pins (analogue, digital, serial, power)

USB port and USB-serial converter

Power regulator

Reset switch

Status LEDs (power, serial, debug)

Inputs (sensors)

Sound (microphone)

Light (light dependant resistor)

Heat (thermistor)

Motion (switches, dials, flex, pressure, accelerometer, Wii nunchuck, IR/ultrasound ranging)

Remote events (serial input from computer)

Outputs (actuators)

Sound (buzzer, speaker)

Light: visible, IR and UV (LEDs)

Motion (motors, servos)

Other devices (using relays)

3D printer (Rep rap)

Remote events (serial output to computer)

Programming the Arduino

How?

Computer (Linux, Mac, Windows)

Arduino IDE

USB device cable

Arduino

Demo

Switch to Arduino development environment...

Communicating via Bluetooth

+ =

Code at www.roddis.org/s60python

RTFM

Thanks

Alex Deschamps-Sonsino, Tinker.it

Lincoln Smith, University of Sussex

Elisa Canducci for illustrations

Any questions?

Contact me: [email protected]