My little place on the web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
projects:steppermotor [2013/01/06 11:14]
elger created
projects:steppermotor [2013/01/06 12:23]
elger
Line 7: Line 7:
 The Wiki page on [[http://​en.wikipedia.org/​wiki/​Stepper_motor|stepper motors]] does an excellent job at documenting the motor. The Wiki page on [[http://​en.wikipedia.org/​wiki/​Stepper_motor|stepper motors]] does an excellent job at documenting the motor.
  
 +====== The components ======
  
 +This first test setup has three components, an Arduino (clone), A stepper driver and a stepper motor.
 +
 +{{ :​projects:​steppermotor:​stepper-motor_overview_text.jpg?​600 |}}
 +
 +The Arduino clone is just like a regular Arduino but this one has a serial port and the labeling of the ports is more like the real Atmega328 pin mapping.
 +{{ :​projects:​steppermotor:​arduino-clone.jpg?​200|}} ​
 +The controller board was a bit of a chalange because I tried to design it myself with the two chips that were designed specifically for this: the L297 STEPPER MOTOR CONTROLLERS[[http://​www.st.com/​internet/​com/​TECHNICAL_RESOURCES/​TECHNICAL_LITERATURE/​DATASHEET/​CD00000063.pdf|L297 STEPPER MOTOR CONTROLLERS]] and the [[http://​www.st.com/​internet/​com/​TECHNICAL_RESOURCES/​TECHNICAL_LITERATURE/​DATASHEET/​CD00000240.pdf|L298 Dual Full Bridge Driver]. This is no simple task if you need to do it on a single layer PCB. So in the end I just bought the simpler L298 driver board so I could get started.
 +{{ :​projects:​steppermotor:​l298n_based_dual_h-bridge_controller_board.jpg?​200|}}
 +
 +The steppermotor I chose also came from e-bay, it works on 12V and it is unipolar. In the end the problem with this motor is that the wire coloring is different from any data-sheet I could find. So after a lot of searching and testing I came up with the right sequence.
 +{{ :​projects:​steppermotor:​stepper-motor.jpg?​200|}}
 +Coil A : Blue
 +Coil B : Yellow
 +Coil C : Green
 +Coil D : Red