3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

20 LED Arduino string made from Lan Cable

20 LED Arduino string made from Lan Cable
riaancornelius thanks a lot for making the tutorial about charlieplexing i have learned a lot because of you! His instructable can be found over here http://www.instructables.com/id/Controlling-20-Leds-from-5-Arduino-pins-using-Cha/


In this tutorial we are going to make LED Christmas Lighting based on the Arduino prototyping board. The Christmas lighting will be based on 20 LEDs.  This project is going to be both relatively cheap and incredibly awesome. We will be using a technology called Charlieplexing which is frequently used in Arduino based projects. The reason for this is that we do not want to use a pin on the Arduino board for every single LED.
 
Remove these adsRemove these ads by Signing Up
 

Step 1More on charlieplexing

More on charlieplexing
Charlieplexing is the main part of this project,so let me elaborate on that. Due to a shortage of pins on the Arduino board people came up with several solutions. E.g. multiplexing and charlieplexing, the latter will be used in this case due to limited wires in a LAN cable.
For a LED to work you need current flowing from HIGH to LOW. For example to make LED1 burn PIN1 is HIGH and PIN2 is LOW. However the state of PIN3 could influence this schematic. Therefore in charlieplexing every unused pin goes into what’s called a tri-state, setting this pin as an INPUT. Those have very high impedance therefore very little current will leak out there.
Example: To turn on LED6. PIN1 is LOW, PIN2 is INPUT and PIN3 is HIGH

This technology is not very impressive when only using six LEDs, however when we expand the amount of pins we discover that this system can connect {pins(pins-1) = LEDs} in the case of 5 pins this is 5x4=20 LEDs, exactly the amount we want.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jan 4, 2012. 12:57 PMtheformatter says:
Could you post a video of the lights in action? I'm going to give this a try but was hoping for a little inspiration! :)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:Bartjeeh(Bart Brinkman)