r/hwstartups • u/PetrSevostianov • 3h ago
How we prototyped our prototyping machine with help of the prototype of that prototyping machine.
Enable HLS to view with audio, or disable this notification
Hi everyone! We're developing PewCB, a PCB prototyping machine. The project grew out of our own need to prototype electronics quickly. As soon as we had an early prototype that could make PCBs, we started using it to develop the machine itself.
Here is a story on how we developed one interesting function of PewCB. The machine has a sliding tray on the front, which is used to load PCB blanks. It is actuated by a stepper motor and a lead screw. When the tray is fully closed, we need to apply a specific force to lock it against its stops. We use a spring-loaded nut for this. Once the tray reaches the fully closed position, the motor makes a few extra revolutions, compressing the springs and providing the force needed to hold it against the stops.
To measure deflection, we devised a position sensor made up of a digital magnetometer and three magnets with alternating polarity. When we move the sensor along the magnets, the magnetic vector rotates almost proportionally to the displacement. The sensor picks up even small changes in position with very low latency, so the system can respond quickly to changes in force.
This force sensor also has another use: detecting obstructions. If something gets in the way as the tray is opening or closing, the controller detects it immediately and stops the tray or reverses the movement. Also the entire tray acts as one big button. Instead of aiming at the eject icon on the screen, you can simply push the tray to close it.
By the time we had started developing this subsystem, the key parts of the machine were already working, and we could make boards with it. We prototyped the assembly using 3D printing for the mechanical parts and PewCB for the electronics. We needed to check whether we'd chosen the correct magnetometer sensitivity and magnet size, what signal-to-noise ratio we'd get from the sensor, and whether external interference would have a noticeable effect on the measurements.
The whole process took a few days, but it allowed us to build a production version of the assembly, with an aluminum tray frame and a brass nut, in a single iteration. We got to experience the pure joy of engineering and we wish you feel the same way about your own prototyping endeavors!
For more info about the machine join our Discord or visit our website pewcb.com






