
LP MSPM0C1104-EB V1.1
dvhai08/LP_MSPM0C1104-Expansion-Board
MSPM0C1104 LaunchPad™ development kit for 24-MHz Arm® Cortex®-M0+ MCU

Piezo sensor triggering a LED strip
Upiez is an open-source printed circuit board by jwnimmer, from the jwnimmer/upiez repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 28.2 × 20.3 mm with 25 parts on 12 nets, routed with 82 tracks and 27 vias.
It is built around the AP7380-33Y, TLC555N and DMN2046U. Its parts include 4 capacitors, 4 connectors, 2 resistors, 2 ICs and 2 diodes. It belongs with the lEDs and displays and sensors and measurement boards of this library.
https://github.com/user-attachments/assets/209be3a4-444d-4c55-9051-d0b7a3d1a6b6
The upiez is a printed circuit board with a piezoelectric sensor input to detect vibration (e.g., when a drum head is hit), and when a strong enough vibration is sensed it switches on its power output (e.g., lighting up a LED strip) for a configurable, short amount of time.


The board accepts an input voltage from 4V to 20V, and can power up to a 3A load. The input voltage should match whatever is used by the load (LED strip) -- it does not regulate the output, it only switches the power on and off.
The board offers two trimmers for adjustment -- one trimmer to adjust the piezo input sensitivity trigger, and one trimmer to adjust the time the LED stays illuminated after each trigger.
Connectors:
Size:
Designed summer 2024 for the LWHS drum line.
This project requires wire stripping and soldering skills, and ideally a multi-meter.
For an easier starting point, see also the (TBD link) breadboard version of this project.

This is the single channel assembly for use with a single sensor, e.g., a snare drum or bass drum.
The upiez PCB must be externally powered, using a power source voltage that matches the voltage of the LED strip. For my build, we used this 12V LED strip so our power source must be 12V.
When choosing a LED strip, also consider how much current it needs. According to a review comment on that product, the full 5 meter length uses 1.94 amps @ 12 volts = 23 watts. The max current of the upiez is 3 amps, so the 1.94 amps is safely within the limit.
In our case, we never put a full 5 meters of lights on a single drum anyway. That would be a lot! We only wrapped the rim of the drum head, so approx 1 meter for snares or 2 meters for a large bass drum. The LED strip can easily be cut into segments for the necessary lengths.
This brings the power requirements down into a regime where a 9V battery can handle the load, we just need to boost it from 9V to 12V. For that, we used these DC-DC boost modules. Checking the ballpark math: 2 meters of LED is ~9 watts, which we source as ~9V @ ~1A. Typical sustained current from a 9V cell is around 1A with burst around 2A, so the math checks out okay.
Another way to get to 12V would be with an 8-pack of AA or AAA batteries, to avoid the need for the boost converter. I never tried this, because I am somewhat skeptical it would work well -- as you use the 1.5V batteries, their voltage droops pretty quickly to the point where your 12V supply is now 11V or 10V, and that reaches the point where your LEDs will get dim and then stop working entirely -- there is a minimum voltage floor required to illuminate all of the diodes, and it's in that neighborhood. Also the 8-pack is larger and heavier than the single 9V. Using the boost converter ensures consistent brightness so long as the battery has any juice left at all.
The DC-DC boost module linked above has a trimmer to adjust its output voltage. Before wiring it to the upiez you MUST connect it to a load (e.g., 1k resistor) and supply (9V battery) and adjust its trimmer until the output is 12V on your multimeter. If its trimmer is in the wrong position, the boost module can output up to 35V which is enough to fry the upiez (max 20V).
To turn the kit on and off, instead of (un)plugging the battery we found it a lot easier to install a rocker switch as part of the battery harness. Then the battery can stay plugged in, but still power off the kit easily.
It's best to test each component by itself (the upiez and boost board) before starting to wire them up.
This photo shows how we chose to assemble the 1-channel kit:
A single-channel version of upiez is great, but in a pinch it could be built on a breadboard instead (see link TBD). The raison d'être for upiez is multi-channel operation. (Building a 4- or 6-channel version on a breadboard is not very practical.)
We designed upiez to use right-angle connectors and to match the footprint of the Adafruit 5991 USB-C power board, so that we can stack modules for multi-channel operation. The 5991 offers DIP switches to select an output voltage (5-20V). The important point is to also choose a USB-C PD source that is compatible with the voltage you need. We used the Anker Nano Power Bank 30W which can handle many output voltages. There are probably cheaper options, but the quality and usability of Anker products is top notch and now we have a good power bank to use on vacations as well.
| Adafruit 5991 | Anker Nano |
|---|---|
![]() | ![]() |
Gather all of the parts before starting. That includes having upiez boards fully finished -- the two connectors soldered on, and the power wires soldered onto the bottom of the board.
It's best to test each component by itself (the upiez and power board) before starting to wire them up.
Cover the top of the barrel connector with a little kapton tape, just to make sure it doesn't short onto the board above it. There should be enough clearance, but if you have a large blob of solder on the bottom of the nearby board there might be contact.
I started from the USB board and worked my way up. It's probably fine either way. Use a washer under every nut. I also used washers on both sides of each spacer (thus the 40x washers shown above), but that was probably overkill. One washer per spacer should be enough to separate the boards so they don't short, and would save some money. Finish fitting all four bolts' worth of fasteners before using any tools to start tightening. Tighten each of the four corners a little bit at a time, to keep everything squared up.

