LED Cylinder using Arduino

Arduino LED Cylinder (3)

This is a little art project I made with 95 RGB LEDs arranged in a 3D cylinder shape, sitting atop a microcontroller-based driver circuit. The LEDs are individually addressable, and when you power it on, the software cycles through a series of animations, e.g. various moving rainbowy patterns, “rain”, “fireworks”, and so on. It doesn’t serve much of a purpose but it is kind of cool to look at. The hardware and software are open source, so feel free to use/copy/extend whatever you find here (subject to the CC/GPL license terms). If you have questions, you can e-mail me, or better yet, post a comment to the NYC Resistor blog and I will post a response there. Thanks!Arduino LED Cylinder (3)

The LEDs are 4-lead T1 3/4 RGB common anode with a diffused case. I got them on eBay from HKJE Lamp Center for about 30 cents each, including shipping from Hong Kong. Despite the low cost, they seem to be of very good quality. They are wired together using music wire (bare steel wire) from Pearl PaintAdam Mayer used this wire in his MegaScroller project and he showed me how to work with it. It’s a pain in the neck to solder (sand it first and then apply paste flux) but it is very strong. Props to the other resistors who helped assemble the cage. It was a lot of soldering.

The LEDs are wired in a 5-way multiplexed grid. The anodes of all 19 LEDs in each plane are connected together. The cathodes of each LED are connected to the cathodes of the four other LEDs in the same vertical column. So the matrix of LEDs has five anodes and 57 cathodes (19 LEDs per plane * 3 cathodes per LED). The driver circuit uses five IRLU3715PBF N channel mosfets to switch +5 volts to the anode lines, and four TLC5940NT 16 channel PWM constant-current LED driver chips to switch the cathodes to ground. Since I’m using N channel mosfets as high side switches, I need to generate a gate voltage that is higher than Vdd. I use a simple charge pump to double the +5V coming from my power supply, and switch it to the mosfet gates using three TC4427ACPA mosfet drivers. The mosfets are IRL series (i.e. logic level) so they are fully switched on with Vgs of +5v. Rds-on is in the range of 15-20 milliohms. The TLC5940s are set to sink about 20ma per channel. The LEDs are rated for 20ma steady state, and I’m only driving them at a 20% duty cycle, so In theory I could probably increase the current to around 100ma, but it is surprisingly bright as-is so I haven’t felt a need to experiment with higher currents.

Arduino LED Cylinder Schematic (3)


Read more: LED Cylinder using Arduino

Leave a Comment

Your email address will not be published. Required fields are marked *