Wire for Switch
Use the silicone ribbon cable to create a piece of 2-wire cable that measures 7 inches in length.
Using wire strippers, remove a bit of insulation from each end of the wires.
Tin the exposed wires with a bit of solder – this prevents the wires from fraying when soldering.
Prep Switch
Use flush snips to remove one of the legs (either far left or right but not the middle).
Trim the remaining two legs so they're about half their length.
Solder Wire to Switch
Tin the legs of the switch with a bit of solder.
Attach the 2-wire cable to the two pins on the slide switch using a bit of solder.
Attach Switch Wire to HUSB Breakout
Solder the cable from the slide switch to the switch pins on the HUSB238 breakout.
Prep Resistor
Pick out a single 100ohm resistor from the pack and trim the two legs short using flush snips.
Wire for LED Noodle
Use the silicone ribbon cable to make two long wires for the LED noodle, preferably one wire with a marking to indicate polarity.
Create a piece of 2-wire cable that measures 9 inches in length.
Solder Wire to LED
Locate the end of the LED with the anode pin (the one with the hole).
Solder the marked wire to the anode pin on the LED noodle.
Heat Shrink
Add a piece of colored heat shrink tubing to the anode connection. This helps to insulate the exposed pin and denotes the voltage wire.
Continue to solder the cathode pin on the LED noodle to the remaining wire.
Add another piece of heat shrink (preferably black) to insulate the exposed connection.
Ground Wire
Locate the end of the ground wire connection and cut off about 4 inches.
Use wire stripper to remove a bit of insulation from the freshly cut wires.
The 100ohm resistor will be soldered in-line with the ground wires.
Test LED
Insert the cathode wire from the LED noodle to the negative marked screw block terminal on the HUSB238 breakout. Then use a screw driver to secure the wire.
Secure the anode wire to the positive voltage screw block terminal.
Power the HUSB238 breakout using the USB PD wall adapter and USB-C cable.
Use the slide switch to power on the LED noodle.
Text editor powered by tinymce.