We ordered the boards from PcbWay, including SMT component sourcing and assembly. Because of the small size of the board, it is processed and shipped as panelized (2 x 2) with break-away rails (so must be ordered in multiples of 4). The first step for finishing up the assembly is to carefully break all of the board off of their rails.
After that, hand solder the connectors:
In our first build we soldered J1 then J2 then the wires. This ended up being somewhat of a headache because J1 is very thoroughly connected to the board's ground plane and its metal shield, so the ground pin of J2 and the GND wire both struggled to flow evenly with the iron we used due to heat leaking away quickly. Next time, we should probably solder J1's shield pins last.
The upiez piezo input is on J2, via a standard 0.100" 2-pin header. There are many ways to wire up a cable to this, I'll detail the one I used:

This is the simplest of the harnesses. Your LED strip might already come with barrel connector(s) built-in. If not, buy a pack of 5.5mm/2.1mm "male" barrel jacks with leads and solder to your LED strip(s). For example, here are jacks with 20-inch leads, or if you need longer try something like double-ended 10' cables and cut them in half. For stress relief, cover the LED-wire joint with heat shrink tubing.
This explains the power wiring for the single-channel example. The goal is to connect a 9V battery to the boost converter with an inline switch.
Example parts list:
The switch breaks the connection betewen the battery and the input to the boost board. It works equally well breaking either the positive or negative connection.
Example with the switch on negative connection, matching in the picture above:
I used the same stranded 2-conductor cable to connect the "OUT +" and "OUT -" from the boost board to the VDC and GND pads on the upiez. Remember to adjust the boost board voltage output before connecting it to the upiez.
For the stack-up of 4 piez and the 1 adafruit USB-C board, I used the following procedure for power wiring:
I used solid hookup wire when I did this, which ended up being bit too stiff. Next time, I'd try the same stranded 2-conductor cable used everywhere else.
Here's the approximate part costs as of 2024. Costs shown are all per-item, based on qty 20 purchase.
| Item | Cost (USD) | 1-channel qty | 4-channel qty |
|---|---|---|---|
| upiez board (assembled) | 6.35 | 1 | 4 |
| Piezo harness | 2.00 | 1 | 4 |
| LED harness | 1.00 | 1 | 4 |
| HiLetgo XL6009 DC-DC boost | 1.90 | 1 | |
| 9V battery harness | 1.50 | 1 | |
| 1-channel fasteners | 1.15 | 1 | |
| Adafruit 5991 USB-C power | 9.95 | 1 | |
| 4-channel fasteners | 25.65 | 1 |
Nearly half of the fasteners cost is from the washers. In retrospect, I should have selected a cheaper part number, or omitted the washers.
For the 1-channel assembly, total cost is 6.35 + 2.00 + 1.00 + 1.90 + 1.50 + 1.15 = $13.90 (plus the cost of the LED strip and 9V battery).
For the 4-channel assembly, total cost is 4 * (6.35 + 2.00 + 1.00) + 9.95 + 25.65 = $73.00 (plus the cost of the LED strips and the USB-C battery).
| Item | Cost (USD) |
|---|---|
| Board (unpopulated) | 1.14 |
| SMT components | 2.26 |
| SMT assembly | 1.50 |
| THT components | 1.45 |
| THT assembly | 0.00 (self) |
Reading other people's take on this kind of project was a great help in my own design. My primary sources were:
Thanks to KiCAD EDA.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 1uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3, C4 |
| 4 | M3 | MountingHole:MountingHole_2.7mm_M2.5 | S, S, S, S |
| 3 | TestPoint_Pad_1.5x1.5mm | TestPoint:TestPoint_Pad_1.5x1.5mm | GND, TP1, VDC |
| 2 | 100K | Potentiometer_SMD:Potentiometer_Bourns_3314J_Vertical | VR1, VR2 |
| 2 | 330 | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | Conn_01x01 | Connector_Wire:SolderWirePad_1x01_SMD_1x2mm | J3, J4 |
| 2 | DMN2046U | Package_TO_SOT_SMD:SOT-23-3 | Q1, Q2 |
| 2 | ~ | LED_SMD:LED_0603_1608Metric | D1, D2 |
| 1 | AP7380 | Package_TO_SOT_SMD:SOT-89-3 | U2 |
| 1 | Barrel_Jack_MountingPin | Connector_BarrelJack:BarrelJack_CUI_PJ-063AH_Horizontal | J1 |
| 1 | Conn_01x02_Pin | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | TLC555 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |

dvhai08/LP_MSPM0C1104-Expansion-Board
MSPM0C1104 LaunchPad™ development kit for 24-MHz Arm® Cortex®-M0+ MCU

lrodorigo/esphome-ir-blaster
An high-power ultra-tiny IR Blaster for air-conditioner and other appliances, based on ESP32-C3




adam-kabbara/RSX-CANSAT-2026
This is a repository design to manage the files made by the Aerial team under the Robotics for Space eXploration design team at the University of Toronto

bastian-bou/NixieNTPClock
Nixie clock around ESP32 connected to a NTP server

johnbeardmore/oBeMS
Open source environmental monitoring, automatic meter reading and building management system.
It measures 28.2 × 20.3 mm and has 2 copper layers, 1.6 mm thick.
25 parts, built around the AP7380-33Y, TLC555N and DMN2046U. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the jwnimmer/upiez repository on GitHub, at the commit this page was made from: the board is upiez.kicad_pcb and its schematic upiez.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).