Hi all,
Having more-or-less concluded that the speed of PICAXE basic isn't really up for high speed multiplexing of the type I was proposing before, plan B is to choose a driver chip(s) to take that processing load away and allow the PICAXE to concentrate on the pattern animation.
I would like to use an 08m2 or 14M2. Seems a waste of pins to use anything larger, eg. 20X2 (although that does at least have SPI interface). Would like to keep numbers of chips and other components low as poss for simplicity, even if that costs a fiver or two more.
Here are the options I have considered so far, could do with advice on which to choose, or other possible options:
1. SAA1064:
+ I2C interface, easy & efficient connection to M2 PICAXEs
+ selectable I2C address allowing up to 4 on same bus
+ 1:2 multiplexing for brighter LED illumination
- 2 chips needed for 64 LEDs
- large ICs (24pin, 0.6" wide)
- moderately expensive
- moderately easy to find
- external components needed - 1 timing cap per chip and 2 transistor anode drivers per chip.
- slower I2C speed only
2. MAX7219:
+ single chip could theoretically run all 64 LEDs
+ almost no other external components needed (apart from one resistor and the usual decoupling caps)
+ reasonably cheap (<£3 from UK eBay sellers, £1 from far East)
+ reasonably easy to find
- serial interface only - would need to "bit-bang" data from M2 PICAXE
- 1:8 multiplexing could result in dimmer LED illumination
3. MAX6958/9:
+ small chip (16 pin)
+ I2C interface
+ faster I2C speed
+ no other external components required
- 2 chips needed
- 1:4 multiplexing
- difficult to find (eBay drew a blank, DigitKey only UK supplier I found so far)
- expensive (>£4 then add VAT + postage)
- "A" and "B" variants would need to be purchased to allow connection to same I2C bus, as I2C address cannot be varied. Price above from DigitKey is for "B" variant. They want >£9 for "A" variant - the exact same chip except for literally 1 bit difference!!!
Opinions please? My current favourite is option 2, but the need to bit-bang the data is a shame - doesn't seem to be an I2C variant, like many other Maxim chips.
Paul
Having more-or-less concluded that the speed of PICAXE basic isn't really up for high speed multiplexing of the type I was proposing before, plan B is to choose a driver chip(s) to take that processing load away and allow the PICAXE to concentrate on the pattern animation.
I would like to use an 08m2 or 14M2. Seems a waste of pins to use anything larger, eg. 20X2 (although that does at least have SPI interface). Would like to keep numbers of chips and other components low as poss for simplicity, even if that costs a fiver or two more.
Here are the options I have considered so far, could do with advice on which to choose, or other possible options:
1. SAA1064:
+ I2C interface, easy & efficient connection to M2 PICAXEs
+ selectable I2C address allowing up to 4 on same bus
+ 1:2 multiplexing for brighter LED illumination
- 2 chips needed for 64 LEDs
- large ICs (24pin, 0.6" wide)
- moderately expensive
- moderately easy to find
- external components needed - 1 timing cap per chip and 2 transistor anode drivers per chip.
- slower I2C speed only
2. MAX7219:
+ single chip could theoretically run all 64 LEDs
+ almost no other external components needed (apart from one resistor and the usual decoupling caps)
+ reasonably cheap (<£3 from UK eBay sellers, £1 from far East)
+ reasonably easy to find
- serial interface only - would need to "bit-bang" data from M2 PICAXE
- 1:8 multiplexing could result in dimmer LED illumination
3. MAX6958/9:
+ small chip (16 pin)
+ I2C interface
+ faster I2C speed
+ no other external components required
- 2 chips needed
- 1:4 multiplexing
- difficult to find (eBay drew a blank, DigitKey only UK supplier I found so far)
- expensive (>£4 then add VAT + postage)
- "A" and "B" variants would need to be purchased to allow connection to same I2C bus, as I2C address cannot be varied. Price above from DigitKey is for "B" variant. They want >£9 for "A" variant - the exact same chip except for literally 1 bit difference!!!
Opinions please? My current favourite is option 2, but the need to bit-bang the data is a shame - doesn't seem to be an I2C variant, like many other Maxim chips.
Paul