Difference between revisions of "Turntable USB interface"

From Organic Design wiki
m (we're using the atmega168 now)
(add link to c library docs)
Line 27: Line 27:
 
*C library and compiler supplied as open source
 
*C library and compiler supplied as open source
 
*[http://www.hynet.umd.edu/research/atemu/ AVR emulator]
 
*[http://www.hynet.umd.edu/research/atemu/ AVR emulator]
 +
*[http://download.savannah.gnu.org/releases/avr-libc/avr-libc-user-manual-1.4.4.pdf AVR libC]
  
 
=Operating system=
 
=Operating system=

Revision as of 23:31, 1 February 2007

I would like to retro-fit my 1970's pioneer turntable to be able to record onto a iPod or other USB device.

Pioneer-turntable.jpg

Operation

  • Plug in USB stick or iPod
  • Press record-pause
  • Place stylus on a chosen track
  • Signal level threshold trigger changes to record when the stylus hits the record
  • Sound file is written onto the device
  • Signal level threshold trigger stops recording after a few seconds pause (manual pause provided also)

Systems

  • Power supply
    • plug pack 12V 100mA
    • Split from it's case and wired in parallel on the AC side of the turntable's main transformer
  • Analogue phono stage (requires ±12V DC)
    • to be build on veroboard

Microcontroller

Features

Operating system

  • gcc, libc supplied and open source
  • No real operating system required
  • svn tree
  • bootloader supplied and open source
  • libipod [tar] program to modify iPod's XML playlist file to add the newly created track to the playlist

Main loop

  • boot up
  • USB device?
  • loop
    • yes-mount fs and open file descriptor
    • no-loop
  • set led to Red
  • loop
    • check A to D for signal input
    • check threshhold
      • begin recording
      • or
      • loop
  • begin recording

References