Search found 16 matches

by horace99
Sun Jan 19, 2025 11:04 am
Forum: ESP32 Arduino
Topic: ESP32 I2C randomly stops working
Replies: 2
Views: 2109

Re: ESP32 I2C randomly stops working

I have one TCS34725 so could not carry out full test but running the following on an ESP32 #include <Wire.h> #include "Adafruit_TCS34725.h" Adafruit_TCS34725 leftColorSensor = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_180MS, TCS34725_GAIN_16X); TwoWire i2c_left = TwoWire(0); Adafruit_TCS34725 right...
by horace99
Sun Jan 19, 2025 6:44 am
Forum: ESP32 Arduino
Topic: ESP32 I2C randomly stops working
Replies: 2
Views: 2109

Re: ESP32 I2C randomly stops working

try running https://wokwi.com/projects/350122233155289684 which scans Wire and Wire1 for I2C devices
by horace99
Sat Jan 18, 2025 3:02 pm
Forum: ESP32 Arduino
Topic: Can I attach multiple alarms to one Timer?
Replies: 5
Views: 4487

Re: Can I attach multiple alarms to one Timer?

try // ESP32 timer interrupts - three pulses 100Usec 350uSec 750uSec #define pin 19 hw_timer_t *timer = NULL; // timer ISR invert pin level volatile int counter = 0; void ARDUINO_ISR_ATTR onTimer() { static int timer1=350; counter++; // digitalWrite(pin, !digitalRead(pin)); gpio_set_level((gpio_num_...
by horace99
Sun Nov 03, 2024 12:11 pm
Forum: ESP32 Arduino
Topic: Serial monitor strange behavior started after recent updates
Replies: 3
Views: 2462

Re: Serial monitor strange behavior started after recent updates

there have been problems with some libraries with migration from ESP32 Arduino Core 2.x to 3.0 https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html you have probably been updated to Core V3.0.7 using Tools>Board>Board Manger try reinstalling V2.0.17 if your pr...
by horace99
Tue Oct 29, 2024 9:52 am
Forum: ESP32 Arduino
Topic: need help with esp32-wroom-S nodemcu with ads1252 module
Replies: 2
Views: 1361

Re: need help with esp32-wroom-S nodemcu with ads1252 module

try a web search for ADS1252 Arduino - you will get plenty of links
in particular https://github.com/aeonSolutions/AeonLa ... no-Library
by horace99
Sun Oct 27, 2024 9:20 am
Forum: ESP32 Arduino
Topic: UDA1334 i2s DAC with ESP32 - sketch too big
Replies: 1
Views: 1257

Re: UDA1334 i2s DAC with ESP32 - sketch too big

try changing the Partition scheme
click Tools>Board select ESP32 Dev Board under Partition Scheme select Huge App
by horace99
Sat Oct 26, 2024 11:16 am
Forum: Hardware
Topic: in search of a breakout board
Replies: 5
Views: 2039

Re: in search of a breakout board

there are modules with ESP32 and Ethernet on board, e.g. the WT32-eth01https://github.com/egnor/wt32-eth01, the ESP32-Ethernet-Kit v1.2 https://docs.espressif.com/projects/esp ... guide.html, etc
by horace99
Sun Oct 20, 2024 5:02 am
Forum: ESP-IDF
Topic: Is there a way to get the number assigned to a COM port emulated by CDC?
Replies: 11
Views: 4114

Re: Is there a way to get the number assigned to a COM port emulated by CDC?

what software are you running on the PC?
how do you tell it which COM port to use?
by horace99
Sat Oct 19, 2024 12:47 pm
Forum: ESP-IDF
Topic: Is there a way to get the number assigned to a COM port emulated by CDC?
Replies: 11
Views: 4114

Re: Is there a way to get the number assigned to a COM port emulated by CDC?

when connecting microcontrollers to PCs where the Windows COM port or Linux /dev/ttyUSB* port is unknown I usually have the host software (implemented in C++, C#, Java, etc) cycle thru the connected serial ports transmitting a prompt (e.g. a "?") to each device in turn the target device would be pro...