Showing posts with label Arduino. Show all posts
LEDs and Accelerometer
By : xArduino Tutorial:
This tutorial will show you how to connect LEDs into Arduino Uno, and how to extract data from accelerometer and make the LEDs react to the change.
First you need to connect the LEDs to the Arduino board. We will be using three LEDs and bread board to setup the LEDS. You may use any port; here we use port 13, 10 and 4 for X, Y and Z direction associated LEDs respectively. Watch the video if you need help setting up the LEDs.
Now follow the tutorial by Xingyu Huang on how to program using the Arduino development environment to receive data from acclerometer and design an algorithm which effectively translate this change to LED output.
Here is how your hardware would react if everything is setup correctly.
This tutorial will show you how to connect LEDs into Arduino Uno, and how to extract data from accelerometer and make the LEDs react to the change.
First you need to connect the LEDs to the Arduino board. We will be using three LEDs and bread board to setup the LEDS. You may use any port; here we use port 13, 10 and 4 for X, Y and Z direction associated LEDs respectively. Watch the video if you need help setting up the LEDs.
Now follow the tutorial by Xingyu Huang on how to program using the Arduino development environment to receive data from acclerometer and design an algorithm which effectively translate this change to LED output.
Here is how your hardware would react if everything is setup correctly.
Arduino !!
By : Lam Ho Wang
Arduino official website:
“ARDUINO IS AN OPEN-SOURCE ELECTRONICS PROTOTYPING PLATFORM
BASED ON FLEXIBLE, EASY-TO-USE HARDWARE AND SOFTWARE. IT'S INTENDED FOR
ARTISTS, DESIGNERS, HOBBYISTS AND ANYONE INTERESTED IN CREATING INTERACTIVE
OBJECTS OR ENVIRONMENTS.“
Feature:
1 It is a circuit design platform base on CC open source
2 The software is free to download, and open to everyone
3 Arduino allow to use ICSP to load bootloader on the IC
chip
4 Provide USB hub and DC 5V
5 Support a lot of program such as: Adobe Flash, Max/MSP,
VVVV, Pure Data, C, ect….
Why Arduino?
Arduino simplify a lot of process of working with microcontroller,
the advantage of it are:
1.
Inexpensive – Arduino is relatively inexpensive
compared to other circuit. The cost can be lower than 50$
2.
Cross platform – Arduino support Window, Mac OSX
and Linux
3.
Extensible software
Extensible hardware-Arduino is based on Amel’s ATMEGA8 and ATMEGA168 microcontrollers.
