Electromagnetic seven segment display with homemade solenoids

Nov 08, 2026 Last reply: 20 hours ago 4 Replies
Jump to replies (4)

When it is running, this mechanical seven-segment display steps through the digits 0 to 9, each segment sliding out or sinking flush into the white faceplate with an audible click. IndoorGeek calls the project useless but fun, and that is exactly my favourite kind of build.



The whole electromagnetic side is homemade. Seven segment blocks move inside a frame, each one pushed and pulled by its own coil. The maker wound the solenoids from scratch, spinning enamelled copper wire onto orange plastic bobbins with a handheld Bosch drill, and each electromagnet has a central machine screw with a magnet sitting behind its segment. Energize a coil and the two magnets repel, pushing the segment out; cut the power and attraction to the core pulls it back in. Control signals come from an Arduino Nano on a solderless breadboard, switching through a custom protoboard driver built with IRFZ44N MOSFETs, flyback diodes, resistors and bus wiring. A modified 450W ATX computer supply feeds it through binding posts at 3.3V, 5V, 12V and ground. Every printed part came off an Ender-3 and was cleaned up with side cutters and sanded smooth.



The orange segments carry metal plates and ride in white guide blocks, and the maker says the motion is subtle and smooth and genuinely enjoyable to watch. A standard electronic seven-segment LED module appears alongside the mechanical unit for comparison.



Two open points stand out. The digits read well only when light strikes at a particular angle, and an improved version with LED backlighting is planned. Every coil also has to remain powered to keep its segment extended, and the maker thinks a latching mechanism would help. Current draw per digit is too high for the original four-digit clock plan; the maker plans thinner wire with more turns and a smaller electromagnet to bring consumption down. A detailed guide with STLs, schematics and code is published on Instructables.



Project by IndoorGeek. Watch it on their YouTube channel:

formatting link


One thing I keep wondering about: when a coil switches off, what actually pulls the segment back flush with the panel? The push-out half of the cycle is easy to picture, but the return stroke is the part I would love to have explained.

Winding every solenoid from scratch is the choice that impresses me here. It means the whole electromagnetic side of the display is self-made rather than bought, and in my view that trade-off, extra winding time versus off-the-shelf coils, is what gives the project its character.

I would suggest darkening the sides of the orange segments. Since the digits only read well from one lighting angle, extra contrast between the raised and recessed faces should widen the range of angles where the number stays legible, without touching the mechanics at all.

The maker has covered that. With the coil de-energized, the magnet behind the segment is attracted to the electromagnet core, and that attraction pulls the segment back in. The same magnet handles both directions: repulsion while the coil is energized, attraction once it switches off.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required