Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ESP32-S3 #56

Closed
xtrmenl opened this issue Nov 25, 2024 · 4 comments · Fixed by #62
Closed

Support for ESP32-S3 #56

xtrmenl opened this issue Nov 25, 2024 · 4 comments · Fixed by #62
Labels
documentation Improvements or additions to documentation

Comments

@xtrmenl
Copy link

xtrmenl commented Nov 25, 2024

i just got this working on a Cheap ESP32-S3 nano (8MB version), which is pin compatible, but less then half the price of the arduino

[env:esp32-s3-devkitc-1] platform = espressif32 board = esp32-s3-devkitc-1 board_build.mcu = esp32s3 framework = arduino build_flags = -std=c++11 lib_deps = locoduino/[email protected] FrankBoesing/[email protected] PaulStoffregen/[email protected] 256dpi/[email protected] adafruit/Adafruit [email protected] adafruit/[email protected] [email protected] [email protected] https://github.com/denyssene/SimpleKalmanFilter.git#v0.2 [email protected]

to be added to the Platformio

@tspopp
Copy link
Owner

tspopp commented Nov 25, 2024

You might want to share a link to the esp32 you bought and I will add this to the instructions. I can also add another environment to the platformio.ini. Thanks for leaving this comment 👍

@tspopp tspopp added the documentation Improvements or additions to documentation label Nov 25, 2024
@xtrmenl
Copy link
Author

xtrmenl commented Nov 26, 2024

the exact part is this one

https://www.aliexpress.com/item/1005007291319086.html
ESP32-S3-Nano Development Board Based on ESP32-S3R8 For Arduino

on the pcb it states waveshare esp32-s3-nano
as aliexpress links do not always last this is the manufacturer site
https://www.waveshare.com/wiki/ESP32-S3-Nano

@sebcaps
Copy link

sebcaps commented Dec 28, 2024

Hello @xtrmenl ,
Did you finally managed to use this board ? Can you confirm it's OK ?
Thx

@BmdOnline
Copy link
Contributor

I managed to use this board, but with some changes.
Add these lines to platformio.ini.
Pay attention to build_flags directives -DARDUINO_USB_CDC_ON_BOOT=1 and -DARDUINO_USB_DFU_ON_BOOT=1

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.mcu = esp32s3
framework = arduino
build_flags =
  -std=c++11
  -DARDUINO_USB_CDC_ON_BOOT=1
  -DARDUINO_USB_DFU_ON_BOOT=1
#upload_protocol = espota
#upload_port = 192.168.188.62
lib_deps =
    locoduino/[email protected]
    FrankBoesing/[email protected]
    PaulStoffregen/[email protected]
    256dpi/[email protected]
    adafruit/Adafruit [email protected]
    adafruit/[email protected]
    [email protected]
    [email protected]
    https://github.com/denyssene/SimpleKalmanFilter.git#v0.2
    [email protected]

Then, I have to change pins definition into Configuration.h.
Instead of D2 to D5, I have to use GPIO #

constexpr uint8_t GPIO_MAIN_RX = 5;
constexpr uint8_t GPIO_MAIN_TX = 6;
constexpr uint8_t GPIO_HMI_RX  = 7;
constexpr uint8_t GPIO_HMI_TX  = 8;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants