Search found 34 matches

by horace99
Sat Mar 07, 2026 6:22 pm
Forum: ESP32 Arduino
Topic: ESP32-S2 UART0 not receiving data from Arduino Micro (5V→3.3V with voltage divider) — HID project
Replies: 2
Views: 144

Re: ESP32-S2 UART0 not receiving data from Arduino Micro (5V→3.3V with voltage divider) — HID project

try GPIO4 and GPIO5, e.g.

Code: Select all

#define RXD1 4
#define TXD1 5

void setup() {
  // initialize both serial ports:
  Serial.begin(115200);   // note Serial is on the TX and RX pins NOT the USB
  delay(2000);
  Serial1.begin(9600, SERIAL_8N1, RXD1, TXD1);
by horace99
Sun Nov 30, 2025 8:06 am
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: No serial data received.
Replies: 6
Views: 5179

Re: A fatal error occurred: Failed to connect to ESP32: No serial data received.

I found that the latest drivers installed on Windows 10 and 11 don't work with some dev boards using the CH340, e.g. a ESP32-CAM and some ES8266
I rolled back the driver following instructions in https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all to version 3.4.2014.8
win10 and 11 ...
by horace99
Sun Nov 16, 2025 10:25 am
Forum: ESP32 Arduino
Topic: Serial.begin() leads to build errors
Replies: 1
Views: 4601

Re: Serial.begin() leads to build errors

can you post the program which gave the error messages?
by horace99
Wed Oct 29, 2025 10:48 am
Forum: ESP32 Arduino
Topic: Windows 11: Bluetooth Serial connects then immediately disconnects
Replies: 1
Views: 3441

Windows 11: Bluetooth Serial connects then immediately disconnects

using Arduino IDE 2.3.4 ESP32 core 3.3.2 running Bluetooth Classic example SerialToSerialBT serial monitor displays


The device with name "ESP32-BT-Slave" is started.
Now you can pair it with Bluetooth!

Android phone connects OK and transfers data using Bluetooth terminal app

However ...
by horace99
Sat Oct 11, 2025 5:11 am
Forum: ESP32 Arduino
Topic: No Response from SIMCOM A7670C When Connected to ESP32-C6 via UART (Arduino IDE)
Replies: 3
Views: 3161

Re: No Response from SIMCOM A7670C When Connected to ESP32-C6 via UART (Arduino IDE)

try this code

// ESP32-C6_Dev_Board SIM_A7670E Serial1 test - for loopback test connect pins RX and TX
// https://learn.adafruit.com/adafruit-esp32-c6-feather/pinouts

// NOTE: enable "USB CDC on Boot"
// NOTE: SIM_A7670E requires 5V power

#define RXD1 4 // RX
#define TXD1 5 // TX

// for RS232 ...
by horace99
Thu Oct 09, 2025 5:43 am
Forum: ESP32 Arduino
Topic: Fatal Compile Error(s)
Replies: 5
Views: 6739

Re: Fatal Compile Error(s)

the code of post 1 compiles and links OK on my PC
Windows 11 Arduino IDE 2.3.4 ESP32 core 3.3.2

which ESP32 core are you using?
have you tried the BLE examples under File>Examples>BLE ?
by horace99
Fri Aug 01, 2025 5:28 am
Forum: ESP32 Arduino
Topic: Compiling error
Replies: 6
Views: 1102

Re: Compiling error

have a look at the section on LEDC in https://docs.espressif.com/projects/ard ... o_3.0.html which gives details the new APIs
by horace99
Tue Jul 29, 2025 6:05 am
Forum: ESP32 Arduino
Topic: ESP-32-C3 0.42 OLED ESP-NOW Wifi PWM
Replies: 4
Views: 827

Re: ESP-32-C3 0.42 OLED ESP-NOW Wifi PWM

did you try the code in my previous post which worked on a ESP32-C3-MINI-1 ?
did it compile, link and upload OK? if not what errors did you get?
did it work? if not what was the serial monitor output?
by horace99
Mon Jul 28, 2025 8:07 am
Forum: ESP32 Arduino
Topic: ESP-32-C3 0.42 OLED ESP-NOW Wifi PWM
Replies: 4
Views: 827

Re: ESP-32-C3 0.42 OLED ESP-NOW Wifi PWM

found an example ESP-NOW code which may help
NOTE: ESP-NOW has changed from ESP32 core 2.x to 3.x - see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_now.html
you may find some of the example code online is using ESP32 core V2

ESP-NOW transmitter works using ...

Go to advanced search