Live data from Hacker News

Nyquest NY8A051H – 1.5 cent microcontroller: weekend die-shot

zeptobars.com

51–52 of 52 posts

Re: Nyquest NY8A051H – 1.5 cent microcontroller: weekend die-shot

#51
post #18
post #7

Earlier quoted context omitted.

> It would be really nice to have a super simple processor with a standard architecture and tooling. Pragmatically speaking, that architecture already exists -- it's the 8051. (This part is a PIC clone, but 8051 is also extremely common.) RISC-V has promise for larger microcontrollers, but really tiny ones like these (48 bytes RAM, 1KB ROM) are better off with an 8-bit architecture.

Ya...8051s are literally everywhere, and there's a vast ecosystem of code and programmer talent to draw on.

Yes but... modern 8051 has grossly different peripherals / drivers than the original.

Most of your code / effort will be in getting these peripherals to work. A ton of microcontroller programming is a simple if(voltage>0.5V) then {setup peripherals to do Y}.

In fact, voltage > 0.5V is a peripheral (aka: the Analog Comparator + DAC loopback) on most uCs today. So in practice its:

"If (analog comparator) then {do Y}".

Except "if analog comparator" is itself an interrupt that you put into the interrupt table, so that the processor can sleep for minimum power usage. So really its all just configuration of interrupt table handlers, configuration of various peripherals, and then a massive amounts of sleep.

Re: Nyquest NY8A051H – 1.5 cent microcontroller: weekend die-shot

#52
post #11

Impressive price point. I'd like to understand, what can you realistically do with these?

Most simple home appliances - microwave, air fryer, mixer/blender of some sort.

Toys, like a house which blinks lights and plays tinny music when a button is pressed (as long as speech / complex sounds atr bot involved)

Remote control toys (with external transceiver)

Post reply on HN