Multi-purpose NodeMCU breakout PCB

Sharing this in case someone finds it useful. I designed a simple breakout board for the NodeMCU v0.9/v1.0 ESP8266 dev board, to allow me to build self-contained temp/humidity sensors for my openHAB setup. I originally used small protoboards to tie the NodeMCU & DHT-22 sensors together, but I wanted to have something more sturdy and better looking. I also designed and 3D printed some enclosures, so my wife doesn’t complain about bare PCBs hanging off outlets around the house :wink:

While working on it, I also thought it’d be a good idea to make it multi-purpose, for some other future projects I have in mind (RGB/addressable LED controller, PIR sensor board, etc…). So, I added breakout headers for all of the NodeMCU’s pins (v.0.9 is too big for a regular breadboard), added space for a four-channel level shifter and added a header for the high-level output of that as well as an external connector header for off-the-board sensors.

I shared the board at OSHPark: https://www.oshpark.com/shared_projects/pBHmZ73m
Also available at PCBWay: https://goo.gl/U2fY7y (including Gerber files)

Ideas for improvements are always welcome! In the meantime, here’s some pics:

Bare board:

Prototype and finished sensor:

NodeMCU and level shifter populated board:

Schematic:

Edit 2/5/18: Added Youtube how-to/overview video:

6 Likes

Is it possible to download the design file and sent to another PCB manufacturer for fabrication?

I’ve created a gerber set for seeedstudio you can upload, posted https://www.dropbox.com/s/0a7386d46up6myf/DHT.zip?dl=0 here.

Let me know if that works for you, OSHPark comes out to about $6/board for me, I haven’t ordered from seeedstudio yet…

1 Like

hello
Nice idea - i had some thought on myself for this kind of Multipurpose NodeMCU shield and i would need some kind of help to go from the idea to a propper definition of a PCB
My goal is to port some easy connectors (by ex JST) for most of the standard possible peripherals to my Node MCU, making this board usable for connecting : one wire sensors, LEDS, I2C, SPI, relays and ADC signals

@Yves_MARCEL - this is an old topic of mine, and lots has happened since I posted it - I’ve built the Kube sensor around this board and an LED controller, as well. However, I’m now working on version 2 of the board (https://www.pcbway.com/project/shareproject/NodeMCU_v_1_2_Board.html) - which incorporates a lot of lessons I’ve learned since the original design, as well as some new features. One of the features is making the board stackable - so, I can do things like this:

(That is an OLED display and a multisensor board, talking via the I2C header I created to “stack” the boards). My idea going forward is similar to yours, but I basically want to create “daughter-boards” you can stack together to bring in new sensors or devices (like ADCs, LED controllers, AC/DC power supplies, etc…). I need to find some downtime to create the Github repo with all the work I’ve done so far, but I’d love to collaborate with you (and others) to bring new sensor devices into the mix.

As far as your layout, I’ll make a few quick comments:

  • Use D1/D2 for your I2C lines (that’s what ESP Easy and some of the other frameworks I’ve used treat as the standard I2C pins.
  • I don’t recommend using the A0 on the NodeMCU - the ADC is only 10 bit, and gets scaled down to 0-1v, making for very poor, very noise-prone signal resolution. This is one of the reasons I’m making a board with an ADC1115 (16bit, full 5V range, 4 channels).
  • D0 for one-wire is also problematic, since it’s used in the boot cycle (reset pin), so I’d stay away from it
  • Stay away from the GPIO pins on the left side of the NodeMCU in general (they’re used for the onboard flash, so they can’t be used for any other function).

And as far as making this into a PCB, I recommend watching some videos on a PCB CAD program - I’ve been using Eagle, mostly because it’s a very powerful PCB design tool (including a decent auto-router and lots of library support for all the different devices you want to put on the board), as well as because it’s free for hobbyists and small business owners (a renewable, 1 year license, basically).

Once you figure out the board design, a fab shop can make your boards for pretty cheap. My favorite is PCBWay, because they’re quick, make quality boards, and are cheap ($5 for 10 boards this size, plus shipping which depends on how fast you want the board in your hands).