Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:zimmer62:autodvdloaderrobot:start [2013/09/21 16:16] – zimmer62 | user:zimmer62:autodvdloaderrobot:start [2017/04/05 00:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 18: | Line 18: | ||
* Bad Disk Full (Orange, Yellow, Green, Blue) [[https:// | * Bad Disk Full (Orange, Yellow, Green, Blue) [[https:// | ||
* Bin Full (Red, Orange, Yellow, Green) [[https:// | * Bin Full (Red, Orange, Yellow, Green) [[https:// | ||
+ | * Pin 1 = Red = Emitter Anode | ||
+ | * Pin 2 = Orange = Emitter Cathode | ||
+ | * Pin 3 = Yellow = Sensor Emitter | ||
+ | * Pin 4 = Green = Sensor Collector | ||
* Drive Door (Blue, Black, Purple, Yellow) [[https:// | * Drive Door (Blue, Black, Purple, Yellow) [[https:// | ||
- | * Home Sensor (Red, Orange, Yellow) Sharp? (Yellow = E) | + | * Home Sensor (Red, Orange, Yellow) |
- | * Disk Present (Red, Black, Blue) Sharp? (Blue = E) | + | * Disk Present (Red, Black, Blue) [[http:// |
- | * Safety Int (Black, Read, Green) Sharp? (Green = E) | + | * Safety Int (Black, Read, Green) |
* JP13 Greyish White Wires go to the Disc Release Solenoid. | * JP13 Greyish White Wires go to the Disc Release Solenoid. | ||
- | * Stepper Motor FL42STH47-1206AC | + | * Stepper Motor [[http:// |
- | | + | * Rated Voltage = 4V |
+ | * Current / Phase = 1.2A | ||
+ | * Resistance / Phase 3.3Ω | ||
+ | * Inductance / Phase 2.8mH | ||
+ | * Holding Torque = 3.17Kg-cm | ||
+ | * Rotor Inertia = 68g-cm^2 | ||
+ | * Detent Torque = 200g-cm | ||
* Power Supply 12V @ 2.5A | * Power Supply 12V @ 2.5A | ||
+ | |||
+ | {{: | ||
This should be enough information to get going. | This should be enough information to get going. | ||
Line 34: | Line 46: | ||
{{: | {{: | ||
---- | ---- | ||
- | That still leaves | + | That still left me with trying to identify that Sharp optical sensor since there are 2 of them I will need. |
I can see that the blue wire here is the Emitter, I'd really like to find the specs on this to make sure I drive it correctly. | I can see that the blue wire here is the Emitter, I'd really like to find the specs on this to make sure I drive it correctly. | ||
Line 41: | Line 53: | ||
A little experimenting with the lid sensor that I'm not going to need should help me figure out how to interface with this. | A little experimenting with the lid sensor that I'm not going to need should help me figure out how to interface with this. | ||
+ | Ohhh I found it [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | I had a heck of a time getting the .net gadgeteer board and the L6470 stepper controller to talk to any stepper motor. | ||
+ | |||
+ | I was finally able to get this turning a stepper motor over the weekend. | ||
+ | |||
+ | I had to use some software and a stepper motor datasheet to get some values to feed into their software. | ||
+ | |||
+ | According to this: | ||
+ | https:// | ||
+ | |||
+ | Those values only get you close and you need to use an o-scope to tune it further. | ||
+ | |||
+ | |||
+ | TODO: | ||
+ | * Hookup and test stepper motor to L6470 module | ||
+ | * Verify resistors and voltage coming into micro-controller. | ||
+ | * Write some rough code to exercise the machine using the optical sensors to prevent damage | ||
+ | * A loop that grabs CD's from source stack, drops them every other into the bins until bins are full. | ||
+ | * Write code to interface machine to PC to take simple commands and report back | ||
+ | * Write code on PC side to control machine and rip discs | ||
+ | 9/30/2013 | ||
+ | Andrew and I learned how to interface with the Disc Presence sensor. | ||
+ | * Blue Wire to Ground | ||
+ | * Red Wire to 5V | ||
+ | * Black Wire to Pin 3 (interrupt pin) | ||
+ | <code csharp> | ||
+ | public bool IsDiscPresent { get { return !diskPresenceSensor.Read(); | ||
+ | | ||
+ | private Gadgeteer.Interfaces.InterruptInput diskPresenceSensor; | ||
+ | private void SetupDiscPresenceSensor() | ||
+ | { | ||
+ | char_Display.PrintString(" | ||
+ | diskPresenceSensor = breadBoard_X1.SetupInterruptInput(GT.Socket.Pin.Three, | ||
+ | diskPresenceSensor.Interrupt += diskPresenceSensor_Interrupt; | ||
+ | diskPresenceSensor.Read(); | ||
+ | } | ||
+ | void diskPresenceSensor_Interrupt(GT.Interfaces.InterruptInput sender, bool value) | ||
+ | { | ||
+ | char_Display.Clear(); | ||
+ | char_Display.PrintString(IsDiscPresent.ToString()); | ||
+ | } | ||
+ | </ | ||
+ | I wrote down the documentation on how we hooked up the other sensor. | ||