Over the past months, i have been buying kits from Maplin (like RadioShack only British) a few weeks ago i bought a box of 6 kits in a clearance sale, with the intention of building the kits on solder less breadboard instead of the PCBs supplied. I had mixed results possibly due to me making a very stupid error where I didn't understand the IC pin out conventions. I also found an old electronics kit i bought years ago, and kept at the bottom of the cupboard, it had loads of IC's and some books. I suddenly realised I had a decent parts bin, and a lot more drive than when I was younger.
I decided to buy an Freeduino (see my last post) and looked for a project. I had loads of LEDs and from reading lots of making things sites, I knew Charlieplexing was the way to go. I read up on Charlieplexing theory and built a 2x3 array connected to 3 IO pins. I found a Instructable on making a Charlieplexed heart, and borrowed the source code and I adapted it to 3 pins. I don't know much about coding (yet), but the code was easy enough to understand. It worked, so i built a 20 led array out from 5 IOs which was the best layout for my breadboard. I reloaded the heart code, and found that not all theLEDs worked. Because the code was for 27 LEDs from 6 IOs it should have been suitable for 30 , but he had left out the unnecessary (for him) code. So I cleaned up the code, and made the LED's programmable in a human friendly order (is it is no no longer a heart). Anyway, here are the results.
My First Arduino Project - 4x5 Charlieplexed 20 LED Array
Labels:
'duino,
Arduino,
Charlieplex,
Charlieplexing,
Electronics,
Freeduino,
LED
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment