Difference between revisions of "Turntable USB interface"

From Organic Design wiki
m (Operating system)
(usb in asm)
Line 36: Line 36:
  
 
=Operating system=
 
=Operating system=
 +
*[http://www.obdev.at/developers/articles/00003.html Implementing USB 1.1 in AVR assember]
 
*[http://www.arduino.cc/en/Main/Software gcc, libc] supplied and open source
 
*[http://www.arduino.cc/en/Main/Software gcc, libc] supplied and open source
 
*No real operating system required
 
*No real operating system required

Revision as of 23:03, 9 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
  • ICSP programmer required to completely rewrite the bootloader - AVRISP mkII

Microcontroller

Features

Board

  • 78MO5 voltage regulator
  • FT232R USB to serial driver
  • S16B0016 clock
  • USB D-type connector

Operating system

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