The Arduino is a development board with a ATMEGA microcontroller. With it, you can control lights, motors, sensors, etc. This is a very fast tutorial to put your board to work.

Putting your Arduino to work:

Step 1: Download the Arduino IDE 1.0.5 (or later) for your OS: (i.e. Windows, OS X or Linux): http://arduino.cc/en/Main/Software then extract it. If you are using windows, you can also install it directly by clicking on the windows installer link;

Step 2: Plug the Arduino board to your computer via a usb cable, which comes together with the board;

Step 3: Open the IDE (click on the Arduino icon inside your installation folder). It will open Arduino's IDE:

Step 4: At the IDE, click on Tools > Board and select your board version. In this example, we are using Arduino Uno. Then, go to Tools > Serial port and select your board's serial port;

Step 5: Uploading your program to the board:

Example 1: Go to File > Examples > Basics > Blink, to open the code for this example. Click in the upload button (the play button in the toolbar). After the upload, the on-board LED will start blink.

Example 2: Now connect a button and a 10K resistor to your board like this picture:

Go to File > Examples > 2.Digital > Button, to open the code.

Upload your program like the previous step. On this example, the LED will be on when the button is pressed.

Example 3: Get a potentiometer and connect it like the picture::

Go to File > Examples > 1. Basic > AnalogReadSerial to open the following code:

 

Then, go to Tools > Serial Monitor, it will appear a window like that below:

Turn the potentiometer and see the changes in the analog value read:

Well done! Now you can start exploring your board. Try running these examples and changing some values in the codes. Enjoy!

References:

http://arduino.cc/en/Tutorial/HomePage

Views: 3584

Tags: arduino, tutorial

Comment

You need to be a member of GarageLab (arduino, electronics, robotics, hacking) to add comments!

Join GarageLab (arduino, electronics, robotics, hacking)

Latest Activity

Devin Moss posted a discussion

Free-spinning high torque DC motor

I'm looking for a high-torque DC motor (able to lift 20 pounds) which, when turned off, will spin…See More
yesterday
Marcelo Rodrigues posted a blog post
yesterday
Profile IconJack Gromek, pratik and KEKELI LOGAH joined GarageLab (arduino, electronics, robotics, hacking)
Friday
GarageLab posted a blog post

Stanford’s cheap nanomaterial filter could solve the air pollution problem

The rapidly increasing industrialization in many parts of the world comes with economic benefits,…See More
Friday
GarageLab posted a blog post

Blub Uno Clock Displays Time with One Nixie Tube

We’ve seen our share of Nixie tube clocks, but the Blub Uno is different. This is a clock that…See More
Thursday
GarageLab's blog post was featured

LEGO X Converts Creations into 3D Models in Real Time: Body and Soul

Created by Gravity Research Club, LEGO X creates a 3D model of whatever you’re building while…See More
Wednesday
sathiyakumar is now a member of GarageLab (arduino, electronics, robotics, hacking)
Tuesday
GarageLab posted blog posts
Tuesday
Profile Iconaymen hleli, gunawan eko, Dean Sanders and 1 more joined GarageLab (arduino, electronics, robotics, hacking)
Feb 23
GarageLab posted a blog post

Street Fighter Played with Pianos: Sound Fighter

Back in 2014 we saw an piano that was turned into…See More
Feb 23
GarageLab posted blog posts
Feb 20
Profile IconRobert Choi and Pierre Gelinas joined GarageLab (arduino, electronics, robotics, hacking)
Feb 20
David Wachter commented on GarageLab's blog post DARPA is developing a sensing bionic hand
"This would be nice for all of the military amputees that have been 'produced' since the…"
Feb 18
GarageLab's blog post was featured

AirBoard: The Flying Segway

Currently up for funding on…See More
Feb 18
GarageLab posted a blog post

DARPA is developing a sensing bionic hand

Not content just to chip in creating better mind-controlled bionic limbs, DARPA is focusing on…See More
Feb 18
Profile IconAmr Anwar and recca joined GarageLab (arduino, electronics, robotics, hacking)
Feb 18
GarageLab posted a blog post

Voltera V1 Circuit Board Printer: Print-A-Sketch

The latest in the growing niche of circuit board printers, the Voltera V1 can print up to two…See More
Feb 16
GarageLab posted a blog post
Feb 13
Profile IconBill Meng and Prem Patel joined GarageLab (arduino, electronics, robotics, hacking)
Feb 13
John R. replied to awet kidane's discussion how can i simulate sd card with arduino uno in proteus
"Awet, I am not entirely sure what you are trying to do or why, but you may want to check into an…"
Feb 11

© 2015   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service