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

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

Profile IconUmer Shehzad, FRANK KWABENA, hamed bigdeli and 1 more joined GarageLab (arduino, electronics, robotics, hacking)
14 hours ago
GarageLab posted blog posts
23 hours ago
Profile IconAllan Paculan and Nilesh Parmar joined GarageLab (arduino, electronics, robotics, hacking)
yesterday
keith vasilakes replied to Andy S's discussion Arduino MEGA boolean?
"sounds like an uninitialized variable when used in your task, what ever that is"
Wednesday
GarageLab posted blog posts
Wednesday
Fajer commented on GarageLab's blog post Tutorial: Make your line following robot
"Hi there can u stop the motors if there are no more lines??"
Tuesday
Profile IconDivergent Programmer, avengineer01, Fajer and 3 more joined GarageLab (arduino, electronics, robotics, hacking)
Tuesday
GarageLab posted blog posts
Tuesday
David Hay posted a status
"Just finished the first phaseof a homebrewing project. Holds temps & is consistent. Check it out: www.callaid-taigh-gruide.com"
Monday
GarageLab posted blog posts
Oct 24
GarageLab posted a blog post

Scientists Create a Real Hoverboard

Ever since the fictional hoverboards in 1989’s Back to the Future Part II children (and adults)…See More
Oct 22
Colin Goldberg posted a discussion

Can I use my Samsung Tab 4 tablet as a usb host to a beaglebone board black?

Hi,As a newbie to this space, I would like to know what to think about before I try to connect my…See More
Oct 21
Antonio Turner posted a status
Oct 21
GarageLab posted blog posts
Oct 21
Profile IconGeorge Ray Learmond, Steve Barnes and Diego Leite Mendes joined GarageLab (arduino, electronics, robotics, hacking)
Oct 20
GarageLab posted a blog post
Oct 17
Stu porley is now a member of GarageLab (arduino, electronics, robotics, hacking)
Oct 16
GarageLab posted blog posts
Oct 16
Atari Punk Console posted a status
"I backed Garag Lab Kick Starter Project the Garagino, I can't wait till I get my Garagino! https://www.kickstarter.com/projects/931487098/g"
Oct 15
Profile IconDan bgarage and Joe Cannella joined GarageLab (arduino, electronics, robotics, hacking)
Oct 15

© 2014   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service