Live data from Hacker News

The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

cpldcpu.wordpress.com

41–50 of 98 posts

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#41
post #3

These have their uses. A friend who frequently does contract development in the toy space has (or at least used to have) a favorite go-to MCU that costs under $0.06 in bare die. It is essentially a 6502 with 100 bytes of RAM and a metric butt-load of mask-programmable ROM. It was originally designed for greeting cards. He has designed it into toys. It is hard to use, you need a dev kit and a good relationship with th…

Amazing numbers. Can you give me a more accurate number than metric buttload? Closer to 8K or 64K, for example?

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#42
post #36
post #3

These have their uses. A friend who frequently does contract development in the toy space has (or at least used to have) a favorite go-to MCU that costs under $0.06 in bare die. It is essentially a 6502 with 100 bytes of RAM and a metric butt-load of mask-programmable ROM. It was originally designed for greeting cards. He has designed it into toys. It is hard to use, you need a dev kit and a good relationship with th…

Is a "expoxy encapsulation depositer" the thing that makes those black blobs?

Yes - but more it's two machines - the one that place the raw die on the board then stitches the bonding wires, and the one that throws the epoxy blob on top of that

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#43
post #31
post #2

It is interesting that its possible to produce chips at this price for more than a short time period. Also that they are all basically PIC clones or variants speaks to the core competency of these companies is manufacturing and operational efficiency, not MCU design. I think a fascinating experiment here would be to invest some time in an unencumbered scalable design that could be implemented very inexpensively (say…

Here's this experiment sort-of running: WCH, which sells cheap mcu's(like $0.25 8051-mcu with usb/16Kflash) is working on a risc-V bluetooth mcu: https://www.cnx-software.com/2019/02/16/wch-ch572-risc-v-mcu... And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably. Still, it would be interesting to think how we can get from that, to standard peripherals, and standard pi…

> And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably.

5-10k? Seriously? That's amazing.

Z80 had 8500. According to Wikipedia, even truly simple and bare bones 6502 had 3510 or 3218.

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#44
post #7

Some Philips sonicare toothbrushes use(d) a 4-bit microcontroller from an obscure Swiss company. (From memory, since I can't find the EEVBlog video teardown) 52 bytes of RAM, custom size mask ROM, ? Kilohertz clock speed. It makes sense, they just needed a timer for the "2 minutes of brushing is up" feature, and maybe some battery management. It still surprised me that it was worth the hassle to save a few cents, eve…

Are you thinking of this Braun teardown? https://www.youtube.com/watch?v=JJgKfTW53uo That indeed uses a 4-bit micro from a Swiss company (The only sonicare teardown I found was a forum post)

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#45
post #20
post #3

These have their uses. A friend who frequently does contract development in the toy space has (or at least used to have) a favorite go-to MCU that costs under $0.06 in bare die. It is essentially a 6502 with 100 bytes of RAM and a metric butt-load of mask-programmable ROM. It was originally designed for greeting cards. He has designed it into toys. It is hard to use, you need a dev kit and a good relationship with th…

"metric butt-load of mask-programmable ROM" What would that be in this context? I'm guessing we're talking KB rather than TB?

The 6502 can only address 64K, so I'd assume 32K of ROM at 8000-FFFF with 128 (not 100) bytes of RAM mapped at both 80-FF (zero page) and 180-1FF (for the stack) and 128 MMIO bytes at 00-7F. It depends on how much they've modified the base 6502 design, though; the above is for "not at all".

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#46
post #20

Earlier quoted context omitted.

"metric butt-load of mask-programmable ROM" What would that be in this context? I'm guessing we're talking KB rather than TB?

The 6502 can only address 64K, so I'd assume 32K of ROM at 8000-FFFF with 128 (not 100) bytes of RAM mapped at both 80-FF (zero page) and 180-1FF (for the stack) and 128 MMIO bytes at 00-7F. It depends on how much they've modified the base 6502 design, though; the above is for "not at all".

In such an integrated design 6502 can address exactly as much as you want/need it to.

Just implement bank switching for top 32 kB of address space. 256 banks (= one 8-bit register) * 32 kB = 8 MB. Need more? Add another bank switch register and you got up to 2 GB.

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#47
post #43
post #31

Earlier quoted context omitted.

Here's this experiment sort-of running: WCH, which sells cheap mcu's(like $0.25 8051-mcu with usb/16Kflash) is working on a risc-V bluetooth mcu: https://www.cnx-software.com/2019/02/16/wch-ch572-risc-v-mcu... And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably. Still, it would be interesting to think how we can get from that, to standard peripherals, and standard pi…

> And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably. 5-10k? Seriously? That's amazing. Z80 had 8500. According to Wikipedia, even truly simple and bare bones 6502 had 3510 or 3218.

Smallest irsc-v core i know: https://devhub.io/repos/kammoh-picorv32

~1000 Luts. 1 Lut = 6-24 gates on average. a bit pmore but still pretty close.

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#48
post #43
post #31

Earlier quoted context omitted.

Here's this experiment sort-of running: WCH, which sells cheap mcu's(like $0.25 8051-mcu with usb/16Kflash) is working on a risc-V bluetooth mcu: https://www.cnx-software.com/2019/02/16/wch-ch572-risc-v-mcu... And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably. Still, it would be interesting to think how we can get from that, to standard peripherals, and standard pi…

> And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably. 5-10k? Seriously? That's amazing. Z80 had 8500. According to Wikipedia, even truly simple and bare bones 6502 had 3510 or 3218.

[deleted]

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#49
post #47
post #43

Earlier quoted context omitted.

> And since risc-v has versions somewhere around 5K-10K gates, well, a lower end mcu isn't far, probably. 5-10k? Seriously? That's amazing. Z80 had 8500. According to Wikipedia, even truly simple and bare bones 6502 had 3510 or 3218.

Smallest irsc-v core i know: https://devhub.io/repos/kammoh-picorv32 ~1000 Luts. 1 Lut = 6-24 gates on average. a bit pmore but still pretty close.

A LUT can be 10 gates and it can be 100+ gates. You just can't compare FPGA LUTs to gates like that.

FPGAs have things like block RAMs and multipliers. Those require a ton of gates, but don't increase required FPGA LUT count by much.

Re: The “terrible” 3 cent MCU – a short survey of sub $0.10 microcontrollers

#50
post #41
post #3

These have their uses. A friend who frequently does contract development in the toy space has (or at least used to have) a favorite go-to MCU that costs under $0.06 in bare die. It is essentially a 6502 with 100 bytes of RAM and a metric butt-load of mask-programmable ROM. It was originally designed for greeting cards. He has designed it into toys. It is hard to use, you need a dev kit and a good relationship with th…

Amazing numbers. Can you give me a more accurate number than metric buttload? Closer to 8K or 64K, for example?

500k to 1M IIRC. Originally indended for audio assets.
Post reply on HN