I was happily using setting up the Soil Sensor V2.2 as per the instruction described in this webpage, however the 8 pin connector which the ESP Flasher Rev4 connects to broke. So I’ve tried to create a work around by taking advantage of the female connectors on the Flasher and some male pins I soldered on the soil sensor.
Unfortunately, I am now unable to upload code. With the following error.
(Do note that this output is from the ESP8266 blink example code supplied with the board library which I chose to reduce complexity in the troubleshooting)
Build options changed, rebuilding all Sketch uses 247888 bytes (49%) of program storage space. Maximum is 499696 bytes. Global variables use 28016 bytes (34%) of dynamic memory, leaving 53904 bytes for local variables. Maximum is 81920 bytes. warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed error: espcomm_upload_mem failed
From my research this has to do with some wiring connection problem, however I don’t know what I’m doing wrong from seeing as I have tried the following:
- Double and triple checked my wiring
- Checked the continuity of the pins again
- Different ESP8266 code
- Different ESP8266 boards in the Arduino IDE, including the Generic ESP8266 Module and the NodeMCU 1.0 (ESP-12E Module)
- Pressing the Reset and Flash button prior to uploading
- Swapping the RX and TX pins around
- Using a different micro USB cable
- Slower upload speeds (57600)
- Slower flash frequency (40MHz)
Even though I am unable to upload code, when I plug the USB cable into the Flasher, the blue LED on the ESP8266 turns on for a fraction of a second, which means my power and ground lines must be correctly wired.
I am running:
- MacOS Mojave on a 2014 MacBook Air
- Arduino Version 1.8.6
- ESP8266 board library 2.4.2
Would you know what is causing the problem, for example is it my wiring, process of doing this, etc.?
Here are photos of my setup and wiring:
The way I worked out the pins were through using the continuity setting on my multimeter to test the connections between where the broken 8 pin connector was and the pins which I soldered on as a replacement. As the pinouts are obviously the same on the Flasher, I used the continuity tester on that board to double check what the small male pins connected to what larger female pins, noting the orientation which the Flash would have faced when uploading.