Arduino
Arduino
What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
What is Arduino?
Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing / Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer. ( www.arduino.cc, 2006 )
Arduino is a platform
A physical Input / Output board (I/O) with a programmable Integrated Circuit (IC).
Arduino is a platform
Also including an Integrated Development Environment (IDE) for programming. The language itself is based in C but is largely modeled upon the www.processing.org language.
Actuators ( to do stuff )
Lights, LEDs Motors Speakers Displays (LCD)
Why Arduino?
It is Open Source, both in terms of Hardware and Software. It is cheap, the hardware can be built from components or a prefab board can be purchased for approx $35 AUD It can communicate with a computer via serial connection over USB (Bluetooth model coming soon!).
Why Arduino?
It can run standalone from a computer (chip is programmable) and it has memory (a small amount). It can work with both Digital and Analogue electronic signals. Sensors and Actuators. You can make cool stuff! Some people are even making simple robots, and we all know robots are just cool.
Arduino at INFENV
Its early days yet, we are all just learning how to use them. We have a dozen or so Arduino boards available. These can be borrowed out for projects, or for selfdirected work. Several 3rd year studio 5 project groups are currently using them as an integral component of their work.
Not so fast!
Its important to note at this stage that Arduinos are electronic devices. This means you MUST consider electrical safety and understand the basics before diving straight in. The board itself doesnt operate at what would normally be considered dangerous Voltages or Amperage, but if in doubt at any stage of use you should seek more expert advice.
http://www.ibiblio.org/obp/electricCircuits/
What you want is Volume 1, DC circuits. This will help you greatly in understanding how to wire circuits when using sensors and actuators. (Hint: This kind of research should be
included in academic papers and portfolio reflection)
Upload a program
For the most basic kind of program youll need a simple actuator, an LED with the long leg (+) pushed into pin 13 and the short leg (-) in the adjacent ground pin (GND). Pin 13 is special, in the sense that it has a built in resistor to correctly control the voltage going into a testing LED just like this. At this stage we just want to program the LED to blink on and off at a set time interval. Sample code for this is available at the Arduino website. Press the reset button on the board and then click Upload to I/O board in the IDE. If all goes well lights should flicker on the board and the IDE will confirm success.
Demonstration
Its time for a simple demonstration.
Pushbutton Example
On the following few slides is an example pushbutton circuit using a pull-up resistor (2.2K)
The orange wire is in place of a real button, its currently connected so the button is in the on state making a connection.
The circuit works by running power from the 5V through the 2.2K resistor (this limits the full 5 volts going straight back into the ground, which is bad because without the resistor it would overheat). When the orange wire pushbutton is connected the power going to the digital input drops significantly because the button is redirecting power through to the ground instead. When the power drops enough it registers as a LOW in the Arduino and we can sense a button press with our code.
Pushbutton Example
Pushbutton Example
Pushbutton Example
Conclusion
Theres heaps more to explore, Ive barely scratched the surface of what you can really do with this technology. Make it happen. If you want to use an Arduino in your project youll have to be proactive about it and do the research yourself. It really isnt hard, just get stuck in. Use the website and associated forum for tutorials, code samples and general help:
www.arduino.cc
Thank you