Search found 9 matches

by drmpf321
Sat Aug 20, 2022 2:28 am
Forum: General Discussion
Topic: SPIFFS: mount failed, -10025
Replies: 1
Views: 2168

Re: SPIFFS: mount failed, -10025

I am getting this error on an ESP32C3 also.
Using version 2.0.4 of board install.
BUT.. still seems to mount some time later.
by drmpf321
Fri Apr 29, 2022 6:58 am
Forum: General Discussion
Topic: esp32-c3 ble-uart : how to transmit more than 20 bytes in payload ?
Replies: 4
Views: 11075

Re: esp32-c3 ble-uart : how to transmit more than 20 bytes in payload ?

This code, generated by the free pfodDesignerV3 Andriod app, uses the bleBufferedSerial class to sends and receives unlimited UART data, in 20 byte blocks. Just write/read to/from the bleBufferedSerial (see https://www.forward.com.au/pfod/ESP32/index.html for a tutorial on using pfodDesignerV3 for E...
by drmpf321
Fri Apr 29, 2022 6:04 am
Forum: General Discussion
Topic: How to use UART on ESP32-C3 devkitc-02 to read UART ultrasonic sensor
Replies: 7
Views: 6085

Re: How to use UART on ESP32-C3 devkitc-02 to read UART ultrasonic sensor

Here is an example of using the second UART on ESP32 C3 Remember to connect the ultrasonic TX to pin4 (ESP32 C3 RX) and the ultrasonic RX to pin5 (ESP32 C3 TX) // ESP32 C3 SERIAL1 (second UART) void setup() { Serial.begin(115200); Serial1.begin(115200,SERIAL_8N1, 4,5); //int8_t rxPin=4, int8_t txPin...
by drmpf321
Fri Apr 29, 2022 6:01 am
Forum: ESP32 Arduino
Topic: ESP32-C3 serial1 not working
Replies: 5
Views: 12896

Re: ESP32-C3 serial1 not working

// ESP32 C3 SERIAL1 (second Uart) void setup() { Serial.begin(115200); Serial1.begin(115200,SERIAL_8N1, 4,5); //int8_t rxPin=4, int8_t txPin=5 } void loop() { if (Serial.available()) { // If anything comes in Serial (USB), Serial1.write(Serial.read()); // read it and send it out Serial1 (pins 4 & 5...
by drmpf321
Thu Oct 24, 2019 10:42 pm
Forum: ESP32 Arduino
Topic: How to set ware levelling Safety mode in Arduino ESP add on
Replies: 4
Views: 5564

Re: How to set ware levelling Safety mode in Arduino ESP add on

I am using the Arduino IDE ESP32 add on V1.0.2. A search of the code supplied with that package does not find CONFIG_WL_SECTOR_MODE which sets the performance/safe leveling when the sector size is 512, so I cannot change the from the default Performance setting in this case, the SD case. I dug a bit...
by drmpf321
Thu Oct 24, 2019 8:59 am
Forum: ESP32 Arduino
Topic: How to set ware levelling Safety mode in Arduino ESP add on
Replies: 4
Views: 5564

How to set ware levelling Safety mode in Arduino ESP add on

I found the
#if CONFIG_WL_SECTOR_MODE == 1
in esp-idf wear_levelling.cpp

but a search of ESP 1.0.2 package for Arduino does not include this define.

How can I set Safety mode for ware levelling in the Arduino ESP32 add on?
by drmpf321
Mon Oct 07, 2019 8:11 am
Forum: ESP32 Arduino
Topic: timers in esp32
Replies: 11
Views: 28522

Re: timers in esp32

For Arduino timers see my instructable
Coding Timers and Delays in Arduino https://www.instructables.com/id/Coding ... n-Arduino/
by drmpf321
Sun Sep 29, 2019 12:28 am
Forum: General Discussion
Topic: How to work with 3 SPI slaves in Arduino ESP32 add-on
Replies: 2
Views: 3882

Re: How to work with 3 SPI slaves in Arduino ESP32 add-on

Thanks for the tip.
I have enough pins for the extra CS.
The ESP32 docs says you can specify 3 CS pins for one SPI channel and then just use 'handles' to preform SPI on each device.
It is not clear how to do this in the ESP32 Arduino addon which does not use SPI handles.
by drmpf321
Fri Sep 27, 2019 9:07 am
Forum: General Discussion
Topic: How to work with 3 SPI slaves in Arduino ESP32 add-on
Replies: 2
Views: 3882

How to work with 3 SPI slaves in Arduino ESP32 add-on

I am trying to control 3 SPI slaves from one SPI connection using the Arduino add-on for ESP32. I can see that the 'standard' SPI is using CS0 but it is not clear to me how to set CS1 and CS2 and how to switch between them. The ESP32 docs talk about spi_bus_add_device( ), but the Arduino esp32_hal_s...