Ctrl Menu
Web Portal
10:33 May 15, 2021
Run MicroPython script using Thonny IDE
Web Portal
_ Minimize
Full View
Guide View
Open
Back
Forward
Go
|<
>
O
>|
10:33 / 11:11
Run MicroPython script using Thonny IDE @AndroidEric
an Erik
Run MicroPython script using Thonny IDE
updated
Run MicroPython script using Thonny IDE
an Erik 2026-12-01 | Run MicroPython script using Thonny IDE
Display on SSD1327 grayscale OLED with Arduino Nano RP2040 Connect/CircuitPython
an Erik 2022-07-22 | Exercise to display on SSD1327 grayscale OLED with Arduino Nano RP2040 Connect/CircuitPythonembedded-things.blogspot.com/2022/07/display-on-i2c-ssd1327-grayscale-oled.html subscribe my new YT channel:youtube.com/channel/UC32uBFmAr7IrGrmDLDe2Hrw
Fixed: Raspberry Pi OS cannot find 5G Hz WiFi Network
an Erik 2022-07-16 | Recently, when I tried 64 bit Raspberry Pi OS (Bullseye) on Raspberry Pi 4B/4G, it's found 5G Hz WiFi Networks cannot be discovered, and connected. To fix it, I set set WiFi Country to US. helloraspberrypi.blogspot.com/2022/07/fixed-raspberry-pi-os-cannot-find-5g-hz.html
Install and run 64-bit Ubuntu MATE 22.04 LTS on Raspberry Pi 4
an Erik 2022-07-15 | Here show steps to prepare on Raspberry Pi 0S 64-bit (bullseye), install 64-bit Ubuntu MATE 22.04 LTS on Raspberry Pi 4B/4G Rev 1.2 on Kingston A400 SSD 120GB SATA (using Orico HDD Adapter Kit USB3.0 adapter). helloraspberrypi.blogspot.com/2022/07/install-and-run-64-bit-ubuntu-mate-2204.html
Enable Boot from USB for Raspberry Pi 4
an Erik 2022-07-14 | Enable Boot from USB for Raspberry Pi 4/400helloraspberrypi.blogspot.com/2022/07/enable-boot-from-usb-for-raspberry-pi.html
ESP32-C3/MicroPython BLE UART Communication
an Erik 2022-07-10 | ESP32-C3/MicroPython BLE UART Communication code available: embedded-things.blogspot.com/2022/07/esp32-c3micropython-ble-uart.html
ESP32-C3/MicroPython multithreading exercise, get user input un-blocked using _thread.
an Erik 2022-07-07 | In this exercise code, read user input by calling input() and control RGB in two separated thread using _thread.embedded-things.blogspot.com/2022/07/esp32-c3micropython-multithreading.html
MicroPython/ESP32-C3 Exercise: send/receive command via BLE UART
an Erik 2022-07-04 | Send/receive command via BLE UART between Central (Espressif ESP32-C3-DevKitM-1) and Peripheral (AI-Thinker NodeMCU ESP-C3-32S-Kit). details and code available: embedded-things.blogspot.com/2022/07/micropythonesp32-c3-exercise.html
MicroPython/ESP32-C3-DevKitM-1 exercise: onboard BOOT button, and RGB LED (Neopixel).
an Erik 2022-07-02 | MicroPython v1.19.1/ESP32-C3-DevKitM-1 exercise: detect onboard BOOT button, and control onboard RGB LED (Neopixel). code available: embedded-things.blogspot.com/2022/07/micropythonesp32-c3-devkitm-1-exercise.html
MicroPython bluetooth (BLE) exampls, run on ESP32-C3.
an Erik 2022-06-26 | This video just show how MicroPython bluetooth module examples run on ESP32-C3.embedded-things.blogspot.com/2022/06/micropython-bluetooth-ble-exampls-run.html
MicroPython/NodeMCU ESP-C3-32S-Kit to control onboard LEDs
an Erik 2022-06-20 | With MicroPython installed on Ai-Thinker NodeMCU ESP-C3-32S-Kit, this exercise control the onboard LEDs. code available: embedded-things.blogspot.com/2022/06/micropythonnodemcu-esp-c3-32s-kit-to.html
Flash MicroPython v1.19 firmware on ESP32-C3 (ESP32-C3-DevKitM-1/NodeMCU ESP-C3-32S-Kit)
an Erik 2022-06-19 | Flash MicroPython v1.19 firmware on ESP32-C3 for ESP32-C3-DevKitM-1/NodeMCU ESP-C3-32S-Kit. All steps run in Raspberry Pi.embedded-things.blogspot.com/2022/06/flash-micropython-v119-firmware-on.html
BLE UART communication between ESP32-S3 (arduino-esp32) and HC-42 BLE Module
an Erik 2022-05-15 | This video show how to implement BLE UART communication between NodeMCU ESP-S3-12K-Kit (in Arduino framework usiing arduino-esp32) and HC-42 BLE Module.embedded-things.blogspot.com/2022/05/ble-uart-communication-between-esp32-s3.html
HC-42 BLE 5 Serial Port Communication Module
an Erik 2022-05-15 | embedded-things.blogspot.com/2022/05/hc-42-ble-5-serial-port-communication.html
arduino-esp32 2.0.3 add support for ESP32-S3, to develope in Arduino IDE.
an Erik 2022-05-13 | With arduino-esp32 2.0.3, ESP32-S3 support added now. Test on NodeMCU ESP-S3-12K-Kit. details (with code): embedded-things.blogspot.com/2022/05/arduino-esp32-203-add-support-for-esp32.html
CircuitPython display cursor on displayio, work on Raspberry Pi Pico/ST7789 SPI Display.
an Erik 2022-05-10 | CircuitPython exercise run on Raspberry Pi Pico + 240x240 ST7789 SPI RGB Display, to display cursor on displayio.helloraspberrypi.blogspot.com/2022/05/circuitpython-display-cursor-on.html
OpenEuler 22.03 LTS (UKUI Desktop) run on Raspberry Pi 4
an Erik 2022-05-08 | This video show the steps to download image of OpenEuler 22.03 LTS (UKUI Desktop) for Raspberry Pi, boot and setup changing to English, and some more. Details: helloraspberrypi.blogspot.com/2022/05/openeuler-2203-lts-ukui-desktop-run-on.html
ESP32-S2 (arduino-esp32) display on ILI9341 SPI TFT with Touch, using TFT_eSPI Library.
an Erik 2022-04-26 | This video show how to setup TFT_eSPI library in Arduino IDE, tested on ESP32-S2-Saola-1, with 2.4inch SPI Module ILI9341 SKU:MSP2402 with Touch. details: embedded-things.blogspot.com/2022/04/esp32-s2-arduino-esp32-display-on.html
XIAO BLE Sense (Arduino framework) IMU USB Mouse
an Erik 2022-04-11 | Exercise to implement IMU USB Mouse on XIAO BLE Sense (Arduino framework), reading onboard LSM6DS3 Accelerometer.embedded-things.blogspot.com/2022/04/xiao-ble-sense-arduino-framework-imu.html
Raspberry Pi Pico/CircuitPython IMU USB Mouse, using LSM303.
an Erik 2022-04-10 | Raspberry Pi Pico/CircuitPython act as IMU USB Mouse, read LSM303 Accelerometer and report as mouse movement. helloraspberrypi.blogspot.com/2022/04/raspberry-pi-picocircuitpython-act-as.html
Raspberry Pi Pico/CircuitPython read L3GD20(Gyroscope)
an Erik 2022-04-08 | This video show how to run on Raspberry Pi Pico/CircuitPython to read L3GD20(Gyroscope), using modified adafruit_l3gd20 library. code available: helloraspberrypi.blogspot.com/2022/04/raspberry-pi-picocircuitpython-access.html
Raspberry Pi Pico/CircuitPython 7+ LSM303 Accelerometer/Magnetometer
an Erik 2022-04-07 | Raspberry Pi Pico/CircuitPython, access LSM303(Accelerometer/Magnetometer) and L3GD20(Gyroscope)helloraspberrypi.blogspot.com/2022/04/raspberry-pi-picocircuitpython-access.html
CircuitPython BLE UART between XIAO BLE Sense and ESP32-C3/S3
an Erik 2022-04-04 | code available: embedded-things.blogspot.com/2022/04/circuitpython-ble-uart-between-xiao-ble.html The server side run on Seeed XIAO BLE Sense (nRF52840) + Expansion board. Setup BLE UART Server, display received text on SSD1306 I2C OLED. The client side run on Ai-Thinker NodeMCU ESP-C3-32S-Kit and Espressif ESP32-S3-DevKitC-1. User enter text in REPL to send to server side and display on SSD1306 I2C OLED.
How to open dual Thonny instance
an Erik 2022-04-03 | embedded-things.blogspot.com/2022/04/how-to-open-dual-thonny-instance.html
Raspberry Pi Pico/MicroPython generate QR Code and display on SSD1306 I2C OLED
an Erik 2022-03-31 | Raspberry Pi Pico/MicroPython, to generate QR Code, and display on SSD1306 128x64 I2C OLED.helloraspberrypi.blogspot.com/2022/03/raspberry-pi-picomicropython-generate.html
XIAO BLE Sense (nRF52840)/CircuitPython generate QR Code and display on SSD1306 I2C OLED
an Erik 2022-03-30 | cpyX_miniqr_ssd1306.py run on Seeed XIAO BLE Sense (nRF52840)/CircuitPython 7.2.3 to generate QR Code using adafruit_miniqr, and display on SSD1306 I2C OLED using adafruit_displayio_ssd1306.embedded-things.blogspot.com/2022/03/xiao-ble-sense-nrf52840circuitpython.html
Seeed XIAO BLE Sense (nRF52840)/CircuitPython 7.2.3, display on SSD1306 I2C OLED
an Erik 2022-03-29 | In CircuitPython, to display on SSD1306, there are two approach: - framebuf (using adafruit_ssd1306/adafruit_framebuf) - displayio (using adafruit_displayio_ssd1306/) This video demo both code available: embedded-things.blogspot.com/2022/03/seeed-xiao-ble-sense.html
Install MicroPython on Nucleo F401RE (on Linux Mint)
an Erik 2022-03-27 | steps to install MicroPython on Nucleo F401RE: embedded-things.blogspot.com/2022/03/install-micropython-on-nucleo-f401re.html
Arduino Nano RP2040 Connect/CircuitPython + ov7670 cam (incomplete) display on st7789 Display
an Erik 2022-03-21 | code available: embedded-things.blogspot.com/2022/03/arduino-nano-rp2040-connectcircuitpytho.html
Fix RuntimeError: None data for /?, in CircuitPython on Arduino Nano RP2040 Connect
an Erik 2022-03-19 | After CircuitPython 7.2.3 was installed on Arduino Nano RP2040 Connect, I can run REPL. BUT...I can't access CircuitPython device (named "?"), Problem when handling 'get_dirs_children_info_response' with "RuntimeError: None data for /?"! to fix: embedded-things.blogspot.com/2022/03/fix-runtimeerror-none-data-for-in.html
BLE between Nano RP2040 Connect and XIAO BLE Sense, using ArduinoBLE in Arduino Framework.
an Erik 2022-03-17 | code available: embedded-things.blogspot.com/2022/03/ble-between-nano-rp2040-connect-and.html
ArduinoBLE between Nano RP2040 Connect (Peripheral LED) and XIAO BLE Sense (Central LedControl)
an Erik 2022-03-16 | Just examples of ArduinoBLE, on Nano RP2040 Connect and XIAO BLE Sense (Arduino Framework). Both using ArduinoBLE library.embedded-things.blogspot.com/2022/03/arduinoble-between-nano-rp2040-connect.html
XIAO BLE Sense/Expansion board (Arduino Framework) to control SSD1306 I2C OLED
an Erik 2022-03-14 | how to: embedded-things.blogspot.com/2022/03/xiao-ble-senseexpansion-board-arduino.html
Setup Arduino IDE to support Seeed XIAO BLE (Sense), install adafruit-nrfutil
an Erik 2022-03-13 | Setup Arduino IDE to support Seeed XIAO BLE (Sense), fix 'exec: "adafruit-nrfutil": executable file not found in $PATH'embedded-things.blogspot.com/2022/03/setup-arduino-ide-to-support-seeed-xiao.html
Install CircuitPython 7.2.0 on ESP32-S3 (ESP32-S3-DevKitC-1), using esptool v3.2 on Linux Mint
an Erik 2022-03-11 | To flash firmware on esp32s3, esptool v3.2 is needed. This video show the steps to flash CircuitPython 7.2.0 on ESP32-S3-DevKitC-1 N8R8 (with 8MB Flash and 8MB PSRAM) run on Linux Mint (over VirtualBox/Windows 10). details & code available: embedded-things.blogspot.com/2022/03/install-circuitpython-720-on-esp32-s3.html
First power-up NodeMCU ESP-C3-32S-Kit (pre-loaded with AT Command firmware)
an Erik 2022-03-10 | details: embedded-things.blogspot.com/2022/03/first-power-up-nodemcu-esp-c3-32s-kit.html
ESP32-C3/CircuitPython/ST7735, display bmp in slideshow, and using OnDiskBitmap/adafruit_imageload.
an Erik 2022-03-06 | ESP32-C3/CircuitPython 7.2.0 + ST7735 TFT, display bmp in slideshow, and using displayio.OnDiskBitmap/adafruit_imageload. code available: embedded-things.blogspot.com/2022/03/esp32-c3circuitpython-720-st7735-tft.html
Install CircuitPython 7.2.0 on ESP32-C3 (ESP32-C3-DevKitM-1)
an Erik 2022-02-28 | This video show how to install CircuitPython 7.2.0 on ESP32-C3-DevKitM-1 (ESP32-C3-MINI-1), using Raspberry Pi 4B running Raspberry Pi OS 32-bit (buster). Then test with exercise to read system info, control onboard RGB (NEOPIXEL), and 0.96" 80x160 IPS. code available: embedded-things.blogspot.com/2022/02/install-circuitpython-720-on-esp32-c3.html
ESP32-C3/arduino-esp32 + 0.96 80x160 IPS, create custom class extends Adafruit ST7735 library.
an Erik 2022-02-17 | This exercise run on ESP32-C3-DevKitM-1 in arduino-esp32 framework, display on unknown brand 0.96" 80x160 IPS. In this exercise, I create a custom class (MyST7735) extend Adafruit_ST7735: - call setColRowStart(26, 1) in init() to correct the shifting. - override setRotation() function, to use ST7735_MADCTL_BGR instead of ST77xx_MADCTL_RGB. code available: embedded-things.blogspot.com/2022/02/esp32-c3arduino-esp32-096-80x160-ips.html
BLE between ESP32/ESP32C3 (arduino-esp32), notify DHT11 reading of temperature & humidity.
an Erik 2021-12-15 | This exercise run on ESP32/ESP32-C3 to perform BLE communication, to notify data update. Both run on arduino-esp32 framework.embedded-things.blogspot.com/2021/12/ble-between-esp32esp32c3-arduino-esp32.html
ESP32 + DHT11 temperature & humidity sensor with display on ST7789 and BLE function
an Erik 2021-12-07 | Exercise on ESP32 (arduino-esp32 2.0.1) work with DHT11 temperature & humidity sensor, with display on ST7789 SPI LCD and also with BLE function.embedded-things.blogspot.com/2021/12/arduino-esp32-esp32-dht11-temperature.html
Raspberry Pi Pico/MicroPython + ESP-C3-12F (as a WiFi co-processor using AT Command)
an Erik 2021-11-25 | Exercise on Raspberry Pi Pico/MicroPython work with ESP-C3-12F Module with AT Command Firmware, act as a WiFi co-processor. The Raspberry Pi Pico control ESP-C3-12F using AT Command, to connect and send data to TCP and UDP Server running on Raspberry Pi/Python. code available: embedded-things.blogspot.com/2021/11/rpi-picomicropython-esp-c3-12f-as-wifi.html
ESP-C3-12F First power-up
an Erik 2021-11-23 | it's ESP-C3-12F First power-up, and tested using esptool and Arduino IDE's Serial Monitor (run on Raspberry Pi/Linux). details: embedded-things.blogspot.com/2021/11/esp-c3-12f-first-power-up.html
Arduino Nano RP2040 Connect generate QR Code and display on ST7735 TFT
an Erik 2021-11-16 | Arduino Nano RP2040 Connect generate QR Code and display on ST7735 TFT, code available:arduino-er.blogspot.com/2021/11/arduino-nano-rp2040-connect-generate-qr.html
Arduino Nano RP2040 Connect + ST7735 SPI TFT with SD Card, read and display bitmap.
an Erik 2021-11-10 | Exercises run on Arduino Nano RP2040 Connect (in Arduino framework) work with 1.8" 128x160 ST7735 SPI TFT/SD Card Module.arduino-er.blogspot.com/2021/11/arduino-nano-rp2040-connect-st7735-spi.html - simple display something on ST7735 SPI TFT - Display files in SD Card, and read txt file from SD Card. - Read bmp from SD Card and display on ST7735 SPI TFT - Try example of Adafruit_ImageReader - Simplified version display bitmap from SD and display on TFT using Adafruit_ImageReader.
ESP32-C3/arduino-esp32 to display on ST7735 and ST7789 SPI LCDs
an Erik 2021-11-05 | This exercise run on ESP32-C3-DevKitM-1 with arduino-esp32 2.0.0, to display on ST7735 and ST7789 SPI LCDs using "Adafruit ST7735 and ST7789 Library" and "Adafruit GFX Library".embedded-things.blogspot.com/2021/11/esp32-c3arduino-esp32-to-display-on.html
MicroPython/PyBoard exercise: + 1.8 128x160 TFT ST7735 SPI
an Erik 2021-11-02 | MicroPython/PyBoard exercise: + 1.8" 128x160 TFT ST7735 SPI. details and exercise code available: embedded-things.blogspot.com/2021/11/micropythonpyboard-exercise-18-128x160.html
arduino-esp32 CameraWebServer example, run on ESP32-S2-Saola-1 with ov2640
an Erik 2021-10-29 | arduino-esp32 CameraWebServer example, run on ESP32-S2-Saola-1 with ov2640 embedded-things.blogspot.com/2021/10/arduino-esp32-camerawebserver-examples.html
Arduino IDE, open two Serial Monitors
an Erik 2021-10-29 | How to open two independent Serial Monitors in Arduino IDE 1.8. Tested on Raspberry Pi OS, Windows 10 and Ubuntu 21.10.
arduino-esp32, drive SSD1306 I2C OLED with ESP32/S2/C3 using esp8266-oled-ssd1306 library
an Erik 2021-10-26 | arduino-esp32, drive SSD1306 I2C OLED with ESP32/S2/C3 using esp8266-oled-ssd1306 library. Test on ESP32-DevKitC V4/ESP32-S2-Saola-1/ESP32-C3-DevKitM-1.embedded-things.blogspot.com/2021/10/arduino-esp32-drive-ssd1306-i2c-oled.html
arduino-esp32, list the default function pins of ESP32C3/S2 Dev Module, locate pins_arduino.h
an Erik 2021-10-25 | arduino-esp32, list the pre-defined function pins of ESP32C3/S2 Dev Moduleembedded-things.blogspot.com/2021/10/arduino-esp32-list-pre-defined-function.html