loading

Pin Differences, NodeMcu ESP8266?

Hi Becky, the digital pins i.e. D0, D1, D2... on my device do not match the pin numbers on the PCB of the published diagram of the NodeMcu ESP8266. This caused me to think I had made a bad mistake or had a faulty board until I probed the pins with an LED and found that Arduino's D0 was labelled D3 and my actual D3 was labelled RX. I can see that this issue could put people off, if you are unable to blink an LED then how are you going to deal with wifi protocols!? I see that someone else had the same issue so here is a link I found that explains the differences https://github.com/esp8266/Arduino/issues/584 , maybe you could check this out and and include it in your teaching material?


bekathwia1 month ago

I'm sorry you're frustrated! The class uses the Adafruit Feather Huzzah ESP8266-- all the photos, pin configurations, diagrams, code, etc. references this board. The NodeMCU is my second favorite but not officially supported, and therefore has a factor of self-reliance in terms of pin configurations-- which is a skill you need in DIY electronics anyway. All the lessons have been completed and documented by other students using the NodeMCU in the comments section, so it's easy to find the pin configs you need, but I didn't want to confuse the main lesson material by constantly supplying two options for everything. As you might imagine, support for this type of class is tricky, and in order to narrow the scope a bit to make that manageable, we've stuck to one ESP8266 board throughout the class.

dadhibb6 days ago

It's OK, it was a faulty cable, problem fixed.