Hey guys,
For my project I have set up a websocket connection on a nodemcu (through arduino IDE), since I am talking back and forth quite a bit with a webserver. After getting that part done, I started on the rest of the electronics for my project and quickly learned about the difficulty with io pins on the nodemcu.
For my project I need three outputs (stepper motor), one button input and one rotary encoder input (2 pins). (6 pins total)
I ran into issues during upload and booting. Would this amount of pins be possible or should I add another arduino such as nano? And while we're at it, could I then replace the nodemcu with a smaller esp8266? I am using the nodemcu as an access point, furthermore it hosts a few web pages using SPIFFS. The following example is similar to my setup.
https://tttapa.github.io/ESP8266/Chap14%20-%20WebSocket.html
What do you think fits my situation best?
1)figure out how to use the pins on the nodemcu
2)add an arduino nano, connect the boards via serial
3)replace with esp8266, serial again, any differences between esp and nodemcu I should keep in mind?
Thanks in advance!