Eu sou novo em toda a cena do arduino. Conectei meu módulo wifi (esp8266 v01) ao meu arduino Uno desta maneira:
http://www.teomaragakis.com/hardware/electronics/how-to-connect-an-esp8266-to-an-arduino-uno/
E baixei a estrutura do arduino ide para que eu possa usar o arduino IDE em vez de enviar comandos AT através do monitor serial.
Ao tentar fazer upload de um esboço de exemplo que envia uma solicitação http que encontrei no github, recebo o seguinte erro:
Arduino: 1.8.4 (Windows 8.1), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
Archiving built core (caching) in: C:\Users\Yasmeen\AppData\Local\Temp\arduino_cache_354217\core\core_esp8266_esp8266_generic_CpuFrequency_80,FlashFreq_40,FlashMode_dio,UploadSpeed_115200,FlashSize_512K64,ResetMethod_ck,Debug_Disabled,DebugLevel_None_____9d1d735445f8d7bf19746e2177d24e71.a
Sketch uses 285417 bytes (65%) of program storage space. Maximum is 434160 bytes.
Global variables use 38688 bytes (47%) of dynamic memory, leaving 43232 bytes for local variables. Maximum is 81920 bytes.
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Depois de pesquisar on-line e pesquisar, posso ver que isso tem algo a ver com a atualização do firmware ou algo assim. Me deparei com esta pergunta:
Erro ESP8266: espcomm_upload_mem falhou ao fazer upload do esboço
e a resposta disse que ele comprou um conversor .. o que isso significa? Isso significa comprar isso ?: https://www.amazon.co.uk/gp/product/B06Y3FNGJF/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
Eu realmente preciso de ajuda, estou preso a isso nos últimos dias e agora pensando seriamente em obter o escudo wifi do arduino, pois ele vem pré-construído com o wifi .. mesmo que custe bastante!
And since we talked about the CH_PD pin, remember that if you want to flash the ESP8266 you should connect the GPIO0 pin to GND (blue line), which puts the ESP into flash mode.