Secure SD card- 2 - Cassette tape copier

Cassette tapes may be obsolete nowadays, but their unique properties still make them almost perfect from the security point of view. Easy to erase, easy to monitor writing of every single sector, and very easy to destroy - everything that SSD devices ARE NOT!
SD cards are small, cheap, light and fast and they can hold gigabytes of data.
On the other hand, because of their inherent physical properties, they are far from perfect from the security standpoint. We explained almost everything here:
https://www.elektormagazine.com/news/secure-communications-an-interview-with-luka-matic
This device solves some problems of secure data management on SD cards:
https://www.elektormagazine.com/labs/secure-sd-card-2-sd-card-copier
Then why bother with obsolete cassette tape technology at all?
Thanks to the following properties, cassette tapes may still be more convenient than SDs:
1.) Easy to erase.
2.) Easy to monitor and control every sector of data.
3.) Easy to destroy.
The last property may be crucial in a spy scenario, where Alice must quickly destroy the codes when chased by Mallory or simply to prevent the dumpster-diving recovery of data by Eve! The PET-based tape melts at cca. 250°C and boils at 350°C, which is more practical than minimum 1300°C required for SSD.
Tape speed variation, wow and flutter are the main problems of cassette tape technology. This device uses a different approach - instead of precisely controlling the tape speed (which is very expensive in any aspect), the tape speed is constantly measured, and system clock frequency is varied accordingly. This way we can use any below-average tape deck, since this device can compensate for wow-flutter variations up to +/- 10% The only requirement is 200Hz-3000Hz frequency span which is achievable even with a dictaphone microcassette running at only 2.4 cm/s.
On the other hand, because of their inherent physical properties, they are far from perfect from the security standpoint. We explained almost everything here:
https://www.elektormagazine.com/news/secure-communications-an-interview-with-luka-matic
This device solves some problems of secure data management on SD cards:
https://www.elektormagazine.com/labs/secure-sd-card-2-sd-card-copier
Then why bother with obsolete cassette tape technology at all?
Thanks to the following properties, cassette tapes may still be more convenient than SDs:
1.) Easy to erase.
2.) Easy to monitor and control every sector of data.
3.) Easy to destroy.
The last property may be crucial in a spy scenario, where Alice must quickly destroy the codes when chased by Mallory or simply to prevent the dumpster-diving recovery of data by Eve! The PET-based tape melts at cca. 250°C and boils at 350°C, which is more practical than minimum 1300°C required for SSD.
Tape speed variation, wow and flutter are the main problems of cassette tape technology. This device uses a different approach - instead of precisely controlling the tape speed (which is very expensive in any aspect), the tape speed is constantly measured, and system clock frequency is varied accordingly. This way we can use any below-average tape deck, since this device can compensate for wow-flutter variations up to +/- 10% The only requirement is 200Hz-3000Hz frequency span which is achievable even with a dictaphone microcassette running at only 2.4 cm/s.
Updates from the author
lux36 4 years ago
thank you for your interest. I have just uploaded schematics and software to "Project Elements" section, it should be OK now.
SD2tape_copier_328_2313_analog1.pdf (23kb)
DG4EK 4 years ago
thank you for uploading the soft and the circuit diagrams.
Will soon get into to create a printed board.
Best regards
Peter (DG4EK)
lux36 4 years ago
-ATmega328P x1 pcs - Heart of the system, takes commands from UART terminal and handles data exchange between SD and the tape, clocked from VCO.
-ATTiny2313 x1 pcs - measures the tape speed based on frequencies of audio signals recorded and quickly adjusts the VCO frequency- actually a simple PLL. Clocked by XTAL running at constant 10.00MHz, to enable precise real-time tape speed measurement and VCO adjustments.
-DAC0800 x1 pcs - reads 8 bits from ATTiny2313 outputs and sends analog input to VCO. A simple PWM on ATTiny2313 output without a DAC wouldn't work-it's too slow.
-74HC14 x1 pcs. - wired as a VCO RC oscillator provides 4.0-5.0 MHz system clock for ATmega328P and the FSK modem.
-TCM3105 x1 pcs. - FSK modem, clocked from VCO
-LM324 x3 pcs - used for analog signal processing - several analog filters and AGC - also needed to create a 200 Hz squarewave, a so the ATTiny2313 can measure the tape speed in real time.
When recording a file to the tape, one 200Hz sinewave signal is mixed with FSK signal carrying the data (700Hz-2700Hz span). When reading this file from the tape, 200Hz is filtered with a 2-stage peak filter built around the IC1-LM324 (frequency span 180Hz-220Hz), and brought to ATTiny2313 input PD2. A notch filter built around the IC2-LM324 will suppress the 200Hz signal, leaving the pure FSK at its output. IC3-LM324 is an AGC (automatic gain control) circuit used to stabilize the amplitude of FSK before passing it to TCM3105 for demodulation.
With tape speed variations well compensated, the reliable data storage is achieved.
SD2tape_copier_328_2313_analog1.pdf (23kb)
DG4EK 4 years ago
where can I get the software?
Thanks and
regards
Peter