woensdag 2 augustus 2023

Black Box - Decay

 The decay of the black box is different from the decay that I made for eurorack. That decay had the voltage drop as the capacitor filled, this decay is the more classic model which first quickly charges the capacitor (using a 200 Ohm resistor) and then discharges it through the potentiometer with an added resistor for safety.

The trigger is made using another PIC10F206, because it allowed precise control over the charging time, which needed to be around 5ms, as the capacitor I chose was a 4.7uF ceramic one. I used an MCP6272 to buffer the output as well as control the LED. Finally I used my classic transistor inverter circuit using the 2N2222 to feed the signal back into the trigger jack. This means that if no cable is plugged in the decay will feed on itself: each time the voltage drops below 600mV it will trigger itself again. This means it can basically be used as a kind of LFO.

Because of the code, there is a possibility that this fails if the speed is increased too much. After this happens it will not restart until a normal trigger is applied. This can, of course, be done using the 0-5V dial of the black box itself. In the code there is a loop to charge the capacitor. The reason why the same if statement appears twice is to time the loop to be close to 5ms.

Here is a (hopefully correct) version of the schematic.





Geen opmerkingen: