The original device

I got this device on amazon to prank my friends with. It was a simple little device, but I wanted to see if I could tear it down and rebuild it myself.

Original Noisemaker Device

My design process

I developed my version of the noisemaker device in three steps:

1. Breadboard prototyping

I used my STM32f405 Feather microcontroller to prototype the device on a breadboard. It has 8 tones to switch between using a button and a timer to play the sounds intermittently.

2. Schematic design

I used KiCAD to design the schematic. I found parts on Digikey that matched my needs and imported them into a KiCAD library.

3. PCB Layout design

I designed the PCB layout in KiCAD. I used a 2-layer design with a ground plane on the bottom layer. I also added a silkscreen layer to label the components and make it easier to assemble.

Soldering

Adding pins to my STM32f405 Feather

My sister was nice enough to help me solder the connections onto the board.

sistersoldering

Breadboard Protoyping

Feather Development

I wired my board with a button and speaker to test my code. I also utilized the onboard multicolor LED

I used PWM audio to generate the tones and the button to switch between them. I also used the LED to indicate which tone was currently selected. All of this software was coded on STM32CubeIDE and flashed onto the board using STM32CubeProgrammer.

breadboard

Schematic Design

KiCAD with Digikey Library

I chose my PIC by considering the requirements of the project and choosing a microcontroller that met those requirements. I the chose additional components using AI suggestions. I downloaded all the footprints and symbols off of Digikey and imported them to a KiCAD library.

The PIC I chose was the PIC12F1840 for its low-power capabilities and small footprint. I also added a way to program the board with a six-pin header.

schematic