3 ms·
This doesn't really work, though, because to the 3D printer, 0 volts is a valid signal in the domain of the input. Never use a value in the domain of your input
by oakwhiz 13y ago
This doesn't really work, though, because to the 3D printer, 0 volts is a valid signal in the domain of the input. Never use a value in the domain of your input as a null value. Additionally, it is difficult to define what the sound level of a continuous signal really is, since it is usually computed using an averaging, integrating, or low-pass filter (not sure which.) Just like an old-fashioned VU meter, it takes a moment for the needle to fall down to 0. By the time this happens, the glitch is over.
Also, consider that not all audio glitches are of the type that cause zeroes to be emitted. Some audio glitches are known as buffer underruns, where the ring buffer holding audio is not filled up in time, and eventually runs out, causing the same few milliseconds of audio to play over and over again until more audio makes it into the buffer.
- jlgreco 13y agoI'm thinking you would throw in a cheap microcontroller and basically use it as a modem to control the printer. If the carrier signal is lost, then it stops printing. This would retain most of the benefits of using the audio jack, including being able to re-compute prints and play them back with something like an mp3 player instead of a proper computer.
- oakwhiz 13y agoThis does make it a bit more complex though, because the microcontroller, though simple, still needs a board and some kind of power supply, and a reasonably accurate DAC for controlling the galvanometers. The microcontroller would have to spend the time in between DAC timer interrupts to perform the "modem" function. Not too bad since for this project the DAC only needs a frequency of 8kHz or less, but still mildly challenging. You could just use an RS-232 or USB interface instead of trying to create a modem since that would be easier and perhaps more reliable.
- ajuc 13y agoI wonder what mp3 compression would do to your objects :)
- geon 13y ago> the 3D printer, 0 volts is a valid signal in the domain of the input. Only if you consider a centered rod of minimum thickness "valid".