Search found 9 matches

by ExtrasensoryNoob
Tue May 16, 2023 5:05 am
Forum: Hardware
Topic: Help needed for GPIO pins allocations for I2S and UART
Replies: 2
Views: 5167

Re: Help needed for GPIO pins allocations for I2S and UART

Did you ever figure this out? I'd like to know if GPI 39 (input only) will work. That pin doesn't have an internal pullup. I found this post saying with an external DAC any ESP32 pin can be used for any I2S signal. That sounds good, but how is it possible for the 4 GPI pins? Don't they need to outpu...
by ExtrasensoryNoob
Tue Apr 25, 2023 10:26 pm
Forum: Sample Code
Topic: I2S0 Clock (master clock) up to 80MHz derived from APLL clock
Replies: 14
Views: 77793

Re: I2S0 Clock (master clock) up to 80MHz derived from APLL clock

Alright, I found it can be done with i2s_set_pin and works fine with the Arduino libraries. I'm not sure how the magic in this thread works, but i2s_set_pin is straightfoward. Example: #include <Arduino.h> #include "driver/i2s.h" void setup () { Serial.begin(115200); i2s_config_t i2s_config = { .mod...
by ExtrasensoryNoob
Thu Apr 06, 2023 11:38 pm
Forum: Sample Code
Topic: I2S0 Clock (master clock) up to 80MHz derived from APLL clock
Replies: 14
Views: 77793

Re: I2S0 Clock (master clock) up to 80MHz derived from APLL clock

My I2S audio project requires MCLK (specifically the Xmos XVF3610). I'd like to use my ESP32, which lead me to this topic. Is this still the way to go? Is it possible to get MCLK on GPIO2 rather than 0? I've been using arduino-cli, so it seems I need to setup ESP IDF to try this. Is that right? Any ...
by ExtrasensoryNoob
Mon Mar 27, 2023 3:25 am
Forum: ESP32 Arduino
Topic: Not able to read ESP32-C3 serial output
Replies: 0
Views: 1134

Not able to read ESP32-C3 serial output

Edit: Turns out if I hold BOOT, press and release RESET, upload new code, then press RESET, my code does in fact run. Afterward I can upload without any of that and it reboots and runs my code. Why must such a gotcha exist? --- I've got a Xiao ESP32-C3. I plug in the built-in USB-C and use arduino-c...
by ExtrasensoryNoob
Sun Mar 27, 2022 2:50 pm
Forum: Hardware
Topic: wESP32 and 12v door locks
Replies: 5
Views: 3219

Re: wESP32 and 12v door locks

I've got the SSRs wired up, they seem to work great! Well, I don't have the door locks so I can't test with those (it will be months yet), but the relays are working like they should -- super easy to use. I've used optocouplers in the past for logic level signals, these SSRs seem like the next step....
by ExtrasensoryNoob
Sat Mar 26, 2022 12:25 pm
Forum: Hardware
Topic: wESP32 and 12v door locks
Replies: 5
Views: 3219

Re: wESP32 and 12v door locks

The door locks are motorized rather than using a solenoid. The only specs I have for the door locks are: 250mA max inrush, 10mA max holding.
by ExtrasensoryNoob
Tue Mar 22, 2022 5:34 pm
Forum: Hardware
Topic: wESP32 and 12v door locks
Replies: 5
Views: 3219

Re: wESP32 and 12v door locks

Thanks. True, a ready to use 2 channel module sounds pretty easy. Do you have a recommendation? There are a number of cheap mechanical relays that are easy to find, but I'd like to pay extra for quality and long life. I tried to find a solid state relay, but many have a load rating that is too high,...
by ExtrasensoryNoob
Mon Mar 21, 2022 1:50 pm
Forum: Hardware
Topic: wESP32 and 12v door locks
Replies: 5
Views: 3219

wESP32 and 12v door locks

I have two motorized door locks. To open they take 12V and the specs say: 250mA max inrush, 10mA max holding. I have a wESP32. It uses PoE and V+ provides 12V with 12.95+ W of power (1.079A). What's a good way to have the wESP32 open the door locks? I need to control them individually and at the sam...