notes:devs:board
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| notes:devs:board [2025/02/14 11:11] – created azman | notes:devs:board [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ESP32 DEVKIT ====== | ||
| - | |||
| - | Espressif' | ||
| - | <file text esp32_devkit1.txt> | ||
| - | -------------- | ||
| - | ESP32-DEVKITV1 | ||
| - | -------------- | ||
| - | |||
| - | - clone of DOIT's ESP32 DEVKIT V1? | ||
| - | - ESP-WROOM-32 (ESP32-D0WDQ6) | ||
| - | = ESP32-D0WD-based modules with integrated flash | ||
| - | - DECISION20200822: | ||
| - | = toolchain and build environment is simply not worth it! | ||
| - | = WILL USE micropython instead! | ||
| - | |||
| - | ----------- | ||
| - | micropython | ||
| - | ----------- | ||
| - | |||
| - | - get some tools | ||
| - | > pip install esptool rshell | ||
| - | - download binary from https:// | ||
| - | = selected esp32-idf3-20191220-v1.12.bin | ||
| - | = idf4 seems to be missing LAN? stick with idf3 for now... | ||
| - | - erase flash | ||
| - | > esptool.py --chip esp32 --port / | ||
| - | - flash micropython | ||
| - | > esptool.py --chip esp32 --port / | ||
| - | - use rshell to manage code (vfs) | ||
| - | > rshell --port / | ||
| - | - download file in rshell | ||
| - | > cp < | ||
| - | |||
| - | ---------- | ||
| - | board info | ||
| - | ---------- | ||
| - | |||
| - | esp32 doit devkit v1 | ||
| - | vid = 0x10c4 | ||
| - | pid = 0xea60 | ||
| - | sn = 0001 | ||
| - | |||
| - | esp32 doit devkit v1 (aliexpress - usb type c) | ||
| - | vid = 0x1a86 | ||
| - | pid = 0x7523 | ||
| - | sn = (null) | ||
| - | </ | ||
| - | |||
| - | Decided to use [[https:// | ||
| - | |||
| - | {{: | ||
| - | |||
| - | (// | ||
| - | |||
| - | {{: | ||
| - | |||
| - | {{: | ||
| - | |||
| - | Below is a simple python script to test SSD1306 OLED display which makes use of [[https:// | ||
| - | <file python test.py> | ||
| - | from machine import Pin, I2C | ||
| - | from ssd1306 import SSD1306_I2C | ||
| - | from time import sleep | ||
| - | |||
| - | def run_this(): | ||
| - | i2c = I2C(-1, scl=Pin(22), | ||
| - | oled_width = 128 | ||
| - | oled_height = 64 | ||
| - | oled = SSD1306_I2C(oled_width, | ||
| - | |||
| - | oled.text(' | ||
| - | oled.text(' | ||
| - | oled.text(' | ||
| - | oled.show() | ||
| - | </ | ||
| - | |||
| - | Using Arduino IDE: | ||
| - | |||
| - | * select '' | ||
| - | * enter '' | ||
| - | * open '' | ||
| - | * when selecting board for upload, select '' | ||
| - | |||
| - | Note: esp32 flash tool requires python serial module (e.g. '' | ||
notes/devs/board.1739502690.txt.gz · Last modified: by azman
