Added: 3 years ago
From: stevencombs
Views: 28,057
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (55)

Sign In or Sign Up now to post a comment!
  • Am I the one arduino person on earth who uses Xubuntu?

  • Thanks for this video.

    Two suggestions:

    -(Software) Better to use " #define ledPin 13 ", it instruct the compiler to replace the word "ledPin" with "13" instead of creating the variable ledPin inside the microcontroller (a memory location never used by the program ).

    -(Hardware) Using a LED connected between pin 13 and Ground is stressing the

    Microcontroller output driver. The LED can withstand more than 40 milliamps and will survive. A resistor in serie with the LED will help (240~1000 ohms).

  • Hey man, you look like Joe Satriani.

  • @Knightmetal Haha that was my first thought too, then I saw your comment :) hahaha

  • sos

  • to make the led flash differently you change the code a litthe bit. Change 1000 to 100, 200, and so on. hope it works :)

  • Comment removed

  • Why waste time for a toy like that?? Buy proper microcontroller like AVR, PIC or 8051 and learn C. You'll learn much more about the actual hardware and program processing.

  • Comment removed

  • why does all of these guys with arduinos use mac os ...? btw thanks great job!

  • @94vujke I know! I noticed the same! I'm a Xubuntu guy...

  • can i make an arduino that locks doors

  • hi ! can you make some PWM one?? thanks

  • mmm Great man, you can make a charger portable with this cave no?

  • the blinking light is doing SOS in mores code

  • Hi, how do i program the arduino using pure c, or using avr studio instead of avrdude. If have answer ill be thankfull.

  • yeah its SOS at the end ... - - - ...

  • Good video, but I wouldn't suggest "experimenting" to determine polarity. That can be a bad habit, and can damage other components (capacitors for one). :)

  • Great vid man, really appreciate the help, as i dwell into the world of arduino. and i'm pretty sure the end was SOS. -Joe

  • Thanks JoeBro!

  • do you NEED jumper wires to connect things to the arduino board or can you use regular old wire?

  • just what ever you have, no problem :)

  • SOS

  • int ledPin = 13;

    Does NOT INITALIZE the pin, it just creates an integer variable (which is later used to set the pin state, could be done without the var)..

    Besides from that the video is OK...

  • That's what I was thinking too :).

  • @reeferdk Very good, bro! LOL. C++ Veteran?

  • The size of LED... well, you gotta check the specs. Seriously, off the shelf, they are about the same, but when you want cute small ones to huge a** ones for your car, you have to read the datasheet. Radioshack should have some stuff, but I'm not sure, I live in Singapore =D

  • For the benefit of most people viewing this...

    LED info...

    The LED is a Light Emitting Diode. A diode is a simple semiconductor that acts like a 1-way-valve for current. This means, which pin goes where actually matters.

    LONG lead is +ve, SHORT lead is -ve.

    Simple circuit theory, +ve side of source connects to +ve lead of component. For those who know the math, V(source)=V(diode)-V(resistor)­.

  • oh and the sequence... I think it's S-O-S.

  • Thank you for sharing that with us. I'd like to ask how you determine what ohm resister you buy when you want to hook a LED up with a power source; in this case, an output pin on the Arduino? As simple as this may be for many of you, can you detail out the considerations you take? You mentioned about regulatiing the 9v to 5vdc, what device is responsible for that? (I thought resisters regulate "current" (measured in ampere)

  • You can choose any amount of resistance you want. The smaller, the higher the current, hence brighter LED will have a shorter life (so far, 200 ohms hasn't given me any problems: see my video for NUS project). However, typically, 2k ohm resistors are used.

  • For the regulation, see the comment just after this. To the right of the DC adapter input, you will see this IC thing with a huge metal head, I suspect it's a 7805 voltage regulator. It's a device that takes in about 8-9Vdc and regulates it to 5V. USB voltage is already at 5V, so it doesn't have to be regulated. I am also pretty sure the MICROCONTROLLER on the Arduino runs on 5V and not 9V.

  • Does the size of the LED something to consider when choosing the correct (resistance) ohm resister? Thanks again for answering my noobish questions. I think I might just buy one of these. Gonna check where I could buy one (ebay?)

  • why do people always use lead size to tell what is positive? thats really dumb.

    just look into the led, the thinner fin of metal is positive, and on some leds the negitive side is flat.

  • Yes, that's really true... However, as you can see from the questions, many people here probably don't know what you are talking about. Hence, for simplicity, it's easier to see from the leads.

  • yeah that would be kinda bad if it didn't. 9V 0Ohms lol. *POP*

    By the way about the polarity comment about LED's: if you didn't know that LED's have polarity you probably shouldn't be watching this video.

  • This is for people that are too lazy to use a atmel microcontroller by it's self ,which is the only thing that the Arduino board is. He is doing it wrong your supposed to have a resistor with the LED not just put the LED across the output port and ground.

  • I think there's a 7805 on the board... Never seen it in person, but have seen the pictures. So 9V will be regulated to 5VDC. Still won't pop the LED that quickly... It's alright to just wire the LED  direct, just for testing the pins, fast and easy.

    Though it is better to have a resistor in series to limit the current. LED popping is pretty cool too!

  • i really want one of these!

  • Delay Comand

  • Thanks a lot ! really excellent intro to arduino !!

    Expecting more related videos from u !

  • thanks, was planning to getting one - it feels much more realistic that ill figure out the basics now

  • Steve! I hope that's a 5V LED because if it isn't the LED or the Arduino (or both) will eventually fry

    fyi - most red LEDs conduct at around 1.8v

  • i just found out there's a robotics distributor a few miles from me and they have the arduino line of products, this should be fun and easy! mostly for mocap/animatronics with the analog inputs multiplexed for, say, 32 channels - thanks for the video it gives a good idea of how it will be

  • the robotics distributors is robotshop..ca

  • Yey my arduino arrived today.

  • The lights are blinking morse... SOS

  • the LED is blinking faster and then slower and then starting over again

  • i have been doing some basic electronics on a breadboard for about half a year i can do stuff like a 4017 counter (led chaser) and some 555 and some 556 and some 3917 but i really want to get an arduino

  • This is really cool, Steven. Thanks for the videos.

  • Thanks. Glad you enjoyed them. They're fun to do and a great resource for my students.

  • so Steve what is the purpose of this board? does it do anything useful

  • It's only limited by your imagination. Do a quick Google search for Arduino and check out all the cool projects.

  • I will do that, this looks fun b/c im into hardware hacking, check out my videos

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more