14. februar 2008

Controlling the Microcontroller

introduction to arduino

Arduino helps me as a designer to get intimate with a microcontroller without being too technical. The sensors (input) hooks up to the arduino board which is connected to my laptop via usb and can be programmed using a simple java enviroment similar to processing. When the programming is done the code is burned to the onboard chip and the sensors connects to the outputs based on the rules laid out by my program.

Sensors
Sensors can be great fun and have a strong impact on any project. The hard part is to have a sensible mapping between the sensor and the output. When is it right to use a sensor glove? It is also important to scale the scope of the project so it fits within the chosen sensors range. Infusionsystems is a good source for sensors.

Learning Arduino
A good starting point for learning arduino is at ladyda and todbot.

The Board (This is spesific for our boards
The TX and RX pins are reserved for communication with the board and not used by us. The digtal pins from 2-13 (5V) are our friends and can be used for I/O. The analog pins are used for input that has a nice graded signal. To run the first example sketch we connect a LED to pin 13 and GND, press the reset swich and upload the program "Blink" from arduino.


LEDs controlled by Arduino from Knut Karlsen on Vimeo.

ArduinoSensor Glove


Note to self: We can use sensors in our major project based on rfid! That opens up for a whole range of new opportunities.

Ingen kommentarer:

Legg inn en kommentar