|
Playing around with arduino |
Jonatan Hedborg
Member #4,886
July 2004
|
I'm kind of curious of learning more about IC (and similar things), and the Arduino sounds like a simple and fun way to do it. I'm thinking about getting a "starter kit" containing: Arduino Duemilanove USB board, 840 slot breadboard, a few different "input"-like things like potentiometers, buttons, photo-resistives (or whatever they're called), wires, LED's and resistors. I will probably just play around with making LED's change when you push buttons and things like that to begin with. Can you guys think of any other fun, small, projects (and what I would need for them)?
|
ixilom
Member #7,167
April 2006
|
Back in school we made traffic lights in a junction and an elevator with 10 LEDs and 10 buttons ___________________________________________ |
jhuuskon
Member #302
April 2000
|
The Arduino is to electronics what Lego is to engineering. Real men get a PICKit2 starter kit instead. Or an Atmel equivalent if you're a cheap bastard or an open source zealot. You don't deserve my sig. |
Samuel Henderson
Member #3,757
August 2003
|
I got an Arduino for Christmas! This looks like an interesting starter project as well. ================================================= |
Jonatan Hedborg
Member #4,886
July 2004
|
Bought a starter kit and some other misc stuff (a 7 segment led display, a few more buttons and potentiometers etc). I've also coded a simple code-lock using the 7-segment display (displaying current value), a potentiometer (setting the current value), a led (to indicate lock status) and a button (to enter a value). Obviously I very much want to see if it actually works, so I hope they get it shipped ASAP.
|
ixilom
Member #7,167
April 2006
|
jhuuskon said: The Arduino is to electronics what Lego is to engineering. Whats wrong with LEGO ___________________________________________ |
Jonatan Hedborg
Member #4,886
July 2004
|
There are a few question marks that need straightening out (I am a bit of a newb when it comes to electronics... I have taken it ages ago, but it was only at a pretty basic level); in some tutorials, a led is connected directly to a pin (http://arduino.cc/en/Tutorial/Blink), in others there is a resistor before (http://arduino.cc/en/Tutorial/Fading). Why is this? What exactly will be the effect of a resistor? I would guess it reduces the strength if the LED. What could happen if I don't have a resistor in between? EDIT: Actually, never mind. I just read the blink tutorial again and realized there is a built-in LED and/or resistor on that particular pin. Still; the pin is 5v, and LED's are usually at specced at 6? So would it really hurt them? How can I calculate how strong a resistor we need?
|
ixilom
Member #7,167
April 2006
|
Time to brush up Ohm's Law? ___________________________________________ |
gnolam
Member #2,030
March 2002
|
Jonatan Hedborg said: How can I calculate how strong a resistor we need? Look up the forward voltage (Vf) and max current in the LED's datasheet. The forward voltage gives you the voltage drop over the component. Subtract it from your pin voltage and apply Ohm's law to calculate the needed resistance for the given current: R = (Vpin - Vf)/If. Then pick a resistor that gives you at least that resistance. -- |
piccolo
Member #3,163
January 2003
|
Jonatan Hedborg said: Can you guys think of any other fun, small, projects (and what I would need for them)? Map a web application that can check and change the status of your board the has lids hook up to it wow |
Jonatan Hedborg
Member #4,886
July 2004
|
Got the stuff today, turns out I ordered the wrong 7-segment display, so instead I display the current number with 4 LEDs (in binary). A clip is attached (sorry for mov...)
|
ixilom
Member #7,167
April 2006
|
What does it do other than display "numbers" ___________________________________________ |
Jonatan Hedborg
Member #4,886
July 2004
|
Oh yeah, a description might be useful When the button is pressed, the current value is stored. If the inputted values correspond to a stored code (how many and which ones is hardcoded but easily changed) , the light will go on and the sound will be on for 2 seconds (simulating a door opening or something). It took about an hour and a half to put together, including the code, so it's certainly not a large project, but fun to make
|
ImLeftFooted
Member #3,935
October 2003
|
Tic tac toe with LEDs. Play a midi file. |
OICW
Member #4,069
November 2003
|
At work we got ARM processor evaluation kit. And it really kicks ass. There's some kind of maze game preinstalled. You can adjust volume by controller that is connected via CAN and optionally you can hook it up to the computer via ethernet cable and see the whole maze up in the javascript application running from an embedded webserver. [My website][CppReference][Pixelate][Allegators worldwide][Who's online] |
BitCruncher
Member #11,279
August 2009
|
You should check out Sparkfun and The Electronics Goldmine for your components. The Electronics Goldmine has a wide variety of products. Also, check the Arduino forums for help.
|
Jonatan Hedborg
Member #4,886
July 2004
|
Those sites aren't much use in Sweden But yeah, I'm lurking the forums
|
|