Live data from Hacker News

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

cpldcpu.wordpress.com

81–90 of 98 posts

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

#81
post #40

>Due to lack of programming tools and evaluation boards I was only able to review most devices by datasheet hmm. Well I don't blame the author but that kinda killed my interest

I wonder what the lowest-priced chip you can pick up with a reasonable toolchain that is accessible to hobbyists?

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

#82
post #81
post #40

>Due to lack of programming tools and evaluation boards I was only able to review most devices by datasheet hmm. Well I don't blame the author but that kinda killed my interest

I wonder what the lowest-priced chip you can pick up with a reasonable toolchain that is accessible to hobbyists?

Attinys cost like $.50/piece and are supported by avr-gcc.

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

#83
post #61

You would be surprised by the places sub-$1 mcus appear, even down to a dime. Car manufactures use them all over the place, even ECUs(at least until recently; I'm no longer "in the biz"). Yes, shaving a few pennies from the BOM of a $30K device is still worth doing when you produce them in huge volume.

The auto industry takes it too far and shoot themselves in the foot imo, do you agree? Or are the examples I've seen insignificant? Most of the cost cutting disasters I've heard about in autos are non electronic.

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

#84
post #81
post #40

>Due to lack of programming tools and evaluation boards I was only able to review most devices by datasheet hmm. Well I don't blame the author but that kinda killed my interest

I wonder what the lowest-priced chip you can pick up with a reasonable toolchain that is accessible to hobbyists?

PIC10F200 in 8 pin DIP is about 41 pence (~50 cents) in 1-off here in the UK; great for quick hacks (e.g. I just used one as a 60KHz clock generator). The IDE is free, works on Windows/Linux/Mac and there's an online version too.

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

#85

Earlier quoted context omitted.

The yuan-usd exchange rate has floated around 6:1 until recently, with yuan denominated down to 0.01. So possibly that.

Nailed it. https://en.wikipedia.org/wiki/Jiao_(currency)

Don't you mean fen? https://en.wikipedia.org/wiki/Fen_(currency)

1/6 of a penny is 0.0016 USD, or 0.01 CNY: https://www.google.com/search?q=0.0016+usd+to+cny

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

#86

Earlier quoted context omitted.

I would think a lot of manufacturers are looking to RISC-V for that kind of eventuality. But in the meantime, and looking at that chart, it seems a lot more convenient to just rip off the PIC.

I don't think a RISC-V would fit in this gate count niche. Just the register file for an RV32-C core is half these chips' RAM.

Yes, the PICs don't have a register file at all. They also have quite a simple instruction set, again providing gate savings, but then the size of program ROM may be a bit larger as a result.

The ALU can be a reasonable chunk of the processor size, and an 8-bit ALU is going to be much smaller than a RISCV ALU. Although I read somewhere that some of the Z80s, although an 8-bit processor, had a 4-bit ALU, and also I read somewhere that the 32-bit NIOS processor has a 16-bit ALU. But whether that's true or not ...

I designed a size optimised 16-bit MSP430 clone for small size low cost machxo3 FPGAs that used an 8-bit ALU. It a good way of keeping the number of LUTs down when optimising for size over speed.

For something like the low cost ice40 FPGAs, a PIC would probably be a very good match for those too compared to RISCV, because ice40 doesn't have distributed memory, which is what you'd like for register files (otherwise I expect one of the block RAMs would be used for the register file, and ideally you wouldn't want that to happen).

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

#87
post #38
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?

I'd guess about 1 MB order of magnitude. That would be a butt-load even for samples. 1 MB would be enough for 45 seconds audio at 8 bit PCM @22 kHz. If they're half competent, they could use ADPCM or much better (and cheaper to decode too!) vector quantization. With VQ, you could go even down to ~1 bits (~6 minutes of audio per megabyte) per sample while maintaining good audio quality. Decoding is very simple, so 650…

MB == Metric Buttload.

Makes sense.

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

#88

Earlier quoted context omitted.

I don’t know how, or why, but I’ve bought the same Phillips toothbrush for $20 from AliExpress when my original broke. And I buy the heads from Asia too for a fraction of the store price.

The heads aren’t Phillips, just clones right? I would expect the brush you are buying to be a clone also, or at best a good knock off. Phillips is pretty disciplined about their pricing internationally. I buy cloned heads (but not the main brushes) and find them completely adequate.

The base was legit (or a 3rd shift kinda thing?), but the heads are definitely generics.

Agreed, they work fine.

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

#89
post #64

Earlier quoted context omitted.

Could mcu's made using modern processes be as cheap ?

The other issue is that the older nodes are more reliable. They're already matured where they understand how to make everything work right. On top of that, each process shrink introduces new challenges that can cause components to fail. The most modern nodes seem like they make everything somewhat broken coming out the door with designers building in mitigations for that. They don't last as long. The older nodes don'…

I think Padauk is using 1.3-micron or something? Can't find my notes. I don't think you have to go quite that far into the stone age to get reliability, at least not for digital.

Do you have funding to do a MOSIS run or two? I wonder if we could find some.

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

#90
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…

>6502 Without question, one of the nicest platforms to have in multitudes of thousands, at low energy and cost ..

Honestly I'd prefer an ARM or an 8086 or an AVR. I imagine I'd prefer a J1A too but haven't tried. The 6502 makes it a pain to do anything in any language higher-level than assembly, even C, and being 8-bit means you're constantly facing tradeoffs between making things fast or making them correct for more than 128 or 256 items.
Post reply on HN