From another project I had left over a small boxie with a 10-LED bar array in green and red. I decided to re-use it for a shocker boxie. On my Fetlife profile I already have a similar device called Homotrainer Encourager, so I also re-used the code for the Punishment Boxie, from now on PB. I’m an avid PIC micro fan and love coding in assembly so I quickly kludged up the hardware and the firmware. In the thread about the Lilly Wave I already posted some imagery but here’s some more:
This is the schematic. 10 Ports of the PIC are used for the LEDs, one doubles as FIRE button. The arrangement is rather haphazard because of the need of using port B to wake from SLEEP (DN/UP buttons). The anodes of the LEDs are driven by two PNPs. The output is a low gate threshold MOSFET and the audio transformer something I dug up from my junk box. It could be from an ancient cordless phone:
This is the inside:
with still another transformer inside. Because it has a ferrite core it doesn’t store enough magnetic flux to create a useful shock. It’s an incredible mess because the boxie is actually too small so I had to cram everything inside…
The level is indicated by the LED bar:
and changes color as the level increases.
A propos level, forum member mer indicated that the maximum unloaded peak voltage across the output should be no more than 500 V. It’s a bit more:
On this screenshot from my scope (50 µs/div, 100 V/div) you can see it’s more than 700 V… Hopefully the output capacitor can cope with this voltage. But since it’s from an old TV it probably can.