Search found 7 matches

by wjquigs
Fri Jun 21, 2024 6:38 pm
Forum: General Discussion
Topic: how to see ESPNOW send error code?
Replies: 3
Views: 1769

Re: how to see ESPNOW send error code?

Thanks, that was helpful. It looks like my problem is more about channel selection on my mesh network.
by wjquigs
Wed Jun 19, 2024 4:49 am
Forum: General Discussion
Topic: how to see ESPNOW send error code?
Replies: 3
Views: 1769

how to see ESPNOW send error code?

Two questions: first, I am sending a small (12 byte) struct from one ESP32 to another, and returning an ack. The exchange frequently fails. The esp_now_send() never fails, and always returns ESP_OK. However, the send callback returns failure most of the time. When I check the status in the callback,...
by wjquigs
Sat Dec 02, 2023 2:17 am
Forum: Hardware
Topic: confused about GPIO vs IO
Replies: 0
Views: 5366

confused about GPIO vs IO

A development board manufacturer included the attached diagram of the ESP32 module. I'm confused as to the relationship between GPIO and IO. Why would GPIOs be mapped to completely arbitrary pins? If I want to connect a CAN transceiver, can I simply #define CAN_RX_PIN GPIO_NUM_26 and connect the mod...
by wjquigs
Fri Nov 03, 2023 10:02 pm
Forum: ESP-IDF
Topic: Getting 5V for MCP2515
Replies: 2
Views: 2505

Getting 5V for MCP2515

When I'm using an ESP32 devkit plugged into USB, I get 5V to power an MCP2515 SPI CAN bus shield. However, in "production" I will be using an ESP32 board running from a 12V CAN bus, so I only have 12V and 3.3V. What's the simplest way to get the 5V necessary for the MCP2515 (which will not work at 3...
by wjquigs
Mon Oct 16, 2023 3:01 pm
Forum: General Discussion
Topic: RS485 read/write
Replies: 2
Views: 4902

Re: RS485 read/write

I switched back to transceivers with termination resistors, changed power to the transceivers to 3.3V, connected the transceiver grounds to each other, and confirmed all my pins were correct. I also disconnected DI from GPIO 17 on the receiver side. Same result.
by wjquigs
Sun Oct 15, 2023 8:24 pm
Forum: General Discussion
Topic: RS485 read/write
Replies: 2
Views: 4902

RS485 read/write

I have two ESP32 development boards connected using RS485 MAX serial transceivers. Following other threads in this forum, I configured one as a sender and one as a receiver. They seem to be communicating but the data is gibberish. I'm sending ints starting at 65 which should show up as ASCII 'A', bu...
by wjquigs
Fri Aug 11, 2023 9:55 pm
Forum: ESP32 Arduino
Topic: ESP32 script hanging on 'adc.readADC_SingleEnded'
Replies: 3
Views: 3826

Re: ESP32 script hanging on 'adc.readADC_SingleEnded'

Hello,
I'm having the same problem. I tried 5k and 2k resistors between SCL/SDA and +3.3V and that didn't change anything. Any recommendations?
Thanks.
William
2023-08-11 14.53.57.jpg
2023-08-11 14.53.57.jpg (7.97 MiB) Viewed 1624 times