Search found 13 matches

by kian79
Thu Jul 18, 2019 3:05 am
Forum: ESP32 Arduino
Topic: Using Timer Interrupt and Reload Timer
Replies: 1
Views: 128

Using Timer Interrupt and Reload Timer

Hi all, I have setup a timer interrupt to trigger every 5 seconds. However if a button is pressed before 5 seconds is up, the timer should restart again. Is there a way to reload the timer without having to reinitalise the timer all over again? Currently only this works: Serial.println("Reload Timer...
by kian79
Thu Jul 18, 2019 2:35 am
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 389

Re: How to receive message from the cloud when using deep sleep

Hi WiFive, Thank you for the reply. Indeed that was the problem. The WebSocket UI on CloudMQTT does not allow publishing with QOS 1. I have used another program to connect to CloudMQTT and I can now publish with QOS 1 and the ESP32 setup can now receive messages when it wakes up from deep sleep and ...
by kian79
Thu Jul 11, 2019 11:10 am
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 389

Re: How to receive message from the cloud when using deep sleep

Hi all, I tried to allow persistent connections and also enable QOS level 1 but its not working. I am connected to the broker (on CloudMQTT) using this line: client.connect("ESP32Client", mqttUser, mqttPassword,"lastwill",1,0,"Disconnect",0 ) And I am subscribing to a topic with QOS 1: client.subscr...
by kian79
Wed Jul 10, 2019 11:44 pm
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 389

Re: How to receive message from the cloud when using deep sleep

Thanks @WiFive !

I google and found more information. I will try it out soon.

https://github.com/knolleary/pubsubclient/issues/86
by kian79
Wed Jul 10, 2019 8:39 am
Forum: General Discussion
Topic: How to receive MQTT messages after deep sleep?
Replies: 2
Views: 333

Re: How to receive MQTT messages after deep sleep?

Hi, Has the problem been solved? Because I am having the same issues. I am following the pseudocode suggested by @danwat, but it is still not working. I am using the WebSocket UI inside CloudMQTT to publish some data to a topic. If the message is published when the ESP32 is sleeping, after the ESP32...
by kian79
Wed Jul 10, 2019 8:06 am
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 389

How to receive message from the cloud when using deep sleep

Hi all, I am quite new to ESP32 and would need some advise. My project requirements are as follows: I have an ESP32 that goes to deep sleep and wakes up every one minute to check if there is any new data to receive from the cloud. On the other end, I have a mobile app that sends a message to the clo...
by kian79
Thu Jun 20, 2019 12:53 pm
Forum: General Discussion
Topic: ESP32 with Alkaline Batteries
Replies: 2
Views: 263

ESP32 with Alkaline Batteries

Hi all, Anyone here has developed or worked on applications for the ESP32 using standard alkaline batteries? I was originally intending to use a CR2032 lithium battery for an ESP32 project, but read on the forum that this is not possible given that the ESP32 requires a large current for Wifi. Hence ...
by kian79
Wed Jun 19, 2019 1:23 am
Forum: Hardware
Topic: Different ESP32 -WROOM-32 Module Suppliers
Replies: 2
Views: 234

Re: Different ESP32 -WROOM-32 Module Suppliers

The cheap ones have Espressif and FCC logos too. So there is no way to tell if its real or fake or if the quality is good or bad.
by kian79
Tue Jun 18, 2019 9:21 am
Forum: Hardware
Topic: Different ESP32 -WROOM-32 Module Suppliers
Replies: 2
Views: 234

Different ESP32 -WROOM-32 Module Suppliers

Hi all, I notice that there are so many ESP32 module suppliers in China. For the ESP32-WROOM-32 module, some can be as cheap as US$1.6 while some goes for as much as US$3.34. They all look the same but yet have a large difference in price. I suspect some of them use cheap components and might have p...
by kian79
Fri Jun 14, 2019 12:46 am
Forum: Hardware
Topic: Pullup resistor for EN and BOOT Button
Replies: 3
Views: 446

Re: Pullup resistor for EN and BOOT Button

Hi chegewara,

Thanks for sharing the link. In the PDF, I saw this line:
The EN pin is used for enabling the chip. Set the EN pin high for normal working mode. There is no RC
delay circuit on the module. It is recommended that users add an external RC delay circuit to the module.

Go to advanced search