Select Page

When you record audio samples to the serial SRAM on the Audio Hacker, the data will be lost when power is disconnected. However, the Audio Hacker uses SRAM chips that allow a small voltage to maintain their contents. The Audio Hacker board has pads where you can connect a small battery.


A 3V coin cell battery (like a CR2032) is sufficient to maintain the contents of the memory:


Now you can disconnect power without losing your awesome samples. There is one problem though: your sampling program on the Arduino was probably keeping track of which memory address your sample began/ended at, so now your program has “forgotten” where the sample boundaries are. One way to fix that is to write your sample address information to a header in SRAM. Another easy approach is to store the address info in the Arduino’s EEPROM. There is code in the Four Sample 12-bit Sampler project, as well as the 3-Track Looper project. These sketches store each sample’s end address in EEPROM whenever a sample is recorded. At sketch startup, these addresses are read from EEPROM. The code is simple, so just look for lines that use the EEPROM library.