Search found 8912 matches

by ESP_Sprite
Tue Mar 26, 2024 2:25 am
Forum: ESP32 Arduino
Topic: Seems to program but won't run code
Replies: 4
Views: 285

Re: Seems to program but won't run code

Just to check, C7/C8 are not populated on your board, right? (They shouldn't be, a capacitor there will interfere with USB)
by ESP_Sprite
Tue Mar 26, 2024 2:21 am
Forum: ESP-IDF
Topic: ESP32, UART2 uart_write_bytes, no serial output
Replies: 6
Views: 345

Re: ESP32, UART2 uart_write_bytes, no serial output

Yes, that should happen. (Although you should *not* connect the 3.3V line, as it's an output on both the devboard and FTDI board side.) Can you sanity-check your setup by connecting the Tx and Rx of the FTDI board together (disconnect them from the ESP32) and typing something on the minicom connecte...
by ESP_Sprite
Tue Mar 26, 2024 2:16 am
Forum: ESP-IDF
Topic: Using ADC1 triggers the watchdog
Replies: 3
Views: 219

Re: Using ADC1 triggers the watchdog

Can you try to change over to the newer driver, see if that makes a difference?
by ESP_Sprite
Tue Mar 26, 2024 2:11 am
Forum: Hardware
Topic: Which Esp32 should be chosen in terms of current draw at the time of data reading?
Replies: 2
Views: 106

Re: Which Esp32 should be chosen in terms of current draw at the time of data reading?

If you only take the measurement to accumulate them to later send as a batch, any chip with a low-power coprocessor may be able to do that; that CPU tends to use a fraction of what the main chip uses. I'd suggest the ESP32-C6 in particular for that as we improved the low-power coprocessor by a lot i...
by ESP_Sprite
Tue Mar 26, 2024 2:04 am
Forum: General Discussion
Topic: What are hardware issues behind Vl6180x didnot light up or blink?
Replies: 2
Views: 269

Re: What are hardware issues behind Vl6180x didnot light up or blink?

Can you post your source code? Do you get any messages on the serial terminal that may lead us in the right direction? Checked all your connections to see if they're in the right locations and connect properly? What did you try to debug the issue by yourself already?
by ESP_Sprite
Mon Mar 25, 2024 1:16 pm
Forum: ESP-IDF
Topic: ESP32, UART2 uart_write_bytes, no serial output
Replies: 6
Views: 345

Re: ESP32, UART2 uart_write_bytes, no serial output

Well, if you have a devboard, the USB-to-serial chip that is n that is likely hardwired to GPIO1 and GPIO3. In other words: if you have serial communication on GPIO16 and 17, the chip won't have any connections to those pins and won't see the serial output.
by ESP_Sprite
Mon Mar 25, 2024 2:41 am
Forum: ESP-IDF
Topic: Why is it not good practice to call esp_wifi_connect() after esp_wifi_disconnect()?
Replies: 11
Views: 87410

Re: Why is it not good practice to call esp_wifi_connect() after esp_wifi_disconnect()?

Because esp_wifi_disconnect() doesn't disconnect WiFi and then return; rather it tells the WiFi stack to initiate a disconnect. The WiFi stack will then in the background go through all things needed to disconnect gracefully (e.g. inform the AP that the connection is broken) and will finally return ...
by ESP_Sprite
Mon Mar 25, 2024 2:00 am
Forum: ESP32 Arduino
Topic: [ESP32 Dev Kit] ADC pin readings always HIGH with external battery connected
Replies: 2
Views: 183

Re: [ESP32 Dev Kit] ADC pin readings always HIGH with external battery connected

The reference voltage for the internal ADC is not 3.3V, it's about 1.1V, with an internal attenuator that can scale the input voltage down to that range if needed. You're probably better off changing your voltage divider to divide the battery voltage to something around 0.5V and using 0DB as attenua...
by ESP_Sprite
Mon Mar 25, 2024 1:55 am
Forum: ESP-IDF
Topic: ESP32, UART2 uart_write_bytes, no serial output
Replies: 6
Views: 345

Re: ESP32, UART2 uart_write_bytes, no serial output

Just to check: you also re-wired your USB-to-serial thing to connect to the new GPIOs?
by ESP_Sprite
Mon Mar 25, 2024 1:52 am
Forum: ESP-IDF
Topic: i2s_pdm example - accessing raw pdm data
Replies: 2
Views: 250

Re: i2s_pdm example - accessing raw pdm data

Note that you may be able to work around this by configuring the I2S peripheral in normal (I2S) mode with the correct parameters for the PDM serial format; you should be able to receive the raw samples that way (but you won't have access to the decoded samples as the decoder isn't used.)