Uploaded February 2026 | Updated November 2026, 2 days ago
Sort of a spur of the moment build when thinking about how I would utilize this fiber transmission on my existing interrupters. Decided to make one more with the dedicated fiber TX output, but trying this bootleg red laser approach. I played around some with regular red leds but found it too difficult to transmit the perfect angle of light with reliability. The proper transmitters themselves are not really more expensive than low power red lasers though, unless you can snag a small bundle for real cheap. Hopefully with a limited intensity and improper cables, the receiver is not running some risk of being burned out or anything.
Again this is entirely ChatGPT generated upon request so I can't help you with explaining any of the code lol.
The digital inputs are pulled up internally and switched active when held to GND.
Let's say you only had one LED.. you could literally ask the GPT to modify the code so a single indicator light tells you everything you need to know etc. I would avoid doing stuff like that unnecessarily for a more robust operation.
There is almost no point to me providing the code because you can just ask it to do the same thing catered to your own intentions, but below is a link to it as well as a partially generated wiring description.
pastebin.com/eNSLW3iM
(Audio mode is more of just a placeholder for now. It will need to be improved for clear audio etc. I plan to incorporate the two pots when in that mode to adjust variables. There is only so much fidelity that can be achieved when interrupting like this. Otherwise the same output needs to feed something like dead time. I can do that on my specific gate driver but would need a separate output. I can also do it from my 4046 chip on the driver... so instead this feature is just using the generic enable input for the audio whereby basic midi can be played over bluetooth, OR regular music can be played with sacrificed quality)
Sort of a spur of the moment build when thinking about how I would utilize this fiber transmission on my existing interrupters. Decided to make one more with the dedicated fiber TX output, but trying this bootleg red laser approach. I played around some with regular red leds but found it too difficult to transmit the perfect angle of light with reliability. The proper transmitters themselves are not really more expensive than low power red lasers though, unless you can snag a small bundle for real cheap. Hopefully with a limited intensity and improper cables, the receiver is not running some risk of being burned out or anything.
Again this is entirely ChatGPT generated upon request so I can't help you with explaining any of the code lol.
The digital inputs are pulled up internally and switched active when held to GND.
Let's say you only had one LED.. you could literally ask the GPT to modify the code so a single indicator light tells you everything you need to know etc. I would avoid doing stuff like that unnecessarily for a more robust operation.
There is almost no point to me providing the code because you can just ask it to do the same thing catered to your own intentions, but below is a link to it as well as a partially generated wiring description.
pastebin.com/eNSLW3iM
(Audio mode is more of just a placeholder for now. It will need to be improved for clear audio etc. I plan to incorporate the two pots when in that mode to adjust variables. There is only so much fidelity that can be achieved when interrupting like this. Otherwise the same output needs to feed something like dead time. I can do that on my specific gate driver but would need a separate output. I can also do it from my 4046 chip on the driver... so instead this feature is just using the generic enable input for the audio whereby basic midi can be played over bluetooth, OR regular music can be played with sacrificed quality)










