- 0
working with Micropython - which ecosystem to choose - ESP 8266 or ESP 32?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By +pmrd · Posted
Was it too much to ask to show the icon in this article? -
By Case_f · Posted
Frankly, I blame whoever is writing such articles. "A big improvement/update and/or new feature is now available to everyone! Also, use this unofficial tweak tool to enable it because it actually isn't available to you yet officially and might not in fact even be entirely ready or whatever, hence why it is perhaps not enabled for you*. But it's great and you should enable it!" I mean there's nothing wrong with sharing info about some feature you might need to enable via unofficial means, of course. It's just that these articles tend to essentially end up being two news pieces in one, and one of them tends to be a bit misleading. (*Yes, yes, the "it's a controlled rollout!" thing. Not a fan of that one either. The argument, not the actual rollout.) -
By wrack · Posted
Thank you. Will do. I read in the release notes that editor config might be at play here. -
By eiffel_g · Posted
Actually, I think even Microsoft doesn't know how to control it -
By pradeepviswav · Posted
OpenAI is making Codex more useful in Chrome and the cloud by Pradeep Viswanathan OpenAI's Codex now has more than 5 million users, up nearly 4x from earlier this year. To further accelerate Codex's growth among developers, OpenAI today announced that it has agreed to acquire Ona, a company that builds secure cloud execution and orchestration technology for developers. Ona will enable developers to run Codex with persistent and controlled cloud infrastructure for long-running agentic workflows. Right now, most Codex execution happens locally on developers' laptops and PCs, and the agents work continuously for hours. Through Ona, OpenAI aims to make Codex agents keep working for days without being tied to a user’s local machine or an active session. This will be an important capability for enterprises that want to deploy AI agents in production while maintaining control over infrastructure, data, security boundaries, credential scope, logging, and review workflows. Like any acquisition, the deal is still subject to customary closing conditions, including regulatory approvals. Until the deal closes, OpenAI and Ona will continue to operate as separate companies. After closing, Ona’s team will join the Codex team to improve developer workflows. Alongside the Ona acquisition announcement, OpenAI today introduced a few Codex updates. Developers can now save Codex rate limit resets and use them later instead of losing them when they are not needed immediately. OpenAI is also adding a referral option where users can invite a friend to Codex and get a saved rate limit reset. OpenAI today also announced a developer mode for browser use in Chrome and the Codex in-app browser. With this mode, Codex can use the Chrome DevTools Protocol to debug web apps, inspect pages, and work more directly with browser-based development workflows. Developers can use this when they want Codex to profile JavaScript, inspect console output and network traffic, examine web page states including the DOM and applied styles, and more.
-
-
Recent Achievements
-
Jamswaz earned a badge
One Month Later
-
Jamswaz earned a badge
Week One Done
-
Marzoid went up a rank
Rookie
-
coch went up a rank
Community Regular
-
slackerzz earned a badge
One Year In
-
-
Popular Contributors
-
Tell a friend
Question
tarifa
dear community
working with Micropython - which ecosystem to choose - ESP 8266 or ESP 32?
I work with Kids. I'm always looking for economical platforms to build intriguing projects.
there are systematical decisions: in earlier times i use Arduino and Raspberry Pi for the projects because the eco-sytems of Arduino and Raspi support rich options to combine.
While Arduino clones are cheap, it uses the C/C++ language. that kids are not familiar with. and - yes it doesn't have a built-in WiFi-support. But that is pretty important for me.
WiFi-Support is a must for all the IoT projects i am interested in. On the other hand, while Raspberry Pi has WIFI and kids can program it using Python, it is still an pretty expensive platform to just control few GPIO ports to
1. turn devices on and off.
2. run a little RC-Car
3. have a look in the birds house that is in the garden
I need something in between that has both WIFI and Python capabilities. It appears that I found my answer in MicroPython flashed
onto a cheap ESP8266-based board - and yes - now we also can use ESP32 too.
What is Micropython?
According to its website, MicroPython is a lean and efficient implementation of the Python 3 programming languages.
And Python is one of the most widespread and well known language - also my kids have access to a lean python introduction.
In other words: Python is much easiser to learn than C /C++ - Python does not have all those pitfalls.
Micropython
that includes a small subset of the Python standard library and the good thing; Micropython is optimized to run on
microcontrollers and in constrained environment (such as ESP8266).
It's essentially Python IDE on a chip. One major benefit is that you can create code and change it on the fly using
a web-browser client called Webrepl. (Try to do that in Arduino.) You can also see sensor data in real-time on
Webrepl instead of rely on data logging or an LED screen in Arduino.
What is ESP8266?
In short, think of it as an Arduino with built-in network capability. You can use the Arduino IDE to program ESP8266 boards in C/C++ or
you can flash it with NodeMCU or MicroPython. In this project, I'll be flashing MicroPython onto an ESP8266 board.
I decided to get a WEMOS D1 which is based on ESP8266-12EX for this simple project where I'll be navigating a 2WD car using a web browser.
There are other boards that are designed for MicroPython but I wanted something cheap that I could throw away
if it didn't meet my criteria. As expected, it met all my requirements and most likely I'll be incorporating WeMos and Micropython into
future projects.
among them are ...
a. creating rc-cars
b. other IoT projects
which ESP would you decide ?
- NodeMcu Lua WIFI Internet Development Board based on ESP-12E CP2102
- Adafruit Assembled Feather HUZZAH w ESP8266 WiFi With Stacking Headers
- ESP8266 ESP-13 Web Sever WIFI Wireless Shield for Arduino UNO R3
which one would you take?
or would you choose the ESP 32 !?
love to hear from you
Link to comment
https://www.neowin.net/forum/topic/1385802-working-with-micropython-which-ecosystem-to-choose-esp-8266-or-esp-32/Share on other sites
1 answer to this question
Recommended Posts