>>/980869/
looks complicated
your device is probably just some combination of an induction coil and a binary counter