i own a website and i want to control arduino through my website remotely from anywhere (not from the same local wifi network). But i am newbie and dont know much about IOT. the tutorials i have seen use either local wifi network or they have nodeMCU or esp32. I have thre knowledge of web developement but not much in arduino. someone please guide me.
Hi @ayaan_sharma1. Have you looked through the information about Arduino IoT Cloud that is available here?:
Thankyou for your reply. They are not using esp8266-01 which i have. there is also no option in iot cloud while adding device. but if i choose device as Arduino or Generic esp8266, then i get a code error in the auto generated code. you may have a look :
Upload started
Programming with: Serial
Flashing with command:C:/Users/Ayaan/.arduino-create/esp8266/esptool/2.5.0-3-20ed2b9/esptool.exe -vv -cd ck -cb 115200 -cp COM5 -ca 0x00000 -cf C:/Users/Ayaan/AppData/Local/Temp/arduino-create-agent2705874732/Untitled_sep09b.bin
esptool v0.4.13-1-gf80ae31 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from COM1 to COM5
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
Executing command: exit status 2
Maybe because i am using esp8266-01 which is connected to my arduino uno through rx tx pins(i removed wires from rx tx while uploading).
If you are using UNO as programmer, first you have to connect RESET pin of UNO to gnd. For ESP8266 to enter the FLASH/BOOT mode you need to connect GPIO_0 to GND. Then upload the code. After that disconnect GND from GPIO_0. Btw, CH_PD pin should be always high (connected to +3V3).
Thankyou so much. i will try that. thanks for your reply. By the way, i have "esp8266 01" . it looks like this :
and not this :
so would the solution work for mine ?
Yes I was talking about small esp8266 01 board.
Ok thankyou.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.