…or a new version that’s not very popular?
The NodeMCU is an Arduino-like board, with interesting features like:
- ESP Wi-Fi connection.
- PWM on every pin except D0 and possibly SK.
- 3V3 power source instead of 5V.
Getting it to work under the ArduinoIDE is a bit tricky, but not difficult. You need to add new hardware and libraries. For more info follow THIS LINK.
I bought a NodeMCU for a Wi-Fi project of mine.
It was the cheapest one I could find (<3$), and since low-pricing is part of the project’s idea it was a great purchase.
The board works like a charm, but it seems to have some differences compared to the NodeMCU DEVKIT 1.0.
Those differences include, but are not limited to:
- LED_BUILTIN or BUILTIN_LED is triggered via pin 2, instead of pin 13.
- There are no RSV pins. They are replaced by 5V “VU” and Ground “G”
- The following pins are renamed as follows:
- SD3 -> S3
- SD2 -> S2
- SD1 -> S1
- CMD -> SC
- SD0 -> SK
- GND -> G
- 3v3 -> 3V
- The SK pin can be used as a digital output/input. I haven’t check for PWM capabilities.
The ESP chip on it seems to be legit.
Sadly, the information on the internet about this specific board seems to be limited, with most of the libraries and resources relating directly to the NodeMCU v1.0.
If you wish to correct some of the functionality-loss caused by libraries that are designed for NodeMCU v1.0 and not the one featured in this post, then do this:
1. Go to /Arduino/libraries/
2. Create a new folder “NodeMCU_pinfix”
3. Inside that folder, create a new file “nodemcu_pins.h”
4. Write the following code in the file:
#ifndef Nodemcu_Pins_h#define Nodemcu_Pins_h
#define LED_BUILTIN 2
#define BUILTIN_LED 2
#define SK 10
#endif /* Nodemcu_Pins_h *
5. Save the file and then make sure you include “nodemcu_pins.h” in your projects.
Overall I’m happy with the board, even though I had to do some testing to find out what some of these pins can and can’t do.