Search found 5 matches

by densha
Wed Mar 28, 2018 9:11 am
Forum: General Discussion
Topic: Example to use C++ MQTT Client with ESP-IDF / FreeRTOS
Replies: 0
Views: 3013

Example to use C++ MQTT Client with ESP-IDF / FreeRTOS

I would like to use the MQTT Client from (https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/PubSubClient.cpp) to report temperature readings from a sensor I have. Are there any examples of using this client with FreeRTOS to publish and subscribe to MQTT broker floating around? All the ...
by densha
Tue Feb 27, 2018 7:04 am
Forum: General Discussion
Topic: ESP_LOGD causing crash
Replies: 2
Views: 4096

Re: ESP_LOGD causing crash

Angus

Perfect - Thanks.

Densha
by densha
Mon Feb 26, 2018 10:39 am
Forum: General Discussion
Topic: ESP_LOGD causing crash
Replies: 2
Views: 4096

ESP_LOGD causing crash

Hi Forum I am new to ESP32 and I have interfaced to my SHT31 sensor. However, when I use ESP_LOGD I am getting a crash and my ESP32 is rebooting. In the attached minimal example when I un-comment ESP_LOGD(tag, "i2c write start"); I get a crash. Could someone explain what I have done wrong and why th...
by densha
Sat Feb 24, 2018 8:41 am
Forum: General Discussion
Topic: Generate NMRA DCC Wave Form Using ESP32
Replies: 3
Views: 5090

Re: Generate NMRA DCC Wave Form Using ESP32

Thanks - I'll have a look at RMT. I have not come across that yet.

Could you suggest any examples generating a PWM or motor control signal I can learn from?

Thanks

Densha
by densha
Thu Feb 22, 2018 8:14 pm
Forum: General Discussion
Topic: Generate NMRA DCC Wave Form Using ESP32
Replies: 3
Views: 5090

Generate NMRA DCC Wave Form Using ESP32

Hi Forum I am learning how to program on the ESP32. I would like to implement the NMRA DCC Protocol https://en.wikipedia.org/wiki/Digital_Command_Control using the ESP32. Basically the DCC protocol can be used to control the model train speed and direction by varying the period of the voltage is app...