You'll use the three JST PH 3-Pin ports on the FunHouse to control the ultrasonic distance sensor and the NeoPixel strip.

You don't *have* to prep the cables, it just neatens the wiring a bit! If you skip this step, just wrap and tie the extra wires out of the way

Cable Prep

The distance sensor uses power, ground, a digital output (to control pings), and a digital input (to read the signal). You can wire these four connections by using two of the JST ports.

Prep two of the cables by removing the ground from one and the power from the other as shown. Pry up the plastic tab holding the crimp connector and then slide the wire out of the housing.

Alternately, you can simply leave the extra two wires in place and simple insulate their ends to prevent accidental shorting.

Plug the two cables into the A0 and A1 ports of the FunHouse.

Optional mini magnetic feet can be used for mounting the FunHouse to some metal surfaces.

You can plug the sensor into the JST cables directly, or use extension cables to connect the JST wires to the ultrasonic sensor as shown here:

  • 3V to VCC
  • A0 to Trig
  • A1 to Echo
  • Gnd to Gnd

NeoPixel Strip

Plug in the NeoPixel strip's JST plug to the A2 port on the FunHouse.

You're now ready to code the FunHouse Parking Assistant using CircuitPython.

This guide was first published on Jun 02, 2021. It was last updated on 2021-06-02 09:57:42 -0400.

This page (Build the FunHouse Parking Assistant) was last updated on Sep 08, 2021.

Text editor powered by tinymce.