1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-09-19 00:37:45 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
tiyn
f37225f272 template: fixed minor error 2025-08-24 04:29:54 +02:00
tiyn
5b0ae30f88 microcontroller: extended esp32 usage and troubleshooting 2025-08-24 04:28:04 +02:00
2 changed files with 37 additions and 7 deletions

View File

@ -15,7 +15,7 @@ Change the settings according to your needs and run `./rebuild.sh` afterwards.
### Environment-variables
Set the following variables with the -e tag.
Set the following variables in the `environment:` section.
| Name | Usage | Default |
| ---------- | ------------- | ------- |
@ -25,7 +25,7 @@ Set the following variables with the -e tag.
<!---->
<!-- The environment variables are set via the `.env` file and listed in the -->
<!-- [corresponding section](#env). -->
<!---->
### Ports
Set the following ports in the `ports:` section.
@ -47,11 +47,11 @@ Set the following volumes with the -v tag.
```sh
```
### .env
```sh
```
<!-- ### .env -->
<!---->
<!-- ```sh -->
<!-- ``` -->
<!---->
### docker-compose.yml
```yml

View File

@ -10,10 +10,27 @@ It features Wi-Fi and [Bluetooth](/wiki/bluetooth.md).
Some variants of this chip also include LoRa-capability and can be used to communicate via
[Meshtastic](/wiki/meshtastic.md).
### Usage
The following sections address various usages and setups of the ESP32.
### Setup in Arduino IDE
For the ESP32 to work correctly in the Arduino IDE some things have to be set up.
This section addresses the steps to take to use the ESP32 with the Arduino IDE.
Under preferences set the following URL under `Additional boards manager URLs`.
`https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json`
Afterwards install the board manager `esp32`.
### Flash Firmware on the ESP32
This section especially focusses on the ESP32S3 microcontroller.
Make sure that the ESP32 is in [programming mode](#programming-mode).
For other microcontroller of the ESP32-xx family the process should be similar.
This following guide is written for [Windows](/wiki/windows.md).
- Download [ESP RF Test Tool and Test Guide](https://www.espressif.com/en/support/download/other-tools)
- Download [Firmware of ESP32S3](https://files.seeedstudio.com/wiki/SeeedStudio-XIAO-ESP32S3/res/XIAO-ESP32S3-firmware-20240814.zip)
@ -40,3 +57,16 @@ The board now should be in programming mode and it should be possible to upload
or firmware onto it.
This section is based on a Reddit
[comment by cmatkin](https://www.reddit.com/r/esp32/comments/1g8gerg/getting_a_write_timeout_error_on_my_esp32s3/).
### Troubleshooting
The following sections address various errors that can occur when using the ESP32.
#### Can Not Access the Microcontroller Under Linux
Sometimes the rights to access the ESP32 are set wrong.
To fix this run the following command.
```sh
sudo chmod 777 /dev/ttyACM0
```