Live data from Hacker News

$1 Microcontrollers (2017)

jaycarlson.net

71–80 of 103 posts

Re: $1 Microcontrollers (2017)

#71

This is a good article but it's a few years old, and out of date now. I can't see its date with my current adblock settings. It would be great if someone could find it and put it in the title. There are stupendously powerful $1 microcontrollers now, including the RP2040 (dual core cortex m0+ with 264KB ram on the chip), ESP32-S2 (Espressif core with 400k of ram and wifi), and ESP32-C3 with wifi and RISC-V core and ag…

[deleted]

Re: $1 Microcontrollers (2017)

#72
Read this when it came out, it helped me to understand that with modern silicon geometries or process nodes, computers are "free". The largest part of the cost here is the packaging and testing of individual parts.

Re: $1 Microcontrollers (2017)

#73

I just came across this site on Friday when looking for a possible replacement for some Digispark (ATTiny85 board) clones at work to connect to some 5v relay modules. I'm not too invested in the Arduino ecosystem at this point and am still looking into other options, haven't finished reading through the whole list yet.

I just used some attiny85 as a software based USB interface with v-usb for interfacing with an atmega328p. I especially love the DIP size, its amazing that i could solder the entire thing learning about capacitors and pull up resistors in the process. The use of multiple processors also allowed for some security by design, having functionalities capsuled with strictly defined directions of communication.

I think the ecosystem is really quite impressive with a really low entry hurdle from a teaching perspective. It was possible to get the power consumption of the atmega328p low enough for battery operation even with just Arduino, giving an easy introduction into prescalers and flags. From there you can step deeper into the functionality of avrdude (shoutout to USBASP) and standard AVR makefile projects with for example the micronucleus bootloader.

Re: $1 Microcontrollers (2017)

#74
post #38
post #37

Earlier quoted context omitted.

It's up to hobbyists what's worth it to them, but the power consumption of the ESP 8266/32 is not _really_ comparable to the '430. "Deep sleep" mode on the ESP seems to be about 20uA, an MSP430FR5969 can go to a 20nA LPM 4.5 mode (factor of 1000 lower). Harder to compare in a HN comment, but active mode power consumption is also in the MSP's favor for many applications particularly when using the built in hardware ac…

Good point... my perception on power usage was absolutely wrong. MSP's are aging a bit though. At least the ones in my drawer. Is the hw platform being actively developed or has it plateau'd?

I think the platform is very much still alive and kicking. It is still the only uP platform I am aware of which is available with embedded FRAM which is low power, non volatile, extremely more write durable than flash and rad hard. Again, maybe not top selling features for a hobbyist project but absolutely compelling for certain industrial use cases.

Re: $1 Microcontrollers (2017)

#75
post #74
post #38

Earlier quoted context omitted.

Good point... my perception on power usage was absolutely wrong. MSP's are aging a bit though. At least the ones in my drawer. Is the hw platform being actively developed or has it plateau'd?

I think the platform is very much still alive and kicking. It is still the only uP platform I am aware of which is available with embedded FRAM which is low power, non volatile, extremely more write durable than flash and rad hard. Again, maybe not top selling features for a hobbyist project but absolutely compelling for certain industrial use cases.

Thanks - you got me excited about MSP430 again. I am wondering if I should build an AC motor controller for fun, since I happen to have an AC motor on my bench.

Re: $1 Microcontrollers (2017)

#76
post #40

Earlier quoted context omitted.

The article about the Padauk is interesting. Especially the description of the FPPA feature. Multiple CPU contexts? This sounds suspiciously like SMT to me which would be a total novelty for a micro controller (afaik).

ESP32 was released August 2016. I’m not even sure it was the first.

The ESP32 has two separate cores, not SMT. But look at the Parallax Propeller which goes back quite a long way. Also the Padauk is not exactly SMT afaict. It's more like time slicing. The idea of SMT in eg. an x86 is that one thread can run while another is blocked waiting for memory.

Re: $1 Microcontrollers (2017)

#77

This is a good article but it's a few years old, and out of date now. I can't see its date with my current adblock settings. It would be great if someone could find it and put it in the title. There are stupendously powerful $1 microcontrollers now, including the RP2040 (dual core cortex m0+ with 264KB ram on the chip), ESP32-S2 (Espressif core with 400k of ram and wifi), and ESP32-C3 with wifi and RISC-V core and ag…

>RP2040 Wow, that's an incredibly capable chip for the price!

Look at the even more capable and comparably priced ESP32-S2 and ESP32-C3.

Re: $1 Microcontrollers (2017)

#78
post #62
post #24

Maybe this is a dumb question, but are any of these cheap microcontrollers able to run Win 98? Or am I misunderstanding what microcontrollers can do?

Generally a microcontroller has no MMU. A microprocessor may mean the same thing. The industry term for something with an MMU is an application processor (Cortex-A). There are other terms that can be used, but it will need to be specified. There is some fuzzy area between MMU-less, small processors, and processors with no MMU but large enough to run Linux in a MMU-less way.

Interesting! Any idea how hard is it to include an MMU? Or better yet, what's the cheapest application processor?

Re: $1 Microcontrollers (2017)

#79

I stopped tinkering with electronics despite being a full-time embedded software engineer. I have designed small boards, but I only know enough EE to get myself in trouble. I prefer working with EEs that know their stuff, where our skills can compliment each others’. I no longer work on “hobby” projects; such things become an albatross around my neck. If you deploy a hobby project in your life, you must maintain it.…

You don't mention where you live, but that last one suggests to me that you might consider moving to a different part of the country: I know several people, including myself, who carry sidearms. Where I live, everyone can do it, some people do do it, but no one gets upset by it or cares that much.

Re: $1 Microcontrollers (2017)

#80

Earlier quoted context omitted.

ESP32 was released August 2016. I’m not even sure it was the first.

The ESP32 has two separate cores, not SMT. But look at the Parallax Propeller which goes back quite a long way. Also the Padauk is not exactly SMT afaict. It's more like time slicing. The idea of SMT in eg. an x86 is that one thread can run while another is blocked waiting for memory.

Sounds like a barrel processor [1], used to hide latency of individual instructions to allow code to be written without having to think as much about instruction scheduling / dependencies.

[1] https://en.wikipedia.org/wiki/Barrel_processor

Post reply on HN