Ourduino Wiki – Google Code Project Open

I’ve started transferring my projects handouts to the Ourduino project at Google code. My aim is to transfer five or maybe six projects by Christmas. Most of the content is documentation, the code is pretty simple.

The projects won’t be finished in a convenient sequence because some of the content is shared, and the construction of some shared parts is quite time consuming. For example re-shooting some of the pictures will be a while because I don’t have a good set up for macro photography (though the discount Canon A470 is much better than my old camera, so I hope the results will be good).

As well as the projects themselves, there are a lot of contextual pages to set up , covering electronic parts, suppliers and bits of theory. One of my collegues at fizzPop, the Birmingham (UK) Hackspace, asked me what value resistor to use for an LED in electronic projects. That’s a great question. I thought I should try to make sure that is answered because folks ask it all the time.

I like answers which give plenty of information so that I can solve more general questions, but I also like direct concrete answers too. The analysis involved a few reasonable assumptions about how much current a LED uses, how much voltage is dropped across a LED, how much power is reasonable for an Arduino pin to supply, and of course Ohm’s Law. The explanation and details are included in the Ourduino page about Resistors, but for those who’d just like an answer, here’s a summary:

  • 330 ohm, or bigger, will be fine for Arduino pins, and Arduino voltages (up to 5 Volts)
  • 680 ohm or bigger will be fine for 9 Volt batteries (which I often use to power an untethered Arduino)
  • 1K ohm or bigger will be fine for 12 Volt supplies (I sometimes use a 12 Volt ‘Wall Wart’ to power my Arduino).
LED torch, using a 330 ohm resistor.

LED torch, using a 330 ohm resistor.

All of these are quite conservative, and the resistor could safely be smaller. One nice feature is these resistor values allow pretty near the same current through the LED, so they should all look about the same brightness next to each other. If you’re making an LED torch, but with a 6 Volt battery, 330 ohm’s will be fine.

I’m off to Manchester Science Week Robot Festival this weekend. I’ll be with Stewart Dunn who’ll be showing the Kre8 construction system. I’ll be demonstrating the Arduino-based SenseBoard and Scratch to folks. I hope to get the opportunity to help young people learn a bit about Arduino’s, programming and electronics. I hope to see you there.

Postscript – I was ill over the weekend (not good timing), and missed the event. Stewart said it was great. Oh well 😦

Advertisements

One Response to “Ourduino Wiki – Google Code Project Open”

  1. dfflanders Says:

    And thanks for the excellent workshop in Birmingham. Can’t beleive how fast you can just do stuff with Arduino (especially with a good teacher). One day and I feel like I could invent anything!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: