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.

A Beginner's Guide to the ESP8266 (2017)

259 pointsby davikrabout 1 year ago

15 comments

037about 1 year ago
For the ESP32, an hero is in the process of adding LVGL[1] to ESPHome[2][3]. You can try it out now: <a href="https:&#x2F;&#x2F;github.com&#x2F;esphome&#x2F;esphome&#x2F;pull&#x2F;6363">https:&#x2F;&#x2F;github.com&#x2F;esphome&#x2F;esphome&#x2F;pull&#x2F;6363</a><p>Here&#x27;s the (very good!) preview documentation: <a href="https:&#x2F;&#x2F;deploy-preview-3678--esphome.netlify.app&#x2F;components&#x2F;lvgl.html" rel="nofollow">https:&#x2F;&#x2F;deploy-preview-3678--esphome.netlify.app&#x2F;components&#x2F;...</a><p>This is such a game-changer for me that I&#x27;ll be using the ESP32 over the ESP8266 for any projects involving displays from now on.<p>[1]: <a href="https:&#x2F;&#x2F;lvgl.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lvgl.io&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;esphome.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;esphome.io&#x2F;</a><p>[3]: ESPHome on HN yesterday (500+ points): <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40138228">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40138228</a>
评论 #40155019 未加载
评论 #40158883 未加载
评论 #40161603 未加载
antirezabout 1 year ago
I spent the latest three or four months doing embedded programming. After using extensively the ESP8266 and ESP32, now I&#x27;m quite certain I prefer big times the RP2040 (that is, the Raspberry Pico processor, but you can find it in different non-Raspberry produced development boards). The reasons are easy to summarize:<p>1. Vastly superior C SDK, and even the MicroPython support appears to have an edge.<p>2. Fantastic documentation, even if in PDF form, which makes a bit less accessible for us and especially for LLMs training data crawlers. In general LLMs know a great deal more about ESP stuff than the RP2040.<p>3. Almost every RP2040 can be overclocked to 400Mhz and work stable, and I could say basically <i>every</i> RP2040 can be stable at 350Mhz, so when comparing performances, account for this.<p>4. Very smart hardware capabilities: state machines for programmable pins (PIOs), great DMA support, hardware interpolators.<p>5. High quality hardware, and if you don&#x27;t need the version with wireless, the cost is still quite reasonable. 3&#x2F;4 euros&#x2F;dollars per piece.<p>6. When you need the &quot;W&quot; one, the wireless chip the Pico uses has its own ARM processor, so you continue to have the two RP2040 cores spare for your application.<p>7. Memory mapped flash with execute in place. You can read from 0x1000000+offset just deferencing a pointer and that&#x27;s it, you access your flash.<p>8. More GPIOs available.<p>The big disadvantage of the RP2040:<p>No SPI RAM support. At this point many ESP32 boards have built-in SPI and this makes memory a lot less a scarse resource.<p>To familiarize with the ESP family is useful since they are everywhere and are extremely cheap for what they offer. But still, I would start basically any new project where I have choice with the RP2040.
评论 #40155525 未加载
评论 #40155477 未加载
评论 #40155419 未加载
评论 #40156094 未加载
devsdaabout 1 year ago
This is a good and extensive guide.<p>Most guides out there work with dev boards that are powered by usb. It&#x27;s great to see a section dedicated to power them with alternatives like LM-1117.<p>I&#x27;m still hoping to find a guide dedicated to power management of espxxx boards that includes guides for powering them with a range of sources like coin cells, aa, lithium, 9v, 12v batteries etc along with a primer on different features (like sleep modes) and their impact on power consumption to maintain the battery life.<p>I always see mentions of all these interesting diy projects but not how they are powered. So, its difficult to get a complete picture of the maintenance needed and their usefulness in the long term.
评论 #40153881 未加载
评论 #40154573 未加载
dr_dshivabout 1 year ago
My 14 year old has gotten so into arduino this year. ChatGPT was a game changer for him.<p>He is using a pair of ESP32s with cameras to make a “mom detector” so he has more time to switch tabs.
评论 #40178900 未加载
评论 #40157993 未加载
paul_funyunabout 1 year ago
A useful gizmo but bang for your buck seems esp32 is the way to go
评论 #40153054 未加载
评论 #40153280 未加载
评论 #40153449 未加载
评论 #40152759 未加载
评论 #40154853 未加载
评论 #40154670 未加载
评论 #40152910 未加载
Perz1valabout 1 year ago
I recently got mine out of the stash of &quot;things for future projects&quot; and I wanted to program it using PlatformIO and the RTOS SDK, but that&#x27;s terribly outdated, with parts of that stack newer and it just doesn&#x27;t work. Should I use the Arduino framework? That&#x27;s boring, I did that already with arduino boards. Or maybe I should install the official Espressif toolchain and try the RTOS framework there? It is a bit dated, but I guess if the hardware didn&#x27;t change, the software doesn&#x27;t have to either. If anyone wants to give a recommendation, I want to make a system that listens to an endpoint (EC2 atm) and sends wake on lan packets to my devices that join a VPN after booting, so I can access them from anywhere.
评论 #40154525 未加载
评论 #40159323 未加载
chaosprintabout 1 year ago
esp32 s3 or c6 can be better to get started with:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;sekcompsci&#x2F;2bf39e715d5fe47579fa184fa819f421" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;sekcompsci&#x2F;2bf39e715d5fe47579fa184fa...</a>
ameliusabout 1 year ago
Is the Arduino IDE the best way to program these chips? Is there something more &quot;professional&quot;, for Linux? Anyone programming with just CLI tools and without Arduino libs?
评论 #40156545 未加载
评论 #40156532 未加载
zippoxabout 1 year ago
I always see these low prices (&lt;$5) on articles and comments but this doesn&#x27;t seem the be the case for the boards people actually recommend. Are people buying on aliexpress or other cheap alternatives?
评论 #40207665 未加载
评论 #40153778 未加载
评论 #40153865 未加载
评论 #40153951 未加载
评论 #40153681 未加载
评论 #40154983 未加载
sebospabout 1 year ago
What&#x27;s the equivalent to foreman&#x2F;quickstart but for embedded devices, ie you got a bunch of devices, different architectures, different sensors to different pins, different versions of firmware, some of them off, how do you keep track of them?
dotnet00about 1 year ago
It&#x27;s pretty cool how cheap and capable microcontroller dev boards are these days, I just have a stash of two-three dozen esp8266&#x27;s, esp32s and rp2040s laying around, convenient to just be able to grab one whenever something I&#x27;m tinkering with could use some intelligence.
krish98saiabout 1 year ago
Very clean guide. I wish I had something like this when I attempted to make my Roomba &quot;smarter&quot;: <a href="https:&#x2F;&#x2F;github.com&#x2F;krish98sai&#x2F;smart-roomba">https:&#x2F;&#x2F;github.com&#x2F;krish98sai&#x2F;smart-roomba</a>
bahmbooabout 1 year ago
(2017)
评论 #40154498 未加载
defanorabout 1 year ago
Strange to see an overview of network protocols in the guide, and a web server in the SDK: they are very generic, do not seem like any of that should be specific to ESP8266.<p>Edit: Removed two points of the comment that were wrong (as mentioned in a reply).
评论 #40154181 未加载
dvhabout 1 year ago
Is there a wifi module with smaller power consumption?
评论 #40155562 未加载
评论 #40155745 未加载
评论 #40159364 未加载