User Tools

Site Tools


workshops:arduino_to_the_next_level:motor_shield

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
workshops:arduino_to_the_next_level:motor_shield [2017-04-11 09:57]
tim [Small Stepper Motor with Driver]
workshops:arduino_to_the_next_level:motor_shield [2017-04-11 11:32] (current)
Simon
Line 3: Line 3:
 There are a few different types of motor. Each work in a slight different way and are suited to different tasks, the two types we'll be looking at today are: There are a few different types of motor. Each work in a slight different way and are suited to different tasks, the two types we'll be looking at today are:
  
-  *  DC - When current is supplied to the motor it will continue to turn until power is removed. Quite hard to make precise amounts of turn http://​en.wikipedia.org/​wiki/​DC_motor+  *  ​[[http://​en.wikipedia.org/​wiki/​DC_motor|DC motors]] ​- When current is supplied to the motor it will continue to turn until power is removed. Quite hard to make precise amounts of turn.
  
-  *  Stepper motorsThey work by switching current to a number of separate coils in the right sequence allowing rotation in set "​steps"​ motor can turn a set amount. ​http://​en.wikipedia.org/​wiki/​Stepper_motor+  *  ​[[http://​en.wikipedia.org/​wiki/​Stepper_motor|Stepper motors]] - They work by switching current to a number of separate coils in the right sequence allowing rotation in set "​steps"​ motor can turn a set amount.
  
 As motors need quite a bit of power they can't be powered directly from the Adruino pins. Some extra electronics are required to avoid damaging the Arduino. These are usually based around transistors,​ that act as electronic switches. To save time we'll be using pre-build shields but this could be wired up directly. As motors need quite a bit of power they can't be powered directly from the Adruino pins. Some extra electronics are required to avoid damaging the Arduino. These are usually based around transistors,​ that act as electronic switches. To save time we'll be using pre-build shields but this could be wired up directly.
Line 26: Line 26:
 There is some example code on http://​www.4tronix.co.uk/​arduino/​Stepper-Motors.php There is some example code on http://​www.4tronix.co.uk/​arduino/​Stepper-Motors.php
  
-| {{workshops:​challenge_yourself.jpg?​200x0}}| **Easier**\\ **(1)** Turn the small stepper motor a full resolution in one direction and back again.\\ \\ **Intermediate**\\ **(2)** Turn the stepper motor at a speeds ​that takes about 60 seconds to make a full rotation. |+| {{workshops:​challenge_yourself.jpg?​200x0}}| **Easier**\\ **(1)** Turn the small stepper motor a full resolution in one direction and back again.\\ \\ **Intermediate**\\ **(2)** Turn the stepper motor at a speed that takes about 60 seconds to make a full rotation. |
  
workshops/arduino_to_the_next_level/motor_shield.txt ยท Last modified: 2017-04-11 11:32 by Simon