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: 4244

Comment

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

Join GarageLab (arduino, electronics, robotics, hacking)

Latest Activity

Rob Lambert joined Marcelo Rodrigues's group
Thumbnail

Arduino

Group for the Arduino communitySee More
3 hours ago
Sardar Tamoor commented on Thulana Vimukthi's blog post GPS GUIDED AUTONOMOUS ROBOT
"can you plz help me on my project !!! its basically obstacle avoidance in dynamic environment and…"
Wednesday
Sardar Tamoor commented on Thulana Vimukthi's blog post GPS GUIDED AUTONOMOUS ROBOT
"can you plz help me on my project !!! its basically obstacle avoidance in dynamic environment and…"
Wednesday
Sardar Tamoor is now a member of GarageLab (arduino, electronics, robotics, hacking)
Tuesday
Peter Davies posted a discussion

Anyone got stock of Garagelabs automation board

HiI have a requirement for 11 automation boards and have been able to source 8,  does anyone have a…See More
Tuesday
Profile IconGuilherme Barros, Rob Lambert and kevin parr joined GarageLab (arduino, electronics, robotics, hacking)
Apr 22
Tino Pascuzzi left a comment for stephen smith
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Aaron Thiedt
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Paul Ellison
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Gary
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Amauri
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Mark Mendelsihn is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 14
Tino Pascuzzi updated their profile
Apr 13
ade ljathanna is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 12
Marcelo Rodrigues commented on Steve Brune's blog post Toaster Oven Computer Modification
"lol... Cool! Congrats, Steve."
Apr 11
Steve Brune posted a blog post

Toaster Oven Computer Modification

A while back I built a Mini-Itx computer in a toaster oven. I posted it on my website here:…See More
Apr 11
Profile Iconchris yang and Hendra joined GarageLab (arduino, electronics, robotics, hacking)
Apr 11
kulvir saini is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 8
GarageLab replied to GarageLab's discussion Serious claims against BeagleBone's manufacturer CircuitCo
"Believe or not, nothing yet! CircuitCo didn't delivered the boards and they refused to refund…"
Apr 5
ammar imad is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 5

© 2016   Created by Marcelo Rodrigues.   Powered by

Badges  |  Report an Issue  |  Terms of Service