Search found 94 matches
- Thu Jun 09, 2022 12:52 pm
- Forum: General Discussion
- Topic: ABZ Encoder
- Replies: 9
- Views: 5638
Re: ABZ Encoder
You should use an interrupt handler. gpio_isr_handler_add would be a starting point. As the doc says, do the least work you can in the isr handler, update state information and return. Don't call anything. Use an async task to consume the state information. The state information lives in static var...
- Mon May 23, 2022 3:17 pm
- Forum: ESP-IDF
- Topic: Bootstrap implementation using SPIFFs
- Replies: 5
- Views: 3392
Re: Bootstrap implementation using SPIFFs
boarchuz last two suggestions are really good.
- Mon May 23, 2022 11:17 am
- Forum: ESP-IDF
- Topic: Bootstrap implementation using SPIFFs
- Replies: 5
- Views: 3392
Re: Bootstrap implementation using SPIFFs
Use EMBED_TXTFILES for text files to get a trailing NULL character to terminate the string. Whatever parses the text may depend on the NULL, which is not part of the file's data.
- Sun May 22, 2022 4:21 pm
- Forum: General Discussion
- Topic: obd2
- Replies: 1
- Views: 2113
Re: obd2
I don't know anything about OBD and CAN bus, but it looks like fun. Lots of links on the web... https://www.seeedstudio.com/OBD-II-CAN-BUS-Development-Kit-p-2993.html https://os.mbed.com/cookbook/OBDII-Can-Bus My reading: the CAN bus must have some signal conversion hardware: ... wires are called CA...
- Fri May 20, 2022 10:09 am
- Forum: General Discussion
- Topic: Restart the ESP32
- Replies: 4
- Views: 2523
Re: Restart the ESP32
https://www.espressif.com/sites/default ... eet_en.pdf near page 20 has power-on-reset info.
- Fri May 20, 2022 9:58 am
- Forum: General Discussion
- Topic: Restart the ESP32
- Replies: 4
- Views: 2523
Re: Restart the ESP32
I am not a hardware expert. I think this might have some good ideas about power-on reset circuits.
https://www.maximintegrated.com/en/desi ... /3227.html
https://www.maximintegrated.com/en/desi ... /3227.html
- Fri May 20, 2022 1:47 am
- Forum: ESP-IDF
- Topic: How to remove PWM signal from GPIO14?
- Replies: 11
- Views: 6142
Re: How to remove PWM signal from GPIO14?
Thanks @mbratch! I studied some more and now understand my case. The document "ESP32 Series Datasheet" page 62, appendix A, "IO Mux" describes pins after reset, some not enabled, some Input enabled, and if input enabled with a weak pull up, pull down, or neither. The weak pull up and weak pull down ...
- Thu May 12, 2022 2:54 pm
- Forum: ESP-IDF
- Topic: How to remove PWM signal from GPIO14?
- Replies: 11
- Views: 6142
Re: How to remove PWM signal from GPIO14?
https://randomnerdtutorials.com/esp32-p ... nce-gpios/ does show a pwm signal during boot on several pins for some device. That is consistent with my experience too. I live with it; it makes an unusual 7-seg display until the boot is finished. I wish I'd rearranged the pinout to hide it.
- Thu May 12, 2022 2:27 pm
- Forum: ESP32 Arduino
- Topic: Sending array by using wifi
- Replies: 10
- Views: 6395
Re: Sending array by using wifi
https://arduinojson.org/
has the details on parsing the JSON
has the details on parsing the JSON
- Thu May 12, 2022 1:34 pm
- Forum: ESP32 Arduino
- Topic: Sending array by using wifi
- Replies: 10
- Views: 6395
Re: Sending array by using wifi
All the top google hits seem to use ArduinoJSON library. https://randomnerdtutorials.com/decoding-and-encoding-json-with-arduino-or-esp8266/ https://www.learnrobotics.org/blog/parse-json-data-arduino/ The data you have, 1,2,3,4,5 is binary. JSON is a way to package the binary data as a printable str...