Enable Javascript

Last Arduino/ESP project (click to open)

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Article Index

BOOST your Arduino with this Shield

(click thumbnail)
Wiring, information and demo output

 Amica NodeMCU V2 DEVKIT with ESP8266-12E

NodeNCU v2 Shield:
Boost up your Arduino with this cheap ESP8266-12E Shield.
Use the 32 bit RISC CPU with 4 Mb memory, WiFi STA and/or AP, 2-32 GB micro SD card, 7 free GPIO and 1 Analog ports, 2 LEDs and 1 button. Then you can use your Arduino for important things like reading sensors, controlling stepper motors, ... .

Hardware Serial/USB:
Total unhindered to use for firmware flash and the debug monitors. No fiddling with jumpers and buttons.

SoftwareSerial 3.3V ↔ 5V:
Using a 5V Arduino? Use a 3.3V↔5V (Bi-Directional) 'Level Converter' to save your ESP8266.

Pull-up resistor:
Use a 10 kΩ pull-up resistor on te SS (Chip Select) line.

SD Filesystem:

  • Arduio ESP8266 standard SD libray
    Simple and useful (see the sample pages below).
    You can use all the Stream/Serial functions
  • ChaN FatFs (Fat Filesystem)
    Stripped and modified for using with the SD adapter on this Shield.
    (dir functions are stripped, only ROOT is used)
    It's smaller than the Arduino SD library.
    FatFs Library with example: download SdFatFsESP
    With this Arduino NodeMCU v2 Shield the FatFs library it uses:
    • 8.946 bytes of program storage space (<1%).
    • 820 bytes of dynamic memory (~1%).
  • FatFs SD commands:
    • mount - Register/Unregister a work area.
    • open - Open/Create a file-
    • close - Close an open file
    • read - Read file
    • write - Write file
    • lseek - Move read/write pointer, Expand file size
    • sync - Flush cached data
    • gets - Read a string
    • putc - Write a character
    • puts - Write a string
    • tell - Get current read/write pointer
    • eof - Test for end-of-file on a file
    • size - Get size of a file
    • error - Test for an error on a file
    • f_printf - Write a formatted string to file

 Demo sketches with Serial and Arduino SD library on the next two pages.