I have a noob question about code, do I type in int ledpin = 13 or do i type in int ledpin = 13 // LED connected to digital pin 13? do I leave the // out?
@Slimduckdad thanks for a quick reply, I am a total novice and insted of "copy & paste" code I would like to type it out, makes me learn what im typing in, just not having to type everything after // makes life easyer and faster, thanks again :)
@dexterelwero puedes ir al sitio arduino(punto)cc y alli tienen donde descargar el software y ademas puedes comprar de ellos. Si no tienes manera de comprar por internet, tambien tienen una lista internacional de distribuidores.
Mate you are my savior, i have been screwing around with an axon 2 from society of robots for like 3 months with little progress and this board looks easy and your correct in saying the community is great! getting a board asap!
All i need one of these for 2 LEDs to start slowly flashing for a few minutes at 4am, or about 4 or 5 hours after it's turned on. Could someone advise me what board and attachments to buy, and programming that needs to be done?
I've seen a LED been used this way in many tutorials. It's a very simple way of introducing people to Physical Computing avoiding complex explanations about diodes, currents voltages etc... but..
The digital pin 13 hasn't a resistor in serie.
There is a (LED with a resistor in serie) in parallel to the digital pin 13.
Using a LED connected between pin 13 and Ground is stressing the
ATmega328 output driver. The LED can withstand more than 40 milliamps and will survive.
I simply figure out that macs upload to the arduino faster then windows. Its kinda strange because people who own macs and plan to buy arduino unos would have speedy uploads then people who have pcs and the same board. Anyone have the same thing???
@AnnoyingXboxer Good grammar is considered by many to be a sign of a good education and high class. I never commented on ghost541111's intelligence, I was lampooning his comment, and claiming that he was was poorly educated. An intelligent man whom is not a native English speaker wouldn't typically say "soooooooo", or "why in hell". It is safe to assume that English is his first language, and he is clearly isn't a computer expert, since he hasn't provided any evidence to support his claim.
@aminy23 First, Grammar does not show any amount of education.... It just shows your intelligence in the field of literacy... And Literacy has nothing to do with your knowledge on technology.
Saying Mac is better then PC is pure opinion, Whether or not your a computer expert has nothing to do with it.... Mac is good with things such as Video Editing and simple tasks... PC is good for Programming and wide variety of options.. And Linux is good for customizing and hosting Servers...
@AnnoyingXbox An educated person will have good grammatical skills in their native language. Linux based operating systems are great alternatives to Windows and OS X for those who use there computers primarily for internet surfing and word processing. I believe that it is moronic to insult and criticize someones choice in computers, without providing any reason. Ghost54111 is also assuming that the MacBook belongs to the creator of the video, even though he may be using someone else's computer.
@leafman96 Mac IS a PC, fucktard! If Apple wanted to differentiate itself from PC's, they wouldn't be using the same hardware and would make their own processors.. Macs are nothing more than over-glorified PC's with a shiny skin on it, which they need because their plasticy metal $2200 cases are falling apart. LOL
@vtwinbreed A PC typically refers to a Windows-based computer. While a Mac is a PC under its skin, anyone worth his salt will understand that you are referring to Windows.
I am getting an aduino uno soon and also 100 Standard Leds i know that arduinos are 5v and the leds are only 3v so i am wondering what ohm resistor i should use so i dont damage anything and also where i could get them for cheap Thanks, topidude
@topidude Leds don't really care about voltage, more so about current. Try to understand how to calculate this before you blow your leds... It's not very hard to do, but you need some information about the led uses (forward voltage Uf and forward current If) These differ with the kind of led you use. Also try to understand Kirchhoff's electric laws. Google is your friend!
@BartManNL hang on there, an LED (or any other electronic device) will only draw as much current as it needs, based on what your saying if I had a 3 volt battery rated at 100Ah (yes thats right 100 amp) the LED would fail?? you cant overdrive the LED above its rated voltage, as per ohms law. It will fail. Google has failed you my friend. The wall socket in your home can supply upto 10 amp @ 240 volts but you can still charge your phone right ? 10 amps is there right? stick your finger in. see
@stdavross666 Led's cannot regulate the current like lightbulbs. Therefore you ALWAYS need a resistor in series with the led. Ohm's law is not applicable to leds because led's consist of a P-N semiconductor instead of some kind of resistor-like device.
@BartManNL Let me give an example. A red led has a forward voltage drop of (typically) 1.8 volt. The rated current is (typically) 20 mA. This led is connected in series with a resistor to a 5v output of said Arduino. The sum of the voltages in a circuit is equal to the voltage applied, so the resistor gets 3.2 volt (5 volt applied - 1.8 volt drop of led). Also, the current within a cirrcuit is the same for all components. We want the led to have 20mA, this means the resistor also gets 20 mA
@BartManNL Now we use Ohms law: 3.2 volt / 0,02 amp = 160 ohm. As this resistor does not exist in the common E12 series, we use the next one: 180 ohm. Now the led is fine and will work for a looong time (it gets 17 mA which is fine)
@BartManNL I agree but you cant force more current threw a electronic component or light globe or whatever at its normal operating voltage as per you previous statement. not possible. Current is a product of voltage and resistance and yes ohms law is always applicable because we have a supply voltage for our LED, the LED has resistance, and current is the product of those two values. Do you agree?
@stdavross666 Actuallu, I'm affraid I don't agree... Leds do not have ohmic resistance! You really have to calculate the current within the circuit to match the current requirement of the led. Usually, when you hook up a led to a battery, the internal resistance limits the current. If you connect a 1,8 volt led to a 1,8 volt source with no current limitation, the led will fail in a short time. @2:31 the narrator explains pin 13 has in builtin resistor to prevent damaging the led
@BartManNL LED are not superconductors they have resistance. they have a voltage drop when in use so they must draw a load which means ohms law will apply. And OK it seems after a bit of research it appears that you are correct. They do need a current limiting factor that can sometimes be a batteries internal resistance. No hard feelings?
Their resistance is too low. When you apply the 5V (or whatever your supply is) you get a very high amperage after the LED kicks on. Amperage, or current, is the amount of electricity flowing through the device. The more electricity you have flowing through, the more waste heat is generated. This heat will cook components of the board or your LED.
If I wanted to connect a whole strip of RBG LED's to Arduino (like 30+ LED's), what would I need to do? Would I have to run the Arduino to each individual one and have each one have a resistor?
I want all LED's to have the same color at the same time and be able to fade in and out
@mattmannmf My arduino comes in today and I have the same question. I'm a experimenting guy so let me do some experiments with it and i'll let you know. Gimmie a few weeks.
popular as in cant ship into the us? cause if you try the arduino website. it wont ship to us, thank you makershed for bringing us the joys of other nationly products.
since the code is uploaded to the board, i believe then that the board can later be powered by some sort of battery, cant it? this thing is genius! you can practically make any type of useful hardware
I don't understand what is calling the functions he is declaring , I figured he would need to declare variables then have a main(){} function that calls the functions after it.
Thanks for the video. I'm totally new to this kind of stuff but want to get into it. Can you recommend any books/kits that would get me started with the programming and learning how to read schematics?
@silverpizza100 look at sparkfun.com they have them with a ton of "shields" that you can put on them to add functionality. I just ordered mine, can't wait for it to come in the mail!
@Alexgeo4975 i know but byte will make ur program faster it goos to 28 megabyte program INT is for higher than 28 MB its the same ... only it would go faster in such a small code
@nielseke2 it's standard C programming to use ints unless there is a very specific reason not to. Reason being that char (or unsigned char or byte) are limited to +/- 128. It's extremely easy to accidentally go over this, wrap around to numbers of the other sign and then introduce bugs in your code.
I'm going to put an example in another post, to help make sense of what I'm saying.
First the CPU will store 100 in some byte in memory (probably on the stack).
Then it will grab that value and multiply it by 3. This should be 300. unfortunatly 300 > 127 (max value for a char). More than likely this number will get stored as 44.
Now 44 / 4 = 11. That is the wrong answer. This is very very easy to do using bytes or chars. Thats why you use ints unless you really need byte data.
@MrTriston27 A good thing to start with is the Arduino Projects Pack... It has EVERYTHING to get started... right down to the battery! :) Sure, it's $100 but it has everything.
USB to control serial via C code? Why not serial and line ports. Folks are expected to do all this so their computer can make an LED blink? Hmmmmm....
woah.. when you plug in the LED it immediately is putting out a bit of very low frequency light. looks red on camera, was probably infra-red... and its not plugged in! you see this right? 2:48 into vid
I’m trying to figure out a display unit, which has two sets of 8 led’s, which blink in sequence one after the other, and a few led’s, hooked up to temperatures and fluid levels, The system is 12 volts. The led’s I imagined to be 12 volts also. could I use one of these Arduino. for this ?. Any advice would be very welcomed, ...Thom in Scotland.
@javamanV3 I am 31. All right, one or two bytes, whatever? This is stuff is for beginners anyway. The criticism, however, is not to the C language (even though I can list many of the, if you wish) but to the sloppy code.
The serial version of the Arduino has series resistor on Pin 13. Since you are using Duemilanove, there is "NO" series resistor on Pin 13 and you are risking to exceed the 40ma limit by directly plugging that LED. Besides, there is already built-in LED on Pin 13, so what's the point of risking damaging the AVR by hooking another LED without series resistor? Check the schematics and your board.
@rprp07110 yeah you make it switch a relay, you could send Open Sound Control messages or even midi across the web from work to your home machine to turn the light on. would take a few days to nail it on the head, but yeah, it would work.
First of all, why in the hell do they use an "int" to represent the number 13 when a "char" would do the job? While we are not running out of memory with this simple example, good programming should be teach from the beggining.
Second this little sketch will actually use the full power of the microcontroller without doing almost nothing! Timer interrupts are the way to go here!
The board is actually worth buying, but the software sucks.
@eshneto Why on earth would you use a char array in this case? It is pretty apparent that the formal parameters of the digitalWrite function require an integer to define which pin you are setting the value of.
BTW, the correct pronunciation of 'Diecimila' would be something like Dee-eh-chee-mee-lah (the 'h's are there to show how to pronounce the vowels, but shouldn't be pronounced).
ok, I know nothing of this, i am trying to learn it on my own. Can this thing be programmed via USB, the diconnected an made mobile, like in a vehicle, the hooked 2 a 12 volt power supply an run its program?
Hi, these videos are just great, thank you. Let me clarify something: You say that pin 13 has a built-in resistor, but I think that at least for the duemilanove this resistor is for the built-in LED connected to pin 13 only. This means you still need a resistor if you are plugging an external LED to pin 13 just as when using any other pin.
Actually, if you look at the schematic for the duemilanove, you'll see that RodCastler is correct. The 1k resistor is for the built-in LED only, and pin 13 has no resistor in series.
Google this free download book, "Arduino Starter Kit Manual : A Complete Beginner Guide to the Arduino" by Mike McRoberts from Earthshine Design. If I had this twenty-some years ago, it would have changed my life (well, at least my grades in Physics) It seems so straight-forward now!!
I am completely new to arduino and don't fully understand them, but could you tell me how you could have gotten a better grade in Physics? I'm going into Physics this year.
Hi, I new to the arduino "world" and I don't no much about it i've watch about all of your arduino videos and I camed with an idea. This idea was to take an arduino and hook it up to a Servo motor, using in to unlock a door lock. And then using this project to unlock and lock a door by entering a code on my computer. I would really appreciate you guys making a DIY video on that project!
I'd like to buy Arduino starter kit, but they don't sell it in Makershed anymore. But they sell this Getting started with Arduino kit, witch has this book witch may help me with using the Arduino, but the Arduino starter kit has not. Getting started with Arduino doesn't have the Protoshield, but it has only breadboard.
@makemagazine Well... That's going to burn the Arduino's output... Use a resistor.
lBonaCl 2 days ago
This is not a microcontroller, a microcontroller platform. The microcontroller is the Atmega328
MinecraftTechnic 1 week ago
This has been flagged as spam show
Quality LED lightbulbs (UK Only):
It Should Not Cost The Earth To Save The Planet. Go To www_lightevolution.co.uk
jamsplash 1 week ago
lol i have them all >:D EVEN THE SHIELDS lol im sellin them for 99% off
ceh2740 2 weeks ago
my wife says thank you for introducing me to something I didn't know I needed until I saw it! great tutorial!
electrickabuki 2 weeks ago
Well, unless I'm a complete moron, I guess that's THREE questions.
DDgun99 3 weeks ago
I have a noob question about code, do I type in int ledpin = 13 or do i type in int ledpin = 13 // LED connected to digital pin 13? do I leave the // out?
billynightmare 1 month ago
the // signifies that anything following is just a comment and does not affect the actual programming
Slimduckdad 1 month ago
@Slimduckdad thanks for a quick reply, I am a total novice and insted of "copy & paste" code I would like to type it out, makes me learn what im typing in, just not having to type everything after // makes life easyer and faster, thanks again :)
billynightmare 1 month ago
Donde y como consigo esa tarjeta y el software????
dexterelwero 1 month ago
@dexterelwero puedes ir al sitio arduino(punto)cc y alli tienen donde descargar el software y ademas puedes comprar de ellos. Si no tienes manera de comprar por internet, tambien tienen una lista internacional de distribuidores.
DannickFox 1 month ago
¿ademas,vienen todas las piezas qué muestras al principio del vídeo?
MrDeivi65 1 month ago
soy Español,si encargo el libro?podré hacer los modelos mediante dibujos.Por cierto,vienen todos esos chips?
MrDeivi65 1 month ago
i just got a new arduino uno
5starminus2 1 month ago
why 2009 is writed "Duemilanove"? Because it is made in Italy!!
Francy4600 2 months ago
tity y
asariitis 2 months ago
thought this was john park
techyknowsbest 2 months ago
where can I get some of Arduino?
thanks.
sharks685 2 months ago
i think arduino is too big im building a mini picduino (-:
Thepumpkinthing 2 months ago
What's the programming language the Arduino uses?
IrradicableOne 3 months ago
@IrradicableOne Seems like Java..might be wrong..Haven't started messing with them yet :3
SimmanGodz 3 months ago
Lol I wish I could get 1 of these
Ipwnin3D 3 months ago
Mate you are my savior, i have been screwing around with an axon 2 from society of robots for like 3 months with little progress and this board looks easy and your correct in saying the community is great! getting a board asap!
A1SCOPE 4 months ago
All i need one of these for 2 LEDs to start slowly flashing for a few minutes at 4am, or about 4 or 5 hours after it's turned on. Could someone advise me what board and attachments to buy, and programming that needs to be done?
FootInMudProductions 4 months ago
Comment removed
FootInMudProductions 4 months ago
i cant make it stop blinking!
Coolnventions 6 months ago
@Coolnventions You can, turn the board off.
BoltAndPennyFan 5 months ago
Thanks for this video.
I've seen a LED been used this way in many tutorials. It's a very simple way of introducing people to Physical Computing avoiding complex explanations about diodes, currents voltages etc... but..
The digital pin 13 hasn't a resistor in serie.
There is a (LED with a resistor in serie) in parallel to the digital pin 13.
Using a LED connected between pin 13 and Ground is stressing the
ATmega328 output driver. The LED can withstand more than 40 milliamps and will survive.
SeuPay 6 months ago
He's only missing the nerduino
christian101112 6 months ago
I simply figure out that macs upload to the arduino faster then windows. Its kinda strange because people who own macs and plan to buy arduino unos would have speedy uploads then people who have pcs and the same board. Anyone have the same thing???
Anthony96922 6 months ago
@Anthony96922
Not true at all. Depends on your system really...
gm3dgames 5 months ago
this shit is awesome.. how did I not know about this.
SurvivalGrounds 6 months ago
All of you are wrong. Mac and Pcs both have their strong points, and stop arguing about macs and pcs like idiots
wizgarry 6 months ago
arduino board is so big! programming a single microcontroler will be MUCH easier
TheMegalucian 7 months ago
why in hell do you have a macbook. pc's are soooooooo much better.
ghost541111 7 months ago
@ghost541111 mac are way better than pc
leafman96 7 months ago
@leafman96 noooooooooooooooooooooooooooooo
THEACERASPIREMAN 7 months ago
@leafman96 wrong
LucifersDisciple6 7 months ago
@leafman96 Said by the highly educated man with the grammar skills of a three year old.
aminy23 7 months ago 9
@aminy23 lol
petereish 7 months ago
@aminy23 Grammar has nothing to do with someones intelligence.... Only a moron will judge someones intelligence over grammar on a youtube comment...
AnnoyingXboxer 3 months ago
@AnnoyingXboxer Good grammar is considered by many to be a sign of a good education and high class. I never commented on ghost541111's intelligence, I was lampooning his comment, and claiming that he was was poorly educated. An intelligent man whom is not a native English speaker wouldn't typically say "soooooooo", or "why in hell". It is safe to assume that English is his first language, and he is clearly isn't a computer expert, since he hasn't provided any evidence to support his claim.
aminy23 3 months ago
@aminy23 First, Grammar does not show any amount of education.... It just shows your intelligence in the field of literacy... And Literacy has nothing to do with your knowledge on technology.
Saying Mac is better then PC is pure opinion, Whether or not your a computer expert has nothing to do with it.... Mac is good with things such as Video Editing and simple tasks... PC is good for Programming and wide variety of options.. And Linux is good for customizing and hosting Servers...
AnnoyingXboxer 3 months ago
@AnnoyingXbox An educated person will have good grammatical skills in their native language. Linux based operating systems are great alternatives to Windows and OS X for those who use there computers primarily for internet surfing and word processing. I believe that it is moronic to insult and criticize someones choice in computers, without providing any reason. Ghost54111 is also assuming that the MacBook belongs to the creator of the video, even though he may be using someone else's computer.
aminy23 3 months ago
@leafman96 wrong.
OskiTheLion 7 months ago
@leafman96 Wrong.
Bvzijverden 6 months ago
This has been flagged as spam show
@leafman96 Mac IS a PC, fucktard! If Apple wanted to differentiate itself from PC's, they wouldn't be using the same hardware and would make their own processors.. Macs are nothing more than over-glorified PC's with a shiny skin on it, which they need because their plasticy metal $2200 cases are falling apart. LOL
vtwinbreed 6 months ago 12
@vtwinbreed A PC typically refers to a Windows-based computer. While a Mac is a PC under its skin, anyone worth his salt will understand that you are referring to Windows.
iamtheblank 5 months ago
wait... you set your IDE to output to a diecimilia, but the arduino you're holding is a duemilanove...
Slench101 8 months ago
i tried to upload the code,all it says is this
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
plz help me
doscientist 8 months ago
Comment removed
bennijolink 9 months ago
I make my own arduino
blagoMS 9 months ago 18
@blagoMS :D
petereish 7 months ago
This has been flagged as spam show
@blagoMS Quality LED lightbulbs (UK Only):
It Should Not Cost The Earth To Save The Planet. Go To www_lightevolution.co.uk
jamsplash 1 week ago
I am getting an aduino uno soon and also 100 Standard Leds i know that arduinos are 5v and the leds are only 3v so i am wondering what ohm resistor i should use so i dont damage anything and also where i could get them for cheap Thanks, topidude
topidude 9 months ago
@topidude Google for online LED calculator.
TCinker 8 months ago
@topidude
220ohm works fine =D
gnunsmagic 8 months ago
@topidude Leds don't really care about voltage, more so about current. Try to understand how to calculate this before you blow your leds... It's not very hard to do, but you need some information about the led uses (forward voltage Uf and forward current If) These differ with the kind of led you use. Also try to understand Kirchhoff's electric laws. Google is your friend!
BartManNL 8 months ago
@BartManNL hang on there, an LED (or any other electronic device) will only draw as much current as it needs, based on what your saying if I had a 3 volt battery rated at 100Ah (yes thats right 100 amp) the LED would fail?? you cant overdrive the LED above its rated voltage, as per ohms law. It will fail. Google has failed you my friend. The wall socket in your home can supply upto 10 amp @ 240 volts but you can still charge your phone right ? 10 amps is there right? stick your finger in. see
stdavross666 8 months ago
@stdavross666 Led's cannot regulate the current like lightbulbs. Therefore you ALWAYS need a resistor in series with the led. Ohm's law is not applicable to leds because led's consist of a P-N semiconductor instead of some kind of resistor-like device.
BartManNL 8 months ago
@BartManNL Let me give an example. A red led has a forward voltage drop of (typically) 1.8 volt. The rated current is (typically) 20 mA. This led is connected in series with a resistor to a 5v output of said Arduino. The sum of the voltages in a circuit is equal to the voltage applied, so the resistor gets 3.2 volt (5 volt applied - 1.8 volt drop of led). Also, the current within a cirrcuit is the same for all components. We want the led to have 20mA, this means the resistor also gets 20 mA
BartManNL 8 months ago
@BartManNL Now we use Ohms law: 3.2 volt / 0,02 amp = 160 ohm. As this resistor does not exist in the common E12 series, we use the next one: 180 ohm. Now the led is fine and will work for a looong time (it gets 17 mA which is fine)
BartManNL 8 months ago
@BartManNL I agree but you cant force more current threw a electronic component or light globe or whatever at its normal operating voltage as per you previous statement. not possible. Current is a product of voltage and resistance and yes ohms law is always applicable because we have a supply voltage for our LED, the LED has resistance, and current is the product of those two values. Do you agree?
stdavross666 8 months ago
@stdavross666 Actuallu, I'm affraid I don't agree... Leds do not have ohmic resistance! You really have to calculate the current within the circuit to match the current requirement of the led. Usually, when you hook up a led to a battery, the internal resistance limits the current. If you connect a 1,8 volt led to a 1,8 volt source with no current limitation, the led will fail in a short time. @2:31 the narrator explains pin 13 has in builtin resistor to prevent damaging the led
BartManNL 8 months ago
@stdavross666 May I suggest looking at h t t p://led.linear1.org/why-do-i-need-a-resistor-with-an-led/
BartManNL 8 months ago
@BartManNL LED are not superconductors they have resistance. they have a voltage drop when in use so they must draw a load which means ohms law will apply. And OK it seems after a bit of research it appears that you are correct. They do need a current limiting factor that can sometimes be a batteries internal resistance. No hard feelings?
stdavross666 8 months ago
@stdavross666 No hard feelings! It took me forever to understand this...
BartManNL 8 months ago
@stdavross666
Their resistance is too low. When you apply the 5V (or whatever your supply is) you get a very high amperage after the LED kicks on. Amperage, or current, is the amount of electricity flowing through the device. The more electricity you have flowing through, the more waste heat is generated. This heat will cook components of the board or your LED.
axelasdf 7 months ago
nice work.........
29riteshkakkar 9 months ago
7:30 New mail
MrSmartGeek 9 months ago
the void loop ? XDDD
yakir11114 9 months ago
7:30. Pronounced: 'Diechimilia' Italian for ten thousand. Basically all you need to know is the 'ci' sounds like 'chi'
MrBeerFairy 9 months ago
This has been flagged as spam show
I JUST GOT MINE!!!!
legoclockfreak710 9 months ago
If I wanted to connect a whole strip of RBG LED's to Arduino (like 30+ LED's), what would I need to do? Would I have to run the Arduino to each individual one and have each one have a resistor?
I want all LED's to have the same color at the same time and be able to fade in and out
mattmannmf 10 months ago
@mattmannmf Look at the example Tutorial/Fading at arduino.cc and LED Bar Graph ;)
xanokothe 10 months ago
@mattmannmf My arduino comes in today and I have the same question. I'm a experimenting guy so let me do some experiments with it and i'll let you know. Gimmie a few weeks.
Josh350 9 months ago
Diecimila = dieci mila = ten thousand
pixelr0 10 months ago
These things are far to expensive to be actually useful. About 10x too expensive for what they are worth.
cobrachoppergirl 11 months ago
@cobrachoppergirl You can buy the componants yourself and solder it together for cheaper.
adamh3212 11 months ago
just ordered mine yesterday, hopefully i get it this week
donutsprinkles99 11 months ago
Made in Italy! :-)
pinko1975 11 months ago
@pinko1975 Pizza Mario Lamborghini
pixelr0 10 months ago
@pixelr0 you forgot Pasta!
pinko1975 10 months ago
popular as in cant ship into the us? cause if you try the arduino website. it wont ship to us, thank you makershed for bringing us the joys of other nationly products.
sush150 11 months ago
best intro to the arduino ive seen an d ive sseen them all
Bizdet 11 months ago
Check what we're doing with Arduino & Etoys. Have fun! :) /watch?v=l_IYlDbBlEs
sebasgb1 1 year ago
haha in 00:35-00:57 it seems he is having a orgy lol
still awesome vid A+++
TheDOMMM6 1 year ago
This has been flagged as spam show
thumbs up if you checked your email at 7:31
donutsprinkles99 1 year ago
This has been flagged as spam show
thumbs up if you checked your email at 7:32
donutsprinkles99 1 year ago
dude, u suck at narrating
ctechreviews 1 year ago
@ctechreviews no, he doesn't. You suck at listening.
Nadrealis 1 year ago
I got one for Christmas!
AKSoapy29 1 year ago
@AKSoapy29
I love these things, my bro bought me one for Christmas, but i still haven't gotten it because of my mailman, even though it was bought the first.
ThePyroSmurf 1 year ago
What is X-Bee?
11myedu 1 year ago
@11myedu it allows you to control things wirelessly
MultiJohn12321 1 year ago
since the code is uploaded to the board, i believe then that the board can later be powered by some sort of battery, cant it? this thing is genius! you can practically make any type of useful hardware
Cloroethyl 1 year ago
i really love the arduino...it looks so nice...so sweety Oo
ok....and if u watch all the led projects on the internet u really get impressed what a little atmega328 can do (with a nice arduino board)
punisher17011990 1 year ago
I don't understand what is calling the functions he is declaring , I figured
he would need to declare variables then have a main(){} function that calls the functions after it.
testaccount9855 1 year ago
This has been flagged as spam show
I don't understand what is calling the functions he is declaring , I figured
he would need to declare variables then have a main(){} function that calls the functions after it.
testaccount9855 1 year ago
I don't understand what is calling the functions he is declaring , I figured he would need to declare variables then have a main(){} function that calls the functions after it.
testaccount9855 1 year ago
what is arduino?
NumarkDjTakis 1 year ago
Comment removed
cyberstar251 1 year ago
Comment removed
cyberstar251 1 year ago
wow
exceilence 1 year ago
Thanks for the video. I'm totally new to this kind of stuff but want to get into it. Can you recommend any books/kits that would get me started with the programming and learning how to read schematics?
00Mandingo00 1 year ago
it is ur butt thanks for wasting my time.......
francisroan 1 year ago
Really nice!
TheBetterPeter 1 year ago
Interesting little doo dad. That would be great for kids. You people should consider employment.
silverpizza100 1 year ago
@silverpizza100 look at sparkfun.com they have them with a ton of "shields" that you can put on them to add functionality. I just ordered mine, can't wait for it to come in the mail!
swiftimundo1 6 months ago
enteresting 0_o
Youdhisthir2 1 year ago
you wrote "int LedPin = 13; ....." why are you using integer?
why don't you just use byte? integer is for very large numbers and that's not really necessary here is it?
nielseke2 1 year ago
@nielseke2 An integer is just another word for a real number which values are greater than 0.
Alexgeo4975 1 year ago
@Alexgeo4975 i know but byte will make ur program faster it goos to 28 megabyte program INT is for higher than 28 MB its the same ... only it would go faster in such a small code
nielseke2 1 year ago
@nielseke2 it's standard C programming to use ints unless there is a very specific reason not to. Reason being that char (or unsigned char or byte) are limited to +/- 128. It's extremely easy to accidentally go over this, wrap around to numbers of the other sign and then introduce bugs in your code.
I'm going to put an example in another post, to help make sense of what I'm saying.
ikedasquid 1 year ago
@nielseke2 Consider this example:
char x = 100;
x = x * 3 / 4; //result should be 75
First the CPU will store 100 in some byte in memory (probably on the stack).
Then it will grab that value and multiply it by 3. This should be 300. unfortunatly 300 > 127 (max value for a char). More than likely this number will get stored as 44.
Now 44 / 4 = 11. That is the wrong answer. This is very very easy to do using bytes or chars. Thats why you use ints unless you really need byte data.
ikedasquid 1 year ago
that is italy
totolook 1 year ago
the double '//' are similar to MEL code/scripting for 3D animation in Maya, im guessing is a C or C++ thing!?
AxelTiger 1 year ago
This has been flagged as spam show
@AxelTiger yes, thats right
tbsys31061 1 year ago
@AxelTiger its C
testaccount9855 1 year ago
The code go over was very slow IMHO (of course i am fairly good at C programming).
smeezekitty 1 year ago
@MrTriston27 A good thing to start with is the Arduino Projects Pack... It has EVERYTHING to get started... right down to the battery! :) Sure, it's $100 but it has everything.
willsmidlein 1 year ago
sweet its in basic
tyga42 1 year ago
USB to control serial via C code? Why not serial and line ports. Folks are expected to do all this so their computer can make an LED blink? Hmmmmm....
helmutschmuk 1 year ago
woah.. when you plug in the LED it immediately is putting out a bit of very low frequency light. looks red on camera, was probably infra-red... and its not plugged in! you see this right? 2:48 into vid
rayroy3 1 year ago
I’m trying to figure out a display unit, which has two sets of 8 led’s, which blink in sequence one after the other, and a few led’s, hooked up to temperatures and fluid levels, The system is 12 volts. The led’s I imagined to be 12 volts also. could I use one of these Arduino. for this ?. Any advice would be very welcomed, ...Thom in Scotland.
fuelban 1 year ago
Hi guy, very interesting video, I never was much good with electronics though. But you explain things very clearly, cool, thanks.
Thom in Scotland.
fuelban 1 year ago
would the miniduino or nanoduino do the same thing as an arduino?????
magruto13 1 year ago
thank you for this video i always hear arduino in different projects but i had no idea what it is
zem36 1 year ago
4:33 "gets" not "equal" 13 =) cool video, thanks alot! =)
nickleus1977 1 year ago
great intro video, I was so nervous about getting one
dexter1673138 1 year ago
just bought an arduino : ) hoping to link it to max msp. should be fun : P
rainbowsalads 1 year ago
what are these?
passw0rdz 1 year ago
@carlosthecactus "char array", did I say that?
@javamanV3 I am 31. All right, one or two bytes, whatever? This is stuff is for beginners anyway. The criticism, however, is not to the C language (even though I can list many of the, if you wish) but to the sloppy code.
eshneto 1 year ago
The serial version of the Arduino has series resistor on Pin 13. Since you are using Duemilanove, there is "NO" series resistor on Pin 13 and you are risking to exceed the 40ma limit by directly plugging that LED. Besides, there is already built-in LED on Pin 13, so what's the point of risking damaging the AVR by hooking another LED without series resistor? Check the schematics and your board.
0085310782 1 year ago
Can you make it turn a 60w lamp on and off? And can you using a 2nd commuter at work on the internet to do that action?
rprp07110 1 year ago
@rprp07110 yeah you make it switch a relay, you could send Open Sound Control messages or even midi across the web from work to your home machine to turn the light on. would take a few days to nail it on the head, but yeah, it would work.
rainbowsalads 1 year ago
Well, the code presented really sucks!
First of all, why in the hell do they use an "int" to represent the number 13 when a "char" would do the job? While we are not running out of memory with this simple example, good programming should be teach from the beggining.
Second this little sketch will actually use the full power of the microcontroller without doing almost nothing! Timer interrupts are the way to go here!
The board is actually worth buying, but the software sucks.
eshneto 1 year ago
@eshneto
What are you - 80? I have been programming sin 16K was a lot of memory, but i don't knock people for using int vs char. It is clearly not an issue.
If you want to be a C critique go to a C web site - they will love it ... Here - not so appropriate.
javamanV3 1 year ago
@eshneto Why on earth would you use a char array in this case? It is pretty apparent that the formal parameters of the digitalWrite function require an integer to define which pin you are setting the value of.
carlosthecactus 1 year ago
Have you made a video about the Ethernet Shield (or however it is called) to talk to the internet?
davidsalomongp 1 year ago
How do you pronounce this thing?
Is it like Ard-Wino?
Thanx
igrewold 1 year ago
yeah i think thats how its said. I sometime emphasize the "oo" sound.
LooseLeaves728 1 year ago
Comment removed
igrewold 1 year ago
hi what board would you use with a display to make a volts amps and watts meter for a solar system
thanks
davevanden1 1 year ago
Thanks for this video, it is utterly interesting!
BTW, the correct pronunciation of 'Diecimila' would be something like Dee-eh-chee-mee-lah (the 'h's are there to show how to pronounce the vowels, but shouldn't be pronounced).
michelecant 1 year ago
my math teacher have one of those italian arduinos
pinguino117 2 years ago
yes! been looking for a video like this forever, and it was made yesterday, my god
Thanks!
idr4life7 2 years ago
ok, I know nothing of this, i am trying to learn it on my own. Can this thing be programmed via USB, the diconnected an made mobile, like in a vehicle, the hooked 2 a 12 volt power supply an run its program?
roaddiablo 2 years ago
this chip board is made in italy,,,
that is cool
bestamerica 2 years ago
7:49 he said tittie :P
nice tut ive just got myself such a board from school but not the power supply or the usb cable so i have to make one or buy one.
so im close to finaly start with programming microchips :D
odi22865 2 years ago
after you have done the uploading can you just plug it into net stream to keep that blinkled going or does it need usb all the time?
Jerrevdd1989 2 years ago
read comment below and also it only said blue tooth
thejavor5 2 years ago
can any one help me i can't upload data because the serial port is taken and if i and it doesn't use bluetooth. HELP ME.
thejavor5 2 years ago
Thanks for sharing!
mirrorsu 2 years ago
Hi, these videos are just great, thank you. Let me clarify something: You say that pin 13 has a built-in resistor, but I think that at least for the duemilanove this resistor is for the built-in LED connected to pin 13 only. This means you still need a resistor if you are plugging an external LED to pin 13 just as when using any other pin.
RodCastler 2 years ago
the resistor for the built in led runs on the same circuit as pin 13 so you don't need an extra resistor
numex106 2 years ago
Actually, if you look at the schematic for the duemilanove, you'll see that RodCastler is correct. The 1k resistor is for the built-in LED only, and pin 13 has no resistor in series.
sotnickd 2 years ago
Comment removed
RodCastler 2 years ago
Comment removed
RodCastler 2 years ago
Comment removed
windrago 2 years ago
Is it possible to connect an LED to the digital ins 0 (RX) and 1 (TX)?? hellp!
Fockoel 2 years ago
Yes, if you don't use serial communication.
gemis94 2 years ago
is it possible to connect an LED into analog pins?? Im an idiot can anyone help
Fockoel 2 years ago
You can use a LED bargraph if you want to.
Can you do a video of the arduino connected to a tv if possible please do it
Abbato65 2 years ago
Getting started with Arduino really is a good book.
jodex96 2 years ago 8
@jodex96 massimo banzi is awesome!!!!!
MultiJohn12321 11 months ago
Comment removed
myplaceoryours 2 years ago
Comment removed
myplaceoryours 2 years ago
Whats next?Force shield? And can a small LED number screen (2nums, 1 row) fit on a nano arduino? I'd use it to show my Pi day!
someguynamedpie 2 years ago
Im getting a starter kit for my birthday <3
koekoeka 2 years ago 58
just got one for mine :)
Splooshiba 2 years ago
W ITALY (Arduino is italian)
kecapo 2 years ago 3
@kecapo That‘s why it is so shitty. They can neither build cars (Fiat) nor build micro devices :)
ensignjoe 1 year ago
Google this free download book, "Arduino Starter Kit Manual : A Complete Beginner Guide to the Arduino" by Mike McRoberts from Earthshine Design. If I had this twenty-some years ago, it would have changed my life (well, at least my grades in Physics) It seems so straight-forward now!!
Nuengnueng 2 years ago
i know i just got it, luckily im still young.. wonder if i can get some high grades in physics.!
omlan 2 years ago
I am completely new to arduino and don't fully understand them, but could you tell me how you could have gotten a better grade in Physics? I'm going into Physics this year.
Roisey33 2 years ago
Hi, I new to the arduino "world" and I don't no much about it i've watch about all of your arduino videos and I camed with an idea. This idea was to take an arduino and hook it up to a Servo motor, using in to unlock a door lock. And then using this project to unlock and lock a door by entering a code on my computer. I would really appreciate you guys making a DIY video on that project!
Thanks in advence!
fxxfred1994 2 years ago
I'd like to buy Arduino starter kit, but they don't sell it in Makershed anymore. But they sell this Getting started with Arduino kit, witch has this book witch may help me with using the Arduino, but the Arduino starter kit has not. Getting started with Arduino doesn't have the Protoshield, but it has only breadboard.
I'm confused witch I should buy??!?
jodex96 2 years ago
a breadboard can be hooked up to the arduino without attaching it to a shield. the protoshield only makes it a bit easier to wire up
DarkNylo 2 years ago