Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
user:zimmer62:autodvdloaderrobot:start [2013/09/30 13:33] – zimmer62 | user:zimmer62:autodvdloaderrobot:start [2013/10/01 02:08] – zimmer62 | ||
---|---|---|---|
Line 23: | Line 23: | ||
* Safety Int (Black, Read, Green) [[http:// | * Safety Int (Black, Read, Green) [[http:// | ||
* 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 59: | Line 67: | ||
TODO: | TODO: | ||
- | * Find datasheet for stepper motor in machine | ||
* Hookup and test stepper motor to L6470 module | * Hookup and test stepper motor to L6470 module | ||
* Interface both types of optical sensors to gadgeteer board | * Interface both types of optical sensors to gadgeteer board | ||
Line 68: | Line 75: | ||
+ | 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()); | ||
+ | } | ||
+ | </ | ||