Skip to main content
1 of 4

How to connect an arduino uno with esp01 to the iot cloud?

I have been trying to connect to the IoT cloud using my arduino uno and esp 01.

IoT cloud does not recognize my device as a genuine. Hence, I've been trying to create a thing and connecting it as a third-party device. I have an esp-01 wifi module that I want to use to connect to the IoT cloud.

I tried the following connection:

Arduino --> ESP-01
3.3V ------> 3v3
3.3V ------> EN(CH_PD)
TX(1) ------> TX
RX(0) ------> RX
GND ------> GND

I also tried to reverse the connections of RX and TX pins. Still no success. I want to connect to the cloud and using some sensors update the cloud variables. How do I do it? Any kind of help is highly appreciated.

PS: I am new to this stuff.

Thanks.

Edit: I tried to upload the code that cloud editor provided and it throws and error saying fatal error: list: No such file or directory #include <list>.