Needless to say, the first thing I did was order a shield, specifically a Real Time Clock shield based on the DS1307 chip. Since the microcontroller doesn't keep track of time over longer than a few minutes very well, I figured it would come in handy.
Then next thing I did was plot my first project, an Arduino controlled aquarium lighting system. Basically, it uses the Arduino to pulse width modulate the power that a string of LEDs in parallel. This allows the Arduino to dim and brighten the LEDs.
Here's the code (in C) for the sketch for those interested, and here is a circuit schematic:
0 comments:
Post a Comment
Please leave a comment