As you may know, the ESP01 module has only 4 GPIO pins, and if you want to use the SPI communication protocol, you have to specify the sck, mosi and miso pins, otherwise, the following error will occur:
`ValueError: must specify all of sck/mosi/miso`
In my project, I don't need to use miso, so I need to assign it to a pin of the GPIO ports that is not used by any component of the ESP01 module.
I am using the lastest MicroPython firmware (v1.18), esp8266-1m
Here is the pinout of the ESP8266EX microcontroller for reference:
Which ESP8266EX microcontroller pins found on the ESP01 module are not used or not connected to anything?
-
- Posts: 3
- Joined: Sun Mar 20, 2022 1:14 am
Re: Which ESP8266EX microcontroller pins found on the ESP01 module are not used or not connected to anything?
GPIO4, 5, 12, 13, 14, 15, 16 are for instance exposed on a WEMOS D1 Mini and free usable. GPIO15 is as well labeled HSPICS, GPIO16 is also the /WAKE signal.