Live data from Hacker News

Exploring different microcontrollers less than $1

jaycarlson.net

61–70 of 191 posts

Re: Exploring different microcontrollers less than $1

#61
post #47
post #9

Didn't read all the author's criteria, but esp8266 is worth mentioning in the context of cheap microcontrollers. https://en.wikipedia.org/wiki/ESP8266

Yea, I was hoping to see it there on the comparison list. I guess it fails some criteria.

It fails the "only" criterion (it costs more than $2.20, whereas the author had a strict $1 cut-off precisely stating that a huge field opens up above that price range.)

Fom "the rules":

>While some projects that come across my desk are complex enough to require a hundreds-of-MHz microcontroller with all the bells and whistles, it’s amazing how many projects work great using nothing more than a $1 chip — so this is the only rule I established for the shoot-out.

>I wanted to explore the $1 pricing zone specifically because it’s the least amount of money you can spend on an MCU that’s still general-purpose enough to be widely useful in a diverse array of projects.

>Any cheaper, and you end up with 6- or 8-pin parts with only a few dozen bytes of RAM, no ADC, nor any peripherals other than a single timer and some GPIO.

>Any more expensive, and the field completely opens up to an overwhelming number of parts — all with heavily-specialized peripherals and connectivity options.

Of course, the ESP8266 is precisely this "hundreds of megahertz" chip (160 Mhz) with "heavily specialized connectivity options" and peripherals (wifi and, in the case of ESP8265, a full megabyte of flash memory). While all this is interesting, at the $2+ price there are "an overwhelming number of parts."

So the author chose $1 as a very hard cut-off.

Re: Exploring different microcontrollers less than $1

#63
post #11

If I hadn't seen this article on Hacker News today, is there any combination of plausible keywords I could have typed into Google to find this particular article if I were looking for an in-depth review of microcontrollers? I tried "best microcontrollers reviewed", "best low-cost microcontrollers", "survey of microcontrollers", and a bunch of others. Nothing that Google finds in the first 10-20 hits is as good this r…

That will change now that it's at the top of HN, but I agree - it's currently very obscure to search engines.

My guess is that it's a new site? Only a few articles, and Open Site Explorer reports a Domain Authority of 18, which is approximately equal to zero :)

However, if the author keeps writing these articles at this level of quality, chances are in a year it'll dominate relevant SERPs.

Re: Exploring different microcontrollers less than $1

#64
post #9

Didn't read all the author's criteria, but esp8266 is worth mentioning in the context of cheap microcontrollers. https://en.wikipedia.org/wiki/ESP8266

Yeah if anyone is just looking to get started tinkering with embedded hardware I'd say this is the way to go. The chips were made popular by NodeMCU which uses Lua, but you can easily run Arduino or write plain C on the same hardware. I've tried a few breakout boards and my favourite is the WEMOS D1 Mini. All you need to supply is a MicroUSB cable. You can get them shipped from China for under $3: https://wiki.wemos.…

Nice. The guy with the Swiss accent's channel is a very good start: https://www.youtube.com/channel/UCu7_D0o48KbfhpEohoP7YSQ

Re: Exploring different microcontrollers less than $1

#65
post #37

Earlier quoted context omitted.

Yeah if anyone is just looking to get started tinkering with embedded hardware I'd say this is the way to go. The chips were made popular by NodeMCU which uses Lua, but you can easily run Arduino or write plain C on the same hardware. I've tried a few breakout boards and my favourite is the WEMOS D1 Mini. All you need to supply is a MicroUSB cable. You can get them shipped from China for under $3: https://wiki.wemos.…

Agreed - the 3v3 thing can be a bit of a pain if you've got a collection of Arduino 5v-friendly bits, but not insurmountable. Big warning I'd make, though, is that the D1 has two revisions - the R1 (rarely described as such of course), and the R2. You definitely want the R2. However, many ebay vendors are still selling R1's.

In my experience, the ESP8266 is fine with 5V, I have yet to burn one even with 5V on its pins.

