TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The amazing $1 microcontroller (2017)

332 pointsby appwizover 4 years ago

22 comments

jwrover 4 years ago
Contrarian view: these days I don&#x27;t care how much a microcontroller costs. In quantities I&#x27;m designing for, it doesn&#x27;t matter, and the cost is dwarfed by the cost of my time writing the software.<p>I&#x27;ve spent a lot of time dealing with crappy and broken vendor libraries, erratas, SDKs and toolkits where the vendor changes their entire strategy every year or so, and I&#x27;m tired. At this point I wrote (I thnk) three I2C libraries for various devices and systems (they&#x27;re on github) — I should never have to do that!<p>These days I mostly use Nordic chips — not only does almost every device I design need BLE these days, but the chips are fairly nice, the SDK is developed, maintained and supported, and there is a refreshing feeling of sanity. Sure, a BMD-300 or BMD-350 module with an nRF52832 will be $10 instead of $1 or $2, but I will save so much time and frustration, that it&#x27;s definitely worth it!<p>A vendor starting to officially support Rust might change my perspective, but to this day I haven&#x27;t seen any other vendor take software as seriously as Nordic does.
评论 #24429923 未加载
评论 #24432289 未加载
评论 #24430564 未加载
评论 #24432131 未加载
评论 #24431031 未加载
评论 #24429894 未加载
评论 #24429900 未加载
评论 #24429959 未加载
评论 #24429501 未加载
评论 #24430176 未加载
lttlrckover 4 years ago
I have such a soft spot for PICs, specifically the 16F84<p>20 odd years ago when I didn&#x27;t know any better and work was boring I built a universal remote control - and put it in a PSX controller case. This was all coded in assembler which I still have, programmed with a DIY adapter that ran off a parallel port. So much fun. I used this for a few years.<p>Outside: <a href="https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;0w9c61e3mfdc3lw&#x2F;Photo%20Oct%2026%2C%2008%2023%2058.jpg?dl=0" rel="nofollow">https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;0w9c61e3mfdc3lw&#x2F;Photo%20Oct%2026%2...</a><p>Inside (I have no shame): <a href="https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;jep4rzz377h1svo&#x2F;Photo%20Oct%2026%2C%2008%2028%2024.jpg?dl=0" rel="nofollow">https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;jep4rzz377h1svo&#x2F;Photo%20Oct%2026%2...</a><p>Video: <a href="https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;45q3uk6cgw9ti46&#x2F;Video%20Oct%2026%2C%2008%2039%2010.mov?dl=0" rel="nofollow">https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;45q3uk6cgw9ti46&#x2F;Video%20Oct%2026%2...</a><p>The video was made earlier in the year, I was curious if it still worked.... not so shabby.<p>Version 2 had a touch screen. That&#x27;s still lying around somewhere.
评论 #24428596 未加载
评论 #24428861 未加载
cristoperbover 4 years ago
Last year&#x27;s discussion of this article[1] is the 7th most favorited Hacker News submission ever[2].<p>1: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19851744" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19851744</a> 2: <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;@tomlarkworthy&#x2F;hacker-favourites-analysis" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;@tomlarkworthy&#x2F;hacker-favourites-an...</a>
评论 #24428310 未加载
egsmiover 4 years ago
$1. Ouch. Too rich for me. I use $0.03 MCUs! <a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2019&#x2F;09&#x2F;09&#x2F;everything-you-wanted-to-know-about-padauk-mcus-and-more&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2019&#x2F;09&#x2F;09&#x2F;everything-you-wanted-to-kno...</a>
评论 #24427921 未加载
评论 #24427670 未加载
评论 #24429393 未加载
noncomlover 4 years ago
Big fan of STM32 family for the simple reason that you can use mature open source tools, i.e. gcc toolchain, or even clang, for development.
评论 #24427591 未加载
评论 #24427528 未加载
评论 #24429214 未加载
评论 #24428741 未加载
评论 #24427602 未加载
ChuckMcMover 4 years ago
It is truly amazing what you can get these days.<p>If the author had compared an Cortex M0+ part [1] there are lots available for &lt; $1.<p>For me, the ability to use command line gcc and editor on Linux to program and debug these things is the real win. I know the new kids all want a fancy IDE but I get from starting vim on a blank screen to running blink in about the same amount of time it takes eclipse to start up.<p>Back in the day (2002) I like the PIC16F628 and even designed a board for it[2] but pretty much now I can&#x27;t stand to program them.<p>[1] From 2012 -- <a href="https:&#x2F;&#x2F;www.electronicproducts.com&#x2F;a-look-at-cortex-m0-and-m0-microcontrollers&#x2F;#" rel="nofollow">https:&#x2F;&#x2F;www.electronicproducts.com&#x2F;a-look-at-cortex-m0-and-m...</a><p>[2] <a href="http:&#x2F;&#x2F;www.mcmanis.com&#x2F;chuck&#x2F;robotics&#x2F;projects&#x2F;wsm.html" rel="nofollow">http:&#x2F;&#x2F;www.mcmanis.com&#x2F;chuck&#x2F;robotics&#x2F;projects&#x2F;wsm.html</a> Free PCB for that project to anyone who has postage ($1) :-) contact in my profile.
评论 #24429008 未加载
评论 #24429282 未加载
ncmncmover 4 years ago
What I want to know about a microcontroller is, (a) can I use Make&#x2F;Gcc&#x2F;Gdb to develop for it without a lot of guesswork, and (b) what is its interrupt latency? The article only hinted at (b) for a couple of them, and said practically nothing about (a). IDEs are a trap.
评论 #24427950 未加载
评论 #24429001 未加载
justincliftover 4 years ago
As the article itself is undated, it&#x27;s hard to tell how old this info is.<p>Looking at some of the follow up comments at the bottom of the article, they&#x27;re from 2017 onwards.<p>So, the article itself may be becoming dated at this point.
评论 #24428284 未加载
评论 #24429155 未加载
torgoguysover 4 years ago
I&#x27;ve read this article before and it is great, but needs a [2017] tag.
ilakshover 4 years ago
Seems like he didn&#x27;t mention ESP8266 or anything like that. At that time it wasn&#x27;t $1, but I do see some around that price on Aliexpress now.
评论 #24428712 未加载
评论 #24428656 未加载
sunsetSamuraiover 4 years ago
Dumb question, but how do you learn to work&#x2F;program for these things? any reading material I can look at? I started learning C this week and this looks very interesting.
评论 #24429079 未加载
评论 #24440926 未加载
评论 #24430777 未加载
评论 #24428759 未加载
评论 #24428892 未加载
评论 #24428813 未加载
评论 #24428749 未加载
评论 #24428793 未加载
rkagererover 4 years ago
I was just looking at this article the other day, and wondering if there&#x27;s an update or if anyone knows of a good, similar rundown for 2020.
aequitasover 4 years ago
I think the IDE&#x27;s are highly overrated. Some may provide good product specific documentation, autocomplete, flashing and debugging. But most of the times they are highly opinionated programs with their own quirks and annoyances you need to work around to get your code running on a chip. I would be sad to have to turn down a good chip because it has a bad IDE.<p>I much more prefer good support for opensource framework&#x27;s like platformio[0]. This way it hardly matters which specific chip I&#x27;m using, my workflow is mostly the same. And I can use the same editor, tools and methods I already use for developing all my other code without having to learn the quirks of new tools.<p>[0] <a href="https:&#x2F;&#x2F;platformio.org&#x2F;boards" rel="nofollow">https:&#x2F;&#x2F;platformio.org&#x2F;boards</a>
snvzzover 4 years ago
This article left me wondering: Are there no options left with 68000 family CPU?
评论 #24427977 未加载
Lercover 4 years ago
It frustrates me that the AVR architecture is so good and yet so poorly speced, I would really like to see something that had the RAM size and Clock speed of some 32 bit controllers. Sometimes when you want to just throw some bytes around, 8-bit is best.<p>It would have been fun if Logic Green had made a high end variant of the lgt8f328 were they stuffed it full of RAM (like 48k) It has more one clock instructions than the ATMega and 32MHz from an internal osc.
pacoverdiover 4 years ago
The site must be running on a $1 microcontroller, it takes 30s to display anything but a spinner :)
zoobabover 4 years ago
WCH CH552G programmable chip is 30 cents:<p><a href="http:&#x2F;&#x2F;www.zoobab.com&#x2F;ch552g-blink" rel="nofollow">http:&#x2F;&#x2F;www.zoobab.com&#x2F;ch552g-blink</a>
baybal2over 4 years ago
I&#x27;m surprised to see Padauk MCUs being overlooked
评论 #24431054 未加载
flyinglizardover 4 years ago
This article is great, but misses the mark by focusing on this arbitrary $1 price point. For a hobbyist, a dollar or ten is all the same. These very cheap chips are intended for high volume applications, far from the realm of DIY.<p>If you’re doing a hobby project, take something off the top of the line. Having all those peripherals and compute power is just one thing less to worry about.
评论 #24427908 未加载
评论 #24428600 未加载
评论 #24428307 未加载
评论 #24429414 未加载
rimliuover 4 years ago
Can anyone recommend some resources for the absolute beginners?
nickthemagicmanover 4 years ago
Do any of these have the ability to be used as a forward proxy?
评论 #24427517 未加载
评论 #24427779 未加载
评论 #24428308 未加载
评论 #24427705 未加载
评论 #24427429 未加载
ineedasernameover 4 years ago
Edit: I forgot about inexpensive arduino nano boards. I&#x27;ll leave my original incorrect comment below though.<p>Is this supposed to be geared towards hobbyist? If so, the $1 cost is sort of irrelevant if you have to spend $20 to $100 on programmers, development board, etc., when you can get a Pi Zero for &amp; micro sd card for about $10 and be up &amp; coding in an hour.
评论 #24428190 未加载
评论 #24429259 未加载
评论 #24429053 未加载
评论 #24429278 未加载