JeremyBlum.com

v3.0

Tutorial Series for Arduino: It begins.

| 29 Comments

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!

29 Comments

  1. Just as the comments in the program indicate, the tutorial is AWESOME as well. Long-time user of microcontrollers, just found the Arduino and have way too many things i want to do with it. Thanks for taking the time to start on a great series of videos describing a great idea! Thanks Jeremy – Keep On ECE’ing!

  2. Pingback: Arduino Tutorial 02: Buttons, PWM, and Functions | Ayarafun

  3. Pingback: Arduino Blog » Blog Archive » Must-See Beginner Tutorials For Arduino

  4. Pingback: Must-See Beginner Tutorials For Arduino | dev.SquareCows.com

  5. Pingback: Must-See Beginner Tutorials For Arduino | inmotion.pt

  6. Pingback: The Arduino Has Landed : DIYfilm

  7. Pingback: For those struggling with Arduino… | Interaction Design UmeÃ¥

  8. Pingback: H4H Arduino Course Resources | House 4 Hack

  9. Pingback: Arduino Introductory Course | t00bl1pp3

  10. hi,
    good job man.
    i’m new on arduino and i’m askink if this tutorials can work with arduino adk (with android)?

    thanks.

    • Yes, although I haven’t made any videos that take advantage of the android platform yet.

      • I was refered to your arduino tutorials by my Dutch robotics friend, Niek Blankers. He told me he used your tute’s when he was first learning arduino, and he highly reccommended them to me. Thus far I am most impressed with your presentations. I have been trying to self-teach myself for about the last 3 months. Your efforts have offered me a great deal. It gives one hope about our society because of caring and giving people like yourself.
        FYI: I am 64 y.o. I live in central Florida. I’ve been interested in robotics for about a year now. I recently suffered a second stroke, but am more determined now to learn and use robotics as an aid; to myself, and perhaps to others with disabilities. My current work is centered on a microcontroller developed by Mr. D.J. Sures ( from EZ-Robot.com) that does not require programming skills. You should visit the web site and see what he has developed. I am , however; wanting to learn how to program the arduino. It will offer me more alternatives for robot development.
        Warmest regards,
        Lloyd

  11. I got something wrong here. I run my arduino program on ubuntu 11.10, and when i try to upload your tutorial’s program to arduino board, it says:

    In file included from /usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:44:0,
    from /usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/delay.h:37,
    from /home/arttu/programs/arduino/arduino-0022/hardware/arduino/cores/arduino/wiring_private.h:30,
    from /home/arttu/programs/arduino/arduino-0022/hardware/arduino/cores/arduino/WInterrupts.c:34:
    /usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
    /usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token

    Help me??? :(

    • Ok i got it, there is something wrong with the ubuntu things or some files in the system. I’m not very good with linux but i found the answer in here:

      http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/f44eb01346f9c22c

      How did i fix it?

      I searched my system for a file called wiring.h . I have no idea what it is, but i opened it with a text editor, and took one line away inside the file by writing // before it. In the other words, i made the line into a comment, so the system skips it. It seems that there is some error on the syntax of that line.

      in the file called
      wiring.h

      The line is:
      #define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))

      i changed the line to:
      //#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))

      Now everything just works! Dont ask me why :)

      Hope that the nerds who are responsible for maintaining this file, can fix the problem in the future…

  12. Pingback: Learn arduino - From noob to Ninja - video series

  13. Hey Jeremy,
    great stuff so much so that I wish I had been an electrical engineering major. I’m 29 now, got excited about this. I seriously convinced my godmother to get me an arduino for christmas because of these tutorials. hope you don’t stop posting stuff after you graduate… but then life calls so won’t blame you either way.

  14. Great tutorials you have made!!
    I am curious on the RC servo code.
    How can you get the servo to go with smaller steps than 1 degree steps?
    Best regards and happy new year from Karl

  15. Hi, Jeremy
    I am completely new to the ARDUINO, and electronics indeed…
    I have some ideas on how to work with it for some home projects.
    My major concern, based on the sample projects I have seen in the internet, is that 100% of the times the items involved in the projects are packed very close together.
    Is it possible to use sensors (temperature, angle/potentiometers, gas, distance, etc.) far from the ARDUINO board? how far? could you please make some comments/ideas to work in the range of 50m, with different sensor types? the signal loss, resistance of cables effects, etc..
    Thank you

    • I wouldn’t recommend using traditional means if you want to put sensors to far away. Use twisted-pair cables like ethernet, and maybe consider using a differential protocol like RS-485. You could also consider placing the sensors remotely and transmitting data wirelessly with an XBee.

      • Thanks Jeremy.
        I understand it may be difficult to cover different types of sensors in a single answer. I had already the idea of using CAT5 cables for cost and interference tolerance. I think it will be a matter of experimenting a little bit. One of my ideas it to use potentiometers (angle) to monitor water reservoirs levels as well as temperature sensors for the the same reservoirs (backyard and house roof). If you have any sample projects in which you used such sensors or even other with a long distance from Arduino, it would be nice to know more about it. Thanks again,

  16. Hi there,

    im becoming a fan of your ECE stuff. Obviously its helpful, it amaze and encourage me to do that stuff also. unfortunately i’m not that knowledgeable on electronics, and i just started trying this early this year. im an Information technology student, and therefore we are expected to produced systems. just like home automation or security system and i admit it will have to use a device. unaware of what device to use, make me depend on the net and search for something. luckily, it ended up, with the Arduino. my hope for developing my projects has become broader thanks to your tutorials and arduino. i’ve already seen several of your tutorials, but after watching i always agonizing on a same problem – i dont know what specifications of the materials you used, like the wires and resistors, etc, because when i try to buy it from the store they offer me several types and, i dont know what particular wire or resistor or LED, etc to buy. i have an arduino uno R3 and my PC is running on w7. Im not an ECE dude but im willing to try to be one. thanks a lot men. more power and support. Hope you can address my issue.

  17. Hi Jeremy

    Excellent and well explained Arduino tutorial, your heads and tails above the other ‘geeks’ when it comes to making these things constructive and easy to understand!!

    However, whilst I appreciate you’ve provided a parts list for each episode, it seems a bit dispersed, some on your site, some on element 14.

    Could you provide one list of all the parts used and the link to the appropriate page to avoid hunting around? Thanks.

    All the best buddy.

  18. Thanks for the great tutorials Jeremy,

    As a 42 year old geek, new to Arduino but absolutely fascinated with it, I find your video’s easy well explained and easy to understand. Kepp up the great work.

    JohnB

  19. Very good job thank you. I’m new user of the arduino and I studied all the tutorial and have helped me immensely.

  20. keep it up bro i really need u r guidance bro on you tube !!!!!!!!!!

Leave a Reply

Required fields are marked *.

*