Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2233
|
 |
« Reply #15 on: October 03, 2012, 04:28:37 am » |
10 is cheaper than 1?  nb. that that's the surface mount version...probably not what most people here would want.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #16 on: October 03, 2012, 05:10:08 am » |
£7 (+VAT) At that price, it probably makes sense to program some AVR chips to emulate max7219.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2233
|
 |
« Reply #18 on: October 03, 2012, 06:01:16 am » |
£7 (+VAT) At that price, it probably makes sense to program some AVR chips to emulate max7219. They could do the multiplexing but it's quite hard to emulate current control.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #19 on: October 03, 2012, 06:07:03 am » |
It already has a spi module. Make it into a slave. Once the spi received a byte, decide if it is the MSB, or LSB. If it is LSB, send the MSB+LSB to a local buffer (8x8), which will be processed by the display module automatically.
When I get some time, I will see if I can do it.
|
|
|
|
|
Logged
|
|
|
|
|
Samplefinger
Offline
God Member
Karma: 8
Posts: 819
ALWAYS ASK FOR THREE. One to use. One to lose. One to abuse.
|
 |
« Reply #20 on: October 03, 2012, 05:12:18 pm » |
I bought like 50 of them from Tayda and have used 12 and all have worked, that is why I recommended them,. I also am in no way affiliated with them except I lile Pad Thai.
|
|
|
|
|
Logged
|
Latest Sampling Scores: ATXMEGA64A3U-MH x3, ATXMEGA256A3U-MH x3, SST38VF6404-90-5C-EKE x3, SST38VF6402-90-5C-EKE x3, PGA870 x3, THS770006 x3
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2233
|
 |
« Reply #21 on: October 11, 2012, 03:45:37 am » |
Last time I bought some I paid $12 for 10 chips (shipping included) and they took about a week to arrive. They came in Maxim-branded tubes and powered on just fine.
Update: I had some 100% genuine Maxim chips in my hands yesterday and compared them. "Maxim" tubes or not, the eBay chips are different. They're about 3mm shorter and the legs at either end are only a half-leg. The Maxim chips have a full leg as shown in their datasheets. (See the image on this auction to see what I mean by "half-leg": http://www.ebay.com/itm/290760288578 n.b. that's not the same seller, it's just an auction picked at random because it has a nice picture...) I also got half way though the tube and found one that didn't work. I don't really mind ... I'm only using them for hobby stuff and I can afford to throw a couple away at eBay prices. It's something to bear in mind if you're using them for mission critical applications though.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #22 on: October 11, 2012, 05:50:49 am » |
Max7219 is really old and I would be surprised if anyone uses them in production. Whatever you get off ebay is likely clones.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #23 on: October 11, 2012, 05:51:17 am » |
For one-off stuff, it is a lot easier to make your own clone from a mcu.
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2233
|
 |
« Reply #24 on: October 11, 2012, 06:03:30 am » |
For one-off stuff, it is a lot easier to make your own clone from a mcu.
How does an MCU do current regulation? Even if they're clones they still save a lot of work/components.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #25 on: October 11, 2012, 06:11:59 am » |
How does an MCU do current regulation? Exactly the same way you would use a mcu for current regulation? Like using a comparator, using adc, or pwm? Even if they're clones they still save a lot of work/components. vs. what?
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2233
|
 |
« Reply #26 on: October 11, 2012, 06:38:49 am » |
Even if they're clones they still save a lot of work/components. vs. what? They have current regulation, multiplexing, serial interface, etc. in a single 24-pin DIP. What MCU will do that with no external components?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #27 on: October 11, 2012, 07:55:21 am » |
What MCU will do that with no external components? A mega328p for example?
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2233
|
 |
« Reply #28 on: October 11, 2012, 08:15:46 am » |
What MCU will do that with no external components? A mega328p for example? How would you set 20mA current for the LEDs?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #29 on: October 11, 2012, 09:55:03 am » |
As you would otherwise, with resistors, comparators, adc, etc.
Or you are looking for something else?
|
|
|
|
|
Logged
|
|
|
|
|
|