Re: Exploring different microcontrollers less than $1

#66
post #9

Didn't read all the author's criteria, but esp8266 is worth mentioning in the context of cheap microcontrollers. https://en.wikipedia.org/wiki/ESP8266

Yeah if anyone is just looking to get started tinkering with embedded hardware I'd say this is the way to go. The chips were made popular by NodeMCU which uses Lua, but you can easily run Arduino or write plain C on the same hardware. I've tried a few breakout boards and my favourite is the WEMOS D1 Mini. All you need to supply is a MicroUSB cable. You can get them shipped from China for under $3: https://wiki.wemos.…

I can vouch for the D1 mini also. It's the one you want, by far. It has an on board programmer so you can power and program it from USB, while being the smallest board in size out of the popular ones.

The actual smallest I've seen is one I made: https://github.com/skorokithakis/tiny-ESP8266-breakout

Re: Exploring different microcontrollers less than $1

#67
I've had the best overall experience using an ATTINY85 [1]. It almost serves my purpose for every use case I've had in the past couple of years - Running steppers, basic home automation, wireless, etc.

If you buy them in bulk, you can get it down to less than $1 per MC. [2]

You can even install Arduino libs on it and the Arduino interface has quite good support for it as well.

Some of my projects with it include a DSLR camera slider [3], wireless home automation (turn off lights when I'm not in the room, communicate with my air-conditioner to maintain the room temperature using IR, etc.)

[1] http://www.microchip.com/wwwproducts/en/ATtiny85

[2] https://www.ebay.com/itm/5PCS-ATTINY85-20PU-IC-MCU-8BIT-8KB-...

[3] https://www.instagram.com/p/1AscllHDQ0/?taken-by=discovery.d...

Re: Exploring different microcontrollers less than $1

#68
post #13
post #9

Didn't read all the author's criteria, but esp8266 is worth mentioning in the context of cheap microcontrollers. https://en.wikipedia.org/wiki/ESP8266

I am falling in love with wemos's breakout boards for ESP. For instance, this one: https://www.aliexpress.com/item/WeMos-D1-ESP-Wroom-02-ESP826... This is an ESP8266 breakout/programmer for about ~$3: https://www.aliexpress.com/item/ESP8266-ESP12-ESP-12-WeMos-D... Absolutely incredible stuff. Ordered this one coming soon: https://www.aliexpress.com/item/WEMOS-WiFi-Bluetooth-Battery... And in the realm of awesome brea…

Wait, is that last one two ESP32 boards with LoRa and a screen for less than $20? If so, that's amazing, but it's too cheap and I don't see the ESP32.

Re: Exploring different microcontrollers less than $1

#69
post #2

Perhaps Jay should have hosted the page on a microcontroller instead of a database; archive copy: https://web.archive.org/web/20171106070102/https://jaycarlso...

With 21 of these parts on my desk, that would have been a good idea. Thanks for linking to a cached version — I'm working to get my little blog on Cloudflare to handle the traffic. I appreciate the kind words from everyone so far; it's been a huge learning opportunity, and I hope others can get inspired to grab one of these parts (especially one of the weirder ones) and do something cool with it.

While you are at it, here is how your little blog looks to those of us who browse with javascript off for security reasons:

https://pixady.com/image/0jab/

Even though all the text content is present (this image is disabling CSS and scrolling down a little):

http://pixady.com/image/0jad/

Requiring javascript for rendering what basic HTML already renders is not a very inviting or inclusive way to go with the blog.

Re: Exploring different microcontrollers less than $1

#70
post #67

I've had the best overall experience using an ATTINY85 [1]. It almost serves my purpose for every use case I've had in the past couple of years - Running steppers, basic home automation, wireless, etc. If you buy them in bulk, you can get it down to less than $1 per MC. [2] You can even install Arduino libs on it and the Arduino interface has quite good support for it as well. Some of my projects with it include a DS…

Do you just use development boards with these? And which ones?
Post reply on HN