Difference between revisions of "Turntable USB interface"

From Organic Design wiki
m (Why?)
(move to Category:Old Projects and format)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Hardware]]
 
 
I would like to retro-fit my 1970's pioneer turntable to be able to record onto a iPod or other USB device.
 
I would like to retro-fit my 1970's pioneer turntable to be able to record onto a iPod or other USB device.
  
 
[[image:pioneer-turntable.jpg]]
 
[[image:pioneer-turntable.jpg]]
=Why?=
 
Because I like to combine technology in unusual ways. And also to bring together analog and digital without a computer getting in the way.
 
  
There is a microcomputer involved however.
+
== Operation ==
 
 
=Operation=
 
 
*Indicator light is off
 
*Indicator light is off
 
*Plug in USB stick or iPod
 
*Plug in USB stick or iPod
Line 24: Line 19:
 
*Indicator light goes out
 
*Indicator light goes out
  
=Systems=
+
== Systems ==
 
*Power supply
 
*Power supply
 +
*[http://www.rsnewzealand.com/cgi-bin/bv/rswww/searchBrowseAction.do?Nr=AND%28avl%3anz%2csearchDiscon_nz%3aN%29&Ntk=I18NAll&Nty=1&Ntt=bicolour%20led&Ntx=mode%20matchpartial&N=4294847647&name=SiteStandard&forwardingPage=line&R=2285720  Indicator LED]  and bezel
 
**plug pack 12V 100mA
 
**plug pack 12V 100mA
 
**Split from it's case and wired in parallel on the AC side of the turntable's main transformer
 
**Split from it's case and wired in parallel on the AC side of the turntable's main transformer
Line 32: Line 28:
 
*ICSP programmer required to ''completely'' rewrite the bootloader - [http://rocky.digikey.com/scripts/ProductInfo.dll?Site=US&V=313&M=ATAVRISP2 AVRISP mkII]
 
*ICSP programmer required to ''completely'' rewrite the bootloader - [http://rocky.digikey.com/scripts/ProductInfo.dll?Site=US&V=313&M=ATAVRISP2 AVRISP mkII]
  
=Microcontroller=
+
== Microcontroller ==
*<s>[http://blackfin.uclinux.org/gf/project/bf1/wiki/ Blackfin]</s>
 
 
*[http://www.arduino.cc/en/Main/Buy Arduino NG] AVR microprocessor board
 
*[http://www.arduino.cc/en/Main/Buy Arduino NG] AVR microprocessor board
 +
*[http://ww1.microchip.com/downloads/en/devicedoc/40192c.pdf PIC16C505]
 
*[http://www.arduino.cc/en/Guide/Board Schematics]
 
*[http://www.arduino.cc/en/Guide/Board Schematics]
===Features===
+
 
 +
=== Features ===
 
*[http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf ATmega168 AVR processor]
 
*[http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf ATmega168 AVR processor]
 
*Digital <-> Analogue converter
 
*Digital <-> Analogue converter
Line 42: Line 39:
 
*[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]
 
*[http://download.savannah.gnu.org/releases/avr-libc/avr-libc-user-manual-1.4.4.pdf AVR libC]
==Board==
+
 
 +
=== Board ===
 
*78MO5 voltage regulator
 
*78MO5 voltage regulator
 
*[http://www.ftdichip.com/Products/FT232R.htm FT232R] USB to serial driver
 
*[http://www.ftdichip.com/Products/FT232R.htm FT232R] USB to serial driver
Line 48: Line 46:
 
*USB D-type connector
 
*USB D-type connector
  
=Operating system=
+
== Operating system ==
 
*[http://www.obdev.at/developers/articles/00003.html Implementing USB 1.1 in AVR assember]
 
*[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
Line 56: Line 54:
 
*[http://libipod.sourceforge.net/ libipod] [[http://optusnet.dl.sourceforge.net/sourceforge/libipod/libipod-0.1.tgz tar]] program to modify iPod's XML playlist file to add the newly created track to the playlist
 
*[http://libipod.sourceforge.net/ libipod] [[http://optusnet.dl.sourceforge.net/sourceforge/libipod/libipod-0.1.tgz tar]] program to modify iPod's XML playlist file to add the newly created track to the playlist
 
*[http://www.sics.se/contiki/ ContikiOS]
 
*[http://www.sics.se/contiki/ ContikiOS]
 +
*[[w:USB mass storage device class|USB mass storage device class]] - fat
 +
*[http://www.thesycon.de/eng/tumlib.shtml USB Mass Storage host driver stack]
  
=Main loop=
+
== See also ==
*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=
 
 
*[http://savannah.gnu.org/search/?words=avr&type_of_search=soft&Search=Search&exact=1#options Lots of GNU tools for AVR]
 
*[http://savannah.gnu.org/search/?words=avr&type_of_search=soft&Search=Search&exact=1#options Lots of GNU tools for AVR]
 
*[http://wiring.org.co/learning/tutorials/diagrams.html AVR diagrams] (good)
 
*[http://wiring.org.co/learning/tutorials/diagrams.html AVR diagrams] (good)
 
*[http://www.wikihow.com/Convert-a-Computer-ATX-Power-Supply-to-a-Lab-Power-Supply Custom power supply project]
 
*[http://www.wikihow.com/Convert-a-Computer-ATX-Power-Supply-to-a-Lab-Power-Supply Custom power supply project]
 
*[http://www.hynet.umd.edu/research/atemu/downloads.html Good links and downloads] for emulators, libc...
 
*[http://www.hynet.umd.edu/research/atemu/downloads.html Good links and downloads] for emulators, libc...
[[Category:USB turntable]]
+
*[http://blackfin.uclinux.org/gf/project/bf1/wiki/ Blackfin]
 +
[[Category:Hardware]][[Category:Old Projects]]

Latest revision as of 10:20, 10 January 2009

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

  • Indicator light is off
  • Plug in USB stick or iPod
  • Indicator light is green to indicate all is well - iPod or memory stick is detected
  • Place stylus on a chosen track
  • Press button
  • Indicator light is red for record
  • You will also see the activity light on the USB device light
  • Sound file is written onto the device in WAV/AIFF format
  • Press button
  • Recording stops and file is closed
  • Indicator light is green
  • You can press the button to begin recording again to a new file
  • Unplug device (only when light is green - your risk if you unplug on red)
  • Indicator light goes out

Systems

  • Power supply
  • Indicator LED and bezel
    • 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

See also