Week 05
Electronics Production
.jpg)
TLDR
This week I milled and assembled two boards. The first is the LED board I designed in Week 04 with the XIAO RP2040. The second is the servo board for my final project, which I put inside a 3D-printed casing to test how two modules articulate with a simple servo motor.
Milling Process
Trace Files
Before milling, I exported the trace layers of both boards as black and white PNGs. White is the copper that stays, and black is what the end mill cuts away.
Roland SRM-20
I exported the KiCad layouts from Week 04 and milled both boards on a Roland SRM-20 from single-sided copper stock. The machine first isolates the traces, then cuts the board outline.
Board 1: LED Board
Stuffing and Testing
I soldered the XIAO RP2040, five LEDs with their resistors, and the push button onto the milled board. When I press the button, the LEDs light up, which confirms the traces and solder joints work the same way the breadboard prototype did in Week 04.
Board 2: Servo Board and Module Casing
Servo Board
To continue my final project, I milled the single-sided servo board and soldered the XIAO ESP32-S3, the push button, the status LED, and the servo header onto it.
Pressing the button on the board moves the servo, which confirms the board works before it goes into the casing.
Casing Design
To test the articulation, I designed a casing for each module half: a base plate that holds a micro servo at the center, and a lattice shell that closes over it. The magnets sit in the round openings of the shell so the modules can attach to each other.
3D Printing
I printed the base plates standing up with supports and the lattice panels flat on the bed.
Articulation Test
After assembly, I connected the servo board to my laptop and sent the servo a series of angles (0, 60, 120, and 150 degrees) to watch one half of the module rotate against the other.
Close up, the servo turns one half of the module against the other around the diagonal joint.
Attaching two modules with the magnets shows how they can bend into different configurations through the rotating joint.
Reflection
Not every board came out right. My first attempts at the servo board did not mill evenly: on one side the traces were not fully isolated, and on the other the cut was too shallow to separate the copper cleanly. Checking that the stock is flat and firmly fixed to the bed, and confirming the cut depth before running the whole job, would have saved me these attempts.
The casing test shows that a single servo can rotate one half of a module against the other. As next steps, I will try a wireless board so each module can be controlled without a cable, and test the joint under load to see how much weight the servo and magnets can hold.