Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Mega with ESP8266 #70

Open
carlosrodriguesIT opened this issue Jul 25, 2016 · 1 comment
Open

Arduino Mega with ESP8266 #70

carlosrodriguesIT opened this issue Jul 25, 2016 · 1 comment

Comments

@carlosrodriguesIT
Copy link

After I modified the header file mention that work with MEGA2560, i still cannot upload my sketch to ESP8266, look the error:

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

Who can I fix this error?

@MohamedA95
Copy link

hi, here are some point to consider maybe it might help
1-check the baud rate , the library is made to use 9600 your module might use different one, mine uses 155200
2-if you are using tx0 and rx0 disconnect the cable while uploading the code.
3-connect the esp8266 ground to the arduino board ground ' i do not know why this works ' :)
4-is CH-PD pin of esp set to high 3.3v ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants