Uploading code into NodeMCU board for RC WiFi Car

I had disassembled the Arduino Blutooth controlled RC car that I had built many months ago for adding crane part to the car. I did not successfully completed it but I was/am close to it. I wanted to build the crane part on top of the arduino bluetooth controlled car and control the crane arms fitted with three servo motors via wifi. I did this to learn robotics. I had recorded this in the blog post arduino bluetooth controlled crane.

crane

I have the parts disassembled and wanted to assembly it and convert to wifi controlled car instead of bluetooth controlled car. For this I want to use the NodeMCU ESP12E which is ESP8266 based wifi based SoC(System on Chip) board instead of using Arduino and bluetooth module.

Before I assembly the car, I wanted to upload the code into the NodeMCU board but I ran into problem. I got upload errors. I had previously uploaded code into this board and is recorded in my blog post Basic NodeMCU(ESP8266) WiFi Server Setup. I selected the right board which is NodeMCU 1.0(ESP12-E) but still got error:
"A fatal esptool.py error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)esptool.py v3.0
Serial port COM5"

I don't remember having pressed the boot or the reset button during uploading while using this NodeMCU board. If I had I would have noted it down in the blog post I mentioned above. Exactly for this reason I write these notes. The ports gets detected so there should be no issue with the USB driver unlike for ESP32-CAM module. Also I think I have to use the boot button during code uploading when usingr ESP32-CAM  and use both the reset and the boot button when uploading the code into the simpler type ESP8266 module.

I think there is something wrong with the USB cable but I don't have a type C USB cable and therefore have to wait until tomorrow. So this much for today.






Post a Comment

Previous Post Next Post