Arduino Project: How to make a Digital Counter Circuit for a Coil Winding Machine

Опубликовано: 18 Март 2026
на канале: Tinker & Build
13,538
133

How to use 7 segment displays for making a digital counter for an electromagnet coil winding machine:

In this video we use an Arduino and some 7-segment displays to make a digital counter. The intent is that we’ll eventually make an automated coil winding machine for winding an electromagnet – since winding coils manually is tedious. Electromagnets use electromagnetic induction to move things around like the rotor in a motor.

This project is a good mix of hardware and software – qualifying as an intermediate Arduino project. In the video, we use BCD decoders to drive the 7-segments to keep track of how many times a magnet passes by a reed switch, essentially enabling us to count how many rotations (winds) of the magnet there were. It’s the first step in making an electromagnetic coil with an automated machine.

All the circuit schematics and Arduino code for the project: https://github.com/tinkerandbuild/coi...


Where you can buy the tools and materials:

[✓] Four 7 segment displays NTE 3078 http://amzn.to/2DS3eCk
[✓] Four NTE 7447 chips http://amzn.to/2FuspHB
[✓] A reed switch http://amzn.to/2E33X3f
[✓] Twenty-eight 330K resistors http://amzn.to/2Fv8QyW
[✓] An Arduino Uno http://amzn.to/2BEmcqg
[✓] Wires http://amzn.to/2nrGKgI
[✓] Breadboard http://amzn.to/2rVtIO0
[✓] Wire stripper / cutter http://amzn.to/2nmxN8X

Links:

Hacked Calculator Counter Tutorial:    • How to Make a Simple Counter of a Calculator  

NTE3078 Seven Segment Display Datasheet: http://www.nteinc.com/specs/3000to309...

NTE4774 BCD−to−Seven−Segment Decoder Datasheet: http://datasheet.octopart.com/NTE7447...


More Information on Debouncing:

Part 1:    • Digital Electronics: Debouncing a Slider S...  

Part 2:    • Digital Electronics: Debouncing a Push But...  


Explanation of BCD encoding: https://en.wikipedia.org/wiki/Binary-...

Explanation of Digit Ordering (Endianness): https://en.wikipedia.org/wiki/Endianness