Page 1 of 1

Development using Arduino IDE

Posted: Wed Jan 03, 2024 1:27 am
by tahunus
Hello,
The only reference I found for using the ESP-S3-BOX-3 in Arduino IDE was in reference to the display and its library: https://esp32.com/viewtopic.php?f=44&t= ... no#p121644.

What libraries are available to use the onboard audio input/output and accelerometer?
Also for the sensors on the ESP32-S3-BOX-3-SENSOR (Temp&Hum Sensor, IR Emitter and Receiver, Radar Sensor).

Thanks!

Re: Development using Arduino IDE

Posted: Wed Jan 03, 2024 11:24 am
by Lvhaiyu
Hello, currently there are no official Arduino libraries for audio and sensor functionalities. If you wish to develop such features on the Arduino platform, you may try searching for relevant libraries in the open-source community.

Re: Development using Arduino IDE

Posted: Wed Jan 03, 2024 9:51 pm
by tahunus
Hi @Lvhaiyu,

Thanks for your response. I guess I got misguided by Espressif's claim: "...Not only does BOX-3 support ESP-IDF, but it also provides seamless integration with third-party development platforms, like Arduino, PlatformIO and CircuitPython. This allows developers to work with the development platform of their choice, providing them with greater flexibility and convenience...."

Since I bought two BOX-3's, I will start working on the issue. Do you know of a list of the sensor parts and specs contained in the BOX-3 and the BOX-3-SENSOR? That could be a starting point to look for libraries in C or C++. What libraries is the factory firmware use? Something in C I guess?

Thanks!

Re: Development using Arduino IDE

Posted: Sat Jan 06, 2024 6:49 pm
by mgsecord62
You should be able to find what you need about the hardware at:
https://github.com/espressif/esp-box/bl ... r_box_3.md

There is a sensor table that describes the parts being used and for more detail there are links to the schematics on the bottom of the page

Re: Development using Arduino IDE

Posted: Thu Jan 11, 2024 1:34 am
by tahunus
To start looking for relevant libraries, it would be very helpful to understand a couple of things.

What is the implemented pinout of ESP32S3 in the Box-3? There's this info on esp-bsp/bsp/esp-box-3 https://github.com/espressif/esp-bsp/bl ... sp-box-3.h, then there's this variant in the arduino-esp32 core (https://github.com/espressif/arduino-es ... _arduino.h) which differ from each other.

It is not clear from the hardware specs of the BOX-3 (https://github.com/espressif/esp-box/bl ... cification) if the sensors (ADC, DAC) for audio IN/OUT and the accel/gyro have direct pins or are connected via I2C, and if so, what is their I2C address

Many thanks!