Tutorial Series for Arduino: It begins.


This video was featured on the Adafruit Blog on 01/06/11
This tutorial was featured on the official Arduino blog on 3/9/2011
This video was featured on the DIYFilm Blog on 03/19/11

Arduino UnoThanks to a generous sponsorship from element14, I’m putting together a tutorial series on using the arduino microcontroller platform! The arduino is a platform that I’ve done several projects with, and I think it is the best possible way for beginners to get acquainted with electronics. This tutorial series will be aimed at beginner users, but I’m hoping to keep it going with some more advanced topics a few episodes into the future. This first episode will get you acquainted with the arduino uno (the current “flagship” arduino), introduce the programming language, and help you get your first program running!

You can download the files associated with this episode here:

GNU GPL License Distributed under the GNU General Public (Open-Source) License.

Please Attribute and Share-Alike.

Arduino Project Contest! Start getting your projects together!

Start thinking about your arduino projects, because element14 will be sponsoring a contest where you can win a prize if your arduino project gets the most votes. More info coming soon!


  1. Pingback: My Arduino Tutorials go Global! |

  2. this is a great tutorial about Arduino. also, I write a comprehensive tutorial about how to start using Arduino boards and resources.

  3. You should take a look at the Smart Citizen project! Good to see this Arduino go viral worldwide. A lot of people from around the world want to get their hands on one or more Smart Citizen kits.

    It will change the way we look at our environment we live in worldwide. This is a project with a lot of potential that is unleashed in the coming months. It only needs your support. So be a backer to before it’s all sold out:

  4. Hey Jeremy,

    This is my first attempt at Arduino.

    I looked through all the comments, and did not find anyone that seemed to be having my problem.
    I think I have the program exactly like you show, But I am getting a set of error messages.

    In bold orange in says: function ‘void setup ()’ is initialized like a variable
    The rest of the error message text is:

    JeremyBlumTutorial_jun28a:9: error: function ‘void setup ()’ is initialized like a variable
    JeremyBlumTutorial_jun28a:10: error: expected unqualified-id before ‘(‘ token
    JeremyBlumTutorial_jun28a:15: error: expected constructor, destructor, or type conversion before ‘(‘ token
    JeremyBlumTutorial_jun28a:16: error: expected constructor, destructor, or type conversion before ‘(‘ token
    JeremyBlumTutorial_jun28a:18: error: expected unqualified-id before ‘(‘ token

    Here is my program:

    Jeremy Blum’s first tutorial project.

    int ledPin = 13;

    void setup()
    pinMode(ledPin, OUTPUT);

    void loop()
    digitalWrite(ledPin, HIGH);
    digitalWrite(ledPin, LOW)

    Did not think I could mess up such a simple program.
    Thanks in advance.

  5. Pingback: Intro to Arduino by Jeremy Blum | ControllerFeed

  6. whay ia can’t download your video /
    i wanna download
    please tell me how can i download your video

  7. Is it possible to transmit the data from the cheap DHT11 weather chip using a cheap 433 mhz pair from one Arduino Uno to another ? Im just not clever enough to work it out or write the code.

  8. thanks Jeremy Blum for these great tutorials >>I have a question :
    I must start working on my project after tow week, which is :mobile robot navigation based gps with local avoidance ,but I do not know which arduino ,digital compass and the GPS module must be use ,there are many shields and modules ,I am very confused >>>cloud you help me in choice ??……thank you very much for all your tutorial …..

  9. Jeremy Blum

    i am financially not strong can you tell me about any place in Pakistan where i do practical work on cir-cut and get basic knolige free

  10. whenever i upload a code on arduino it tells me error compiling

  11. Hey, i can’t download the file, i am on a mac.
    Estella :)

  12. Hi..i’m reena… I connect the arduino with the arduino ethernet sheild to light up 1 led.
    but the led not turn on. i have change the ip add refer to my ip add for both sketch but he led still not turn on . Chould you help me?thanks

  13. Hi I want to make an arduino uno by myself. But I need a firmware and bootloader . where can i find them.

  14. Pingback: Getting Aquainted with Arduino 101 by Jeremy Blum | QGITS

  15. Thanks for you Jeremy

  16. Pingback: Pressure / Temperature / Altitude Sensor |

  17. Hi,
    I have developed the iot system “” and the open hardware
    I want to cooperation with you,and how i can do next step?

  18. i need some help to find the frequency of a square wave produced by a color sensor….

  19. Hi,

    I am a new user of Arduino. I want to buy a beginners Arduino UNO kit to get through your tutorials. I found several kits avilable online but I do not know which one will be good to get through your tutorials. Could you please suggest me the one?

    Thank you.

  20. Pingback: Tutorial 01 for Arduino: Getting Acquainted with Arduino | Faweiz Video

  21. Great tutorial series! Very helpful. I’m not finished with the series but I were able to make several projects like motors and traffic lights with buttons and I don’t know if my question will be mentioned later in the series but here goes: “How can I make the Arduino run independently without connecting it to a laptop or pc? You mentioned a power supply, so what is the appropriate voltage it needs? (Planning to make the power supply)”.

  22. sir, can i use a bt module…at the place of xbee shield, with arduino uno?

  23. Hi
    I m very much intrested in robotics
    And I have made some bots like edge dectector,line follower, etc using arduino and platform with two tyres but I have very less knowledge of robotics so please keep uploading videos
    Thank you and video is very helpful

  24. Pingback: arduino | vjkajla

  25. The tutorial series was very useful and can you extend the tutorial series for PIC micrcontroller also.. Its a request..!!

  26. Pingback: IOT: Arduino Video Tutorial Series

  27. error:
    avrdude: stk500_getsync(): not in sync: resp=0xff

  28. Hi Jeremy,

    I am trying to make an arduino- arduino communication using 2 XBees of series 2. I ran your code shown in tutorial 9, but the communication doesn’t happen. I think I got the configuration wrong. May I know how I can configure the XBees? I used XCTU for configuring one XBee as Coordinator AT and the other one as Router AT. Thanks.

  29. Hi Jeremy,

    I am taking a class for robotic that using Arduino program. I just bought a book “Exploring Arduino” from Amazon that I am gonna use for my project assignment reference (I also use reference on It’s probably come up a lot of questions that I want to ask. I hope in this forum, I can find an answer and have forum to help me when I get stuck how to do the programming.

  30. Hi I downloaded ChromeDuino to try to use my Chromebook for programming my arduino and it keeps telling me I have a syntax error and I even used your same coding and it keeps telling me the same thing. Hopefully you can help me :)

  31. hi cant find the code to download

  32. Hey Jeremy!
    You are doing a great job in helping out people with arduino.Thank you man!

    I just wanted to ask that what are the things that can fry up my arduino or what are the things to avoid while safely using it. :)

  33. Hey Jeremy, can i kanow what is your intro music?

  34. I want a code of aurdino to control 4 servo motors by getting a signal from computer as 1,2,3,4
    If signal is 1 then first servo should move 90 degree for few seconds and then back to its original positon. If signal is 2 then second servo should do the same task and same for rest of servos. I need a program will you please mail me and write in comments also:

    [email protected]

  35. what shud i do to rectify it sir ,
    please help me

    Arduino: 1.8.0 (Windows 8.1), Board: “Arduino/Genuino Uno”

    Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.
    Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
    avrdude: ser_open(): can’t open device “\\.\COM5”: The system cannot find the file specified.

    Problem uploading to board. See for suggestions.
    Invalid library found in C:\Users\Admin\Documents\Arduino\libraries\ArduinoISP: C:\Users\Admin\Documents\Arduino\libraries\ArduinoISP
    Invalid library found in C:\Users\Admin\Documents\Arduino\libraries\sweep: C:\Users\Admin\Documents\Arduino\libraries\sweep
    Invalid library found in C:\Users\Admin\Documents\Arduino\libraries\ArduinoISP: C:\Users\Admin\Documents\Arduino\libraries\ArduinoISP
    Invalid library found in C:\Users\Admin\Documents\Arduino\libraries\sweep: C:\Users\Admin\Documents\Arduino\libraries\sweep

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

  36. Sir
    I wanted to learn adrino from basics with
    C programming can I learn with this
    or else please suggest me a guide to refer

  37. hey there I am from India
    I am a complete Rookie so i wanted to know with what arduino board shall i start

  38. hi im looking at living off the grid and no internet but am trying to find a way to download the tutorials can anyone help?

  39. Pingback: DIY Stepper Controller using Arduino | Night Sky in Focus - RIS

  40. I’ve commented with double slash in which I am confused. When I defined the buttonState as a global variable, it didn’t work as expected (first commented line). And when the same is defined in loop function (second commented line), it worked fine. I don’t get it. Because the global variable should work perfectly fine in all the scope. So, why didn’t it work as expected?

    const int buttonPin = 2;
    const int ledPin = 9;
    //int buttonState = digitalRead(buttonPin); (1)

    void setup() {
    pinMode(ledPin, OUTPUT);
    pinMode(buttonPin, INPUT);

    void loop() {
    //int buttonState = digitalRead(buttonPin); (2)
    if (buttonState == LOW) {
    digitalWrite(ledPin, LOW);
    } else {
    digitalWrite(ledPin, HIGH);

  41. Dear Jeremy,
    I need a code and circuit connection for tyre inflator system using arduino. Whether it is possible to send the code to my mail address [email protected]

  42. Uhh, hey all! So uhm, I’m curious….Can this thing run Crysis?

Leave a Reply

Required fields are marked *.

This site uses Akismet to reduce spam. Learn how your comment data is processed.