Crazy Icicle light ...
 
Notifications
Clear all

Crazy Icicle light string idea

54 Posts
19 Users
0 Reactions
23.6 K Views
Posts: 2168
(@djulien)
Noble Member
Joined: 19 years ago
awhaley wrote:Charlieplexing is a little more complicated. Your diagram would require 15 pins to individually control all those leds, and the 16f688 Phil mentioned only has 12 available IOs.

The diagram I posted is for charplexing - it puts an LED between each pair of pins. It requires 8 I/O pins, and 8x7 connections gives 56 LEDs (only 1 on at a time, though).

awhaley wrote:For charlieplexing, some of the diodes are wired back to back, and some of the common will serve as positive at some times and negative at other times,

Yes, they are wired as back-to-back pairs, but you have to follow the wires to see that. For example, if you follow pin 8 from the connector, in the first cluster it goes thru an anode to pin 1, and then in the last cluster (upper right) is the other side of that pair - pin 8 goes thru an anode and back to pin 1. They are wired as a square matrix with a corner-to-corner diagonal missing.

don


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 19 years ago

awhaley - as far as I can tell the drawing that djulien posted depicts an alternate way of drawing a charlie-plexed setup. You need to trace things through, but I think that you will find that there are only eight inputs needed to drive the 56 LEDs (on the lower right), and for every LED there is another one that is in parallel with it pointing in the opposite direction.


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 19 years ago

Djulien - if the controller had sufficient current drive it would be possible turn on up to seven LEDs at a time (it could be all seven LEDs in any one of those eight blocks).


Reply
Posts: 2168
(@djulien)
Noble Member
Joined: 19 years ago
P. Short wrote:Djulien - if the controller had sufficient current drive it would be possible turn on up to seven LEDs at a time (it could be all seven LEDs in any one of those eight blocks).

Good point! I was thinking in terms of one of the Renard PICs (90 mA) and no drivers, but if drivers or a 200 mA PIC is used, that would allow a whole group to be on at a time and ease up the addressing timing a lot.

don


Reply
Posts: 2168
(@djulien)
Noble Member
Joined: 19 years ago
P. Short wrote:depicts an alternate way of drawing a charlie-plexed setup. You need to trace things through

Here is another view of the same diagram, but it's a little easier to see the Charlieplexed pairs (the LEDs that are "upside down" are the complementary LEDs to the upright ones). This diagram was based on a post from Phil a while back about redrawing Charlieplexing to look more like row/column multiplexing.

don


Reply
Page 5 / 11
Share: