Escolar Documentos
Profissional Documentos
Cultura Documentos
Introducction
When we see, hear and feel real-world objects we are enabled to train both cognitive and perceptual skills in combination. Such objects can help us create interfaces that are easier and more fun to use.
Introducction
Components of a Physical Computing System
controllers
high-level (Basic Stamp, Phidgets) low-level (PIC) middle level (Arduino) wireless sensors platforms (mostly low level), Smart-it, Mote Middle-level wireless sensor platform: SPOT
programming environment on PC
Introducction
Introducction
The new paradigm of "OpenHardware" solves the problems of prototype development and provides the community of researchers and students a powerful tool. Economical Powerful Supported by the Internet community through
Arduino
Arduino is an Open Hardware Platform for developing applications in the field of Computational Physics applied to many different areas
What is Arduino?
What is Arduino?
What is Arduino?
A Hardware
+ A Software
+ A Community
What is Arduino?
Arduino is a open-source platform prototyping hardware and software easy to use. It is designed for artists, designers, electronics hobbyists, and anyone interested in creating interactive objects and environments.
Type of Arduino Board
Arduino USB
Prof. Jos Manuel Ruiz May 2012
What is Arduino?
Can be used by artists and designers
Easy for the creation of prototype Reusability of the components
Features of Arduino
Arduino Terminology
Sketch - a program that is written to run on Using an Arduino Arduino IDE software "Pin" - an input or output connected to a component. Example: output to a LED, a switch, etc..
"Digital" - value either HIGH (HIGH) or LOW (LOW). (on / off, one / zero). For example the change of state of a switch
"Analog" - ranges of values, usually 0-255. for example, brightness of a LED, motor speed, etc.
The Computational Physics use prototype electronic, making actuators and sensors microcontrollers for designers and artists. The idea is to design interactive objects that can communicate with humans using sensors and actuators controlled by behavioral models and algorithms implemented in software that resides on the card allowing autonomous operation s In addition to the interaction with the PC.
Massimo Banzi, Tinker.it & Arduino Co-Founder
Introduction to Arduino
Arduino UNO
Arduino is a microcontroller board that connects sensors and actuators via its inputs and outputs, analog and digital. The microcontolador is programmed using a language of Arduino (based on Wiring) using an integrated development environment (IDE) based on Processing.
Prof. Jos Manuel Ruiz May 2012
Introduction to Arduino
Features
Arduino UNO
Microcontroller ATmega328 Operating Voltage5V Input Voltage (recommended) 7-12V Input Voltage (limits) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output) Analog Input Pins 6 DC Current per I/O Pin 40 mA DC Current for 3.3V Pin 50 mA Flash Memory 32 KB (ATmega328) SRAM 2 KB (ATmega328) EEPROM 1 KB (ATmega328) Clock Speed 16 MHz Prof. Jos Manuel Ruiz May 2012
Introduction to Arduino
Arduino projects can be developed autonomous (stand-lone) or can communicate with any software through the serial port on-line (eg Flash, Processing, MaxMSP ...). Arduino boards can be assembled by hand or purchased assembled. The software can be downloaded free from the web. The schematic (CAD files) are available under open-source license, so that you can modify if necessary.
Arduino UNO
Ethernet Arduino
This is the miniaturized version of Arduino Mini made by Sparkfun and is 100% compatible with Arduino Duemilanove.
This board is based on the Arduino MEGA 2560 but modified to allow use with the Android Open Accessory Development Kit (ADK) for Google because it has built-in USB Host port.
Prof. Jos Manuel Ruiz May 2012
Features:
Microcontroller ATmega2560 Supply voltage: 5V Input Voltage: 7-12V Input limit: 6-20V Digital pins: 54 (14 with PWM) Analog inputs: 16 Maximum current per pin: 40 mA Maximum current for 3.3V Pin: 50 mA Flash memory: 256 KB SRAM: 8 KB EEPROM: 4 KB Clock speed: 16 MHz
The New Arduino Mega 2560 (rev 3) comes with more memory for the program, more RAM and more pins. 100% compatible with the version of UNO or Duemilanove.
28,00 EUR
INCLUDES NEW CONNECTIONS TO SCREW TERMINALS MORE ROBUST. PULL-UP RESISTENCAS OF COMMUNICATIONS I2C. ACTIVATED BY JUMPERS. SMALL (58x72 mm).
Prof. Jos Manuel Ruiz May 2012
99.00
http://www.bricogeek.com/
Prof. Jos Manuel Ruiz May 2012
Arduino Nano
Arduino mini
29.00 http://www.bricogeek.com/
Prof. Jos Manuel Ruiz May 2012
39.00 Board for Arduino Diecimila USB pincorporating an XBee wireless module from MaxStream. Use a modified protocol of ZigBee and allows for wireless communications. This board fits perfectly into the Arduino Diecimila USB and feeds on it.
Prof. Jos Manuel Ruiz May 2012
Lilypad
Dimetro 5 cm.
http://www.sparkfun.com/commerce/categories.php
Programming Lilypad
Prof. Jos Manuel Ruiz May 2012
Introduction to Arduino
Battery
Prof. Jos Manuel Ruiz May 2012
Switch
movement
Reed Switch
button
Types of hardware elements can be connected to the analog inputs of Arduino UNO
temperature
Breathalyzer
microphone
Piezo
compass
Ultrasonic Distance
Joystick
Humidity
Ouput Actuators
Types of hardware elements can be connected to the Arduino digital output ONE
Relay
Stepper motor
servomotor
solenoid
Array Leds
LED Tricolor RGB Display
Arduino Kits
Here are a few kits marketed for training Arduino Open Hardware Platform
72,50
Prof. Jos Manuel Ruiz May 2012
Arduino Shields
To assemble applications with the Arduino platform provides a wide range of shields that facilitate prototyping work
Arduino Shields
Arduino Shield Module Board DFRobot For assembly of electronic components wired
Arduino: Comunication
USB Port (FTDI)
For programming In PC applications
ICSP
For firmware programming
Arduino-PC Connection
There are two ways of connecting Arduino to PC ...
Type I
RS232 Serial Cable
Type II
Cable USB Port
Installing Arduino
The steps for connecting Arduino to the computer are: 1. Download the Arduino software and unzip the file that contains 2. Connect the Arduino 3. Installing the Driver 4. Restart the computer 5. Start the Arduino program 6. Verify that the Arduino IDE software recognizes the card
Installing Arduino
1. Download the Arduino software and unzip the file that contains
Installing Arduino
2. Connect the Arduino
Connecting Arduino to PC will activate the power indicator. Flashing the communication light indicator
Flashing LED test card Activate the Power LED
Installing Arduino
3. Driver Installation for USB port
The first time you connect Arduino computer detects the connection and activate a plug and play process by which we select the USB driver.
Installing Arduino
SOFTWARE
INSTALLATION PROGRAMMING ENVIRONMENT Once downloaded, to begin working with the development environment Windows, it is only necessary to decompress the file contents compressed into a folder on your PC. Once unpacked it is only necessary to run the file "Arduino.EXE". (Arduino folder of the program should be in Program Files to work properly)
Installing Arduino
CONFIGURATION OF COMMUNICATIONS The first thing to do is set up communications between the Arduino and PC. To do this we open the "Tools" menu options "Serial Port" and "Serial Monitor Baud Rate".
In the first of the two options we will select the serial port it is connected to our plate. On Windows, the port will be COM1 or COM2 for serial board, COM3, COM4 ... for the USB card (or number plate connected by a USB-serial adapter). If using a USB-serial adapter name can vary.
Prof. Jos Manuel Ruiz May 2012
IDE Arduino
This is the Arduino Programming Environment ...
IDE Arduino
File New, save, load, Examples Edit Cut, Paste, Search Sketch Verify, compile, Libraries, .. Tools Port configuration, type of card ..
IDE Arduino
Main action buttons
VERIFY
IDE Arduino Loading a program from the Arduino IDE to Card through the serial communication port
IDE Arduino
http://www.robitshop.com/
http://www.robomore.com/main/
http://www.roboweb.net/
Realization of prototypes
For prototyping using a breadboard in which electronic components are inserted and the cables leading to the I/O of the Arduino. This method is very fast and comfortable
Prof. Jos Manuel Ruiz May 2012
Realization of prototypes
For the realization of prototypes we can help.
Fritzing
First
We developed the prototype with the help of the Breadboard and components library
Second
We get the Wiring Diagram
Fritzing
Third
So elaborate Automatic / Manual card components of our prototype
Fritzing
Elaboration on Fritzing
THANKS !!!
j.m.r.gutierrez@gmail.com
http://josemanuelruizgutierrez.blogspot.com.es/
Prof. Jos Manuel Ruiz May 2012