Search found 83 matches

by cmorgan
Mon Nov 20, 2017 7:49 pm
Forum: ESP32 IDF
Topic: OTA clarification
Replies: 32
Views: 17520

Re: OTA clarification

Thanks for the pointers and the example code!
by cmorgan
Mon Nov 20, 2017 6:38 pm
Forum: ESP32 IDF
Topic: Frozen RS232 device with ESP32 + TTL Converter
Replies: 5
Views: 5065

Re: Frozen RS232 device with ESP32 + TTL Converter

It doesn't look like the MAX3232 has any enable/disable or flow control support although maybe the digital inputs are intended for that purpose. So I'm thinking it isn't the MAX3232 causing the issue, is the other end of the device expecting flow control (a computer?) I don't see how strapping that ...
by cmorgan
Mon Nov 20, 2017 2:50 am
Forum: ESP32 IDF
Topic: Frozen RS232 device with ESP32 + TTL Converter
Replies: 5
Views: 5065

Re: Frozen RS232 device with ESP32 + TTL Converter

Is there hardware flow control on the RS232 device? I've seen cases where the flow control wasn't connected and depending on environmental factors, temperature, humidity etc, the floating flow control lines would cause communications to stop in one direction or the other.
by cmorgan
Sat Nov 18, 2017 3:44 pm
Forum: ESP32 IDF
Topic: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?
Replies: 6
Views: 3031

Re: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?

Active drive is probably only a problem with multiple parasite power devices doing simultaneous conversions. But you should enable open drain mode in init either way. I'll probably add some notes to esp32-owb about the issue. I'd feel like I was doing the user a disservice if I was enabling the pin...
by cmorgan
Sat Nov 18, 2017 2:37 am
Forum: ESP32 IDF
Topic: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?
Replies: 6
Views: 3031

Re: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?

Why heavily modified? Why did you take out the open drain, active drive stuff? The idea was to support the gpio and rmt implementation in parallel until the rmt implementation was known to be working well. esp32-owb also seemed to have a cleaner search implementation. I also wanted to encapsulate t...
by cmorgan
Sat Nov 18, 2017 1:26 am
Forum: ESP32 IDF
Topic: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?
Replies: 6
Views: 3031

Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?

Hello. I'm working with David Antliff to implement hardware support in esp32-owb, 1-Wire component for esp32/esp-idf. I have a preliminary driver, originally based on the nodemcu rmt driver but heavily modified at https://github.com/chmorgan/esp32-owb/commit/f3a9dbadbdb84912fc986c23df5266c2ec93b025 ...
by cmorgan
Mon Nov 13, 2017 6:11 pm
Forum: ESP32 IDF
Topic: Adding timeouts to the wifi event loop (adding user defined system events)
Replies: 1
Views: 1585

Re: Adding timeouts to the wifi event loop (adding user defined system events)

In case anyone is interested I ended up marshalling the events over to another task and processing them there. I could have kept the processing in the other task but the errors on the console were making it difficult to see when real errors occurred. The event code could have been modified to add an...
by cmorgan
Thu Nov 09, 2017 3:20 am
Forum: ESP32 IDF
Topic: Adding timeouts to the wifi event loop (adding user defined system events)
Replies: 1
Views: 1585

Adding timeouts to the wifi event loop (adding user defined system events)

Hello. As the ESP32 has a softAP, the AP channel has to follow the radio channel. This means that in APSTA mode when scanning to join a STA the connections to the AP are lost. To handle this I'm adding a higher level state machine to the wifi event loop and switching between AP, STA, and APSTA mode ...
by cmorgan
Tue Oct 31, 2017 6:52 pm
Forum: ESP32 IDF
Topic: Rest Interface support for ESP32
Replies: 9
Views: 5792

Re: Rest Interface support for ESP32

Hi @ritesh. I had some time and updated Sprite's example to work for ESP32 and the latest libesphttpd. You can find it here:

https://github.com/chmorgan/esphttpd-freertos
by cmorgan
Sun Oct 29, 2017 7:18 pm
Forum: ESP32 IDF
Topic: Rest Interface support for ESP32
Replies: 9
Views: 5792

Re: Rest Interface support for ESP32

Hello @cmorgan I tried your both examples as you suggested 1) https://github.com/chmorgan/libesphttpd_linux_ In this example, even if i followed read-me steps properly ,but when I tried to run make file its following error. [ 4%] Performing configure step for 'esphttpd' CMake Error at /usr/local/sh...

Go to advanced search