ENUMs, User Preferences, and the MySQL SET Datatype
Native Linux Space Warfare: Freespace 2
Using PHP pspell Spell Check Functions with a Custom Dictionary
Scrollable Tables with Floating Header using CSS
Visualising Website Performance with Flame Graphs
Using Multi-Byte Character Sets in PHP (Unicode, UTF-8, etc)

Easy Electronic Circuit - Two Flashing LEDs

Sunday, 1 April 12, 11:06 am
When a couple of colleagues got Arduinos, I finally got round to getting hold of a starter kit off ebay. It's a very simple kit, with a breadboard and a selection of components that include resistors, capacitors, LEDs and transistors. It also had a couple of circuits pinched off the web to get you started, and they seemed as good a place as any to get started.

With the first one, two LEDs blink on/off alternately. The circuit comprises the following components:
  • LED x 2
  • Transistor x 2
  • 10µF Capacitor x 2
  • 470Ω Resistor x 2
  • 10kΩ Resistor x 2
  • Standard 9v Battery
These components are laid out as in the following circuit diagram:

What's Going On?

The alternating effect must be produced by the transistors being switched on / off by the capacitors discharging and charging. Each transistor can switch the LED on or off, converting the smooth exponentially discharging output from its capacitor into high or low once a threshold is reached.

Please enter your comment in the box below. Comments will be moderated before going live. Thanks for your feedback!

Cancel Post

/xkcd/ Number Shortage