Tag: tutorial
#Tutorial: Getting Started with MicroPython on ESP32, M5Stack, and ESP8266
M5Stack, MicroPython | 6 min | 38596
MicroPython has almost all the features of Python, and allows you to easily interact with microcontrollers and sensors, making them accessible to both beginners and experienced Python programmers.
If you are new to MicroPython, I quote the official MicroPython page for you:
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on microcontrollers and in "constrai...
A good friend of mine has an old printer and he was always thinking of buying some adapter to make it Wi-Fi compatible. He actually bought one, but it was not compatible! I told him to buy a Raspberry Pi W Zero and build a CUPS Print Server, but he did not have time to do that, so I planned as XMas gift! I hope he is not going to read this before he gets his present. :) - If you received this as a gift, your instructions are here.
A big challenge was to make it plug & play. I did not want to have his Wi-Fi credentials, and he should not use a terminal over SSH to configure it. I looked for som...
#MicroPython: Controlling Smart Power Outlets using an ESP32
Home Automation, MicroPython | 5 min | 24101
Today there is a wide range of offer for home automation devices. A lot of sensors, actors etc. can be connected to the cloud and be controlled using Google Home, Amazon Alexa, your smartphone, etc. There are a lot of companies offering low cost devices, e.g. Sonoff, Tuya, Teckin etc. Most of these solutions are based on ESP32 or ESP8266, and all of them send data to cloud solutions usually deployed on Amazon services, and the data is only accessible using the Androi...
Docker is a technology that emerged for about 5 years and since then it has simplified the packaging, distribution, installation and execution of (complex) applications. Usually applications consist of many components that need to be installed and configured. Installing all needed dependencies and configuring them correctly is usually time consuming and frustrating for users, developers and administrators. Here is where Docker comes to simplify this process allowing developers and users to package these applications into containers.
A container image is lightweight, stand-alone, executable pa...
After the Hannover Fair 2018, I have this weekend some time and I decided to update the #ProjectDIVA to the last version of Android Things. Today the actual version is 0.8.1 DP and the Android Things Setup Utility has the version number 1.0.19.
I have two applications running on Android Things:
- nRF24Things - Related post: here
- SensorTag-Things - Related post: here
In Oct. 2017, I wrote a tutorial for Android Things, but I checked that the tutorial needed an update, and the repositories too. That's why I'm writing this post.
What is Android Things?
This section does not change too much fr...
While I was reading my getting stated tutorial about MicroPython again, I noticed that I've forgotten to tell something about dependencies or packages.
Here is possible to find some MicroPython packages. On the WeMos (ESP32) or the ESP8266, it is possible to install these packages using the
upip
package manager. The WiPy doesn't have the package.To download the new packages, you need to connect the board to the Internet. I take the WeMos as example and typing the following, you can connect the board to your WiFi router:
ssid_ = <your_ssid> wp2_pass = <your wpa2 password> import network sta_...
Another quick tutorial, this time for MicroPython on ESP32/ESP8266. You can find all the information that I'm writing in this post in different articles on the Internet but I've not found anything that summarizes all the topics. That is why I am writting this article. I included some links at the end of each topic to extend the info. Feel free to visit them, if you want more information, or write a comment I will try to reply it ASAP!
Code: https://github.com/lemariva/ESP32-MicroPytho...
We use cookies to improve our services. Read more about how we use cookies and how you can refuse them.