mirror of
https://github.com/alexandrebobkov/ESP32-S3_Arduino-Uno.git
synced 2025-08-07 11:18:47 +00:00
56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
---
|
|
layout: default
|
|
title: "ESP32-S3 Uno Development Board"
|
|
---
|
|
|
|
{{ page.title }}
|
|
================
|
|
|
|
<i>Explore new possibilities with ESP32-S3 UNO Development Board.</i>
|
|
|
|
<img src="assets/ESP32-Uno-assembled.jpg" width="35%"/>
|
|
|
|
[Schematic](schematic.md)
|
|
|
|
[Specs](specs.md)
|
|
|
|
## I2C Pins
|
|
|
|
The provided schematic excerpt below shows the wiring of SDA and SCL; __SDA__ is wired to the _GPIO 8_ and __SCL__ is wired to the _GPIO 9_ on the ESP32-S3 Module.
|
|
|
|
<img src="assets/ESP32-Uno-Board-Module-Pinout.png" width="50%"/>
|
|
|
|
The image of PCB board below shows the physical location of SDA and SCL terminals.
|
|
<img src="assets/ESP32-Uno-Board-GPIO.png" width="50%"/>
|
|
|
|
### Micropython LED Blinky Code
|
|
|
|
``` python
|
|
import esp, esp32, time, os, _thread
|
|
from machine import Pin, SoftI2C
|
|
|
|
# An infinite loop thread to blink LED
|
|
def status_led():
|
|
# Blink pattern blink-blink-pause
|
|
while True:
|
|
led.value(1)
|
|
time.sleep_ms(250)
|
|
led.value(0)
|
|
time.sleep_ms(250)
|
|
led.value(1)
|
|
time.sleep_ms(250)
|
|
led.value(0)
|
|
time.sleep_ms(750)
|
|
|
|
# Display information about ESP32S3 module
|
|
print(os.uname())
|
|
print("Flash size: ", esp.flash_size()/1024/1024, "Mb")
|
|
#rint("MCU Temperature: ", esp32.mcu_temperature(), "C")
|
|
print("MCU Temperature: {:4.1f} C".format(esp32.mcu_temperature()))
|
|
|
|
# Configure LED pin and start the blinky loop thread
|
|
led = Pin(45, Pin.OUT)
|
|
led.value(0)
|
|
_thread.start_new_thread(status_led, ())
|
|
```
|