Breakout Board for 4-pin Ultrasonic Sensor?

I’ve got a JSN-SR04T ultrasonic module temporarily connected on a breadboard with a NodeMCU ESP8266 board. It’s all configured in ESPHome and returning valid values.

I need to make it a bit more permanent so I can install it. The sensor module has four pins. These need to connect to four pins on the NodeMCU. I have a NodeMCU breakout board with screw terminals so that side of the connection is easy.

What I can’t find is a small board to connect the four sensor module pins to screw terminals. Yeah, I could buy a blank board and start soldering, or solder wires directly to the module where the pins are. But I was hoping there might be something already made for that purpose. Ideas?


Above is the module in question. I just need something to plug those four pins into which I can attach four small wires to.

Try Amazon for a 4 PIN PC board female header or a kit assortment: https://www.amazon.com/Glarks-Connector-Assortment-Stackable-Breakaway/dp/B07CWSXY7P/ref=sr_1_7?crid=2IQROXEOF60XX&keywords=4+pin+fan+header+pc+board+female&qid=1675477368&sprefix=4+pin+fan+header+pc+board+female%2Caps%2C129&sr=8-7

Use Dupont cables.
https://www.amazon.com/Elegoo-EL-CP-004-Multicolored-Breadboard-arduino/dp/B01EV70C78/ref=pd_bxgy_vft_none_img_sccl_1/133-2682348-9138000?pd_rd_w=IMhBj&content-id=amzn1.sym.7f0cf323-50c6-49e3-b3f9-63546bb79c92&pf_rd_p=7f0cf323-50c6-49e3-b3f9-63546bb79c92&pf_rd_r=NEMGKT67S4SRERDW55GS&pd_rd_wg=OyZuL&pd_rd_r=7ca39ced-6b18-45a6-aeba-4d369c0e7ac3&pd_rd_i=B01EV70C78&psc=1

Thanks, @lordwizzard and @WallyR! Not exactly what I was thinking of, but it’s good to know what’s available. The headers would work, if I soldered them onto my own board, but of course I don’t have a small board handy. The breadboard cables will probably do the trick, if I cut the female ends off some male-female connectors and terminate them at the existing screw terminals on my NodeMCU expansion board. Again not exactly the neat, one-piece plug I was thinking of, but buying the set will give me options for the future, too.

With a male female Dupont cable you should be able to connect the female for your 4-pin ultrasonic board and the male directly into the screw terminals. No cutting needed.

1 Like