Sweet, its good to know that I can be done! But i'm going to go with the atmega method. Since it is meant to be a production thing (hopefully). And im actually doing a layered pcb assembly à la EEV Blog so its going to be two .8mm pcbs, with a 1.6mm pcb core. The core will have all the places for the ICs and other parts milled out. And the Top and bottom will make it look good, also all of the parts will be on the top pcb. Then ill stick them all together with double sided tape (2mm around the perimeter of the board).EEVblog #130 - The µCalc Credit Card Scientific Calculator / Computer - YouTube
Yeah, I wouldn't use that circuit either then. That is going to raise the cost quite a bit. I think about this stuff from a hobbiest point of view that I can get 4 or 6 of anything as samples and if I need to buy a few more that isn't going to break the bank - all because I make these things quantity 1 or 2.
Yep you really cant compare the two in terms of price. If/when I do finish the project, ill be sure to post the code so everyone else can take advantage of the cheaper driver.
dhenry:
The whole concept of buying max72xx now makes zero sense to me.
Those guys go out of the market for a (very good) reason.
Well there is an advantage to it, especially in very large quantities, and thats the fact that you don't have to program an extra MCU. But yes, cost (and possibly even feature wise) the atmega is the clear way to go.
Not so clear - say your application called for DIPs instead of surface mount. taydaelectronics.com has MAX7219 in DIP for $1.25. I just bought 8, shipping was $1.80. Order also included 20 panel mount power jacks, 4 toggle switches, and a mess of resistors.
vs $2.78 (qty 25) for lowest priced 168 in DIP
and $1.59 at digikey
both charge something like $6.95 for lowest priced shipping.
Hmm...good point, though I don't know how reliable they would be in orders of 100. Then again, they might be great. It's too bad they didn't make one of the MAX72xx's in a smaller package...
Another advantage might be interface speed.
MAX7219/7221 can receive data at 10 MHz. I use mine at default SPI settings which I think is 4 MHz.
If your main processor was really tied up and you wanted to send stuff out at 8 MHz to get it out of the way quick. The master can do that, I think testing has has shown a 168/328 cannot receive that fast tho due to the slave having to sample (the CS pin?) or something along those lines.
CrossRoads:
Another advantage might be interface speed.
MAX7219/7221 can receive data at 10 MHz. I use mine at default SPI settings which I think is 4 MHz.
If your main processor was really tied up and you wanted to send stuff out at 8 MHz to get it out of the way quick. The master can do that, I think testing has has shown a 168/328 cannot receive that fast tho due to the slave having to sample (the CS pin?) or something along those lines.
Yeah, ideally that would be the way to go. But size and cost are really the most limiting factor.
False - max speed is a hardware function, not something users have any implementation control over:
"In SPI Slave mode, the control logic will sample the incoming signal of the SCK pin. To ensure correct sampling of
the clock signal, the minimum low and high periods should be:
Low periods: Longer than 2 CPU clock cycles.
High periods: Longer than 2 CPU clock cycles."