Discreet Data Logger
![main.jpg](/proxy/?url=https://content.instructables.com/F0Z/D2KC/FJIVQWH0/F0ZD2KCFJIVQWH0.jpg&filename=main.jpg)
There is no better way to hide a covert device than to stick it inside a larger conspicuous device.
That said... Essentially, this is a guide for making a data logging system for use with the breathalyzer microphone.
To accomplish this, an Arduino and a Logomatic SD data logger are embedded into an old and considerably large tape deck. The data is fed into the tape deck through an unassuming 1/4" audio jack.
That said... Essentially, this is a guide for making a data logging system for use with the breathalyzer microphone.
To accomplish this, an Arduino and a Logomatic SD data logger are embedded into an old and considerably large tape deck. The data is fed into the tape deck through an unassuming 1/4" audio jack.
Go Get Stuff
![DSCF5814.JPG](/proxy/?url=https://content.instructables.com/FVF/734E/FIQ6XRLB/FVF734EFIQ6XRLB.jpg&filename=DSCF5814.JPG)
To do this, you will need...
materials:
- old tape deck or similar
- Arduino Diecimilia
- Logomatic V1.0 SD Data Logger (available from Sparkfun)
- SD card
- An SD card reader
- A 10K resistor
- A schotky diode
- 1/4" jack (unless you already got one fo the breathalyzer mic)
- 9V battery connector
- 9V battery
- PCB
- hookup wire
- electrical tape
tools:
- philips head screwdriver
- soldering setup
- pliers and/or cutters
- power drill
materials:
- old tape deck or similar
- Arduino Diecimilia
- Logomatic V1.0 SD Data Logger (available from Sparkfun)
- SD card
- An SD card reader
- A 10K resistor
- A schotky diode
- 1/4" jack (unless you already got one fo the breathalyzer mic)
- 9V battery connector
- 9V battery
- PCB
- hookup wire
- electrical tape
tools:
- philips head screwdriver
- soldering setup
- pliers and/or cutters
- power drill
Prep the Case
![DSCF5821.JPG](/proxy/?url=https://content.instructables.com/FOA/L9ML/FIQ6XRLL/FOAL9MLFIQ6XRLL.jpg&filename=DSCF5821.JPG)
![DSCF5815.JPG](/proxy/?url=https://content.instructables.com/FK3/19EE/FIQ6XRLR/FK319EEFIQ6XRLR.jpg&filename=DSCF5815.JPG)
![DSCF5816.JPG](/proxy/?url=https://content.instructables.com/FZR/AU37/FIQ6XRLQ/FZRAU37FIQ6XRLQ.jpg&filename=DSCF5816.JPG)
![DSCF5817.JPG](/proxy/?url=https://content.instructables.com/FZL/QH4Z/FIQ6XRLP/FZLQH4ZFIQ6XRLP.jpg&filename=DSCF5817.JPG)
![DSCF5818.JPG](/proxy/?url=https://content.instructables.com/FKZ/PTGT/FIQ6XRLO/FKZPTGTFIQ6XRLO.jpg&filename=DSCF5818.JPG)
![DSCF5819.JPG](/proxy/?url=https://content.instructables.com/F1Z/L48E/FIQ6XRLN/F1ZL48EFIQ6XRLN.jpg&filename=DSCF5819.JPG)
![DSCF5820.JPG](/proxy/?url=https://content.instructables.com/F8U/OL1H/FIQ6XRLM/F8UOL1HFIQ6XRLM.jpg&filename=DSCF5820.JPG)
The first thing to do is open the case and determine where the arduino, data logger, battery and 1/4" jack are going to be placed. This may mean, in many cases, removing some of the parts inside the device.
I decided that the best place to insert my electronics was in the battery slot of the tape player. Unfortunately, the battery slot was just slightly not deep enough for the Arduino. This was easily resolved by disassembling the case, breaking off some excess plastic and reassembling.
Once the plastic was broken, everything fit in with room to spare.
The only real rule with this is that there needs to be enough room to comfortably fit all of your parts inside. Don't forget to factor in a reasonable place for mounting the 1/4" stereo jack without creating too many problems.
I decided that the best place to insert my electronics was in the battery slot of the tape player. Unfortunately, the battery slot was just slightly not deep enough for the Arduino. This was easily resolved by disassembling the case, breaking off some excess plastic and reassembling.
Once the plastic was broken, everything fit in with room to spare.
The only real rule with this is that there needs to be enough room to comfortably fit all of your parts inside. Don't forget to factor in a reasonable place for mounting the 1/4" stereo jack without creating too many problems.
Insert the Stereo Plug
![DSCF5823.JPG](/proxy/?url=https://content.instructables.com/FNX/SNGI/FIQ6XRM5/FNXSNGIFIQ6XRM5.jpg&filename=DSCF5823.JPG)
![DSCF5824.JPG](/proxy/?url=https://content.instructables.com/FJZ/TV4R/FIQ6XRM3/FJZTV4RFIQ6XRM3.jpg&filename=DSCF5824.JPG)
![DSCF5826.JPG](/proxy/?url=https://content.instructables.com/FSL/2Y4I/FIQ6XRM2/FSL2Y4IFIQ6XRM2.jpg&filename=DSCF5826.JPG)
Once you have carefully determined where the stereo plug should be positioned, double check that it will actually work in that position. Once you are absolutely sure, drill a 1/4" hole in the side of the case. Pass through your 1/4" stereo plug from the inside and secure it on the outside with the mounting bracket.
In my case, I didn't have to drill a hole. I was able to pass it through an existing hole in the case and secure it that way.
In my case, I didn't have to drill a hole. I was able to pass it through an existing hole in the case and secure it that way.
Prepare the SD Card
![IMG_0801.JPG](/proxy/?url=https://content.instructables.com/FHS/7XIJ/FIQ6XRNC/FHS7XIJFIQ6XRNC.jpg&filename=IMG_0801.JPG)
![IMG_0822.JPG](/proxy/?url=https://content.instructables.com/F0O/SK3P/FIQ6XRNB/F0OSK3PFIQ6XRNB.jpg&filename=IMG_0822.JPG)
Plug your SD card into the card reader for your computer. Format the card to FAT 16. Once this is done, unplug the card and insert it into the Logomatic.
Setup the Logomatic
![IMG_0818.JPG](/proxy/?url=https://content.instructables.com/FH8/0EJC/FIQ6XRPA/FH80EJCFIQ6XRPA.jpg&filename=IMG_0818.JPG)
![IMG_0808.JPG](/proxy/?url=https://content.instructables.com/FNZ/Y5PE/FIQ6XRPH/FNZY5PEFIQ6XRPH.jpg&filename=IMG_0808.JPG)
![IMG_0809.JPG](/proxy/?url=https://content.instructables.com/FO1/MBG4/FIQ6XRPB/FO1MBG4FIQ6XRPB.jpg&filename=IMG_0809.JPG)
![IMG_0810.JPG](/proxy/?url=https://content.instructables.com/FAA/NBI6/FIQ6XRP5/FAANBI6FIQ6XRP5.jpg&filename=IMG_0810.JPG)
![IMG_0811.JPG](/proxy/?url=https://content.instructables.com/F22/RJ4C/FIQ6XRP3/F22RJ4CFIQ6XRP3.jpg&filename=IMG_0811.JPG)
![IMG_0812.JPG](/proxy/?url=https://content.instructables.com/F4A/QG3V/FIQ6XRP2/F4AQG3VFIQ6XRP2.jpg&filename=IMG_0812.JPG)
![IMG_0813.JPG](/proxy/?url=https://content.instructables.com/FMU/X32G/FIQ6XRP1/FMUX32GFIQ6XRP1.jpg&filename=IMG_0813.JPG)
![IMG_0814.JPG](/proxy/?url=https://content.instructables.com/FGU/O63D/FIQ6XRP0/FGUO63DFIQ6XRP0.jpg&filename=IMG_0814.JPG)
![IMG_0815.JPG](/proxy/?url=https://content.instructables.com/FEI/3LJE/FIQ6XROX/FEI3LJEFIQ6XROX.jpg&filename=IMG_0815.JPG)
![IMG_0819.JPG](/proxy/?url=https://content.instructables.com/FNE/AUKF/FIQ6XRP6/FNEAUKFFIQ6XRP6.jpg&filename=IMG_0819.JPG)
![IMG_0816.JPG](/proxy/?url=https://content.instructables.com/F8V/1I3A/FIQ6XROW/F8V1I3AFIQ6XROW.jpg&filename=IMG_0816.JPG)
![IMG_0817.JPG](/proxy/?url=https://content.instructables.com/FTR/HNT1/FIQ6XROU/FTRHNT1FIQ6XROU.jpg&filename=IMG_0817.JPG)
Basically, this involves inserting the SD card into the socket on the datalogger and applying power from the Arduino.
Wait for a few minutes. You should see a flashing sequence of lights. When the lights are done flashing, remove the card and put back into card reader.
Two text files should appear called ___ and ____. You want to open them and configure it to have the following settings ______
Wait for a few minutes. You should see a flashing sequence of lights. When the lights are done flashing, remove the card and put back into card reader.
Two text files should appear called ___ and ____. You want to open them and configure it to have the following settings ______
Build the Interface Circuit
![schematic.jpg](/proxy/?url=https://content.instructables.com/FRW/BILZ/FJIVQW2W/FRWBILZFJIVQW2W.jpg&filename=schematic.jpg)
Using the following schematic, build the circuit to interface the Arduino to the Datalogger.
Program the Arduino
![Arduinocappz001.jpg](/proxy/?url=https://content.instructables.com/FPZ/A60F/FJIVQW3R/FPZA60FFJIVQW3R.jpg&filename=Arduinocappz001.jpg)
Program the Arduino with the code found below.
In other words, download this code. Download the Arduino development platform. Load this code into the Arduino development platform. Once the code is loaded, hit the upload button as shown in the picture below.
That's about it.
In other words, download this code. Download the Arduino development platform. Load this code into the Arduino development platform. Once the code is loaded, hit the upload button as shown in the picture below.
That's about it.
Connect It All Together
![step_8A.JPG](/proxy/?url=https://content.instructables.com/FH7/8CMA/FJIVQYC2/FH78CMAFJIVQYC2.jpg&filename=step_8A.JPG)
![step_8B.JPG](/proxy/?url=https://content.instructables.com/FOI/F95I/FJIVQYC0/FOIF95IFJIVQYC0.jpg&filename=step_8B.JPG)
![step_8C.JPG](/proxy/?url=https://content.instructables.com/FY4/IWZH/FJIVQYBZ/FY4IWZHFJIVQYBZ.jpg&filename=step_8C.JPG)
Connect the Arduino to the Logomatic data logger using your interface circuit as pictured.
Finish It Up
![step9A.JPG](/proxy/?url=https://content.instructables.com/FTS/Y861/FJIVQYCY/FTSY861FJIVQYCY.jpg&filename=step9A.JPG)
![step9B.JPG](/proxy/?url=https://content.instructables.com/FMR/NQQ1/FJIVQYCX/FMRNQQ1FJIVQYCX.jpg&filename=step9B.JPG)
![step9C.JPG](/proxy/?url=https://content.instructables.com/FM5/IGOH/FJIVQYCU/FM5IGOHFJIVQYCU.jpg&filename=step9C.JPG)
![step9D.JPG](/proxy/?url=https://content.instructables.com/FN6/G8ZQ/FJIVQYCT/FN6G8ZQFJIVQYCT.jpg&filename=step9D.JPG)
Plug the positive battery terminal into 9V socket on the arduino and ground to ground. secure everything inside of case so that the terminals can't accidentally touch. Finish by closing up the case.