Open electromuis opened 7 years ago
If you look at the DJ Hero encoder sensor closely, it's actually two matched sensors in one! :)
Here's how I modified my turntable: Below is a picture of the DJ Hero board with the relevant traces mapped out. (Before I modified it.)
I cut all the wires to the board, and cut the VCC and Sensor traces leading to the chip. Then I soldered 4 of the slip-ring wires to VCC, GND, Sensor 1, and Sensor 2 at the sensor pins and connected them to the Arduino.
I wedged a couple anti-static bags between the turntable and the base and taped them down to keep the turntable from spinning freely and put the whole thing in a MDF box.
I just pushed some new code and added some accuracy information to the README. Go check it out.
Have fun building your controller! I'd love to hear how it turns out. :)
(That native I2C library is a cool find. I wondered if that chip had been RE'd, but like you, I figured it would be best to use the sensor directly.)
Your project looks awesome! Working on replicating it. I was wondering, what parts did you use for the dj table sensor. You mention you used a dj hero controller. Did you use the built in sensor or did you put a diffrent one in? In the schematic i see 2 sensors but when i opened up the controller i only see one. Another option i tought of wat to use the controller with its original driver, it works with i2c (implementation here https://github.com/reverbrick/I2C-Hub/blob/master/DJHero/DJHero.pde). Bu i would prefer using the sensor itself becuase it's way faster