<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hades.mech.northwestern.edu//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MattT</id>
	<title>Mech - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://hades.mech.northwestern.edu//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MattT"/>
	<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php/Special:Contributions/MattT"/>
	<updated>2026-05-13T15:58:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:DC09MotorControllerCode.zip&amp;diff=14161</id>
		<title>File:DC09MotorControllerCode.zip</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:DC09MotorControllerCode.zip&amp;diff=14161"/>
		<updated>2009-08-25T16:30:29Z</updated>

		<summary type="html">&lt;p&gt;MattT: Note this code is in rough format with few comments.  The principles are guaranteed to work, but it may take time looking at what the code to understand everything.  Rewriting sections may be required, depending on your application.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note this code is in rough format with few comments.  The principles are guaranteed to work, but it may take time looking at what the code to understand everything.  Rewriting sections may be required, depending on your application.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=I2C_Motor_Controller&amp;diff=14159</id>
		<title>I2C Motor Controller</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=I2C_Motor_Controller&amp;diff=14159"/>
		<updated>2009-08-25T16:15:04Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This design is intended as a cost effective, readily available motor controller solution capable of handling multiple controllers from one master device in a logical, powerful and easy to use interface.&lt;br /&gt;
	&lt;br /&gt;
This solution is best suited to drive DC brush motors at encoder rates up to and exceeding 2 MHz.  Motor positions are measured with hardware quadrature encoding to achieve this high rate.  A built in PID controller with adjustable gains is used to control each motor to be flexible enough for any choice of motor.&lt;br /&gt;
&lt;br /&gt;
See the datasheet [[Media:I2CMotorController.PDF|&#039;&#039;&#039;here&#039;&#039;&#039;]] for more information about using this I2C motor controller.&lt;br /&gt;
&lt;br /&gt;
Download zip file of code [[Media:I2CMotorControllerCode.zip|&#039;&#039;&#039;here&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
Code used on the final Team Banzai Design Competition 2009 robot can be found [[Media:DC09MotorControllerCode.zip|&#039;&#039;&#039;here&#039;&#039;&#039;]] as well.  This code uses two PIC18F2431 chips with built in QEI(quadrature) modules.  This portion of the slave code can be rewritten to use the LS7081 chips with PIC18F4520 controllers, but in its current state will not work for these chips.  The code tracks trapezoidal motion profiles and may not be appropriate for motors will lower than 500CPR resolution.  This code in its current state is &amp;lt;b&amp;gt;untested&amp;lt;/b&amp;gt;, but the tracking, communication, and polling algorithms make it a good guide in differential drive mobile robotics control.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=I2C_Motor_Controller&amp;diff=14158</id>
		<title>I2C Motor Controller</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=I2C_Motor_Controller&amp;diff=14158"/>
		<updated>2009-08-25T16:14:44Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This design is intended as a cost effective, readily available motor controller solution capable of handling multiple controllers from one master device in a logical, powerful and easy to use interface.&lt;br /&gt;
	&lt;br /&gt;
This solution is best suited to drive DC brush motors at encoder rates up to and exceeding 2 MHz.  Motor positions are measured with hardware quadrature encoding to achieve this high rate.  A built in PID controller with adjustable gains is used to control each motor to be flexible enough for any choice of motor.&lt;br /&gt;
&lt;br /&gt;
See the datasheet [[Media:I2CMotorController.PDF|&#039;&#039;&#039;here&#039;&#039;&#039;]] for more information about using this I2C motor controller.&lt;br /&gt;
&lt;br /&gt;
Download zip file of code [[Media:I2CMotorControllerCode.zip|&#039;&#039;&#039;here&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
Code used on the final Team Banzai Design Competition 2009 robot can be found [[Media:DC09MotorControllerCode.zip|&#039;&#039;&#039;here&#039;&#039;&#039;]] as well.  This code uses two PIC18F2431 chips with built in QEI(quadrature) modules.  This portion of the slave code can be rewritten to use the LS7081 chips with PIC18F4520 controllers, but in its current state will not work for these chips.  The code tracks trapezoidal motion profiles and may not be appropriate for motors will lower than 500CPR resolution.  This code in its current state is &amp;lt;b&amp;gt;untested&amp;lt;\b&amp;gt;, but the tracking, communication, and polling algorithms make it a good guide in differential drive mobile robotics control.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13362</id>
		<title>Actuators Available in the Mechatronics Lab</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13362"/>
		<updated>2009-06-09T21:40:05Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* DC Motors (with gearheads and encoders) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[image:all-actuators-captions-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
We have acquired a number of actuators that are appropriately sized for&lt;br /&gt;
many mechatronics projects.  These are the &amp;quot;standard&amp;quot; lab actuators.&lt;br /&gt;
You are welcome to borrow them for your project and return them when&lt;br /&gt;
you are finished.  In addition to the actuators mentioned below, we&lt;br /&gt;
have a number of other actuators that we have acquired over the years&lt;br /&gt;
that you are welcome to borrow.&lt;br /&gt;
&lt;br /&gt;
For your particular project, it may be best to spec out and buy a&lt;br /&gt;
particular type and size of actuator.  If your specifications are not&lt;br /&gt;
too critical, however, the actuators below will allow you to get&lt;br /&gt;
started right away.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DC Motors (with gearheads and encoders)==&lt;br /&gt;
&lt;br /&gt;
There are many types of DC motors, but our favorites are brushed&lt;br /&gt;
permanent magnet DC motors for their power, price, ubiquity, and&lt;br /&gt;
simplicity.  Simply put a voltage across the two motor terminals, and&lt;br /&gt;
the motor spins.  (You can learn about the [[Brushed DC Motor Theory| theory]] of how a brushed DC &lt;br /&gt;
motor works and suggested methods&lt;br /&gt;
for driving a DC motor elsewhere on this wiki.)  &lt;br /&gt;
&lt;br /&gt;
One problem is that most DC motors tend to rotate at very high speeds,&lt;br /&gt;
typically several thousand RPM or more.  This is too fast for most&lt;br /&gt;
mechatronics applications.  Also, they tend to have too little torque.&lt;br /&gt;
Both of these problems can be solved by the use of gears on the output&lt;br /&gt;
shaft of the motor.  If the motor has an N:1 gearhead on its output&lt;br /&gt;
shaft (where N&amp;gt;1, typically), then the output shaft of the gearhead&lt;br /&gt;
reduces the speed of the motor by a factor of N and increases the&lt;br /&gt;
torque of the motor by a factor of N.  (You can learn more&lt;br /&gt;
about how [[Gears|gears]] work including other issues&lt;br /&gt;
they introduce, such as gearhead efficiency and backlash.)&lt;br /&gt;
&lt;br /&gt;
Another issue is how to determine how far the motor has rotated.  You need&lt;br /&gt;
&#039;&#039;feedback&#039;&#039; from the motor.  There are many ways to do this, using&lt;br /&gt;
encoders, potentiometers, and tachometers.  The most common way to get angle&lt;br /&gt;
feedback is through the use of encoders.  An encoder is typically attached&lt;br /&gt;
to a motor shaft and produces pulses that encode the shaft rotation angle.&lt;br /&gt;
These pulses can be read in by the encoder inputs of the Mechatronics Lab&lt;br /&gt;
PC/104 stacks.&lt;br /&gt;
&lt;br /&gt;
So, perhaps the most versatile kind of actuator is a DC motor with a gearhead and an&lt;br /&gt;
encoder.  Below are some that we keep in the lab.  Sometimes DC motors&lt;br /&gt;
with gearheads and encoders can be purchased through surplus outlets at&lt;br /&gt;
great prices, for prices less than any of the single components (motor,&lt;br /&gt;
gearhead, encoder) could be purchased individually.  That&#039;s how many&lt;br /&gt;
copies of the actuators below were purchased.  If you see a great&lt;br /&gt;
deal on a nice-sized motor plus gearhead plus encoder, of which many&lt;br /&gt;
copies can be purchased, let us know!&lt;br /&gt;
&lt;br /&gt;
===6W Maxon motor with 6:1 gearhead and 100 line encoder===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:maxon-small2.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 41.5 ohms resistance, max current 0.58 Amps&lt;br /&gt;
* max torque:  0.15 Nm (approx)&lt;br /&gt;
* max speed:  600 RPM (approx)&lt;br /&gt;
* encoder:  600 counts/rev at output shaft, 2400 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The motor is rated at 24 volts, giving a no-load (maximum)&lt;br /&gt;
speed of 3990 RPM (about 418 radians/sec) and a (maximum) stall torque of 31.9 mNm (milli&lt;br /&gt;
Newton meters).  The terminal resistance (the resistance through the&lt;br /&gt;
motor windings) is 41.5 ohms.  This means if you put 24 V across it,&lt;br /&gt;
the maximum current that it will draw is 24/41.5 = 0.58 Amps.  This&lt;br /&gt;
maximum current occurs when the motor is stalled and generating its&lt;br /&gt;
maximum torque.  Motor torque is proportional to the motor current by&lt;br /&gt;
the constant of proportionality called the &#039;&#039;torque constant&#039;&#039;,&lt;br /&gt;
which is different for every motor.&lt;br /&gt;
&lt;br /&gt;
The motor is called a 6 Watt motor because that is the maximum&lt;br /&gt;
electrical power (current times voltage) that can be put into the&lt;br /&gt;
motor on a continuous basis.  Beyond this power level, the amount of&lt;br /&gt;
power dissipated by the resistance of the motor windings will cause&lt;br /&gt;
the windings to heat up unacceptably.  (It is fine to overpower the&lt;br /&gt;
motor intermittently, allowing the coils to cool so that the average&lt;br /&gt;
power does not exceed the rated power.)  At this operating point, &lt;br /&gt;
the motor draws 244 mA, giving 24 V x 0.244 A = 5.86 W electrical input&lt;br /&gt;
power.  At this operating point, the speed of the motor is approximately&lt;br /&gt;
1689 RPM, or 177 radians/sec, and the torque of the motor is 13.5 mNm,&lt;br /&gt;
giving 177 rad/sec x 0.0135 Nm = 2.39 W of mechanical output power,&lt;br /&gt;
giving a power-conversion efficiency of about 41% at this operating point.&lt;br /&gt;
The maximum efficiency of the motor is 70%, which occurs at a higher&lt;br /&gt;
speed and lower torque.  The maximum mechanical power you can get out&lt;br /&gt;
of the motor is (1/2 max torque) x (1/2 max speed) = 3.33 W.  This is&lt;br /&gt;
beyond the continuous operation recommendation, but it is fine to&lt;br /&gt;
run it for short periods at this operating point.&lt;br /&gt;
&lt;br /&gt;
Often you will want to run the motor at lower voltages, for instance&lt;br /&gt;
at 12 V, instead of the rated 24 V.  In this case just multiply the&lt;br /&gt;
max current, speed, and torques by the factor 12/24 = 1/2.  In particular,&lt;br /&gt;
the maximum output power will be only (1/2) x (1/2) = 1/4 the maximum at 24 V.&lt;br /&gt;
&lt;br /&gt;
This actuator comes with a 6:1 spur gearhead, which increases the&lt;br /&gt;
torque available at the gearhead&#039;s output shaft by a factor of 6 and&lt;br /&gt;
decreases the speed by a factor of 6.  (In this ideal case, the&lt;br /&gt;
power at the gearhead&#039;s output shaft is equal to the power at the input.&lt;br /&gt;
In practice, gearheads have an efficiency also; the maximum&lt;br /&gt;
efficiency of the gearhead here is 81%.  This reduces the torque&lt;br /&gt;
available.)&lt;br /&gt;
&lt;br /&gt;
In summary, then, if your application requires no more than about 6 x&lt;br /&gt;
31.9 mNm = 0.19 Nm maximum torque, 3990 RPM / 6 = 665 RPM max speed,&lt;br /&gt;
and 3.3 W max mechanical power, this may be the motor for you.&lt;br /&gt;
Reduce those values by a factor of 1/2, 1/2, and 1/4, respectively, if&lt;br /&gt;
you are operating the motor with 12 V max instead of 24 V max.&lt;br /&gt;
&lt;br /&gt;
This actuator also comes with a 100 line single-ended incremental optical encoder,&lt;br /&gt;
with outputs A+ and B+.  There is no index channel.  The encoder is&lt;br /&gt;
attached to the motor.  Each of the A+ and B+ channels makes 100 pulses&lt;br /&gt;
per revolution of the motor, or 6 x 100 = 600 pulses per revolution of&lt;br /&gt;
the output shaft of the gearhead.  This means the encoder provides&lt;br /&gt;
360 deg / 600 pulses = 0.6 deg/pulse resolution when the pulses are &lt;br /&gt;
decoded with the 1x scheme, or 0.15 deg/pulse resolution with the 4x&lt;br /&gt;
decoding scheme.&lt;br /&gt;
&lt;br /&gt;
Information about the Maxon motor is given in this [[Media:maxon-2140-specs.pdf|data sheet]] which includes &lt;br /&gt;
other motors in this family (ours is the 24V version)&lt;br /&gt;
and this [[Media:maxon-our-specific-motor.pdf|data sheet]] which gives only&lt;br /&gt;
the information on this motor.  Information on the 6:1 gearhead can be found &lt;br /&gt;
[[Media:maxon-gearhead.pdf|here]].  The encoder pin-out is indicated below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:encoder-maxon.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The encoder comes with a 4-connector ribbon cable, corresponding to GND, Channel A, Vcc (usually +5V), and Channel B, as&lt;br /&gt;
shown on the left.  Here the ribbon cable is broken out into a 10-pin connector (which we have in the lab).  The connector&lt;br /&gt;
above is made to work with the PC/104 stacks, and the pin-out is shown.  Always make sure you have the right connections&lt;br /&gt;
for your encoder so you don&#039;t damage it!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Pittman GM8224 motor with 19.5:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:pittman-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more power than the motor above, this gearmotor may be a good choice.&lt;br /&gt;
As an added bonus, it provides much higher encoder resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 4.33 ohms resistance, max current 5.54 Amps&lt;br /&gt;
* max torque:  2 Nm (approx)&lt;br /&gt;
* max speed:  500 RPM (approx)&lt;br /&gt;
* encoder:  9750 counts/rev at output shaft, 39,000 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This motor is also rated at 24 V, with a terminal resistance of 4.33 ohms,&lt;br /&gt;
giving a stall (maximum) current of 5.54 Amps.  The stall torque of the motor&lt;br /&gt;
itself is 0.1186 Nm&lt;br /&gt;
and the no-load (maximum) speed is 10,158 RPM (1064 radians/sec).  The&lt;br /&gt;
recommended maximum continuous torque is 0.0185 Nm which occurs at &lt;br /&gt;
8573 RPM (898 radians/sec).  Taken together, the maximum motor mechanical power&lt;br /&gt;
is (1/2 Tmax) x (1/2 nmax) = 31.5 W and the maximum recommended continuous&lt;br /&gt;
mechanical power is 16.6 W.  The maximum electrical input power occurs when&lt;br /&gt;
the motor is stalled (or starting) and is 24 V x 5.54 A = 133 W.  If you&lt;br /&gt;
operate the motor at a smaller voltage V2, then multiply the currents, speeds,&lt;br /&gt;
and torques above by a factor V2/24 and the power by a factor of (V2/24)^2.&lt;br /&gt;
&lt;br /&gt;
This motor has a 19.5:1 gearhead with a power conversion efficiency of 73%.  &lt;br /&gt;
Ignoring the efficiency for the moment, the 19.5:1 gearbox means that this&lt;br /&gt;
actuator may be appropriate if our application calls for no more than a &lt;br /&gt;
maximum speed of 10,158 RPM / 19.5 = 521 RPM and a maximum torque of&lt;br /&gt;
0.1186 Nm x 19.5 = 2.3 Nm.  In other words, the output shaft speed is similar&lt;br /&gt;
to the Maxon gearmotor above, but with about 10 times the torque.  &lt;br /&gt;
&lt;br /&gt;
This motor comes with a 500 line encoder attached to the motor shaft.  The&lt;br /&gt;
encoder has output channels A+ and B+ (no index pulse).  This means that&lt;br /&gt;
the encoder provides 500 x 19.5 = 9750 pulses per revolution of the output shaft.&lt;br /&gt;
In the 4x decoding mode, this gives 39,000 counts per revolution, or a resolution&lt;br /&gt;
of 360/39,000 = 0.00923 degrees.&lt;br /&gt;
&lt;br /&gt;
We also have a limited number of Pittman GM8712 motors with a 19.5:1 gearhead&lt;br /&gt;
and 512 line encoder.  These motors are also rated at 24V but have a higher&lt;br /&gt;
terminal resistance of 12.1 ohms, giving a maximum current of 24/12.1 = 1.99 Amps.&lt;br /&gt;
They have a maximum speed of 7847 RPM and maximum torque of 0.052 Nm before the&lt;br /&gt;
gearhead, or (ignoring gearhead efficiency) 402 RPM and 1.01 Nm after the&lt;br /&gt;
gearhead.  This motor is less powerful and draws less current, which may&lt;br /&gt;
be appropriate for some applications.&lt;br /&gt;
The encoder provides 9984 pulses per revolution of the output shaft&lt;br /&gt;
of the gearhead, or 360/(4 x 9984) = 0.009 degrees resolution in 4x decoding mode.&lt;br /&gt;
&lt;br /&gt;
See the [[Media:pittmangearmotor.pdf|data sheet]] for more detailed&lt;br /&gt;
information on these Pittman 8224 and 8712 gearmotors.  The 8712 is not treated&lt;br /&gt;
explicitly, but is believed to be similar to the 8722.&lt;br /&gt;
&lt;br /&gt;
The quadrature encoder has four wires:  black (GND), red (+5V), and blue and yellow as &lt;br /&gt;
channels A and B.&lt;br /&gt;
&lt;br /&gt;
===Pittman 700935 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:Pittmann700935.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* Speed: 5000 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Continuous Torque: unknown&lt;br /&gt;
* Stall Current: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 2000 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: N/A&lt;br /&gt;
* Mass: 410 grams&lt;br /&gt;
* Length: 4.75 inches&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Pittman GM9413J820 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:PittmannGM9413J820.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* Speed: 85 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Continuous Torque: unknown&lt;br /&gt;
* Stall Current: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 39,400 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: 19.7:1&lt;br /&gt;
* Mass: 510 grams&lt;br /&gt;
* Length: 4.75 inches&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faulhaber 1524E006S motor with 141:1 gearhead and HES164A magnetic quadrature encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 6V, 12 ohms resistance (motor: 1524E006S123, where 123 is a special order)&lt;br /&gt;
* 141:1 gearhead (gearhead:  15/5S141:1K832)&lt;br /&gt;
* max speed at 6V:  approximately 80 RPM at gearhead output&lt;br /&gt;
* quadrature encoder with 1 line per motor revolution, or 141 x 4 = 564 counts/rev at output shaft in 4x decoding mode (encoder:  HES164A)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This little motor is the right size, speed, and torque for small wheeled mobile robots.&lt;br /&gt;
Ours were bought surplus from [http://www.bgmicro.com bgmicro.com].  This &lt;br /&gt;
[http://www.robotroom.com/FaulhaberGearmotor.html page] by&lt;br /&gt;
David Cook has a lot of great information on this motor + gearhead + encoder combination.&lt;br /&gt;
More info can be found in this [[Media:faulhaber-datasheet.pdf|data sheet]] from Faulhaber,&lt;br /&gt;
though our exact model encoder and motor are not listed.  The gearhead has a right-angle&lt;br /&gt;
drive at the output.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-pinout.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
The pins on the connector are (see figure at right):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.  Motor + &amp;lt;br&amp;gt;&lt;br /&gt;
2.  +5V (or similar) to power the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
3.  Encoder channel A&amp;lt;br&amp;gt;&lt;br /&gt;
4.  Encoder channel B&amp;lt;br&amp;gt;&lt;br /&gt;
5.  GND for the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
6.  Motor -&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Encoder channels A and B can sink (connect to ground) up to probably 25mA like most Hall sensors.  There is only a a weak pull-up resistor inside, perhaps 10K, so they can only source (connect to +5) about 2mA.   If you find the logic high signal from the encoder channel is not close enough to +5, which can happen even due to loading by an LED, you may want to add an external pull-up resistor from each encoder channel to +5.  470ohms is a good choice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-wheel.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
These [http://www.solarbotics.com/products/gmpw/ wheels] can be used with the motor (with the&lt;br /&gt;
right-angle drive) if you drill out the center of the wheel with a 9/32&amp;quot; bit (approximately).  Then you&lt;br /&gt;
should get a nice tight press-fit.  We have some of these wheels in the lab.  This press-fit is not &lt;br /&gt;
suitable for high-torque applications, though; the shaft may begin to slip.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Globe motor with 187.68:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:globe-motor.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 12V, 21 ohms resistance (0.57 A stall current)&lt;br /&gt;
* 187.68:1 gearhead for high torque and low speed&lt;br /&gt;
* max speed at 12V:  approximately 17 RPM at gearhead output (no load speed, motor alone:  approx 3000 RPM)&lt;br /&gt;
* torque constant (motor alone):  approximately 34 mNm/A (or 3.6 mV/RPM)&lt;br /&gt;
* stall torque:  motor alone:  0.019 Nm; with gearhead 2.4 Nm (based on torque multiplier of 125, less than the 187 gear ratio due to efficiency losses)&lt;br /&gt;
* quadrature encoder with 500 lines per motor revolution, or 500 x 4 x 187.68 = 375,360 counts/rev at output shaft in 4x decoding mode (encoder:  HEDS-5505 A04)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This small motor combines with a high resolution encoder and a high gear ratio gearbox to give a high torque, low speed actuator with high resolution position sensing (and velocity sensing by finite differencing).  The stall torque for this gearmotor (at 12 V) is approximately the same as that for the Pittman GM8224 gearmotor (at 24 V), but the max speed for the PIttman gearmotor is 20 times higher.  The pin-out for the encoder is shown below.  You can attach to the encoder using a Samtec IDSS-05-D-12.00 cable (shown in the middle below; order directly from [http://www.samtec.com Samtec], about $3.50 each and we have several in the lab), a less-expensive 5-pin cable CAB2154 from [https://www.bgmicro.com/index.asp?PageAction=VIEWPROD&amp;amp;ProdID=12868 bgmicro] (we have several in the lab), or you can make your own cable using stranded wires (22 AWG or ribbon cable) crimped or soldered in female Molex terminal pins (Molex series KK 2759, part number WM1114CT-ND on digikey) in a Molex 5 position connector housing (Molex series KK 2695, part number WM1578-ND on digikey), shown at right below.  (See [[Making a Molex Connector]] for more details.) The [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder recommends putting a 3.2k pull-up resistor on Channels A and B (i.e., 3.2k resistors from these lines to +5V).  The encoder works without these, but the datasheet indicates that you get better rise times on the encoder signals at high speeds when the pull-up resistors are added.&lt;br /&gt;
&lt;br /&gt;
[[image:globe-encoder-annotated.jpg|300px]]&lt;br /&gt;
[[image:globe-encoder-cable.jpg|200px]]&lt;br /&gt;
[[image:globe-encoder-cable-molex.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
If you want a higher-speed (up to 3000 RPM at 12V) lower-torque actuator, you can try removing the gearbox.  This task takes a bit of work and may require a bit of machining.  See [[Accessing_Pinion_of_Globe_Motor|here]].  This page also shows how to remove the encoder, in case you want to use it in a project without the motor.&lt;br /&gt;
&lt;br /&gt;
The two motor power leads are wound through a ferrite toroid to suppress EMI &amp;quot;noise.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Here you can find a [[Media:globe-cad.pdf|cad file]] describing this actuator, a [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder, and a [[Media:idss-connector.pdf|datasheet]] for the Samtec IDSS-05-D-12.00 connector.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GM3 and GM9 Gearmotors===&lt;br /&gt;
&lt;br /&gt;
[[image:GM3.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;  (GM3 pictured at right)&lt;br /&gt;
* rated at 6V, approx 10 ohms resistance&lt;br /&gt;
* 224:1 gearhead (GM3) or 143:1 gearhead (GM9)&lt;br /&gt;
* max speed at 6V approximately 43 RPM (GM3) or 84 RPM (GM9)&lt;br /&gt;
* stall torque at 6V approximately 73 oz-in (GM3) or 52 oz-in (GM9)&lt;br /&gt;
* no encoder installed, but can be modified to add one; see [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|here]]&lt;br /&gt;
* size:  70 x 22.5 x 37 mm&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These highly-geared motors can be bought new at [http://www.solarbotics.com solarbotics.com] or [http://www.hobbyengineering.com hobbyengineering.com].  These motors work with these [http://www.solarbotics.com/products/gmpw/ wheels], which we have in&lt;br /&gt;
the lab.  The motors do not come with encoders, but you can [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|add one yourself]],&lt;br /&gt;
similar to the magnetic encoder on the Faulhaber motor above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Stepper Motors==&lt;br /&gt;
&lt;br /&gt;
Stepper motors move in discrete steps.  The controller energizes electromagnet&lt;br /&gt;
coils, and the motor&#039;s rotor rotates to the nearest equilibrium point.  By&lt;br /&gt;
proper sequencing of which coils are energized, the motor rotates as desired&lt;br /&gt;
(and, if the rotation is fast enough, may simply pass through the equilibrium&lt;br /&gt;
points without stopping).  &lt;br /&gt;
&lt;br /&gt;
One nice thing about stepper motors is that they do not require&lt;br /&gt;
feedback; we know how far the motor has rotated, because we commanded&lt;br /&gt;
the motion.  This becomes a problem if we try to rotate the motor too&lt;br /&gt;
fast, or if the load is larger than expected --- the motor may not&lt;br /&gt;
actually do what we commanded.  Stepper motors are a &lt;br /&gt;
good choice for relatively low-torque applications where the loads&lt;br /&gt;
are consistent, so we can be assured our commanded motions are followed.&lt;br /&gt;
&lt;br /&gt;
===Jameco 163395 8.4V bipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:small-stepper.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Although this motor is rated at 8.4V, it is possible&lt;br /&gt;
to run it at lower or slightly higher voltages.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 8.4V, 2 phases, 30 ohms resistance, 280 mA current&lt;br /&gt;
* holding torque:  0.081 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.0037 Nm (coils off)&lt;br /&gt;
* size:  1.64&amp;quot; motor diameter, 1.2&amp;quot; motor height&lt;br /&gt;
* shaft: 0.29&amp;quot; x 0.155&amp;quot; diameter&lt;br /&gt;
* mass:  0.24 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-163395.pdf|data sheet]].&lt;br /&gt;
There are four leads, two for each independent coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Jameco 162026CX 12V unipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:stepper-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more holding torque, this stepper may be a&lt;br /&gt;
good choice.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 12V, 4 phases, 20 ohms resistance, 600 mA current&lt;br /&gt;
* holding torque:  0.588 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.071 Nm (coils off)&lt;br /&gt;
* size:  2.2&amp;quot; motor diameter, 2.0&amp;quot; motor height&lt;br /&gt;
* shaft:  1&amp;quot; x 0.25&amp;quot; diameter&lt;br /&gt;
* mass:  0.65 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-162026.pdf|data sheet]] (ours is the &lt;br /&gt;
57BYG084).  There are six leads, three for each independent&lt;br /&gt;
coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RC Servo Motors==&lt;br /&gt;
&lt;br /&gt;
RC servos are convenient for positioning applications that require&lt;br /&gt;
significant torque, not much speed, and only moderate positioning&lt;br /&gt;
precision.  They take three connections, power (+5V, typically),&lt;br /&gt;
ground, and a pulsing signal that tells the motor the desired angle (typically a&lt;br /&gt;
pulse of 0.5 - 3 ms every 20 ms or so, where the duration of the pulse&lt;br /&gt;
indicates the desired angle of the motor).&lt;br /&gt;
Inside the motor is a potentiometer that senses the actual angle of&lt;br /&gt;
the motor output shaft and a feedback controller that tries to make&lt;br /&gt;
the motor angle match that specified by the pulsed signal.  There is&lt;br /&gt;
also a large gear ratio such that the motor provides high torque at&lt;br /&gt;
low speed.  Most RC servos have limited angle range, like 180 degrees,&lt;br /&gt;
due to the angle-sensing potentiometer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Futaba S3004 standard ball bearing RC servo motor===&lt;br /&gt;
&lt;br /&gt;
[[image:RC-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* motor rotation:  180 degrees&lt;br /&gt;
* speed:  60 degrees in 0.23 sec at 4.8V, 0.19 sec at 6V&lt;br /&gt;
* torque:  0.31 Nm at 4.8V, 0.4 Nm at 6V&lt;br /&gt;
* size:  1.4&amp;quot; height, 0.8&amp;quot; width&lt;br /&gt;
* mass:  37.2 g&lt;br /&gt;
&lt;br /&gt;
These were purchased from Tower Hobbies, part number LM1954.&lt;br /&gt;
Higher torque versions are also available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Solenoids==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solenoids are simple on-off actuators consisting of a plunger moving in an&lt;br /&gt;
electromagnetic field.  If you power the electromagnet, the plunger is&lt;br /&gt;
&amp;quot;pushed&amp;quot; or &amp;quot;pulled&amp;quot; a particular stroke length, and if you unpower the&lt;br /&gt;
coil, the plunger returns to its original position, usually by a return &lt;br /&gt;
spring or gravity.  These are simple to control and useful for applications&lt;br /&gt;
where the actuator only has to take one of two positions.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We stock two solenoids (in addition to many random ones) which are basically&lt;br /&gt;
the same, except one is a &amp;quot;pull type&amp;quot; solenoid and the other is a &amp;quot;push type.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Jameco 262262 (pull) and 262271 (push) 12V open frame solenoid===&lt;br /&gt;
&lt;br /&gt;
[[image:solenoids-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* 12 V, 36 ohm resistance, 333 mA&lt;br /&gt;
* holding force:  0.5 N&lt;br /&gt;
* stroke:  6 mm&lt;br /&gt;
* size:  1.5&amp;quot; length x 1.0&amp;quot; x 0.8&amp;quot; diameter&lt;br /&gt;
* shaft diameter: 0.310&amp;quot;&lt;br /&gt;
* mass:  96 g&lt;br /&gt;
&lt;br /&gt;
You can find a data sheet [[Media:jameco-solenoid-262262.pdf|here]].&lt;br /&gt;
You can attach a lever (or other mechanical transformer) to the plunger to&lt;br /&gt;
get more stroke and less force, or more force and less stroke.  If no lever&lt;br /&gt;
will meet your specs,&lt;br /&gt;
then you will need another solenoid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AC Motors==&lt;br /&gt;
&lt;br /&gt;
[[image:ac-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Some projects need more power than any of the actuators above can&lt;br /&gt;
provide.  In that case, you may be able to use a Yaskawa AC motor.&lt;br /&gt;
These are technically in the Laboratory for Intelligent Mechanical&lt;br /&gt;
Systems, but they are available for Mechatronics use.  These should&lt;br /&gt;
not be a first choice, as (1) they can be dangerous due to their high&lt;br /&gt;
power, and (2) they limit the mobility of your project as they must be&lt;br /&gt;
plugged into the wall to get 110V AC.  You can find information&lt;br /&gt;
on these motors and their amplifiers&lt;br /&gt;
[http://www.mech.northwestern.edu/courses/433/Writeups/YaskawaMotors/YakawaACservomotors.htm  here].&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13361</id>
		<title>Actuators Available in the Mechatronics Lab</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13361"/>
		<updated>2009-06-09T21:31:45Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[image:all-actuators-captions-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
We have acquired a number of actuators that are appropriately sized for&lt;br /&gt;
many mechatronics projects.  These are the &amp;quot;standard&amp;quot; lab actuators.&lt;br /&gt;
You are welcome to borrow them for your project and return them when&lt;br /&gt;
you are finished.  In addition to the actuators mentioned below, we&lt;br /&gt;
have a number of other actuators that we have acquired over the years&lt;br /&gt;
that you are welcome to borrow.&lt;br /&gt;
&lt;br /&gt;
For your particular project, it may be best to spec out and buy a&lt;br /&gt;
particular type and size of actuator.  If your specifications are not&lt;br /&gt;
too critical, however, the actuators below will allow you to get&lt;br /&gt;
started right away.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DC Motors (with gearheads and encoders)==&lt;br /&gt;
&lt;br /&gt;
There are many types of DC motors, but our favorites are brushed&lt;br /&gt;
permanent magnet DC motors for their power, price, ubiquity, and&lt;br /&gt;
simplicity.  Simply put a voltage across the two motor terminals, and&lt;br /&gt;
the motor spins.  (You can learn about the [[Brushed DC Motor Theory| theory]] of how a brushed DC &lt;br /&gt;
motor works and suggested methods&lt;br /&gt;
for driving a DC motor elsewhere on this wiki.)  &lt;br /&gt;
&lt;br /&gt;
One problem is that most DC motors tend to rotate at very high speeds,&lt;br /&gt;
typically several thousand RPM or more.  This is too fast for most&lt;br /&gt;
mechatronics applications.  Also, they tend to have too little torque.&lt;br /&gt;
Both of these problems can be solved by the use of gears on the output&lt;br /&gt;
shaft of the motor.  If the motor has an N:1 gearhead on its output&lt;br /&gt;
shaft (where N&amp;gt;1, typically), then the output shaft of the gearhead&lt;br /&gt;
reduces the speed of the motor by a factor of N and increases the&lt;br /&gt;
torque of the motor by a factor of N.  (You can learn more&lt;br /&gt;
about how [[Gears|gears]] work including other issues&lt;br /&gt;
they introduce, such as gearhead efficiency and backlash.)&lt;br /&gt;
&lt;br /&gt;
Another issue is how to determine how far the motor has rotated.  You need&lt;br /&gt;
&#039;&#039;feedback&#039;&#039; from the motor.  There are many ways to do this, using&lt;br /&gt;
encoders, potentiometers, and tachometers.  The most common way to get angle&lt;br /&gt;
feedback is through the use of encoders.  An encoder is typically attached&lt;br /&gt;
to a motor shaft and produces pulses that encode the shaft rotation angle.&lt;br /&gt;
These pulses can be read in by the encoder inputs of the Mechatronics Lab&lt;br /&gt;
PC/104 stacks.&lt;br /&gt;
&lt;br /&gt;
So, perhaps the most versatile kind of actuator is a DC motor with a gearhead and an&lt;br /&gt;
encoder.  Below are some that we keep in the lab.  Sometimes DC motors&lt;br /&gt;
with gearheads and encoders can be purchased through surplus outlets at&lt;br /&gt;
great prices, for prices less than any of the single components (motor,&lt;br /&gt;
gearhead, encoder) could be purchased individually.  That&#039;s how many&lt;br /&gt;
copies of the actuators below were purchased.  If you see a great&lt;br /&gt;
deal on a nice-sized motor plus gearhead plus encoder, of which many&lt;br /&gt;
copies can be purchased, let us know!&lt;br /&gt;
&lt;br /&gt;
===6W Maxon motor with 6:1 gearhead and 100 line encoder===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:maxon-small2.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 41.5 ohms resistance, max current 0.58 Amps&lt;br /&gt;
* max torque:  0.15 Nm (approx)&lt;br /&gt;
* max speed:  600 RPM (approx)&lt;br /&gt;
* encoder:  600 counts/rev at output shaft, 2400 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The motor is rated at 24 volts, giving a no-load (maximum)&lt;br /&gt;
speed of 3990 RPM (about 418 radians/sec) and a (maximum) stall torque of 31.9 mNm (milli&lt;br /&gt;
Newton meters).  The terminal resistance (the resistance through the&lt;br /&gt;
motor windings) is 41.5 ohms.  This means if you put 24 V across it,&lt;br /&gt;
the maximum current that it will draw is 24/41.5 = 0.58 Amps.  This&lt;br /&gt;
maximum current occurs when the motor is stalled and generating its&lt;br /&gt;
maximum torque.  Motor torque is proportional to the motor current by&lt;br /&gt;
the constant of proportionality called the &#039;&#039;torque constant&#039;&#039;,&lt;br /&gt;
which is different for every motor.&lt;br /&gt;
&lt;br /&gt;
The motor is called a 6 Watt motor because that is the maximum&lt;br /&gt;
electrical power (current times voltage) that can be put into the&lt;br /&gt;
motor on a continuous basis.  Beyond this power level, the amount of&lt;br /&gt;
power dissipated by the resistance of the motor windings will cause&lt;br /&gt;
the windings to heat up unacceptably.  (It is fine to overpower the&lt;br /&gt;
motor intermittently, allowing the coils to cool so that the average&lt;br /&gt;
power does not exceed the rated power.)  At this operating point, &lt;br /&gt;
the motor draws 244 mA, giving 24 V x 0.244 A = 5.86 W electrical input&lt;br /&gt;
power.  At this operating point, the speed of the motor is approximately&lt;br /&gt;
1689 RPM, or 177 radians/sec, and the torque of the motor is 13.5 mNm,&lt;br /&gt;
giving 177 rad/sec x 0.0135 Nm = 2.39 W of mechanical output power,&lt;br /&gt;
giving a power-conversion efficiency of about 41% at this operating point.&lt;br /&gt;
The maximum efficiency of the motor is 70%, which occurs at a higher&lt;br /&gt;
speed and lower torque.  The maximum mechanical power you can get out&lt;br /&gt;
of the motor is (1/2 max torque) x (1/2 max speed) = 3.33 W.  This is&lt;br /&gt;
beyond the continuous operation recommendation, but it is fine to&lt;br /&gt;
run it for short periods at this operating point.&lt;br /&gt;
&lt;br /&gt;
Often you will want to run the motor at lower voltages, for instance&lt;br /&gt;
at 12 V, instead of the rated 24 V.  In this case just multiply the&lt;br /&gt;
max current, speed, and torques by the factor 12/24 = 1/2.  In particular,&lt;br /&gt;
the maximum output power will be only (1/2) x (1/2) = 1/4 the maximum at 24 V.&lt;br /&gt;
&lt;br /&gt;
This actuator comes with a 6:1 spur gearhead, which increases the&lt;br /&gt;
torque available at the gearhead&#039;s output shaft by a factor of 6 and&lt;br /&gt;
decreases the speed by a factor of 6.  (In this ideal case, the&lt;br /&gt;
power at the gearhead&#039;s output shaft is equal to the power at the input.&lt;br /&gt;
In practice, gearheads have an efficiency also; the maximum&lt;br /&gt;
efficiency of the gearhead here is 81%.  This reduces the torque&lt;br /&gt;
available.)&lt;br /&gt;
&lt;br /&gt;
In summary, then, if your application requires no more than about 6 x&lt;br /&gt;
31.9 mNm = 0.19 Nm maximum torque, 3990 RPM / 6 = 665 RPM max speed,&lt;br /&gt;
and 3.3 W max mechanical power, this may be the motor for you.&lt;br /&gt;
Reduce those values by a factor of 1/2, 1/2, and 1/4, respectively, if&lt;br /&gt;
you are operating the motor with 12 V max instead of 24 V max.&lt;br /&gt;
&lt;br /&gt;
This actuator also comes with a 100 line single-ended incremental optical encoder,&lt;br /&gt;
with outputs A+ and B+.  There is no index channel.  The encoder is&lt;br /&gt;
attached to the motor.  Each of the A+ and B+ channels makes 100 pulses&lt;br /&gt;
per revolution of the motor, or 6 x 100 = 600 pulses per revolution of&lt;br /&gt;
the output shaft of the gearhead.  This means the encoder provides&lt;br /&gt;
360 deg / 600 pulses = 0.6 deg/pulse resolution when the pulses are &lt;br /&gt;
decoded with the 1x scheme, or 0.15 deg/pulse resolution with the 4x&lt;br /&gt;
decoding scheme.&lt;br /&gt;
&lt;br /&gt;
Information about the Maxon motor is given in this [[Media:maxon-2140-specs.pdf|data sheet]] which includes &lt;br /&gt;
other motors in this family (ours is the 24V version)&lt;br /&gt;
and this [[Media:maxon-our-specific-motor.pdf|data sheet]] which gives only&lt;br /&gt;
the information on this motor.  Information on the 6:1 gearhead can be found &lt;br /&gt;
[[Media:maxon-gearhead.pdf|here]].  The encoder pin-out is indicated below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:encoder-maxon.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The encoder comes with a 4-connector ribbon cable, corresponding to GND, Channel A, Vcc (usually +5V), and Channel B, as&lt;br /&gt;
shown on the left.  Here the ribbon cable is broken out into a 10-pin connector (which we have in the lab).  The connector&lt;br /&gt;
above is made to work with the PC/104 stacks, and the pin-out is shown.  Always make sure you have the right connections&lt;br /&gt;
for your encoder so you don&#039;t damage it!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Pittman GM8224 motor with 19.5:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:pittman-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more power than the motor above, this gearmotor may be a good choice.&lt;br /&gt;
As an added bonus, it provides much higher encoder resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 4.33 ohms resistance, max current 5.54 Amps&lt;br /&gt;
* max torque:  2 Nm (approx)&lt;br /&gt;
* max speed:  500 RPM (approx)&lt;br /&gt;
* encoder:  9750 counts/rev at output shaft, 39,000 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This motor is also rated at 24 V, with a terminal resistance of 4.33 ohms,&lt;br /&gt;
giving a stall (maximum) current of 5.54 Amps.  The stall torque of the motor&lt;br /&gt;
itself is 0.1186 Nm&lt;br /&gt;
and the no-load (maximum) speed is 10,158 RPM (1064 radians/sec).  The&lt;br /&gt;
recommended maximum continuous torque is 0.0185 Nm which occurs at &lt;br /&gt;
8573 RPM (898 radians/sec).  Taken together, the maximum motor mechanical power&lt;br /&gt;
is (1/2 Tmax) x (1/2 nmax) = 31.5 W and the maximum recommended continuous&lt;br /&gt;
mechanical power is 16.6 W.  The maximum electrical input power occurs when&lt;br /&gt;
the motor is stalled (or starting) and is 24 V x 5.54 A = 133 W.  If you&lt;br /&gt;
operate the motor at a smaller voltage V2, then multiply the currents, speeds,&lt;br /&gt;
and torques above by a factor V2/24 and the power by a factor of (V2/24)^2.&lt;br /&gt;
&lt;br /&gt;
This motor has a 19.5:1 gearhead with a power conversion efficiency of 73%.  &lt;br /&gt;
Ignoring the efficiency for the moment, the 19.5:1 gearbox means that this&lt;br /&gt;
actuator may be appropriate if our application calls for no more than a &lt;br /&gt;
maximum speed of 10,158 RPM / 19.5 = 521 RPM and a maximum torque of&lt;br /&gt;
0.1186 Nm x 19.5 = 2.3 Nm.  In other words, the output shaft speed is similar&lt;br /&gt;
to the Maxon gearmotor above, but with about 10 times the torque.  &lt;br /&gt;
&lt;br /&gt;
This motor comes with a 500 line encoder attached to the motor shaft.  The&lt;br /&gt;
encoder has output channels A+ and B+ (no index pulse).  This means that&lt;br /&gt;
the encoder provides 500 x 19.5 = 9750 pulses per revolution of the output shaft.&lt;br /&gt;
In the 4x decoding mode, this gives 39,000 counts per revolution, or a resolution&lt;br /&gt;
of 360/39,000 = 0.00923 degrees.&lt;br /&gt;
&lt;br /&gt;
We also have a limited number of Pittman GM8712 motors with a 19.5:1 gearhead&lt;br /&gt;
and 512 line encoder.  These motors are also rated at 24V but have a higher&lt;br /&gt;
terminal resistance of 12.1 ohms, giving a maximum current of 24/12.1 = 1.99 Amps.&lt;br /&gt;
They have a maximum speed of 7847 RPM and maximum torque of 0.052 Nm before the&lt;br /&gt;
gearhead, or (ignoring gearhead efficiency) 402 RPM and 1.01 Nm after the&lt;br /&gt;
gearhead.  This motor is less powerful and draws less current, which may&lt;br /&gt;
be appropriate for some applications.&lt;br /&gt;
The encoder provides 9984 pulses per revolution of the output shaft&lt;br /&gt;
of the gearhead, or 360/(4 x 9984) = 0.009 degrees resolution in 4x decoding mode.&lt;br /&gt;
&lt;br /&gt;
See the [[Media:pittmangearmotor.pdf|data sheet]] for more detailed&lt;br /&gt;
information on these Pittman 8224 and 8712 gearmotors.  The 8712 is not treated&lt;br /&gt;
explicitly, but is believed to be similar to the 8722.&lt;br /&gt;
&lt;br /&gt;
The quadrature encoder has four wires:  black (GND), red (+5V), and blue and yellow as &lt;br /&gt;
channels A and B.&lt;br /&gt;
&lt;br /&gt;
===Pittman 700935 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:Pittmann700935.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* Speed: 5000 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Torque: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 2000 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: N/A&lt;br /&gt;
* Weight: unknown&lt;br /&gt;
* Length: unknown&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Pittman GM9413J820 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:PittmannGM9413J820.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* Speed: 85 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Torque: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 39,400 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: 19.7:1&lt;br /&gt;
* Weight: unknown&lt;br /&gt;
* Length: unknown&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faulhaber 1524E006S motor with 141:1 gearhead and HES164A magnetic quadrature encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 6V, 12 ohms resistance (motor: 1524E006S123, where 123 is a special order)&lt;br /&gt;
* 141:1 gearhead (gearhead:  15/5S141:1K832)&lt;br /&gt;
* max speed at 6V:  approximately 80 RPM at gearhead output&lt;br /&gt;
* quadrature encoder with 1 line per motor revolution, or 141 x 4 = 564 counts/rev at output shaft in 4x decoding mode (encoder:  HES164A)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This little motor is the right size, speed, and torque for small wheeled mobile robots.&lt;br /&gt;
Ours were bought surplus from [http://www.bgmicro.com bgmicro.com].  This &lt;br /&gt;
[http://www.robotroom.com/FaulhaberGearmotor.html page] by&lt;br /&gt;
David Cook has a lot of great information on this motor + gearhead + encoder combination.&lt;br /&gt;
More info can be found in this [[Media:faulhaber-datasheet.pdf|data sheet]] from Faulhaber,&lt;br /&gt;
though our exact model encoder and motor are not listed.  The gearhead has a right-angle&lt;br /&gt;
drive at the output.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-pinout.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
The pins on the connector are (see figure at right):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.  Motor + &amp;lt;br&amp;gt;&lt;br /&gt;
2.  +5V (or similar) to power the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
3.  Encoder channel A&amp;lt;br&amp;gt;&lt;br /&gt;
4.  Encoder channel B&amp;lt;br&amp;gt;&lt;br /&gt;
5.  GND for the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
6.  Motor -&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Encoder channels A and B can sink (connect to ground) up to probably 25mA like most Hall sensors.  There is only a a weak pull-up resistor inside, perhaps 10K, so they can only source (connect to +5) about 2mA.   If you find the logic high signal from the encoder channel is not close enough to +5, which can happen even due to loading by an LED, you may want to add an external pull-up resistor from each encoder channel to +5.  470ohms is a good choice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-wheel.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
These [http://www.solarbotics.com/products/gmpw/ wheels] can be used with the motor (with the&lt;br /&gt;
right-angle drive) if you drill out the center of the wheel with a 9/32&amp;quot; bit (approximately).  Then you&lt;br /&gt;
should get a nice tight press-fit.  We have some of these wheels in the lab.  This press-fit is not &lt;br /&gt;
suitable for high-torque applications, though; the shaft may begin to slip.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Globe motor with 187.68:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:globe-motor.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 12V, 21 ohms resistance (0.57 A stall current)&lt;br /&gt;
* 187.68:1 gearhead for high torque and low speed&lt;br /&gt;
* max speed at 12V:  approximately 17 RPM at gearhead output (no load speed, motor alone:  approx 3000 RPM)&lt;br /&gt;
* torque constant (motor alone):  approximately 34 mNm/A (or 3.6 mV/RPM)&lt;br /&gt;
* stall torque:  motor alone:  0.019 Nm; with gearhead 2.4 Nm (based on torque multiplier of 125, less than the 187 gear ratio due to efficiency losses)&lt;br /&gt;
* quadrature encoder with 500 lines per motor revolution, or 500 x 4 x 187.68 = 375,360 counts/rev at output shaft in 4x decoding mode (encoder:  HEDS-5505 A04)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This small motor combines with a high resolution encoder and a high gear ratio gearbox to give a high torque, low speed actuator with high resolution position sensing (and velocity sensing by finite differencing).  The stall torque for this gearmotor (at 12 V) is approximately the same as that for the Pittman GM8224 gearmotor (at 24 V), but the max speed for the PIttman gearmotor is 20 times higher.  The pin-out for the encoder is shown below.  You can attach to the encoder using a Samtec IDSS-05-D-12.00 cable (shown in the middle below; order directly from [http://www.samtec.com Samtec], about $3.50 each and we have several in the lab), a less-expensive 5-pin cable CAB2154 from [https://www.bgmicro.com/index.asp?PageAction=VIEWPROD&amp;amp;ProdID=12868 bgmicro] (we have several in the lab), or you can make your own cable using stranded wires (22 AWG or ribbon cable) crimped or soldered in female Molex terminal pins (Molex series KK 2759, part number WM1114CT-ND on digikey) in a Molex 5 position connector housing (Molex series KK 2695, part number WM1578-ND on digikey), shown at right below.  (See [[Making a Molex Connector]] for more details.) The [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder recommends putting a 3.2k pull-up resistor on Channels A and B (i.e., 3.2k resistors from these lines to +5V).  The encoder works without these, but the datasheet indicates that you get better rise times on the encoder signals at high speeds when the pull-up resistors are added.&lt;br /&gt;
&lt;br /&gt;
[[image:globe-encoder-annotated.jpg|300px]]&lt;br /&gt;
[[image:globe-encoder-cable.jpg|200px]]&lt;br /&gt;
[[image:globe-encoder-cable-molex.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
If you want a higher-speed (up to 3000 RPM at 12V) lower-torque actuator, you can try removing the gearbox.  This task takes a bit of work and may require a bit of machining.  See [[Accessing_Pinion_of_Globe_Motor|here]].  This page also shows how to remove the encoder, in case you want to use it in a project without the motor.&lt;br /&gt;
&lt;br /&gt;
The two motor power leads are wound through a ferrite toroid to suppress EMI &amp;quot;noise.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Here you can find a [[Media:globe-cad.pdf|cad file]] describing this actuator, a [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder, and a [[Media:idss-connector.pdf|datasheet]] for the Samtec IDSS-05-D-12.00 connector.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GM3 and GM9 Gearmotors===&lt;br /&gt;
&lt;br /&gt;
[[image:GM3.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;  (GM3 pictured at right)&lt;br /&gt;
* rated at 6V, approx 10 ohms resistance&lt;br /&gt;
* 224:1 gearhead (GM3) or 143:1 gearhead (GM9)&lt;br /&gt;
* max speed at 6V approximately 43 RPM (GM3) or 84 RPM (GM9)&lt;br /&gt;
* stall torque at 6V approximately 73 oz-in (GM3) or 52 oz-in (GM9)&lt;br /&gt;
* no encoder installed, but can be modified to add one; see [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|here]]&lt;br /&gt;
* size:  70 x 22.5 x 37 mm&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These highly-geared motors can be bought new at [http://www.solarbotics.com solarbotics.com] or [http://www.hobbyengineering.com hobbyengineering.com].  These motors work with these [http://www.solarbotics.com/products/gmpw/ wheels], which we have in&lt;br /&gt;
the lab.  The motors do not come with encoders, but you can [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|add one yourself]],&lt;br /&gt;
similar to the magnetic encoder on the Faulhaber motor above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Stepper Motors==&lt;br /&gt;
&lt;br /&gt;
Stepper motors move in discrete steps.  The controller energizes electromagnet&lt;br /&gt;
coils, and the motor&#039;s rotor rotates to the nearest equilibrium point.  By&lt;br /&gt;
proper sequencing of which coils are energized, the motor rotates as desired&lt;br /&gt;
(and, if the rotation is fast enough, may simply pass through the equilibrium&lt;br /&gt;
points without stopping).  &lt;br /&gt;
&lt;br /&gt;
One nice thing about stepper motors is that they do not require&lt;br /&gt;
feedback; we know how far the motor has rotated, because we commanded&lt;br /&gt;
the motion.  This becomes a problem if we try to rotate the motor too&lt;br /&gt;
fast, or if the load is larger than expected --- the motor may not&lt;br /&gt;
actually do what we commanded.  Stepper motors are a &lt;br /&gt;
good choice for relatively low-torque applications where the loads&lt;br /&gt;
are consistent, so we can be assured our commanded motions are followed.&lt;br /&gt;
&lt;br /&gt;
===Jameco 163395 8.4V bipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:small-stepper.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Although this motor is rated at 8.4V, it is possible&lt;br /&gt;
to run it at lower or slightly higher voltages.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 8.4V, 2 phases, 30 ohms resistance, 280 mA current&lt;br /&gt;
* holding torque:  0.081 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.0037 Nm (coils off)&lt;br /&gt;
* size:  1.64&amp;quot; motor diameter, 1.2&amp;quot; motor height&lt;br /&gt;
* shaft: 0.29&amp;quot; x 0.155&amp;quot; diameter&lt;br /&gt;
* mass:  0.24 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-163395.pdf|data sheet]].&lt;br /&gt;
There are four leads, two for each independent coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Jameco 162026CX 12V unipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:stepper-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more holding torque, this stepper may be a&lt;br /&gt;
good choice.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 12V, 4 phases, 20 ohms resistance, 600 mA current&lt;br /&gt;
* holding torque:  0.588 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.071 Nm (coils off)&lt;br /&gt;
* size:  2.2&amp;quot; motor diameter, 2.0&amp;quot; motor height&lt;br /&gt;
* shaft:  1&amp;quot; x 0.25&amp;quot; diameter&lt;br /&gt;
* mass:  0.65 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-162026.pdf|data sheet]] (ours is the &lt;br /&gt;
57BYG084).  There are six leads, three for each independent&lt;br /&gt;
coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RC Servo Motors==&lt;br /&gt;
&lt;br /&gt;
RC servos are convenient for positioning applications that require&lt;br /&gt;
significant torque, not much speed, and only moderate positioning&lt;br /&gt;
precision.  They take three connections, power (+5V, typically),&lt;br /&gt;
ground, and a pulsing signal that tells the motor the desired angle (typically a&lt;br /&gt;
pulse of 0.5 - 3 ms every 20 ms or so, where the duration of the pulse&lt;br /&gt;
indicates the desired angle of the motor).&lt;br /&gt;
Inside the motor is a potentiometer that senses the actual angle of&lt;br /&gt;
the motor output shaft and a feedback controller that tries to make&lt;br /&gt;
the motor angle match that specified by the pulsed signal.  There is&lt;br /&gt;
also a large gear ratio such that the motor provides high torque at&lt;br /&gt;
low speed.  Most RC servos have limited angle range, like 180 degrees,&lt;br /&gt;
due to the angle-sensing potentiometer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Futaba S3004 standard ball bearing RC servo motor===&lt;br /&gt;
&lt;br /&gt;
[[image:RC-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* motor rotation:  180 degrees&lt;br /&gt;
* speed:  60 degrees in 0.23 sec at 4.8V, 0.19 sec at 6V&lt;br /&gt;
* torque:  0.31 Nm at 4.8V, 0.4 Nm at 6V&lt;br /&gt;
* size:  1.4&amp;quot; height, 0.8&amp;quot; width&lt;br /&gt;
* mass:  37.2 g&lt;br /&gt;
&lt;br /&gt;
These were purchased from Tower Hobbies, part number LM1954.&lt;br /&gt;
Higher torque versions are also available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Solenoids==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solenoids are simple on-off actuators consisting of a plunger moving in an&lt;br /&gt;
electromagnetic field.  If you power the electromagnet, the plunger is&lt;br /&gt;
&amp;quot;pushed&amp;quot; or &amp;quot;pulled&amp;quot; a particular stroke length, and if you unpower the&lt;br /&gt;
coil, the plunger returns to its original position, usually by a return &lt;br /&gt;
spring or gravity.  These are simple to control and useful for applications&lt;br /&gt;
where the actuator only has to take one of two positions.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We stock two solenoids (in addition to many random ones) which are basically&lt;br /&gt;
the same, except one is a &amp;quot;pull type&amp;quot; solenoid and the other is a &amp;quot;push type.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Jameco 262262 (pull) and 262271 (push) 12V open frame solenoid===&lt;br /&gt;
&lt;br /&gt;
[[image:solenoids-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* 12 V, 36 ohm resistance, 333 mA&lt;br /&gt;
* holding force:  0.5 N&lt;br /&gt;
* stroke:  6 mm&lt;br /&gt;
* size:  1.5&amp;quot; length x 1.0&amp;quot; x 0.8&amp;quot; diameter&lt;br /&gt;
* shaft diameter: 0.310&amp;quot;&lt;br /&gt;
* mass:  96 g&lt;br /&gt;
&lt;br /&gt;
You can find a data sheet [[Media:jameco-solenoid-262262.pdf|here]].&lt;br /&gt;
You can attach a lever (or other mechanical transformer) to the plunger to&lt;br /&gt;
get more stroke and less force, or more force and less stroke.  If no lever&lt;br /&gt;
will meet your specs,&lt;br /&gt;
then you will need another solenoid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AC Motors==&lt;br /&gt;
&lt;br /&gt;
[[image:ac-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Some projects need more power than any of the actuators above can&lt;br /&gt;
provide.  In that case, you may be able to use a Yaskawa AC motor.&lt;br /&gt;
These are technically in the Laboratory for Intelligent Mechanical&lt;br /&gt;
Systems, but they are available for Mechatronics use.  These should&lt;br /&gt;
not be a first choice, as (1) they can be dangerous due to their high&lt;br /&gt;
power, and (2) they limit the mobility of your project as they must be&lt;br /&gt;
plugged into the wall to get 110V AC.  You can find information&lt;br /&gt;
on these motors and their amplifiers&lt;br /&gt;
[http://www.mech.northwestern.edu/courses/433/Writeups/YaskawaMotors/YakawaACservomotors.htm  here].&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:PittmannGM9413J820.jpg&amp;diff=13360</id>
		<title>File:PittmannGM9413J820.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:PittmannGM9413J820.jpg&amp;diff=13360"/>
		<updated>2009-06-09T21:22:37Z</updated>

		<summary type="html">&lt;p&gt;MattT: Here is a picture of the Pittman GM9413J820 motor with ruler for scale&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a picture of the Pittman GM9413J820 motor with ruler for scale&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:Pittmann700935.jpg&amp;diff=13359</id>
		<title>File:Pittmann700935.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:Pittmann700935.jpg&amp;diff=13359"/>
		<updated>2009-06-09T21:21:41Z</updated>

		<summary type="html">&lt;p&gt;MattT: Here is a picture of the Pittman 700935 with a ruler&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a picture of the Pittman 700935 with a ruler&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13303</id>
		<title>Actuators Available in the Mechatronics Lab</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13303"/>
		<updated>2009-06-03T22:38:07Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* DC Motors (with gearheads and encoders) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[image:all-actuators-captions-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
We have acquired a number of actuators that are appropriately sized for&lt;br /&gt;
many mechatronics projects.  These are the &amp;quot;standard&amp;quot; lab actuators.&lt;br /&gt;
You are welcome to borrow them for your project and return them when&lt;br /&gt;
you are finished.  In addition to the actuators mentioned below, we&lt;br /&gt;
have a number of other actuators that we have acquired over the years&lt;br /&gt;
that you are welcome to borrow.&lt;br /&gt;
&lt;br /&gt;
For your particular project, it may be best to spec out and buy a&lt;br /&gt;
particular type and size of actuator.  If your specifications are not&lt;br /&gt;
too critical, however, the actuators below will allow you to get&lt;br /&gt;
started right away.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DC Motors (with gearheads and encoders)==&lt;br /&gt;
&lt;br /&gt;
There are many types of DC motors, but our favorites are brushed&lt;br /&gt;
permanent magnet DC motors for their power, price, ubiquity, and&lt;br /&gt;
simplicity.  Simply put a voltage across the two motor terminals, and&lt;br /&gt;
the motor spins.  (You can learn about the [[Brushed DC Motor Theory| theory]] of how a brushed DC &lt;br /&gt;
motor works and suggested methods&lt;br /&gt;
for driving a DC motor elsewhere on this wiki.)  &lt;br /&gt;
&lt;br /&gt;
One problem is that most DC motors tend to rotate at very high speeds,&lt;br /&gt;
typically several thousand RPM or more.  This is too fast for most&lt;br /&gt;
mechatronics applications.  Also, they tend to have too little torque.&lt;br /&gt;
Both of these problems can be solved by the use of gears on the output&lt;br /&gt;
shaft of the motor.  If the motor has an N:1 gearhead on its output&lt;br /&gt;
shaft (where N&amp;gt;1, typically), then the output shaft of the gearhead&lt;br /&gt;
reduces the speed of the motor by a factor of N and increases the&lt;br /&gt;
torque of the motor by a factor of N.  (You can learn more&lt;br /&gt;
about how [[Gears|gears]] work including other issues&lt;br /&gt;
they introduce, such as gearhead efficiency and backlash.)&lt;br /&gt;
&lt;br /&gt;
Another issue is how to determine how far the motor has rotated.  You need&lt;br /&gt;
&#039;&#039;feedback&#039;&#039; from the motor.  There are many ways to do this, using&lt;br /&gt;
encoders, potentiometers, and tachometers.  The most common way to get angle&lt;br /&gt;
feedback is through the use of encoders.  An encoder is typically attached&lt;br /&gt;
to a motor shaft and produces pulses that encode the shaft rotation angle.&lt;br /&gt;
These pulses can be read in by the encoder inputs of the Mechatronics Lab&lt;br /&gt;
PC/104 stacks.&lt;br /&gt;
&lt;br /&gt;
So, perhaps the most versatile kind of actuator is a DC motor with a gearhead and an&lt;br /&gt;
encoder.  Below are some that we keep in the lab.  Sometimes DC motors&lt;br /&gt;
with gearheads and encoders can be purchased through surplus outlets at&lt;br /&gt;
great prices, for prices less than any of the single components (motor,&lt;br /&gt;
gearhead, encoder) could be purchased individually.  That&#039;s how many&lt;br /&gt;
copies of the actuators below were purchased.  If you see a great&lt;br /&gt;
deal on a nice-sized motor plus gearhead plus encoder, of which many&lt;br /&gt;
copies can be purchased, let us know!&lt;br /&gt;
&lt;br /&gt;
===6W Maxon motor with 6:1 gearhead and 100 line encoder===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:maxon-small2.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 41.5 ohms resistance, max current 0.58 Amps&lt;br /&gt;
* max torque:  0.15 Nm (approx)&lt;br /&gt;
* max speed:  600 RPM (approx)&lt;br /&gt;
* encoder:  600 counts/rev at output shaft, 2400 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The motor is rated at 24 volts, giving a no-load (maximum)&lt;br /&gt;
speed of 3990 RPM (about 418 radians/sec) and a (maximum) stall torque of 31.9 mNm (milli&lt;br /&gt;
Newton meters).  The terminal resistance (the resistance through the&lt;br /&gt;
motor windings) is 41.5 ohms.  This means if you put 24 V across it,&lt;br /&gt;
the maximum current that it will draw is 24/41.5 = 0.58 Amps.  This&lt;br /&gt;
maximum current occurs when the motor is stalled and generating its&lt;br /&gt;
maximum torque.  Motor torque is proportional to the motor current by&lt;br /&gt;
the constant of proportionality called the &#039;&#039;torque constant&#039;&#039;,&lt;br /&gt;
which is different for every motor.&lt;br /&gt;
&lt;br /&gt;
The motor is called a 6 Watt motor because that is the maximum&lt;br /&gt;
electrical power (current times voltage) that can be put into the&lt;br /&gt;
motor on a continuous basis.  Beyond this power level, the amount of&lt;br /&gt;
power dissipated by the resistance of the motor windings will cause&lt;br /&gt;
the windings to heat up unacceptably.  (It is fine to overpower the&lt;br /&gt;
motor intermittently, allowing the coils to cool so that the average&lt;br /&gt;
power does not exceed the rated power.)  At this operating point, &lt;br /&gt;
the motor draws 244 mA, giving 24 V x 0.244 A = 5.86 W electrical input&lt;br /&gt;
power.  At this operating point, the speed of the motor is approximately&lt;br /&gt;
1689 RPM, or 177 radians/sec, and the torque of the motor is 13.5 mNm,&lt;br /&gt;
giving 177 rad/sec x 0.0135 Nm = 2.39 W of mechanical output power,&lt;br /&gt;
giving a power-conversion efficiency of about 41% at this operating point.&lt;br /&gt;
The maximum efficiency of the motor is 70%, which occurs at a higher&lt;br /&gt;
speed and lower torque.  The maximum mechanical power you can get out&lt;br /&gt;
of the motor is (1/2 max torque) x (1/2 max speed) = 3.33 W.  This is&lt;br /&gt;
beyond the continuous operation recommendation, but it is fine to&lt;br /&gt;
run it for short periods at this operating point.&lt;br /&gt;
&lt;br /&gt;
Often you will want to run the motor at lower voltages, for instance&lt;br /&gt;
at 12 V, instead of the rated 24 V.  In this case just multiply the&lt;br /&gt;
max current, speed, and torques by the factor 12/24 = 1/2.  In particular,&lt;br /&gt;
the maximum output power will be only (1/2) x (1/2) = 1/4 the maximum at 24 V.&lt;br /&gt;
&lt;br /&gt;
This actuator comes with a 6:1 spur gearhead, which increases the&lt;br /&gt;
torque available at the gearhead&#039;s output shaft by a factor of 6 and&lt;br /&gt;
decreases the speed by a factor of 6.  (In this ideal case, the&lt;br /&gt;
power at the gearhead&#039;s output shaft is equal to the power at the input.&lt;br /&gt;
In practice, gearheads have an efficiency also; the maximum&lt;br /&gt;
efficiency of the gearhead here is 81%.  This reduces the torque&lt;br /&gt;
available.)&lt;br /&gt;
&lt;br /&gt;
In summary, then, if your application requires no more than about 6 x&lt;br /&gt;
31.9 mNm = 0.19 Nm maximum torque, 3990 RPM / 6 = 665 RPM max speed,&lt;br /&gt;
and 3.3 W max mechanical power, this may be the motor for you.&lt;br /&gt;
Reduce those values by a factor of 1/2, 1/2, and 1/4, respectively, if&lt;br /&gt;
you are operating the motor with 12 V max instead of 24 V max.&lt;br /&gt;
&lt;br /&gt;
This actuator also comes with a 100 line single-ended incremental optical encoder,&lt;br /&gt;
with outputs A+ and B+.  There is no index channel.  The encoder is&lt;br /&gt;
attached to the motor.  Each of the A+ and B+ channels makes 100 pulses&lt;br /&gt;
per revolution of the motor, or 6 x 100 = 600 pulses per revolution of&lt;br /&gt;
the output shaft of the gearhead.  This means the encoder provides&lt;br /&gt;
360 deg / 600 pulses = 0.6 deg/pulse resolution when the pulses are &lt;br /&gt;
decoded with the 1x scheme, or 0.15 deg/pulse resolution with the 4x&lt;br /&gt;
decoding scheme.&lt;br /&gt;
&lt;br /&gt;
Information about the Maxon motor is given in this [[Media:maxon-2140-specs.pdf|data sheet]] which includes &lt;br /&gt;
other motors in this family (ours is the 24V version)&lt;br /&gt;
and this [[Media:maxon-our-specific-motor.pdf|data sheet]] which gives only&lt;br /&gt;
the information on this motor.  Information on the 6:1 gearhead can be found &lt;br /&gt;
[[Media:maxon-gearhead.pdf|here]].  The encoder pin-out is indicated below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:encoder-maxon.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The encoder comes with a 4-connector ribbon cable, corresponding to GND, Channel A, Vcc (usually +5V), and Channel B, as&lt;br /&gt;
shown on the left.  Here the ribbon cable is broken out into a 10-pin connector (which we have in the lab).  The connector&lt;br /&gt;
above is made to work with the PC/104 stacks, and the pin-out is shown.  Always make sure you have the right connections&lt;br /&gt;
for your encoder so you don&#039;t damage it!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Pittman GM8224 motor with 19.5:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:pittman-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more power than the motor above, this gearmotor may be a good choice.&lt;br /&gt;
As an added bonus, it provides much higher encoder resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 4.33 ohms resistance, max current 5.54 Amps&lt;br /&gt;
* max torque:  2 Nm (approx)&lt;br /&gt;
* max speed:  500 RPM (approx)&lt;br /&gt;
* encoder:  9750 counts/rev at output shaft, 39,000 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This motor is also rated at 24 V, with a terminal resistance of 4.33 ohms,&lt;br /&gt;
giving a stall (maximum) current of 5.54 Amps.  The stall torque of the motor&lt;br /&gt;
itself is 0.1186 Nm&lt;br /&gt;
and the no-load (maximum) speed is 10,158 RPM (1064 radians/sec).  The&lt;br /&gt;
recommended maximum continuous torque is 0.0185 Nm which occurs at &lt;br /&gt;
8573 RPM (898 radians/sec).  Taken together, the maximum motor mechanical power&lt;br /&gt;
is (1/2 Tmax) x (1/2 nmax) = 31.5 W and the maximum recommended continuous&lt;br /&gt;
mechanical power is 16.6 W.  The maximum electrical input power occurs when&lt;br /&gt;
the motor is stalled (or starting) and is 24 V x 5.54 A = 133 W.  If you&lt;br /&gt;
operate the motor at a smaller voltage V2, then multiply the currents, speeds,&lt;br /&gt;
and torques above by a factor V2/24 and the power by a factor of (V2/24)^2.&lt;br /&gt;
&lt;br /&gt;
This motor has a 19.5:1 gearhead with a power conversion efficiency of 73%.  &lt;br /&gt;
Ignoring the efficiency for the moment, the 19.5:1 gearbox means that this&lt;br /&gt;
actuator may be appropriate if our application calls for no more than a &lt;br /&gt;
maximum speed of 10,158 RPM / 19.5 = 521 RPM and a maximum torque of&lt;br /&gt;
0.1186 Nm x 19.5 = 2.3 Nm.  In other words, the output shaft speed is similar&lt;br /&gt;
to the Maxon gearmotor above, but with about 10 times the torque.  &lt;br /&gt;
&lt;br /&gt;
This motor comes with a 500 line encoder attached to the motor shaft.  The&lt;br /&gt;
encoder has output channels A+ and B+ (no index pulse).  This means that&lt;br /&gt;
the encoder provides 500 x 19.5 = 9750 pulses per revolution of the output shaft.&lt;br /&gt;
In the 4x decoding mode, this gives 39,000 counts per revolution, or a resolution&lt;br /&gt;
of 360/39,000 = 0.00923 degrees.&lt;br /&gt;
&lt;br /&gt;
We also have a limited number of Pittman GM8712 motors with a 19.5:1 gearhead&lt;br /&gt;
and 512 line encoder.  These motors are also rated at 24V but have a higher&lt;br /&gt;
terminal resistance of 12.1 ohms, giving a maximum current of 24/12.1 = 1.99 Amps.&lt;br /&gt;
They have a maximum speed of 7847 RPM and maximum torque of 0.052 Nm before the&lt;br /&gt;
gearhead, or (ignoring gearhead efficiency) 402 RPM and 1.01 Nm after the&lt;br /&gt;
gearhead.  This motor is less powerful and draws less current, which may&lt;br /&gt;
be appropriate for some applications.&lt;br /&gt;
The encoder provides 9984 pulses per revolution of the output shaft&lt;br /&gt;
of the gearhead, or 360/(4 x 9984) = 0.009 degrees resolution in 4x decoding mode.&lt;br /&gt;
&lt;br /&gt;
See the [[Media:pittmangearmotor.pdf|data sheet]] for more detailed&lt;br /&gt;
information on these Pittman 8224 and 8712 gearmotors.  The 8712 is not treated&lt;br /&gt;
explicitly, but is believed to be similar to the 8722.&lt;br /&gt;
&lt;br /&gt;
The quadrature encoder has four wires:  black (GND), red (+5V), and blue and yellow as &lt;br /&gt;
channels A and B.&lt;br /&gt;
&lt;br /&gt;
===Pittman 700935 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:Pittmann700935.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* Speed: 5000 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Torque: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 2000 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: N/A&lt;br /&gt;
* Weight: unknown&lt;br /&gt;
* Length: unknown&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Pittman GM9413J820 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:PittmannGM9413J820.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* Speed: 85 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Torque: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 39,400 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: 19.7:1&lt;br /&gt;
* Weight: unknown&lt;br /&gt;
* Length: unknown&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
===Faulhaber 1524E006S motor with 141:1 gearhead and HES164A magnetic quadrature encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 6V, 12 ohms resistance (motor: 1524E006S123, where 123 is a special order)&lt;br /&gt;
* 141:1 gearhead (gearhead:  15/5S141:1K832)&lt;br /&gt;
* max speed at 6V:  approximately 80 RPM at gearhead output&lt;br /&gt;
* quadrature encoder with 1 line per motor revolution, or 141 x 4 = 564 counts/rev at output shaft in 4x decoding mode (encoder:  HES164A)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This little motor is the right size, speed, and torque for small wheeled mobile robots.&lt;br /&gt;
Ours were bought surplus from [http://www.bgmicro.com bgmicro.com].  This &lt;br /&gt;
[http://www.robotroom.com/FaulhaberGearmotor.html page] by&lt;br /&gt;
David Cook has a lot of great information on this motor + gearhead + encoder combination.&lt;br /&gt;
More info can be found in this [[Media:faulhaber-datasheet.pdf|data sheet]] from Faulhaber,&lt;br /&gt;
though our exact model encoder and motor are not listed.  The gearhead has a right-angle&lt;br /&gt;
drive at the output.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-pinout.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
The pins on the connector are (see figure at right):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.  Motor + &amp;lt;br&amp;gt;&lt;br /&gt;
2.  +5V (or similar) to power the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
3.  Encoder channel A&amp;lt;br&amp;gt;&lt;br /&gt;
4.  Encoder channel B&amp;lt;br&amp;gt;&lt;br /&gt;
5.  GND for the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
6.  Motor -&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Encoder channels A and B can sink (connect to ground) up to probably 25mA like most Hall sensors.  There is only a a weak pull-up resistor inside, perhaps 10K, so they can only source (connect to +5) about 2mA.   If you find the logic high signal from the encoder channel is not close enough to +5, which can happen even due to loading by an LED, you may want to add an external pull-up resistor from each encoder channel to +5.  470ohms is a good choice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-wheel.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
These [http://www.solarbotics.com/products/gmpw/ wheels] can be used with the motor (with the&lt;br /&gt;
right-angle drive) if you drill out the center of the wheel with a 9/32&amp;quot; bit (approximately).  Then you&lt;br /&gt;
should get a nice tight press-fit.  We have some of these wheels in the lab.  This press-fit is not &lt;br /&gt;
suitable for high-torque applications, though; the shaft may begin to slip.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Globe motor with 187.68:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:globe-motor.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 12V, 21 ohms resistance (0.57 A stall current)&lt;br /&gt;
* 187.68:1 gearhead for high torque and low speed&lt;br /&gt;
* max speed at 12V:  approximately 17 RPM at gearhead output (no load speed, motor alone:  approx 3000 RPM)&lt;br /&gt;
* torque constant (motor alone):  approximately 34 mNm/A (or 3.6 mV/RPM)&lt;br /&gt;
* stall torque:  motor alone:  0.019 Nm; with gearhead 2.4 Nm (based on torque multiplier of 125, less than the 187 gear ratio due to efficiency losses)&lt;br /&gt;
* quadrature encoder with 500 lines per motor revolution, or 500 x 4 x 187.68 = 375,360 counts/rev at output shaft in 4x decoding mode (encoder:  HEDS-5505 A04)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This small motor combines with a high resolution encoder and a high gear ratio gearbox to give a high torque, low speed actuator with high resolution position sensing (and velocity sensing by finite differencing).  The stall torque for this gearmotor (at 12 V) is approximately the same as that for the Pittman GM8224 gearmotor (at 24 V), but the max speed for the PIttman gearmotor is 20 times higher.  The pin-out for the encoder is shown below.  You can attach to the encoder using a Samtec IDSS-05-D-12.00 cable (shown in the middle below; order directly from [http://www.samtec.com Samtec], about $3.50 each and we have several in the lab), a less-expensive 5-pin cable CAB2154 from [https://www.bgmicro.com/index.asp?PageAction=VIEWPROD&amp;amp;ProdID=12868 bgmicro] (we have several in the lab), or you can make your own cable using stranded wires (22 AWG or ribbon cable) crimped or soldered in female Molex terminal pins (Molex series KK 2759, part number WM1114CT-ND on digikey) in a Molex 5 position connector housing (Molex series KK 2695, part number WM1578-ND on digikey), shown at right below.  (See [[Making a Molex Connector]] for more details.) The [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder recommends putting a 3.2k pull-up resistor on Channels A and B (i.e., 3.2k resistors from these lines to +5V).  The encoder works without these, but the datasheet indicates that you get better rise times on the encoder signals at high speeds when the pull-up resistors are added.&lt;br /&gt;
&lt;br /&gt;
[[image:globe-encoder-annotated.jpg|300px]]&lt;br /&gt;
[[image:globe-encoder-cable.jpg|200px]]&lt;br /&gt;
[[image:globe-encoder-cable-molex.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
If you want a higher-speed (up to 3000 RPM at 12V) lower-torque actuator, you can try removing the gearbox.  This task takes a bit of work and may require a bit of machining.  See [[Accessing_Pinion_of_Globe_Motor|here]].  This page also shows how to remove the encoder, in case you want to use it in a project without the motor.&lt;br /&gt;
&lt;br /&gt;
The two motor power leads are wound through a ferrite toroid to suppress EMI &amp;quot;noise.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Here you can find a [[Media:globe-cad.pdf|cad file]] describing this actuator, a [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder, and a [[Media:idss-connector.pdf|datasheet]] for the Samtec IDSS-05-D-12.00 connector.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GM3 and GM9 Gearmotors===&lt;br /&gt;
&lt;br /&gt;
[[image:GM3.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;  (GM3 pictured at right)&lt;br /&gt;
* rated at 6V, approx 10 ohms resistance&lt;br /&gt;
* 224:1 gearhead (GM3) or 143:1 gearhead (GM9)&lt;br /&gt;
* max speed at 6V approximately 43 RPM (GM3) or 84 RPM (GM9)&lt;br /&gt;
* stall torque at 6V approximately 73 oz-in (GM3) or 52 oz-in (GM9)&lt;br /&gt;
* no encoder installed, but can be modified to add one; see [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|here]]&lt;br /&gt;
* size:  70 x 22.5 x 37 mm&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These highly-geared motors can be bought new at [http://www.solarbotics.com solarbotics.com] or [http://www.hobbyengineering.com hobbyengineering.com].  These motors work with these [http://www.solarbotics.com/products/gmpw/ wheels], which we have in&lt;br /&gt;
the lab.  The motors do not come with encoders, but you can [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|add one yourself]],&lt;br /&gt;
similar to the magnetic encoder on the Faulhaber motor above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Stepper Motors==&lt;br /&gt;
&lt;br /&gt;
Stepper motors move in discrete steps.  The controller energizes electromagnet&lt;br /&gt;
coils, and the motor&#039;s rotor rotates to the nearest equilibrium point.  By&lt;br /&gt;
proper sequencing of which coils are energized, the motor rotates as desired&lt;br /&gt;
(and, if the rotation is fast enough, may simply pass through the equilibrium&lt;br /&gt;
points without stopping).  &lt;br /&gt;
&lt;br /&gt;
One nice thing about stepper motors is that they do not require&lt;br /&gt;
feedback; we know how far the motor has rotated, because we commanded&lt;br /&gt;
the motion.  This becomes a problem if we try to rotate the motor too&lt;br /&gt;
fast, or if the load is larger than expected --- the motor may not&lt;br /&gt;
actually do what we commanded.  Stepper motors are a &lt;br /&gt;
good choice for relatively low-torque applications where the loads&lt;br /&gt;
are consistent, so we can be assured our commanded motions are followed.&lt;br /&gt;
&lt;br /&gt;
===Jameco 163395 8.4V bipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:small-stepper.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Although this motor is rated at 8.4V, it is possible&lt;br /&gt;
to run it at lower or slightly higher voltages.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 8.4V, 2 phases, 30 ohms resistance, 280 mA current&lt;br /&gt;
* holding torque:  0.081 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.0037 Nm (coils off)&lt;br /&gt;
* size:  1.64&amp;quot; motor diameter, 1.2&amp;quot; motor height&lt;br /&gt;
* shaft: 0.29&amp;quot; x 0.155&amp;quot; diameter&lt;br /&gt;
* mass:  0.24 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-163395.pdf|data sheet]].&lt;br /&gt;
There are four leads, two for each independent coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Jameco 162026CX 12V unipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:stepper-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more holding torque, this stepper may be a&lt;br /&gt;
good choice.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 12V, 4 phases, 20 ohms resistance, 600 mA current&lt;br /&gt;
* holding torque:  0.588 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.071 Nm (coils off)&lt;br /&gt;
* size:  2.2&amp;quot; motor diameter, 2.0&amp;quot; motor height&lt;br /&gt;
* shaft:  1&amp;quot; x 0.25&amp;quot; diameter&lt;br /&gt;
* mass:  0.65 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-162026.pdf|data sheet]] (ours is the &lt;br /&gt;
57BYG084).  There are six leads, three for each independent&lt;br /&gt;
coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RC Servo Motors==&lt;br /&gt;
&lt;br /&gt;
RC servos are convenient for positioning applications that require&lt;br /&gt;
significant torque, not much speed, and only moderate positioning&lt;br /&gt;
precision.  They take three connections, power (+5V, typically),&lt;br /&gt;
ground, and a pulsing signal that tells the motor the desired angle (typically a&lt;br /&gt;
pulse of 0.5 - 3 ms every 20 ms or so, where the duration of the pulse&lt;br /&gt;
indicates the desired angle of the motor).&lt;br /&gt;
Inside the motor is a potentiometer that senses the actual angle of&lt;br /&gt;
the motor output shaft and a feedback controller that tries to make&lt;br /&gt;
the motor angle match that specified by the pulsed signal.  There is&lt;br /&gt;
also a large gear ratio such that the motor provides high torque at&lt;br /&gt;
low speed.  Most RC servos have limited angle range, like 180 degrees,&lt;br /&gt;
due to the angle-sensing potentiometer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Futaba S3004 standard ball bearing RC servo motor===&lt;br /&gt;
&lt;br /&gt;
[[image:RC-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* motor rotation:  180 degrees&lt;br /&gt;
* speed:  60 degrees in 0.23 sec at 4.8V, 0.19 sec at 6V&lt;br /&gt;
* torque:  0.31 Nm at 4.8V, 0.4 Nm at 6V&lt;br /&gt;
* size:  1.4&amp;quot; height, 0.8&amp;quot; width&lt;br /&gt;
* mass:  37.2 g&lt;br /&gt;
&lt;br /&gt;
These were purchased from Tower Hobbies, part number LM1954.&lt;br /&gt;
Higher torque versions are also available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Solenoids==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solenoids are simple on-off actuators consisting of a plunger moving in an&lt;br /&gt;
electromagnetic field.  If you power the electromagnet, the plunger is&lt;br /&gt;
&amp;quot;pushed&amp;quot; or &amp;quot;pulled&amp;quot; a particular stroke length, and if you unpower the&lt;br /&gt;
coil, the plunger returns to its original position, usually by a return &lt;br /&gt;
spring or gravity.  These are simple to control and useful for applications&lt;br /&gt;
where the actuator only has to take one of two positions.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We stock two solenoids (in addition to many random ones) which are basically&lt;br /&gt;
the same, except one is a &amp;quot;pull type&amp;quot; solenoid and the other is a &amp;quot;push type.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Jameco 262262 (pull) and 262271 (push) 12V open frame solenoid===&lt;br /&gt;
&lt;br /&gt;
[[image:solenoids-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* 12 V, 36 ohm resistance, 333 mA&lt;br /&gt;
* holding force:  0.5 N&lt;br /&gt;
* stroke:  6 mm&lt;br /&gt;
* size:  1.5&amp;quot; length x 1.0&amp;quot; x 0.8&amp;quot; diameter&lt;br /&gt;
* shaft diameter: 0.310&amp;quot;&lt;br /&gt;
* mass:  96 g&lt;br /&gt;
&lt;br /&gt;
You can find a data sheet [[Media:jameco-solenoid-262262.pdf|here]].&lt;br /&gt;
You can attach a lever (or other mechanical transformer) to the plunger to&lt;br /&gt;
get more stroke and less force, or more force and less stroke.  If no lever&lt;br /&gt;
will meet your specs,&lt;br /&gt;
then you will need another solenoid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AC Motors==&lt;br /&gt;
&lt;br /&gt;
[[image:ac-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Some projects need more power than any of the actuators above can&lt;br /&gt;
provide.  In that case, you may be able to use a Yaskawa AC motor.&lt;br /&gt;
These are technically in the Laboratory for Intelligent Mechanical&lt;br /&gt;
Systems, but they are available for Mechatronics use.  These should&lt;br /&gt;
not be a first choice, as (1) they can be dangerous due to their high&lt;br /&gt;
power, and (2) they limit the mobility of your project as they must be&lt;br /&gt;
plugged into the wall to get 110V AC.  You can find information&lt;br /&gt;
on these motors and their amplifiers&lt;br /&gt;
[http://www.mech.northwestern.edu/courses/433/Writeups/YaskawaMotors/YakawaACservomotors.htm  here].&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13302</id>
		<title>Actuators Available in the Mechatronics Lab</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Actuators_Available_in_the_Mechatronics_Lab&amp;diff=13302"/>
		<updated>2009-06-03T22:34:34Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* DC Motors (with gearheads and encoders) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[image:all-actuators-captions-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
We have acquired a number of actuators that are appropriately sized for&lt;br /&gt;
many mechatronics projects.  These are the &amp;quot;standard&amp;quot; lab actuators.&lt;br /&gt;
You are welcome to borrow them for your project and return them when&lt;br /&gt;
you are finished.  In addition to the actuators mentioned below, we&lt;br /&gt;
have a number of other actuators that we have acquired over the years&lt;br /&gt;
that you are welcome to borrow.&lt;br /&gt;
&lt;br /&gt;
For your particular project, it may be best to spec out and buy a&lt;br /&gt;
particular type and size of actuator.  If your specifications are not&lt;br /&gt;
too critical, however, the actuators below will allow you to get&lt;br /&gt;
started right away.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DC Motors (with gearheads and encoders)==&lt;br /&gt;
&lt;br /&gt;
There are many types of DC motors, but our favorites are brushed&lt;br /&gt;
permanent magnet DC motors for their power, price, ubiquity, and&lt;br /&gt;
simplicity.  Simply put a voltage across the two motor terminals, and&lt;br /&gt;
the motor spins.  (You can learn about the [[Brushed DC Motor Theory| theory]] of how a brushed DC &lt;br /&gt;
motor works and suggested methods&lt;br /&gt;
for driving a DC motor elsewhere on this wiki.)  &lt;br /&gt;
&lt;br /&gt;
One problem is that most DC motors tend to rotate at very high speeds,&lt;br /&gt;
typically several thousand RPM or more.  This is too fast for most&lt;br /&gt;
mechatronics applications.  Also, they tend to have too little torque.&lt;br /&gt;
Both of these problems can be solved by the use of gears on the output&lt;br /&gt;
shaft of the motor.  If the motor has an N:1 gearhead on its output&lt;br /&gt;
shaft (where N&amp;gt;1, typically), then the output shaft of the gearhead&lt;br /&gt;
reduces the speed of the motor by a factor of N and increases the&lt;br /&gt;
torque of the motor by a factor of N.  (You can learn more&lt;br /&gt;
about how [[Gears|gears]] work including other issues&lt;br /&gt;
they introduce, such as gearhead efficiency and backlash.)&lt;br /&gt;
&lt;br /&gt;
Another issue is how to determine how far the motor has rotated.  You need&lt;br /&gt;
&#039;&#039;feedback&#039;&#039; from the motor.  There are many ways to do this, using&lt;br /&gt;
encoders, potentiometers, and tachometers.  The most common way to get angle&lt;br /&gt;
feedback is through the use of encoders.  An encoder is typically attached&lt;br /&gt;
to a motor shaft and produces pulses that encode the shaft rotation angle.&lt;br /&gt;
These pulses can be read in by the encoder inputs of the Mechatronics Lab&lt;br /&gt;
PC/104 stacks.&lt;br /&gt;
&lt;br /&gt;
So, perhaps the most versatile kind of actuator is a DC motor with a gearhead and an&lt;br /&gt;
encoder.  Below are some that we keep in the lab.  Sometimes DC motors&lt;br /&gt;
with gearheads and encoders can be purchased through surplus outlets at&lt;br /&gt;
great prices, for prices less than any of the single components (motor,&lt;br /&gt;
gearhead, encoder) could be purchased individually.  That&#039;s how many&lt;br /&gt;
copies of the actuators below were purchased.  If you see a great&lt;br /&gt;
deal on a nice-sized motor plus gearhead plus encoder, of which many&lt;br /&gt;
copies can be purchased, let us know!&lt;br /&gt;
&lt;br /&gt;
===6W Maxon motor with 6:1 gearhead and 100 line encoder===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:maxon-small2.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 41.5 ohms resistance, max current 0.58 Amps&lt;br /&gt;
* max torque:  0.15 Nm (approx)&lt;br /&gt;
* max speed:  600 RPM (approx)&lt;br /&gt;
* encoder:  600 counts/rev at output shaft, 2400 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The motor is rated at 24 volts, giving a no-load (maximum)&lt;br /&gt;
speed of 3990 RPM (about 418 radians/sec) and a (maximum) stall torque of 31.9 mNm (milli&lt;br /&gt;
Newton meters).  The terminal resistance (the resistance through the&lt;br /&gt;
motor windings) is 41.5 ohms.  This means if you put 24 V across it,&lt;br /&gt;
the maximum current that it will draw is 24/41.5 = 0.58 Amps.  This&lt;br /&gt;
maximum current occurs when the motor is stalled and generating its&lt;br /&gt;
maximum torque.  Motor torque is proportional to the motor current by&lt;br /&gt;
the constant of proportionality called the &#039;&#039;torque constant&#039;&#039;,&lt;br /&gt;
which is different for every motor.&lt;br /&gt;
&lt;br /&gt;
The motor is called a 6 Watt motor because that is the maximum&lt;br /&gt;
electrical power (current times voltage) that can be put into the&lt;br /&gt;
motor on a continuous basis.  Beyond this power level, the amount of&lt;br /&gt;
power dissipated by the resistance of the motor windings will cause&lt;br /&gt;
the windings to heat up unacceptably.  (It is fine to overpower the&lt;br /&gt;
motor intermittently, allowing the coils to cool so that the average&lt;br /&gt;
power does not exceed the rated power.)  At this operating point, &lt;br /&gt;
the motor draws 244 mA, giving 24 V x 0.244 A = 5.86 W electrical input&lt;br /&gt;
power.  At this operating point, the speed of the motor is approximately&lt;br /&gt;
1689 RPM, or 177 radians/sec, and the torque of the motor is 13.5 mNm,&lt;br /&gt;
giving 177 rad/sec x 0.0135 Nm = 2.39 W of mechanical output power,&lt;br /&gt;
giving a power-conversion efficiency of about 41% at this operating point.&lt;br /&gt;
The maximum efficiency of the motor is 70%, which occurs at a higher&lt;br /&gt;
speed and lower torque.  The maximum mechanical power you can get out&lt;br /&gt;
of the motor is (1/2 max torque) x (1/2 max speed) = 3.33 W.  This is&lt;br /&gt;
beyond the continuous operation recommendation, but it is fine to&lt;br /&gt;
run it for short periods at this operating point.&lt;br /&gt;
&lt;br /&gt;
Often you will want to run the motor at lower voltages, for instance&lt;br /&gt;
at 12 V, instead of the rated 24 V.  In this case just multiply the&lt;br /&gt;
max current, speed, and torques by the factor 12/24 = 1/2.  In particular,&lt;br /&gt;
the maximum output power will be only (1/2) x (1/2) = 1/4 the maximum at 24 V.&lt;br /&gt;
&lt;br /&gt;
This actuator comes with a 6:1 spur gearhead, which increases the&lt;br /&gt;
torque available at the gearhead&#039;s output shaft by a factor of 6 and&lt;br /&gt;
decreases the speed by a factor of 6.  (In this ideal case, the&lt;br /&gt;
power at the gearhead&#039;s output shaft is equal to the power at the input.&lt;br /&gt;
In practice, gearheads have an efficiency also; the maximum&lt;br /&gt;
efficiency of the gearhead here is 81%.  This reduces the torque&lt;br /&gt;
available.)&lt;br /&gt;
&lt;br /&gt;
In summary, then, if your application requires no more than about 6 x&lt;br /&gt;
31.9 mNm = 0.19 Nm maximum torque, 3990 RPM / 6 = 665 RPM max speed,&lt;br /&gt;
and 3.3 W max mechanical power, this may be the motor for you.&lt;br /&gt;
Reduce those values by a factor of 1/2, 1/2, and 1/4, respectively, if&lt;br /&gt;
you are operating the motor with 12 V max instead of 24 V max.&lt;br /&gt;
&lt;br /&gt;
This actuator also comes with a 100 line single-ended incremental optical encoder,&lt;br /&gt;
with outputs A+ and B+.  There is no index channel.  The encoder is&lt;br /&gt;
attached to the motor.  Each of the A+ and B+ channels makes 100 pulses&lt;br /&gt;
per revolution of the motor, or 6 x 100 = 600 pulses per revolution of&lt;br /&gt;
the output shaft of the gearhead.  This means the encoder provides&lt;br /&gt;
360 deg / 600 pulses = 0.6 deg/pulse resolution when the pulses are &lt;br /&gt;
decoded with the 1x scheme, or 0.15 deg/pulse resolution with the 4x&lt;br /&gt;
decoding scheme.&lt;br /&gt;
&lt;br /&gt;
Information about the Maxon motor is given in this [[Media:maxon-2140-specs.pdf|data sheet]] which includes &lt;br /&gt;
other motors in this family (ours is the 24V version)&lt;br /&gt;
and this [[Media:maxon-our-specific-motor.pdf|data sheet]] which gives only&lt;br /&gt;
the information on this motor.  Information on the 6:1 gearhead can be found &lt;br /&gt;
[[Media:maxon-gearhead.pdf|here]].  The encoder pin-out is indicated below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:encoder-maxon.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The encoder comes with a 4-connector ribbon cable, corresponding to GND, Channel A, Vcc (usually +5V), and Channel B, as&lt;br /&gt;
shown on the left.  Here the ribbon cable is broken out into a 10-pin connector (which we have in the lab).  The connector&lt;br /&gt;
above is made to work with the PC/104 stacks, and the pin-out is shown.  Always make sure you have the right connections&lt;br /&gt;
for your encoder so you don&#039;t damage it!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Pittman GM8224 motor with 19.5:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:pittman-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more power than the motor above, this gearmotor may be a good choice.&lt;br /&gt;
As an added bonus, it provides much higher encoder resolution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* 24 V, 4.33 ohms resistance, max current 5.54 Amps&lt;br /&gt;
* max torque:  2 Nm (approx)&lt;br /&gt;
* max speed:  500 RPM (approx)&lt;br /&gt;
* encoder:  9750 counts/rev at output shaft, 39,000 counts/rev in 4x decoding mode&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This motor is also rated at 24 V, with a terminal resistance of 4.33 ohms,&lt;br /&gt;
giving a stall (maximum) current of 5.54 Amps.  The stall torque of the motor&lt;br /&gt;
itself is 0.1186 Nm&lt;br /&gt;
and the no-load (maximum) speed is 10,158 RPM (1064 radians/sec).  The&lt;br /&gt;
recommended maximum continuous torque is 0.0185 Nm which occurs at &lt;br /&gt;
8573 RPM (898 radians/sec).  Taken together, the maximum motor mechanical power&lt;br /&gt;
is (1/2 Tmax) x (1/2 nmax) = 31.5 W and the maximum recommended continuous&lt;br /&gt;
mechanical power is 16.6 W.  The maximum electrical input power occurs when&lt;br /&gt;
the motor is stalled (or starting) and is 24 V x 5.54 A = 133 W.  If you&lt;br /&gt;
operate the motor at a smaller voltage V2, then multiply the currents, speeds,&lt;br /&gt;
and torques above by a factor V2/24 and the power by a factor of (V2/24)^2.&lt;br /&gt;
&lt;br /&gt;
This motor has a 19.5:1 gearhead with a power conversion efficiency of 73%.  &lt;br /&gt;
Ignoring the efficiency for the moment, the 19.5:1 gearbox means that this&lt;br /&gt;
actuator may be appropriate if our application calls for no more than a &lt;br /&gt;
maximum speed of 10,158 RPM / 19.5 = 521 RPM and a maximum torque of&lt;br /&gt;
0.1186 Nm x 19.5 = 2.3 Nm.  In other words, the output shaft speed is similar&lt;br /&gt;
to the Maxon gearmotor above, but with about 10 times the torque.  &lt;br /&gt;
&lt;br /&gt;
This motor comes with a 500 line encoder attached to the motor shaft.  The&lt;br /&gt;
encoder has output channels A+ and B+ (no index pulse).  This means that&lt;br /&gt;
the encoder provides 500 x 19.5 = 9750 pulses per revolution of the output shaft.&lt;br /&gt;
In the 4x decoding mode, this gives 39,000 counts per revolution, or a resolution&lt;br /&gt;
of 360/39,000 = 0.00923 degrees.&lt;br /&gt;
&lt;br /&gt;
We also have a limited number of Pittman GM8712 motors with a 19.5:1 gearhead&lt;br /&gt;
and 512 line encoder.  These motors are also rated at 24V but have a higher&lt;br /&gt;
terminal resistance of 12.1 ohms, giving a maximum current of 24/12.1 = 1.99 Amps.&lt;br /&gt;
They have a maximum speed of 7847 RPM and maximum torque of 0.052 Nm before the&lt;br /&gt;
gearhead, or (ignoring gearhead efficiency) 402 RPM and 1.01 Nm after the&lt;br /&gt;
gearhead.  This motor is less powerful and draws less current, which may&lt;br /&gt;
be appropriate for some applications.&lt;br /&gt;
The encoder provides 9984 pulses per revolution of the output shaft&lt;br /&gt;
of the gearhead, or 360/(4 x 9984) = 0.009 degrees resolution in 4x decoding mode.&lt;br /&gt;
&lt;br /&gt;
See the [[Media:pittmangearmotor.pdf|data sheet]] for more detailed&lt;br /&gt;
information on these Pittman 8224 and 8712 gearmotors.  The 8712 is not treated&lt;br /&gt;
explicitly, but is believed to be similar to the 8722.&lt;br /&gt;
&lt;br /&gt;
The quadrature encoder has four wires:  black (GND), red (+5V), and blue and yellow as &lt;br /&gt;
channels A and B.&lt;br /&gt;
&lt;br /&gt;
===Pittman 700935 motor with 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:Pittmann700.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* Speed: 5000 RPM&lt;br /&gt;
* Voltage: 24 V&lt;br /&gt;
* Torque: unknown&lt;br /&gt;
* Encoder: 500 CPR 2 channel encoder, 2000 CPR in 4X mode at output shaft&lt;br /&gt;
* Gearhead: N/A&lt;br /&gt;
* Weight: unknown&lt;br /&gt;
* Length: unknown&lt;br /&gt;
* Motor Constant: unknown&lt;br /&gt;
&lt;br /&gt;
===Faulhaber 1524E006S motor with 141:1 gearhead and HES164A magnetic quadrature encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 6V, 12 ohms resistance (motor: 1524E006S123, where 123 is a special order)&lt;br /&gt;
* 141:1 gearhead (gearhead:  15/5S141:1K832)&lt;br /&gt;
* max speed at 6V:  approximately 80 RPM at gearhead output&lt;br /&gt;
* quadrature encoder with 1 line per motor revolution, or 141 x 4 = 564 counts/rev at output shaft in 4x decoding mode (encoder:  HES164A)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This little motor is the right size, speed, and torque for small wheeled mobile robots.&lt;br /&gt;
Ours were bought surplus from [http://www.bgmicro.com bgmicro.com].  This &lt;br /&gt;
[http://www.robotroom.com/FaulhaberGearmotor.html page] by&lt;br /&gt;
David Cook has a lot of great information on this motor + gearhead + encoder combination.&lt;br /&gt;
More info can be found in this [[Media:faulhaber-datasheet.pdf|data sheet]] from Faulhaber,&lt;br /&gt;
though our exact model encoder and motor are not listed.  The gearhead has a right-angle&lt;br /&gt;
drive at the output.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-pinout.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
The pins on the connector are (see figure at right):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.  Motor + &amp;lt;br&amp;gt;&lt;br /&gt;
2.  +5V (or similar) to power the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
3.  Encoder channel A&amp;lt;br&amp;gt;&lt;br /&gt;
4.  Encoder channel B&amp;lt;br&amp;gt;&lt;br /&gt;
5.  GND for the encoder&amp;lt;br&amp;gt;&lt;br /&gt;
6.  Motor -&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Encoder channels A and B can sink (connect to ground) up to probably 25mA like most Hall sensors.  There is only a a weak pull-up resistor inside, perhaps 10K, so they can only source (connect to +5) about 2mA.   If you find the logic high signal from the encoder channel is not close enough to +5, which can happen even due to loading by an LED, you may want to add an external pull-up resistor from each encoder channel to +5.  470ohms is a good choice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:faulhaber-wheel.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
These [http://www.solarbotics.com/products/gmpw/ wheels] can be used with the motor (with the&lt;br /&gt;
right-angle drive) if you drill out the center of the wheel with a 9/32&amp;quot; bit (approximately).  Then you&lt;br /&gt;
should get a nice tight press-fit.  We have some of these wheels in the lab.  This press-fit is not &lt;br /&gt;
suitable for high-torque applications, though; the shaft may begin to slip.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Globe motor with 187.68:1 gearhead and 500 line encoder===&lt;br /&gt;
&lt;br /&gt;
[[image:globe-motor.jpg|right|400px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;&lt;br /&gt;
* motor rated at 12V, 21 ohms resistance (0.57 A stall current)&lt;br /&gt;
* 187.68:1 gearhead for high torque and low speed&lt;br /&gt;
* max speed at 12V:  approximately 17 RPM at gearhead output (no load speed, motor alone:  approx 3000 RPM)&lt;br /&gt;
* torque constant (motor alone):  approximately 34 mNm/A (or 3.6 mV/RPM)&lt;br /&gt;
* stall torque:  motor alone:  0.019 Nm; with gearhead 2.4 Nm (based on torque multiplier of 125, less than the 187 gear ratio due to efficiency losses)&lt;br /&gt;
* quadrature encoder with 500 lines per motor revolution, or 500 x 4 x 187.68 = 375,360 counts/rev at output shaft in 4x decoding mode (encoder:  HEDS-5505 A04)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This small motor combines with a high resolution encoder and a high gear ratio gearbox to give a high torque, low speed actuator with high resolution position sensing (and velocity sensing by finite differencing).  The stall torque for this gearmotor (at 12 V) is approximately the same as that for the Pittman GM8224 gearmotor (at 24 V), but the max speed for the PIttman gearmotor is 20 times higher.  The pin-out for the encoder is shown below.  You can attach to the encoder using a Samtec IDSS-05-D-12.00 cable (shown in the middle below; order directly from [http://www.samtec.com Samtec], about $3.50 each and we have several in the lab), a less-expensive 5-pin cable CAB2154 from [https://www.bgmicro.com/index.asp?PageAction=VIEWPROD&amp;amp;ProdID=12868 bgmicro] (we have several in the lab), or you can make your own cable using stranded wires (22 AWG or ribbon cable) crimped or soldered in female Molex terminal pins (Molex series KK 2759, part number WM1114CT-ND on digikey) in a Molex 5 position connector housing (Molex series KK 2695, part number WM1578-ND on digikey), shown at right below.  (See [[Making a Molex Connector]] for more details.) The [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder recommends putting a 3.2k pull-up resistor on Channels A and B (i.e., 3.2k resistors from these lines to +5V).  The encoder works without these, but the datasheet indicates that you get better rise times on the encoder signals at high speeds when the pull-up resistors are added.&lt;br /&gt;
&lt;br /&gt;
[[image:globe-encoder-annotated.jpg|300px]]&lt;br /&gt;
[[image:globe-encoder-cable.jpg|200px]]&lt;br /&gt;
[[image:globe-encoder-cable-molex.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
If you want a higher-speed (up to 3000 RPM at 12V) lower-torque actuator, you can try removing the gearbox.  This task takes a bit of work and may require a bit of machining.  See [[Accessing_Pinion_of_Globe_Motor|here]].  This page also shows how to remove the encoder, in case you want to use it in a project without the motor.&lt;br /&gt;
&lt;br /&gt;
The two motor power leads are wound through a ferrite toroid to suppress EMI &amp;quot;noise.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Here you can find a [[Media:globe-cad.pdf|cad file]] describing this actuator, a [[Media:HEDS5500-encoder.pdf|datasheet]] for the encoder, and a [[Media:idss-connector.pdf|datasheet]] for the Samtec IDSS-05-D-12.00 connector.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GM3 and GM9 Gearmotors===&lt;br /&gt;
&lt;br /&gt;
[[image:GM3.png|right]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Summary:&#039;&#039;&#039;  (GM3 pictured at right)&lt;br /&gt;
* rated at 6V, approx 10 ohms resistance&lt;br /&gt;
* 224:1 gearhead (GM3) or 143:1 gearhead (GM9)&lt;br /&gt;
* max speed at 6V approximately 43 RPM (GM3) or 84 RPM (GM9)&lt;br /&gt;
* stall torque at 6V approximately 73 oz-in (GM3) or 52 oz-in (GM9)&lt;br /&gt;
* no encoder installed, but can be modified to add one; see [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|here]]&lt;br /&gt;
* size:  70 x 22.5 x 37 mm&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These highly-geared motors can be bought new at [http://www.solarbotics.com solarbotics.com] or [http://www.hobbyengineering.com hobbyengineering.com].  These motors work with these [http://www.solarbotics.com/products/gmpw/ wheels], which we have in&lt;br /&gt;
the lab.  The motors do not come with encoders, but you can [[Adding_a_magnetic_encoder_to_a_GM3_Gearmotor|add one yourself]],&lt;br /&gt;
similar to the magnetic encoder on the Faulhaber motor above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Stepper Motors==&lt;br /&gt;
&lt;br /&gt;
Stepper motors move in discrete steps.  The controller energizes electromagnet&lt;br /&gt;
coils, and the motor&#039;s rotor rotates to the nearest equilibrium point.  By&lt;br /&gt;
proper sequencing of which coils are energized, the motor rotates as desired&lt;br /&gt;
(and, if the rotation is fast enough, may simply pass through the equilibrium&lt;br /&gt;
points without stopping).  &lt;br /&gt;
&lt;br /&gt;
One nice thing about stepper motors is that they do not require&lt;br /&gt;
feedback; we know how far the motor has rotated, because we commanded&lt;br /&gt;
the motion.  This becomes a problem if we try to rotate the motor too&lt;br /&gt;
fast, or if the load is larger than expected --- the motor may not&lt;br /&gt;
actually do what we commanded.  Stepper motors are a &lt;br /&gt;
good choice for relatively low-torque applications where the loads&lt;br /&gt;
are consistent, so we can be assured our commanded motions are followed.&lt;br /&gt;
&lt;br /&gt;
===Jameco 163395 8.4V bipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:small-stepper.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Although this motor is rated at 8.4V, it is possible&lt;br /&gt;
to run it at lower or slightly higher voltages.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 8.4V, 2 phases, 30 ohms resistance, 280 mA current&lt;br /&gt;
* holding torque:  0.081 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.0037 Nm (coils off)&lt;br /&gt;
* size:  1.64&amp;quot; motor diameter, 1.2&amp;quot; motor height&lt;br /&gt;
* shaft: 0.29&amp;quot; x 0.155&amp;quot; diameter&lt;br /&gt;
* mass:  0.24 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-163395.pdf|data sheet]].&lt;br /&gt;
There are four leads, two for each independent coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Jameco 162026CX 12V unipolar stepper motor===&lt;br /&gt;
&lt;br /&gt;
[[image:stepper-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
If you need more holding torque, this stepper may be a&lt;br /&gt;
good choice.&lt;br /&gt;
&lt;br /&gt;
* 1.8 deg/step (0.9 deg/half step)&lt;br /&gt;
* 12V, 4 phases, 20 ohms resistance, 600 mA current&lt;br /&gt;
* holding torque:  0.588 Nm (coils energized)&lt;br /&gt;
* detent torque:  0.071 Nm (coils off)&lt;br /&gt;
* size:  2.2&amp;quot; motor diameter, 2.0&amp;quot; motor height&lt;br /&gt;
* shaft:  1&amp;quot; x 0.25&amp;quot; diameter&lt;br /&gt;
* mass:  0.65 kg&lt;br /&gt;
&lt;br /&gt;
More information can be found on this&lt;br /&gt;
[[Media:jameco-stepper-162026.pdf|data sheet]] (ours is the &lt;br /&gt;
57BYG084).  There are six leads, three for each independent&lt;br /&gt;
coil.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RC Servo Motors==&lt;br /&gt;
&lt;br /&gt;
RC servos are convenient for positioning applications that require&lt;br /&gt;
significant torque, not much speed, and only moderate positioning&lt;br /&gt;
precision.  They take three connections, power (+5V, typically),&lt;br /&gt;
ground, and a pulsing signal that tells the motor the desired angle (typically a&lt;br /&gt;
pulse of 0.5 - 3 ms every 20 ms or so, where the duration of the pulse&lt;br /&gt;
indicates the desired angle of the motor).&lt;br /&gt;
Inside the motor is a potentiometer that senses the actual angle of&lt;br /&gt;
the motor output shaft and a feedback controller that tries to make&lt;br /&gt;
the motor angle match that specified by the pulsed signal.  There is&lt;br /&gt;
also a large gear ratio such that the motor provides high torque at&lt;br /&gt;
low speed.  Most RC servos have limited angle range, like 180 degrees,&lt;br /&gt;
due to the angle-sensing potentiometer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Futaba S3004 standard ball bearing RC servo motor===&lt;br /&gt;
&lt;br /&gt;
[[image:RC-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* motor rotation:  180 degrees&lt;br /&gt;
* speed:  60 degrees in 0.23 sec at 4.8V, 0.19 sec at 6V&lt;br /&gt;
* torque:  0.31 Nm at 4.8V, 0.4 Nm at 6V&lt;br /&gt;
* size:  1.4&amp;quot; height, 0.8&amp;quot; width&lt;br /&gt;
* mass:  37.2 g&lt;br /&gt;
&lt;br /&gt;
These were purchased from Tower Hobbies, part number LM1954.&lt;br /&gt;
Higher torque versions are also available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Solenoids==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solenoids are simple on-off actuators consisting of a plunger moving in an&lt;br /&gt;
electromagnetic field.  If you power the electromagnet, the plunger is&lt;br /&gt;
&amp;quot;pushed&amp;quot; or &amp;quot;pulled&amp;quot; a particular stroke length, and if you unpower the&lt;br /&gt;
coil, the plunger returns to its original position, usually by a return &lt;br /&gt;
spring or gravity.  These are simple to control and useful for applications&lt;br /&gt;
where the actuator only has to take one of two positions.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We stock two solenoids (in addition to many random ones) which are basically&lt;br /&gt;
the same, except one is a &amp;quot;pull type&amp;quot; solenoid and the other is a &amp;quot;push type.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Jameco 262262 (pull) and 262271 (push) 12V open frame solenoid===&lt;br /&gt;
&lt;br /&gt;
[[image:solenoids-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* 12 V, 36 ohm resistance, 333 mA&lt;br /&gt;
* holding force:  0.5 N&lt;br /&gt;
* stroke:  6 mm&lt;br /&gt;
* size:  1.5&amp;quot; length x 1.0&amp;quot; x 0.8&amp;quot; diameter&lt;br /&gt;
* shaft diameter: 0.310&amp;quot;&lt;br /&gt;
* mass:  96 g&lt;br /&gt;
&lt;br /&gt;
You can find a data sheet [[Media:jameco-solenoid-262262.pdf|here]].&lt;br /&gt;
You can attach a lever (or other mechanical transformer) to the plunger to&lt;br /&gt;
get more stroke and less force, or more force and less stroke.  If no lever&lt;br /&gt;
will meet your specs,&lt;br /&gt;
then you will need another solenoid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AC Motors==&lt;br /&gt;
&lt;br /&gt;
[[image:ac-servo-small.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Some projects need more power than any of the actuators above can&lt;br /&gt;
provide.  In that case, you may be able to use a Yaskawa AC motor.&lt;br /&gt;
These are technically in the Laboratory for Intelligent Mechanical&lt;br /&gt;
Systems, but they are available for Mechatronics use.  These should&lt;br /&gt;
not be a first choice, as (1) they can be dangerous due to their high&lt;br /&gt;
power, and (2) they limit the mobility of your project as they must be&lt;br /&gt;
plugged into the wall to get 110V AC.  You can find information&lt;br /&gt;
on these motors and their amplifiers&lt;br /&gt;
[http://www.mech.northwestern.edu/courses/433/Writeups/YaskawaMotors/YakawaACservomotors.htm  here].&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9710</id>
		<title>Opto-isolators</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9710"/>
		<updated>2009-01-12T20:51:33Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opto-isolators are used for the transmission of signals between components while maintaining electrical isolation.  &lt;br /&gt;
&lt;br /&gt;
An opto-isolator is a small [[Using_LEDs_%26_IREDs|LED]] in close proximity to a [[Photodiodes_and_Phototransistors|phototransistor]].  The LED is driven by the transmitting circuit and an appropriate resistor is necessary, see the opto-isolator data sheet for assistance is sizing this. The phototransistor drives the receiving circuit.  Opto-isolators are most effective for binary switching operations. Analog signals need a more complex transmission method such as pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
The opto-isolators in the mechatronics lab (4N27) have a connection to base that can be used to change the properties of the connection.  The bandwidth of signal transmission is dependent on the configuration used.  For higher output to input current ratios, use an opto-isolator with a Darlington transistor pair in the output.&lt;br /&gt;
&lt;br /&gt;
Opto-isolators do not output square waves.  For this reason, a [[Comparators|comparator]] is needed on the output to ensure clean output signals.  A possible configuration is shown below that uses the 4N27 and has a bandwidth of 20 KHz.&lt;br /&gt;
&lt;br /&gt;
[[Image:Opto-isolator.jpg]]&lt;br /&gt;
&lt;br /&gt;
[http://www1.jaycar.com.au/images_uploaded/optocoup.pdf Here] is a great resource for further information and additional higher bandwidth circuit diagrams.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9706</id>
		<title>Strain Gauge</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9706"/>
		<updated>2009-01-12T20:38:06Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Example Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Overview===&lt;br /&gt;
Strain gauges are simple sensors that can be used to measure forces.  They consist peice of conducting material that changes resistance as it is stretched in a given direction.  The diagram below shows this:&lt;br /&gt;
&lt;br /&gt;
[[image:strain gauge.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
===Circuitry===&lt;br /&gt;
Typically, the change in resistance of the strain gauge is very small.  In order to accurately measure this small change, special circuitry is needed.  For this, a &#039;&#039;wheatstone bridge&#039;&#039; configuration is usually employed.  There are variants on how this circuit can be arranged; two are presented below.&lt;br /&gt;
&lt;br /&gt;
The first configuration is the simplest method.  The wheatstone bridge measures small imbalances in the resistances.  Here it is comparing the strain gauge resistance to &amp;lt;math&amp;gt;R_3&amp;lt;/math&amp;gt;, which has a resistance equal to the resistance of the unstretched strain gauge.  The other two resistors should have similar values.&lt;br /&gt;
&lt;br /&gt;
[[image:simple strain guage circuit.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Next is a more advanced circuit used for measuring strain in both directions.  Two strain gauges are used, and must be positioned carefully, as shown in the second figure.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[image:advanced strain gauge circuit.jpg|300px]]&lt;br /&gt;
| [[image:advanced strain gauge attachment.jpg|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example Usage===&lt;br /&gt;
The FX1901 is an inexpensive 1% strain gauge that can be used for a variety of applications.  It is available for about $30 and comes in 10, 25, 50, and 100 lbf models&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901.jpg]]&lt;br /&gt;
&lt;br /&gt;
Here is an example set up circuit with amplifier amp and tuning potentiometer:&lt;br /&gt;
&lt;br /&gt;
[[image:ForceSensorCircuitDiagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
Ensure that the power lines are very stable, it is suggested that in noisy environments, a DC-DC converter, power regulator(L78L05) and large power capacitors are used to ensure clean signal.  In more ideal environments, a simple capacitor across the power lines should be sufficient.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* http://www.allaboutcircuits.com/vol_1/chpt_9/7.html/strain_gauges&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9704</id>
		<title>Opto-isolators</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9704"/>
		<updated>2009-01-12T20:21:51Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opto-isolators are used for the transmission of signals between components while maintaining electrical isolation.  &lt;br /&gt;
&lt;br /&gt;
An opto-isolator is a small [[Using_LEDs_%26_IREDs|LED]] in close proximity to a [[Photodiodes_and_Phototransistors|phototransistor]].  The LED is driven by the transmitting circuit and an appropriate resistor is necessary, see the opto-isolator data sheet for assistance is sizing this. The phototransistor drives the receiving circuit.  Opto-isolators are most effective for binary switching operations. Analog signals need a more complex transmission method such as pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
The opto-isolators in the mechatronics lab (4N270545K) have a connection to base that can be used to change the properties of the connection.  The bandwidth of signal transmission is dependent on the configuration used.  For higher output to input current ratios, use an opto-isolator with a Darlington transistor pair in the output.&lt;br /&gt;
&lt;br /&gt;
Opto-isolators do not output square waves.  For this reason, a [[Comparators|comparator]] is needed on the output to ensure clean output signals.  A possible configuration is shown below that uses the 4N270545K and has a bandwidth of 20 KHz.&lt;br /&gt;
&lt;br /&gt;
[[Image:Opto-isolator.jpg]]&lt;br /&gt;
&lt;br /&gt;
[http://www1.jaycar.com.au/images_uploaded/optocoup.pdf Here] is a great resource for further information and additional higher bandwidth circuit diagrams.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9703</id>
		<title>Opto-isolators</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9703"/>
		<updated>2009-01-12T20:21:04Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opto-isolators are used for the transmission of signals between components while maintaining electrical isolation.  &lt;br /&gt;
&lt;br /&gt;
An opto-isolator is a small [[Using_LEDs_%26_IREDs|LED]] in close proximity to a [[Photodiodes_and_Phototransistors|phototransistor]].  The LED is driven by the transmitting circuit and an appropriate resistor is necessary, see the opto-isolator data sheet for assistance is sizing this. The phototransistor drives the receiving circuit.  Opto-isolators are most effective for binary switching operations. Analog signals need a more complex transmission method such as pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
The opto-isolators in the mechatronics lab (4N270545K) have a connection to base that can be used to change the properties of the connection.  The bandwidth of signal transmission is dependent on the configuration used.  For higher input to output current ratios, use an opto-isolator with a Darlington transistor pair in the output.&lt;br /&gt;
&lt;br /&gt;
Opto-isolators do not output square waves.  For this reason, a [[Comparators|comparator]] is needed on the output to ensure clean output signals.  A possible configuration is shown below that uses the 4N270545K and has a bandwidth of 20 KHz.&lt;br /&gt;
&lt;br /&gt;
[[Image:Opto-isolator.jpg]]&lt;br /&gt;
&lt;br /&gt;
[http://www1.jaycar.com.au/images_uploaded/optocoup.pdf Here] is a great resource for further information and additional higher bandwidth circuit diagrams.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9702</id>
		<title>Opto-isolators</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9702"/>
		<updated>2009-01-12T20:17:19Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opto-isolators are used for the transmission of signals between components while maintaining electrical isolation.  &lt;br /&gt;
&lt;br /&gt;
An opto-isolator is a small LED in close proximity to a phototransistor.  The LED is driven by the transmitting circuit, while the phototransistor drives the receiving circuit.  Opto-isolators are most effective for binary switching operations. Analog signals need a more complex transmission method such as pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
The opto-isolators in the mechatronics lab (4N270545K) have a connection to base that can be used to change the properties of the connection.  The bandwidth of signal transmission is dependent on the configuration used.  For higher input to output current ratios, use an opto-isolator with a Darlington transistor pair in the output.&lt;br /&gt;
&lt;br /&gt;
Opto-isolators do not output square waves.  For this reason, a [[Comparators|comparator]] is needed on the output to ensure clean output signals.  A possible configuration is shown below that uses the 4N270545K and has a bandwidth of 20 KHz.&lt;br /&gt;
&lt;br /&gt;
[[Image:Opto-isolator.jpg]]&lt;br /&gt;
&lt;br /&gt;
[http://www1.jaycar.com.au/images_uploaded/optocoup.pdf Here] is a great resource for further information and additional higher bandwidth circuit diagrams.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9687</id>
		<title>Strain Gauge</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9687"/>
		<updated>2009-01-09T05:12:04Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Example Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Overview===&lt;br /&gt;
Strain gauges are simple sensors that can be used to measure forces.  They consist peice of conducting material that changes resistance as it is stretched in a given direction.  The diagram below shows this:&lt;br /&gt;
&lt;br /&gt;
[[image:strain gauge.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
===Circuitry===&lt;br /&gt;
Typically, the change in resistance of the strain gauge is very small.  In order to accurately measure this small change, special circuitry is needed.  For this, a &#039;&#039;wheatstone bridge&#039;&#039; configuration is usually employed.  There are variants on how this circuit can be arranged; two are presented below.&lt;br /&gt;
&lt;br /&gt;
The first configuration is the simplest method.  The wheatstone bridge measures small imbalances in the resistances.  Here it is comparing the strain gauge resistance to &amp;lt;math&amp;gt;R_3&amp;lt;/math&amp;gt;, which has a resistance equal to the resistance of the unstretched strain gauge.  The other two resistors should have similar values.&lt;br /&gt;
&lt;br /&gt;
[[image:simple strain guage circuit.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Next is a more advanced circuit used for measuring strain in both directions.  Two strain gauges are used, and must be positioned carefully, as shown in the second figure.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[image:advanced strain gauge circuit.jpg|300px]]&lt;br /&gt;
| [[image:advanced strain gauge attachment.jpg|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example Usage===&lt;br /&gt;
The FX1901 is an inexpensive 1% strain gauge that can be used for a variety of applications.  It is available for about $30 and comes in 10, 25, 50, and 100 lbf models&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901.jpg]]&lt;br /&gt;
&lt;br /&gt;
Here is an example set up circuit with amplifier amp and tuning potentiometer:&lt;br /&gt;
&lt;br /&gt;
[[image:ForceSensorCircuitDiagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* http://www.allaboutcircuits.com/vol_1/chpt_9/7.html/strain_gauges&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:ForceSensorCircuitDiagram.jpg&amp;diff=9686</id>
		<title>File:ForceSensorCircuitDiagram.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:ForceSensorCircuitDiagram.jpg&amp;diff=9686"/>
		<updated>2009-01-09T05:11:31Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9685</id>
		<title>Strain Gauge</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9685"/>
		<updated>2009-01-09T05:11:08Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Example Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Overview===&lt;br /&gt;
Strain gauges are simple sensors that can be used to measure forces.  They consist peice of conducting material that changes resistance as it is stretched in a given direction.  The diagram below shows this:&lt;br /&gt;
&lt;br /&gt;
[[image:strain gauge.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
===Circuitry===&lt;br /&gt;
Typically, the change in resistance of the strain gauge is very small.  In order to accurately measure this small change, special circuitry is needed.  For this, a &#039;&#039;wheatstone bridge&#039;&#039; configuration is usually employed.  There are variants on how this circuit can be arranged; two are presented below.&lt;br /&gt;
&lt;br /&gt;
The first configuration is the simplest method.  The wheatstone bridge measures small imbalances in the resistances.  Here it is comparing the strain gauge resistance to &amp;lt;math&amp;gt;R_3&amp;lt;/math&amp;gt;, which has a resistance equal to the resistance of the unstretched strain gauge.  The other two resistors should have similar values.&lt;br /&gt;
&lt;br /&gt;
[[image:simple strain guage circuit.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Next is a more advanced circuit used for measuring strain in both directions.  Two strain gauges are used, and must be positioned carefully, as shown in the second figure.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[image:advanced strain gauge circuit.jpg|300px]]&lt;br /&gt;
| [[image:advanced strain gauge attachment.jpg|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example Usage===&lt;br /&gt;
The FX1901 is an inexpensive 1% strain gauge that can be used for a variety of applications.  It is available for about $30 and comes in 10, 25, 50, and 100 lbf models&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[image:ForceSensorCircuitDiagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
Here is an example set up circuit with amplifier amp and tuning potentiometer.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* http://www.allaboutcircuits.com/vol_1/chpt_9/7.html/strain_gauges&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:FX1901_Diagram.jpg&amp;diff=9671</id>
		<title>File:FX1901 Diagram.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:FX1901_Diagram.jpg&amp;diff=9671"/>
		<updated>2009-01-07T04:52:17Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:FX1901.jpg&amp;diff=9670</id>
		<title>File:FX1901.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:FX1901.jpg&amp;diff=9670"/>
		<updated>2009-01-07T04:52:01Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9669</id>
		<title>Strain Gauge</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9669"/>
		<updated>2009-01-07T04:51:44Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Example Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Overview===&lt;br /&gt;
Strain gauges are simple sensors that can be used to measure forces.  They consist peice of conducting material that changes resistance as it is stretched in a given direction.  The diagram below shows this:&lt;br /&gt;
&lt;br /&gt;
[[image:strain gauge.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
===Circuitry===&lt;br /&gt;
Typically, the change in resistance of the strain gauge is very small.  In order to accurately measure this small change, special circuitry is needed.  For this, a &#039;&#039;wheatstone bridge&#039;&#039; configuration is usually employed.  There are variants on how this circuit can be arranged; two are presented below.&lt;br /&gt;
&lt;br /&gt;
The first configuration is the simplest method.  The wheatstone bridge measures small imbalances in the resistances.  Here it is comparing the strain gauge resistance to &amp;lt;math&amp;gt;R_3&amp;lt;/math&amp;gt;, which has a resistance equal to the resistance of the unstretched strain gauge.  The other two resistors should have similar values.&lt;br /&gt;
&lt;br /&gt;
[[image:simple strain guage circuit.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Next is a more advanced circuit used for measuring strain in both directions.  Two strain gauges are used, and must be positioned carefully, as shown in the second figure.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[image:advanced strain gauge circuit.jpg|300px]]&lt;br /&gt;
| [[image:advanced strain gauge attachment.jpg|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example Usage===&lt;br /&gt;
The FX1901 is an inexpensive 1% strain gauge that can be used for a variety of applications.  It is available for about $30 and comes in 10, 25, 50, and 100 lbf models&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901 Diagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
Connect the + input to Vcc and the - input to Vss.  A signal conditioner then needs to be used to get the appropriate gain for output.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* http://www.allaboutcircuits.com/vol_1/chpt_9/7.html/strain_gauges&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9668</id>
		<title>Strain Gauge</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9668"/>
		<updated>2009-01-07T04:51:25Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Example Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Overview===&lt;br /&gt;
Strain gauges are simple sensors that can be used to measure forces.  They consist peice of conducting material that changes resistance as it is stretched in a given direction.  The diagram below shows this:&lt;br /&gt;
&lt;br /&gt;
[[image:strain gauge.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
===Circuitry===&lt;br /&gt;
Typically, the change in resistance of the strain gauge is very small.  In order to accurately measure this small change, special circuitry is needed.  For this, a &#039;&#039;wheatstone bridge&#039;&#039; configuration is usually employed.  There are variants on how this circuit can be arranged; two are presented below.&lt;br /&gt;
&lt;br /&gt;
The first configuration is the simplest method.  The wheatstone bridge measures small imbalances in the resistances.  Here it is comparing the strain gauge resistance to &amp;lt;math&amp;gt;R_3&amp;lt;/math&amp;gt;, which has a resistance equal to the resistance of the unstretched strain gauge.  The other two resistors should have similar values.&lt;br /&gt;
&lt;br /&gt;
[[image:simple strain guage circuit.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Next is a more advanced circuit used for measuring strain in both directions.  Two strain gauges are used, and must be positioned carefully, as shown in the second figure.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[image:advanced strain gauge circuit.jpg|300px]]&lt;br /&gt;
| [[image:advanced strain gauge attachment.jpg|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example Usage===&lt;br /&gt;
The FX1901 is an inexpensive 1% strain gauge that can be used for a variety of applications.  It is available for about $30 and comes in 10, 25, 50, and 100 lbf models&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901.jpg]&lt;br /&gt;
&lt;br /&gt;
Connect the + input to Vcc and the - input to Vss.  A signal conditioner then needs to be used to get the appropriate gain for output.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* http://www.allaboutcircuits.com/vol_1/chpt_9/7.html/strain_gauges&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9667</id>
		<title>Strain Gauge</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Strain_Gauge&amp;diff=9667"/>
		<updated>2009-01-07T04:50:58Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Overview===&lt;br /&gt;
Strain gauges are simple sensors that can be used to measure forces.  They consist peice of conducting material that changes resistance as it is stretched in a given direction.  The diagram below shows this:&lt;br /&gt;
&lt;br /&gt;
[[image:strain gauge.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
===Circuitry===&lt;br /&gt;
Typically, the change in resistance of the strain gauge is very small.  In order to accurately measure this small change, special circuitry is needed.  For this, a &#039;&#039;wheatstone bridge&#039;&#039; configuration is usually employed.  There are variants on how this circuit can be arranged; two are presented below.&lt;br /&gt;
&lt;br /&gt;
The first configuration is the simplest method.  The wheatstone bridge measures small imbalances in the resistances.  Here it is comparing the strain gauge resistance to &amp;lt;math&amp;gt;R_3&amp;lt;/math&amp;gt;, which has a resistance equal to the resistance of the unstretched strain gauge.  The other two resistors should have similar values.&lt;br /&gt;
&lt;br /&gt;
[[image:simple strain guage circuit.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Next is a more advanced circuit used for measuring strain in both directions.  Two strain gauges are used, and must be positioned carefully, as shown in the second figure.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[image:advanced strain gauge circuit.jpg|300px]]&lt;br /&gt;
| [[image:advanced strain gauge attachment.jpg|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example Usage===&lt;br /&gt;
The FX1901 is an inexpensive 1% strain gauge that can be used for a variety of applications.  It is available for about $30 and comes in 10, 25, 50, and 100 lbf models&lt;br /&gt;
&lt;br /&gt;
[[image:FX1901.jpg]&lt;br /&gt;
[[image:FX1901 Diagram.jpg]&lt;br /&gt;
&lt;br /&gt;
Connect the + input to Vcc and the - input to Vss.  A signal conditioner then needs to be used to get the appropriate gain for output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* http://www.allaboutcircuits.com/vol_1/chpt_9/7.html/strain_gauges&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Bearings&amp;diff=9666</id>
		<title>Bearings</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Bearings&amp;diff=9666"/>
		<updated>2009-01-07T04:24:49Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Sliding Bearings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Types of Bearings==&lt;br /&gt;
&lt;br /&gt;
===Rolling-Element Bearings===&lt;br /&gt;
&lt;br /&gt;
There are several types of rolling-element bearings.  These bearings make contact by some small rolling element such as a ball or cylinder.  Below are common rolling-element brearings and their cross-section designation.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Radial Ball Bearing&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Angular Ball Bearing&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Spherical Ball Bearing&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Needle Bearing&lt;br /&gt;
! width=&amp;quot;175px&amp;quot; | Thrust Bearing&lt;br /&gt;
|-&lt;br /&gt;
| [[image:radial ball bearing.png|100px|center]]&lt;br /&gt;
| [[image:angular ball bearing.png|100px|center]]&lt;br /&gt;
| [[image:spherical ball bearing.png|100px|center]]&lt;br /&gt;
| [[image:needle bearing.png|100px|center]]&lt;br /&gt;
| [[image:thrust bearing.png|150px|center]]&lt;br /&gt;
|-&lt;br /&gt;
| [[image:radial ball bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:angular ball bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:spherical ball bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:needle bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:thrust bearing crosssection.gif|center]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Sliding Bearings===&lt;br /&gt;
&lt;br /&gt;
One type of sliding bearing is a pillow block bearing. These bearings allow for misalignment of shafts, but have smaller load ratings than ball bearings.&lt;br /&gt;
&lt;br /&gt;
[[Image:Pillow Block.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
==Bearing Selection==&lt;br /&gt;
&lt;br /&gt;
===Cylindrical Bearing Selection===&lt;br /&gt;
&lt;br /&gt;
===Thrust Bearing Selection===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* The Timken Company, http://www.timken.com&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:Pillow_Block.jpg&amp;diff=9665</id>
		<title>File:Pillow Block.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:Pillow_Block.jpg&amp;diff=9665"/>
		<updated>2009-01-07T04:23:42Z</updated>

		<summary type="html">&lt;p&gt;MattT: Pillow Block&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pillow Block&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Bearings&amp;diff=9664</id>
		<title>Bearings</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Bearings&amp;diff=9664"/>
		<updated>2009-01-07T04:23:20Z</updated>

		<summary type="html">&lt;p&gt;MattT: /* Sliding Bearings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Types of Bearings==&lt;br /&gt;
&lt;br /&gt;
===Rolling-Element Bearings===&lt;br /&gt;
&lt;br /&gt;
There are several types of rolling-element bearings.  These bearings make contact by some small rolling element such as a ball or cylinder.  Below are common rolling-element brearings and their cross-section designation.&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Radial Ball Bearing&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Angular Ball Bearing&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Spherical Ball Bearing&lt;br /&gt;
! width=&amp;quot;125px&amp;quot; | Needle Bearing&lt;br /&gt;
! width=&amp;quot;175px&amp;quot; | Thrust Bearing&lt;br /&gt;
|-&lt;br /&gt;
| [[image:radial ball bearing.png|100px|center]]&lt;br /&gt;
| [[image:angular ball bearing.png|100px|center]]&lt;br /&gt;
| [[image:spherical ball bearing.png|100px|center]]&lt;br /&gt;
| [[image:needle bearing.png|100px|center]]&lt;br /&gt;
| [[image:thrust bearing.png|150px|center]]&lt;br /&gt;
|-&lt;br /&gt;
| [[image:radial ball bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:angular ball bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:spherical ball bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:needle bearing crosssection.gif|center]]&lt;br /&gt;
| [[image:thrust bearing crosssection.gif|center]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Sliding Bearings===&lt;br /&gt;
&lt;br /&gt;
One type of sliding bearing is a pillow block bearing. These bearings allow for misalignment of shafts, but have smaller load ratings than ball bearings.&lt;br /&gt;
&lt;br /&gt;
[[Image:Pillow Block.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Bearing Selection==&lt;br /&gt;
&lt;br /&gt;
===Cylindrical Bearing Selection===&lt;br /&gt;
&lt;br /&gt;
===Thrust Bearing Selection===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* The Timken Company, http://www.timken.com&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:Opto-isolator.jpg&amp;diff=9663</id>
		<title>File:Opto-isolator.jpg</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:Opto-isolator.jpg&amp;diff=9663"/>
		<updated>2009-01-07T04:09:23Z</updated>

		<summary type="html">&lt;p&gt;MattT: An opto-ispolator using the 4N270545K with a 20KHz bandwidth.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An opto-ispolator using the 4N270545K with a 20KHz bandwidth.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9662</id>
		<title>Opto-isolators</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9662"/>
		<updated>2009-01-07T04:06:20Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opto-isolators are used for the transmission of signals between components while maintaining electrical isolation.  &lt;br /&gt;
&lt;br /&gt;
An opto-isolator is a small LED in close proximity to a phototransistor.  The LED is driven by the transmitting circuit, while the phototransistor drives the receiving circuit.  Opto-isolators are most effective for binary switching operations. Analog signals need a more complex transmission method such as pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
The opto-isolators in the mechatronics lab (4N270545K) have a connection to base that can be used to change the properties of the connection.  The bandwidth of signal transmission is dependent on the configuration used.  For higher input to output current ratios, use an opto-isolator with a Darlington transistor pair in the output.&lt;br /&gt;
&lt;br /&gt;
Opto-isolators do not output square waves.  For this reason, a comparator is needed on the output to ensure clean output signals.  A possible configuration is shown below that uses the 4N270545K and has a bandwidth of 20 KHz.&lt;br /&gt;
&lt;br /&gt;
[[Image:Opto-isolator.jpg]]&lt;br /&gt;
&lt;br /&gt;
[http://www1.jaycar.com.au/images_uploaded/optocoup.pdf Here] is a great resource for further information and additional higher bandwidth circuit diagrams.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9661</id>
		<title>Opto-isolators</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Opto-isolators&amp;diff=9661"/>
		<updated>2009-01-07T04:05:58Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opto-isolators are used for the transmission of signals between components while maintaining electrical isolation.  &lt;br /&gt;
&lt;br /&gt;
An opto-isolator is a small LED in close proximity to a phototransistor.  The LED is driven by the transmitting circuit, while the phototransistor drives the receiving circuit.  Opto-isolators are most effective for binary switching operations. Analog signals need a more complex transmission method such as pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
The opto-isolators in the mechatronics lab (4N270545K) have a connection to base that can be used to change the properties of the connection.  The bandwidth of signal transmission is dependent on the configuration used.  For higher input to output current ratios, use an opto-isolator with a Darlington transistor pair in the output.&lt;br /&gt;
&lt;br /&gt;
Opto-isolators do not output square waves.  For this reason, a comparator is needed on the output to ensure clean output signals.  A possible configuration is shown below that uses the 4N270545K and has a bandwidth of 20 KHz.&lt;br /&gt;
&lt;br /&gt;
[[Image:Opto-isolator.jpg]]&lt;br /&gt;
&lt;br /&gt;
[http://www1.jaycar.com.au/images_uploaded/optocoup.pdf Here]Here is a great resource for further information and additional higher bandwidth circuit diagrams.&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Main_Page&amp;diff=9659</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Main_Page&amp;diff=9659"/>
		<updated>2009-01-07T02:43:10Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Northwestern University mechatronics design wiki provides reference material on the theory and applications of electronics, sensors, actuators, etc., for use in mechatronics-related research and projects.  Practical applications often refer to equipment and supplies available in the [http://mechatronics.mech.northwestern.edu/ Northwestern Mechatronics Design Lab].&lt;br /&gt;
&lt;br /&gt;
Important:  Please be sure to read the [http://mechatronics.mech.northwestern.edu/mech-rules.pdf Rules for Using the Mechatronics Design Lab].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Design Competition 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wiki pages on sensors, actuators, programming, and microcontrollers: use pages below&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/Writeups/QuickStart/ Parts in the DC2008 quick start pack]&lt;br /&gt;
* [http://peshkin.mech.northwestern.edu/pic/info/piccintro_2008-01-24.pdf PIC C intro slides, as presented 2008/01/24 (pdf)]&lt;br /&gt;
* [http://peshkin.mech.northwestern.edu/pic/info/picinterfacing_2008-01-28.pdf PIC interfacing slides, as presented 2008/01/28 (pdf)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Sensors and actuators for DC&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Using Solderless Breadboard|Solderless Breadboard &amp;amp; wiring that works]]&lt;br /&gt;
* [[Using LEDs &amp;amp; IREDs]]&lt;br /&gt;
* [[Using a laser]]&lt;br /&gt;
* [[Sensing optical tape|Infrared reflectivity]]&lt;br /&gt;
** Using phototransistors&lt;br /&gt;
** Sensing optical tape&lt;br /&gt;
* [[Comparators | Comparators : the analog digital interface]]&lt;br /&gt;
* [http://www.robotroom.com/FaulhaberGearmotor.html Faulhaber MiniMotor SA gearmotor with encoder], as well as [[Actuators_Available_in_the_Mechatronics_Lab#Faulhaber_1524E006S_motor_with_141:1_gearhead_and_HES164A_magnetic_quadrature_encoder|the local wiki page]]&lt;br /&gt;
* [[Adding a magnetic encoder to a GM3 Gearmotor]]&lt;br /&gt;
** Using magnetic switches (Hall Effect)&lt;br /&gt;
* [[High-current devices|Driving high-current devices: several options]]&lt;br /&gt;
* [[Driving a Stepper Motor]]&lt;br /&gt;
* [[Driving an RC Servo]]&lt;br /&gt;
* [[Accelerometers]]&lt;br /&gt;
* [[Strain gauges]]&lt;br /&gt;
* [[Using the Basic Stamp Microcontroller|Basic Stamp Microcontroller]] &amp;lt;b&amp;gt;Not recommended for DC2008&amp;lt;/b&amp;gt;&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/Writeups/Battery_NiMH/ NiMH rechargable batteries and chargers]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; [http://peshkin.mech.northwestern.edu/datasheets Prof. Peshkin&#039;s favorite datasheets]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;PIC 18F4520 prototyping board &amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[4520 Board intro|Prototyping board intro]]&lt;br /&gt;
*[[4520 Board construction|Assembling the 18F4520 prototyping board, circuit, parts]]&lt;br /&gt;
*[[4520 Board use|Using the 18F4520 prototyping board]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Programming with CCS C &amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[C language|The C language]]&lt;br /&gt;
*[[CCS C|CCS C, specifically for the 18F4520]]&lt;br /&gt;
*[[Embedded Programming Tips for CCS C]]&lt;br /&gt;
*[[CCS IDE|Using the CCS development environment]]&lt;br /&gt;
*[[Debugging C on a PIC]]&lt;br /&gt;
*[[More debugging tips]]&lt;br /&gt;
*[http://www.ccsinfo.com/forum/ CCS user forum]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Interfacing and skeleton code for the PIC 18F4520&amp;lt;/h3&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;These topics have wiki pages &amp;lt;i&amp;gt;and&amp;lt;/i&amp;gt; sample code available&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* [[Digital inputs &amp;amp; outputs]] (filename: DigitalIO)&lt;br /&gt;
* [[Analog Input]] (filename: AnalogInput)&lt;br /&gt;
** reading a trimpot&lt;br /&gt;
** reading a phototransistor&lt;br /&gt;
** amplified phototransistor, and IRED strobing&lt;br /&gt;
** using an instrumentation amp (example: for a strain gauge)&lt;br /&gt;
* [[Analog Output|Analog Output, and the I2C bus]] (filename: AnalogOutput)&lt;br /&gt;
* [[Waveform Generation with AD9833]] (filename: AD9833)&lt;br /&gt;
* [[SPI - Serial Peripheral Interface - on the PIC]]&lt;br /&gt;
*[[Pulse width modulation|Pulse width modulation (PWM) for driving motors or other high current devices]] (filename: MotorPWM)&lt;br /&gt;
** using H-bridges&lt;br /&gt;
* [[Interrupts]]&lt;br /&gt;
* [[Quadrature decoding in software]] (filename: QuadratureSoft)&lt;br /&gt;
* [[Quadrature decoding in hardware, or just counters]] (filename: QuadratureHard)&lt;br /&gt;
* [[Running RC servos]] (filename: RCservoSoft &amp;amp; RCservoHard)&lt;br /&gt;
* [[Watchdog timer]] (filename: Watchdog)&lt;br /&gt;
* [[PIC RS232|RS-232 serial communication between a PC and a PIC]] (filename: RS232)&lt;br /&gt;
* [[C Example: Serial LCD|Text output to a serial LCD display]]&lt;br /&gt;
* [[C Example: Parallel Interfacing with LCDs|Text output to a parallel LCD display]]&lt;br /&gt;
* [[Servo skeleton with fast &amp;amp; slow interrupts]]&lt;br /&gt;
* [[XBee radio communication between PICs]] (and between a PC and a PIC)&lt;br /&gt;
* [[I2C communication between PICs]]&lt;br /&gt;
* [[Serial communication with Matlab]]&lt;br /&gt;
* [[SPI communication between PICs]] &amp;lt;b&amp;gt; (Note:  this function has not been successfully tested)&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[Microphones]]&lt;br /&gt;
* [[Ambient light color sensing]]&lt;br /&gt;
* [[Controlling a seven segment display]]&lt;br /&gt;
* [[Storing constant data in program memory]]&lt;br /&gt;
* [[PIC computation time benchmarks]]&lt;br /&gt;
* [[Stepper motor control with the PIC]]&lt;br /&gt;
* [[Global Positioning System]]&lt;br /&gt;
* [[IR communication between PICs]] &amp;lt;b&amp;gt; (Note:  this function has not been successfully tested) &amp;lt;/b&amp;gt;&lt;br /&gt;
* [[Interfacing to External EEPROM]]&lt;br /&gt;
* [[I2C Motor Controller]]&lt;br /&gt;
* [[Interfacing with a Photodiode Array]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;These topics have sample code available, but no wiki pages yet&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Counter0 - Counting pulses with Timer0]&lt;br /&gt;
* Counter1 - Counting pulses with Timer1]&lt;br /&gt;
* Interrupt0 - Periodic servo cycles using interrupt routines, 10mS &amp;amp; slower; Timer 0]&lt;br /&gt;
* Interrupt2 - Periodic servo cycles using interrupt routines; 10mS &amp;amp; faster; Timer 2]&lt;br /&gt;
* InterruptExternal - Interrupts generated by an external pulse]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;These topics need more development&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* AnalogOutputParallel - Analog output using 8 digital lines]&lt;br /&gt;
* PIC-to-PIC communication &lt;br /&gt;
* Zigbee radio communication&lt;br /&gt;
* Modulated IR communication&lt;br /&gt;
* Strobing LEDs or IREDs for better range and immunity to background light&lt;br /&gt;
* I2C communication &lt;br /&gt;
* CAN bus&lt;br /&gt;
* Capturing data to Matlab&lt;br /&gt;
* Running stepper motors&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;PIC Microcontrollers&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[PIC Microcontrollers with CCS Compiler]], for DC, 333, etc, using the CCS ICD-U40 device &amp;lt;b&amp;gt;[this section has been replaced by the material above]&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[PIC Microcontrollers with C18 Compiler]], for e-puck, or using the Microchip ICD device or&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;e-puck Mobile Robot&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[e-puck Mobile Robot]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Printing Circuit Boards]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[PCB Artist | PCB Artist: Software provided by Advanced Circuits]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; Electronics &amp;lt;/h3&amp;gt;&lt;br /&gt;
* [http://hades.mech.northwestern.edu/wiki/index.php/Category:Electronics Electronics]&lt;br /&gt;
* [[Phase-Sensitive Detection]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Operational_amplifier_applications Op-Amp Applications]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Analog and Digital chips&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Comparators | Comparators: the analog to digital interface]]&lt;br /&gt;
* [[Filtering with the LMF100 | Filtering with the LMF100]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Operational_amplifier_applications Opamps : building blocks of analog computation]&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/Writeups/InstAmp/instamp.htm Instrumentation amps, and NU circuit board for them]&lt;br /&gt;
* [[LED Drivers | Controlling large numbers of LEDs with LED drivers]]&lt;br /&gt;
* [[Opto-isolators | Opto-isolators: Signal transfer while electrically isolating circuits]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[:Category:Sensors|Sensors]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Potentiometers|Angle, Linear Position: Potentiometers]]&lt;br /&gt;
* [[Optointerrupter|Beam Breaker: Optointerrupter]]&lt;br /&gt;
* [[Optoreflector|Proximity: Optoreflector]]&lt;br /&gt;
* [[Sensing optical tape|Infrared reflectivity : Sensing optical tape]]&lt;br /&gt;
* [[Reed Switch|Proximity: Reed Switch]]&lt;br /&gt;
* [[Hall Effect Sensor|Proximity, Angle: Hall Effect Sensor]]&lt;br /&gt;
* [[Rotary Encoder|Angle: Rotary Encoder]]&lt;br /&gt;
* Angular Velocity: Tachometer&lt;br /&gt;
* [[Photodiodes and Phototransistors|Light: Photodiodes and Phototransistors]]&lt;br /&gt;
* [[Photocell|Ambient Light: Photocell]]&lt;br /&gt;
* [[Thermistor|Temperature: Thermistor]]&lt;br /&gt;
* Temperature: Thermotransistor IC&lt;br /&gt;
* Audio: [[Microphones]]&lt;br /&gt;
* [[Accelerometers|Tilt, Acceleration: Accelerometers]]&lt;br /&gt;
* [[Strain Gauge|Force: Strain Gauge]]&lt;br /&gt;
* Current: Current Sense Resistor&lt;br /&gt;
* [[Limit Switch|Contact: Microswitch (Limit Switch)]]&lt;br /&gt;
* [[Ambient light color sensing]]&lt;br /&gt;
* [[Global Positioning System]]&lt;br /&gt;
* [[Optics]]&lt;br /&gt;
* [[Optical Locating]]&lt;br /&gt;
* [[Lateral-Effect Photodiode]]&lt;br /&gt;
* [[IR Target Illumination|IRED&#039;s]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[:Category:Actuators|Actuators]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[image:All-actuators-captions-small.jpg|thumb|300px|[[Actuators Available in the Mechatronics Lab|Available Actuators]]|right]]&lt;br /&gt;
&lt;br /&gt;
* [[Brushed DC Motor Theory|Brushed DC Motors]]&lt;br /&gt;
** [[Choosing a Motor and Gearing Combination|Choosing a Motor and Gearing Combination]]&lt;br /&gt;
** [[Linear Amplifier Motor Driver|Driving Using a Linear Amplifier]]&lt;br /&gt;
** [[Driving using a single MOSFET|Driving using a single MOSFET]]&lt;br /&gt;
** [[Pulse Width Modulation|Driving Using Pulse Width Modulation]]&lt;br /&gt;
** [[PIC PWM Motor Driver]]&lt;br /&gt;
** [[Gear Motor]]&lt;br /&gt;
** [[Pulse Width Modulation]]&lt;br /&gt;
** [[Pulse_width_modulation]]&lt;br /&gt;
** [[Driving using a single MOSFET | Driving a DC motor using a single MOSFET]]&lt;br /&gt;
** [[Driving a DC Motor using PWM]]&lt;br /&gt;
** [[Driving a high current DC Motor using an H-bridge]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/AddEncoderHobbyEngGearMotor Adding a rotation encoder to a gearmotor]&lt;br /&gt;
** [[Using Opto-Isolators to Prevent Interference]]&lt;br /&gt;
* [[Brushless DC Motors]]&lt;br /&gt;
** [[Driving Brushless DC Motors]]&lt;br /&gt;
* [[Stepper Motor Theory|Stepper Motors]]&lt;br /&gt;
** [[Stepper Motor Circuits|Driving Stepper Motors]]&lt;br /&gt;
** [[Unipolar Stepper Motor Driver Circuit]]&lt;br /&gt;
** [[Bipolar Stepper Motor Driver Circuit]]&lt;br /&gt;
* [[RC Servo Theory|RC Servos]]&lt;br /&gt;
** [[555 Servo Circuit|Driving Your Servo Using a 555 Timer]]&lt;br /&gt;
* [[Solenoid Theory|Solenoids]]&lt;br /&gt;
** Practice: Driving Your Solenoid&lt;br /&gt;
* AC Motors&lt;br /&gt;
** [[Using the Yaskawa Motors]]&lt;br /&gt;
* [[Fans As Actuators|Fans As Actuators]]&lt;br /&gt;
* [[LIMS Air Hockey Table|LIMS Air Hockey Table]]&lt;br /&gt;
* [[Actuators Available in the Mechatronics Lab]]&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Mechanical Design&amp;lt;/h3&amp;gt;&lt;br /&gt;
*Mechanics of Materials&lt;br /&gt;
**Beam Mechanics&lt;br /&gt;
**[[Mohr&#039;s Circle]]&lt;br /&gt;
*Failure Theories&lt;br /&gt;
**Static Loading&lt;br /&gt;
**Variable Loading and Fatigue&lt;br /&gt;
*Fastening&lt;br /&gt;
**Nuts and Bolts&lt;br /&gt;
**Keys and Keyways&lt;br /&gt;
**Press-fits&lt;br /&gt;
**Set Screws&lt;br /&gt;
*Support&lt;br /&gt;
**Housings&lt;br /&gt;
**Shafts&lt;br /&gt;
**[[Bearings]]&lt;br /&gt;
*Transmission&lt;br /&gt;
**Rigid: [[Gears]]&lt;br /&gt;
**Flexible: Belts, Chains&lt;br /&gt;
**Motion Connection/Separation: Clutches, Brakes, Couplings&lt;br /&gt;
*Linkages&lt;br /&gt;
**Serial Chains&lt;br /&gt;
**Parallel and Closed-Loop Chains&lt;br /&gt;
*Other: springs/dampers, cams, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;The PC/104 Stack&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[Image:Img0174.jpg|thumb|300px|[[PC104 Overview|The PC104 Stack]]|right]]&lt;br /&gt;
* [[PC104 Overview|Overview]]&lt;br /&gt;
* [[The PC/104 Lab Kit]]&lt;br /&gt;
* Hardware:&lt;br /&gt;
** [[Advantech CPU Card]]&lt;br /&gt;
** [[Sensoray 526 Data Aquisition Card]]&lt;br /&gt;
&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#power[Power Components]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#electrical[I/O Electronics: Analog I/O, Digital I/O, Encoder Connections]]&lt;br /&gt;
* Advanced: Creating a Working Stack from Parts&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm [Building the Breakout Board]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#ribboncables[Breakout Board Ribbon Cables]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#mechanical[Assembling the PC104 Stack]]&lt;br /&gt;
** &#039;&#039;&#039;[[Creating an xPC Flash Boot Disk]]&#039;&#039;&#039; &amp;lt;- when new version of MATLAB&lt;br /&gt;
* Custom Boards&lt;br /&gt;
** Dual PWM Motor Controller&lt;br /&gt;
** Dual Linear Amplifier Motor Controller&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;xPC Target Real-Time Operating System&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[xPC Overview|Overview of Real-Time Programming with Simulink and xPC Target]]&lt;br /&gt;
* [[Configuring xPC Target PC|Configuring xPC Host/Target PC]]&lt;br /&gt;
* [[Creating a Simple xPC Program|&#039;&#039;&#039;Quickstart&#039;&#039;&#039;:Creating a simple xPC Program]]&lt;br /&gt;
* [[Common xPC Blocks|Commonly Used Blocks]]&lt;br /&gt;
* [[Using the Host Scope]]&lt;br /&gt;
*Advanced&lt;br /&gt;
** Model Properties&lt;br /&gt;
** [[XPC M-file Communication|M-file communication]]&lt;br /&gt;
** Using outside of the lab&lt;br /&gt;
** [[media:standalone.pdf|Standalone Mode]]&lt;br /&gt;
** Stateflow&lt;br /&gt;
* Code Examples&lt;br /&gt;
** [[Controlling a DC Motor with an Encoder]]&lt;br /&gt;
** Something With State Machine&lt;br /&gt;
** [[Using RS-232 and Printing to LCD]]&lt;br /&gt;
**[[UDP Communications between Target and Host PC]]&lt;br /&gt;
** M-functions and S-functions&lt;br /&gt;
** [[xPC Code From Student Projects]]&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;QNX Real-Time Operating System&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[media:qnxtemplate.zip|QNX Control Program with Interrupts]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Lab Supplies and Data Sheets&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://spreadsheets.google.com/pub?key=pa_bNAhFF-OvvxpSje1KDYg&amp;amp;output=html&amp;amp;gid=0&amp;amp;single=true Generally stocked lab inventory ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Vendors]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Other Software&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[List of Useful Software for Download]]&lt;br /&gt;
*Circuit Schematics and PCB Layout&lt;br /&gt;
*LaTex Document Preparation&lt;br /&gt;
** [http://meta.wikimedia.org/wiki/Help:Formula Mathematical Formulae]&lt;br /&gt;
** Document Formatting&lt;br /&gt;
** [[LaTeX Software Setup|Software Setup]]&lt;br /&gt;
** IEEE Styles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Other Lab Equipment]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
* Prototyping Tools&lt;br /&gt;
** [[Tektronix TDS220 Oscilloscope]]&lt;br /&gt;
** [[Tektronix CFG253 Function Generator]]&lt;br /&gt;
** [[media:Mastech_power_supply_manual.pdf|Mastech Power Supply]]&lt;br /&gt;
** Fluke III Multimeter&lt;br /&gt;
** Benchtop Multimeter&lt;br /&gt;
** Powered Breadboard&lt;br /&gt;
** Soldering Iron&lt;br /&gt;
* [http://ediacaran.mech.northwestern.edu/neuromech/index.php/Lab_Equipment High Performance Neuromechatronics Benches]&lt;br /&gt;
* The Sensoray 626 DAQ Card&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Course Material&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[ME 224 Experimental Engineering]]&lt;br /&gt;
* [http://lims.mech.northwestern.edu/~lynch/courses/ME333/2008/index.html ME 333 Introduction to Mechatronics]&lt;br /&gt;
** [[Lab 5]]&lt;br /&gt;
** [[Suggested final projects]]&lt;br /&gt;
** [[ME 333 final projects]]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* [http://www.mech.northwestern.edu/hartmann/ME333_CourseInformation.html ME 333 Mechatronics]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/ ME 433 Advanced Mechatronics] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Miscellaneous&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Swarm Robot Project]]&lt;br /&gt;
** [[Swarm Robot Project Links]]&lt;br /&gt;
&lt;br /&gt;
* [[Indoor Localization System]]&lt;br /&gt;
* [[Robot Helicopter Project]]&lt;br /&gt;
* [[E-Puck Color Sensing Project]]&lt;br /&gt;
* [[Guitar Tunning Project]]&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Main_Page&amp;diff=9658</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Main_Page&amp;diff=9658"/>
		<updated>2009-01-07T02:42:27Z</updated>

		<summary type="html">&lt;p&gt;MattT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Northwestern University mechatronics design wiki provides reference material on the theory and applications of electronics, sensors, actuators, etc., for use in mechatronics-related research and projects.  Practical applications often refer to equipment and supplies available in the [http://mechatronics.mech.northwestern.edu/ Northwestern Mechatronics Design Lab].&lt;br /&gt;
&lt;br /&gt;
Important:  Please be sure to read the [http://mechatronics.mech.northwestern.edu/mech-rules.pdf Rules for Using the Mechatronics Design Lab].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Design Competition 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wiki pages on sensors, actuators, programming, and microcontrollers: use pages below&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/Writeups/QuickStart/ Parts in the DC2008 quick start pack]&lt;br /&gt;
* [http://peshkin.mech.northwestern.edu/pic/info/piccintro_2008-01-24.pdf PIC C intro slides, as presented 2008/01/24 (pdf)]&lt;br /&gt;
* [http://peshkin.mech.northwestern.edu/pic/info/picinterfacing_2008-01-28.pdf PIC interfacing slides, as presented 2008/01/28 (pdf)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Sensors and actuators for DC&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Using Solderless Breadboard|Solderless Breadboard &amp;amp; wiring that works]]&lt;br /&gt;
* [[Using LEDs &amp;amp; IREDs]]&lt;br /&gt;
* [[Using a laser]]&lt;br /&gt;
* [[Sensing optical tape|Infrared reflectivity]]&lt;br /&gt;
** Using phototransistors&lt;br /&gt;
** Sensing optical tape&lt;br /&gt;
* [[Comparators | Comparators : the analog digital interface]]&lt;br /&gt;
* [http://www.robotroom.com/FaulhaberGearmotor.html Faulhaber MiniMotor SA gearmotor with encoder], as well as [[Actuators_Available_in_the_Mechatronics_Lab#Faulhaber_1524E006S_motor_with_141:1_gearhead_and_HES164A_magnetic_quadrature_encoder|the local wiki page]]&lt;br /&gt;
* [[Adding a magnetic encoder to a GM3 Gearmotor]]&lt;br /&gt;
** Using magnetic switches (Hall Effect)&lt;br /&gt;
* [[High-current devices|Driving high-current devices: several options]]&lt;br /&gt;
* [[Driving a Stepper Motor]]&lt;br /&gt;
* [[Driving an RC Servo]]&lt;br /&gt;
* [[Accelerometers]]&lt;br /&gt;
* [[Strain gauges]]&lt;br /&gt;
* [[Using the Basic Stamp Microcontroller|Basic Stamp Microcontroller]] &amp;lt;b&amp;gt;Not recommended for DC2008&amp;lt;/b&amp;gt;&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/Writeups/Battery_NiMH/ NiMH rechargable batteries and chargers]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; [http://peshkin.mech.northwestern.edu/datasheets Prof. Peshkin&#039;s favorite datasheets]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;PIC 18F4520 prototyping board &amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[4520 Board intro|Prototyping board intro]]&lt;br /&gt;
*[[4520 Board construction|Assembling the 18F4520 prototyping board, circuit, parts]]&lt;br /&gt;
*[[4520 Board use|Using the 18F4520 prototyping board]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Programming with CCS C &amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[C language|The C language]]&lt;br /&gt;
*[[CCS C|CCS C, specifically for the 18F4520]]&lt;br /&gt;
*[[Embedded Programming Tips for CCS C]]&lt;br /&gt;
*[[CCS IDE|Using the CCS development environment]]&lt;br /&gt;
*[[Debugging C on a PIC]]&lt;br /&gt;
*[[More debugging tips]]&lt;br /&gt;
*[http://www.ccsinfo.com/forum/ CCS user forum]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Interfacing and skeleton code for the PIC 18F4520&amp;lt;/h3&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;These topics have wiki pages &amp;lt;i&amp;gt;and&amp;lt;/i&amp;gt; sample code available&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* [[Digital inputs &amp;amp; outputs]] (filename: DigitalIO)&lt;br /&gt;
* [[Analog Input]] (filename: AnalogInput)&lt;br /&gt;
** reading a trimpot&lt;br /&gt;
** reading a phototransistor&lt;br /&gt;
** amplified phototransistor, and IRED strobing&lt;br /&gt;
** using an instrumentation amp (example: for a strain gauge)&lt;br /&gt;
* [[Analog Output|Analog Output, and the I2C bus]] (filename: AnalogOutput)&lt;br /&gt;
* [[Waveform Generation with AD9833]] (filename: AD9833)&lt;br /&gt;
* [[SPI - Serial Peripheral Interface - on the PIC]]&lt;br /&gt;
*[[Pulse width modulation|Pulse width modulation (PWM) for driving motors or other high current devices]] (filename: MotorPWM)&lt;br /&gt;
** using H-bridges&lt;br /&gt;
* [[Interrupts]]&lt;br /&gt;
* [[Quadrature decoding in software]] (filename: QuadratureSoft)&lt;br /&gt;
* [[Quadrature decoding in hardware, or just counters]] (filename: QuadratureHard)&lt;br /&gt;
* [[Running RC servos]] (filename: RCservoSoft &amp;amp; RCservoHard)&lt;br /&gt;
* [[Watchdog timer]] (filename: Watchdog)&lt;br /&gt;
* [[PIC RS232|RS-232 serial communication between a PC and a PIC]] (filename: RS232)&lt;br /&gt;
* [[C Example: Serial LCD|Text output to a serial LCD display]]&lt;br /&gt;
* [[C Example: Parallel Interfacing with LCDs|Text output to a parallel LCD display]]&lt;br /&gt;
* [[Servo skeleton with fast &amp;amp; slow interrupts]]&lt;br /&gt;
* [[XBee radio communication between PICs]] (and between a PC and a PIC)&lt;br /&gt;
* [[I2C communication between PICs]]&lt;br /&gt;
* [[Serial communication with Matlab]]&lt;br /&gt;
* [[SPI communication between PICs]] &amp;lt;b&amp;gt; (Note:  this function has not been successfully tested)&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[Microphones]]&lt;br /&gt;
* [[Ambient light color sensing]]&lt;br /&gt;
* [[Controlling a seven segment display]]&lt;br /&gt;
* [[Storing constant data in program memory]]&lt;br /&gt;
* [[PIC computation time benchmarks]]&lt;br /&gt;
* [[Stepper motor control with the PIC]]&lt;br /&gt;
* [[Global Positioning System]]&lt;br /&gt;
* [[IR communication between PICs]] &amp;lt;b&amp;gt; (Note:  this function has not been successfully tested) &amp;lt;/b&amp;gt;&lt;br /&gt;
* [[Interfacing to External EEPROM]]&lt;br /&gt;
* [[I2C Motor Controller]]&lt;br /&gt;
* [[Interfacing with a Photodiode Array]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;These topics have sample code available, but no wiki pages yet&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Counter0 - Counting pulses with Timer0]&lt;br /&gt;
* Counter1 - Counting pulses with Timer1]&lt;br /&gt;
* Interrupt0 - Periodic servo cycles using interrupt routines, 10mS &amp;amp; slower; Timer 0]&lt;br /&gt;
* Interrupt2 - Periodic servo cycles using interrupt routines; 10mS &amp;amp; faster; Timer 2]&lt;br /&gt;
* InterruptExternal - Interrupts generated by an external pulse]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;These topics need more development&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* AnalogOutputParallel - Analog output using 8 digital lines]&lt;br /&gt;
* PIC-to-PIC communication &lt;br /&gt;
* Zigbee radio communication&lt;br /&gt;
* Modulated IR communication&lt;br /&gt;
* Strobing LEDs or IREDs for better range and immunity to background light&lt;br /&gt;
* I2C communication &lt;br /&gt;
* CAN bus&lt;br /&gt;
* Capturing data to Matlab&lt;br /&gt;
* Running stepper motors&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;PIC Microcontrollers&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[PIC Microcontrollers with CCS Compiler]], for DC, 333, etc, using the CCS ICD-U40 device &amp;lt;b&amp;gt;[this section has been replaced by the material above]&amp;lt;/b&amp;gt;&lt;br /&gt;
* [[PIC Microcontrollers with C18 Compiler]], for e-puck, or using the Microchip ICD device or&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;e-puck Mobile Robot&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[e-puck Mobile Robot]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Printing Circuit Boards]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[PCB Artist | PCB Artist: Software provided by Advanced Circuits]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; Electronics &amp;lt;/h3&amp;gt;&lt;br /&gt;
* [http://hades.mech.northwestern.edu/wiki/index.php/Category:Electronics Electronics]&lt;br /&gt;
* [[Phase-Sensitive Detection]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Operational_amplifier_applications Op-Amp Applications]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Analog and Digital chips&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Comparators | Comparators: the analog to digital interface]]&lt;br /&gt;
* [[Filtering with the LMF100 | Filtering with the LMF100]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Operational_amplifier_applications Opamps : building blocks of analog computation]&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/Writeups/InstAmp/instamp.htm Instrumentation amps, and NU circuit board for them]&lt;br /&gt;
* [[LED Drivers | Controlling large numbers of LEDs with LED drivers]]&lt;br /&gt;
* [[Optoisolators | Signal transfer while electrically isolating circuits]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[:Category:Sensors|Sensors]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Potentiometers|Angle, Linear Position: Potentiometers]]&lt;br /&gt;
* [[Optointerrupter|Beam Breaker: Optointerrupter]]&lt;br /&gt;
* [[Optoreflector|Proximity: Optoreflector]]&lt;br /&gt;
* [[Sensing optical tape|Infrared reflectivity : Sensing optical tape]]&lt;br /&gt;
* [[Reed Switch|Proximity: Reed Switch]]&lt;br /&gt;
* [[Hall Effect Sensor|Proximity, Angle: Hall Effect Sensor]]&lt;br /&gt;
* [[Rotary Encoder|Angle: Rotary Encoder]]&lt;br /&gt;
* Angular Velocity: Tachometer&lt;br /&gt;
* [[Photodiodes and Phototransistors|Light: Photodiodes and Phototransistors]]&lt;br /&gt;
* [[Photocell|Ambient Light: Photocell]]&lt;br /&gt;
* [[Thermistor|Temperature: Thermistor]]&lt;br /&gt;
* Temperature: Thermotransistor IC&lt;br /&gt;
* Audio: [[Microphones]]&lt;br /&gt;
* [[Accelerometers|Tilt, Acceleration: Accelerometers]]&lt;br /&gt;
* [[Strain Gauge|Force: Strain Gauge]]&lt;br /&gt;
* Current: Current Sense Resistor&lt;br /&gt;
* [[Limit Switch|Contact: Microswitch (Limit Switch)]]&lt;br /&gt;
* [[Ambient light color sensing]]&lt;br /&gt;
* [[Global Positioning System]]&lt;br /&gt;
* [[Optics]]&lt;br /&gt;
* [[Optical Locating]]&lt;br /&gt;
* [[Lateral-Effect Photodiode]]&lt;br /&gt;
* [[IR Target Illumination|IRED&#039;s]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[:Category:Actuators|Actuators]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[image:All-actuators-captions-small.jpg|thumb|300px|[[Actuators Available in the Mechatronics Lab|Available Actuators]]|right]]&lt;br /&gt;
&lt;br /&gt;
* [[Brushed DC Motor Theory|Brushed DC Motors]]&lt;br /&gt;
** [[Choosing a Motor and Gearing Combination|Choosing a Motor and Gearing Combination]]&lt;br /&gt;
** [[Linear Amplifier Motor Driver|Driving Using a Linear Amplifier]]&lt;br /&gt;
** [[Driving using a single MOSFET|Driving using a single MOSFET]]&lt;br /&gt;
** [[Pulse Width Modulation|Driving Using Pulse Width Modulation]]&lt;br /&gt;
** [[PIC PWM Motor Driver]]&lt;br /&gt;
** [[Gear Motor]]&lt;br /&gt;
** [[Pulse Width Modulation]]&lt;br /&gt;
** [[Pulse_width_modulation]]&lt;br /&gt;
** [[Driving using a single MOSFET | Driving a DC motor using a single MOSFET]]&lt;br /&gt;
** [[Driving a DC Motor using PWM]]&lt;br /&gt;
** [[Driving a high current DC Motor using an H-bridge]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/AddEncoderHobbyEngGearMotor Adding a rotation encoder to a gearmotor]&lt;br /&gt;
** [[Using Opto-Isolators to Prevent Interference]]&lt;br /&gt;
* [[Brushless DC Motors]]&lt;br /&gt;
** [[Driving Brushless DC Motors]]&lt;br /&gt;
* [[Stepper Motor Theory|Stepper Motors]]&lt;br /&gt;
** [[Stepper Motor Circuits|Driving Stepper Motors]]&lt;br /&gt;
** [[Unipolar Stepper Motor Driver Circuit]]&lt;br /&gt;
** [[Bipolar Stepper Motor Driver Circuit]]&lt;br /&gt;
* [[RC Servo Theory|RC Servos]]&lt;br /&gt;
** [[555 Servo Circuit|Driving Your Servo Using a 555 Timer]]&lt;br /&gt;
* [[Solenoid Theory|Solenoids]]&lt;br /&gt;
** Practice: Driving Your Solenoid&lt;br /&gt;
* AC Motors&lt;br /&gt;
** [[Using the Yaskawa Motors]]&lt;br /&gt;
* [[Fans As Actuators|Fans As Actuators]]&lt;br /&gt;
* [[LIMS Air Hockey Table|LIMS Air Hockey Table]]&lt;br /&gt;
* [[Actuators Available in the Mechatronics Lab]]&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Mechanical Design&amp;lt;/h3&amp;gt;&lt;br /&gt;
*Mechanics of Materials&lt;br /&gt;
**Beam Mechanics&lt;br /&gt;
**[[Mohr&#039;s Circle]]&lt;br /&gt;
*Failure Theories&lt;br /&gt;
**Static Loading&lt;br /&gt;
**Variable Loading and Fatigue&lt;br /&gt;
*Fastening&lt;br /&gt;
**Nuts and Bolts&lt;br /&gt;
**Keys and Keyways&lt;br /&gt;
**Press-fits&lt;br /&gt;
**Set Screws&lt;br /&gt;
*Support&lt;br /&gt;
**Housings&lt;br /&gt;
**Shafts&lt;br /&gt;
**[[Bearings]]&lt;br /&gt;
*Transmission&lt;br /&gt;
**Rigid: [[Gears]]&lt;br /&gt;
**Flexible: Belts, Chains&lt;br /&gt;
**Motion Connection/Separation: Clutches, Brakes, Couplings&lt;br /&gt;
*Linkages&lt;br /&gt;
**Serial Chains&lt;br /&gt;
**Parallel and Closed-Loop Chains&lt;br /&gt;
*Other: springs/dampers, cams, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;The PC/104 Stack&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[Image:Img0174.jpg|thumb|300px|[[PC104 Overview|The PC104 Stack]]|right]]&lt;br /&gt;
* [[PC104 Overview|Overview]]&lt;br /&gt;
* [[The PC/104 Lab Kit]]&lt;br /&gt;
* Hardware:&lt;br /&gt;
** [[Advantech CPU Card]]&lt;br /&gt;
** [[Sensoray 526 Data Aquisition Card]]&lt;br /&gt;
&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#power[Power Components]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#electrical[I/O Electronics: Analog I/O, Digital I/O, Encoder Connections]]&lt;br /&gt;
* Advanced: Creating a Working Stack from Parts&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm [Building the Breakout Board]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#ribboncables[Breakout Board Ribbon Cables]]&lt;br /&gt;
** [http://www.mech.northwestern.edu/courses/433/Writeups/PC104BoB/stack.htm#mechanical[Assembling the PC104 Stack]]&lt;br /&gt;
** &#039;&#039;&#039;[[Creating an xPC Flash Boot Disk]]&#039;&#039;&#039; &amp;lt;- when new version of MATLAB&lt;br /&gt;
* Custom Boards&lt;br /&gt;
** Dual PWM Motor Controller&lt;br /&gt;
** Dual Linear Amplifier Motor Controller&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;xPC Target Real-Time Operating System&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[xPC Overview|Overview of Real-Time Programming with Simulink and xPC Target]]&lt;br /&gt;
* [[Configuring xPC Target PC|Configuring xPC Host/Target PC]]&lt;br /&gt;
* [[Creating a Simple xPC Program|&#039;&#039;&#039;Quickstart&#039;&#039;&#039;:Creating a simple xPC Program]]&lt;br /&gt;
* [[Common xPC Blocks|Commonly Used Blocks]]&lt;br /&gt;
* [[Using the Host Scope]]&lt;br /&gt;
*Advanced&lt;br /&gt;
** Model Properties&lt;br /&gt;
** [[XPC M-file Communication|M-file communication]]&lt;br /&gt;
** Using outside of the lab&lt;br /&gt;
** [[media:standalone.pdf|Standalone Mode]]&lt;br /&gt;
** Stateflow&lt;br /&gt;
* Code Examples&lt;br /&gt;
** [[Controlling a DC Motor with an Encoder]]&lt;br /&gt;
** Something With State Machine&lt;br /&gt;
** [[Using RS-232 and Printing to LCD]]&lt;br /&gt;
**[[UDP Communications between Target and Host PC]]&lt;br /&gt;
** M-functions and S-functions&lt;br /&gt;
** [[xPC Code From Student Projects]]&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;QNX Real-Time Operating System&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[media:qnxtemplate.zip|QNX Control Program with Interrupts]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Lab Supplies and Data Sheets&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://spreadsheets.google.com/pub?key=pa_bNAhFF-OvvxpSje1KDYg&amp;amp;output=html&amp;amp;gid=0&amp;amp;single=true Generally stocked lab inventory ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Vendors]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Other Software&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[List of Useful Software for Download]]&lt;br /&gt;
*Circuit Schematics and PCB Layout&lt;br /&gt;
*LaTex Document Preparation&lt;br /&gt;
** [http://meta.wikimedia.org/wiki/Help:Formula Mathematical Formulae]&lt;br /&gt;
** Document Formatting&lt;br /&gt;
** [[LaTeX Software Setup|Software Setup]]&lt;br /&gt;
** IEEE Styles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;[[Other Lab Equipment]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
* Prototyping Tools&lt;br /&gt;
** [[Tektronix TDS220 Oscilloscope]]&lt;br /&gt;
** [[Tektronix CFG253 Function Generator]]&lt;br /&gt;
** [[media:Mastech_power_supply_manual.pdf|Mastech Power Supply]]&lt;br /&gt;
** Fluke III Multimeter&lt;br /&gt;
** Benchtop Multimeter&lt;br /&gt;
** Powered Breadboard&lt;br /&gt;
** Soldering Iron&lt;br /&gt;
* [http://ediacaran.mech.northwestern.edu/neuromech/index.php/Lab_Equipment High Performance Neuromechatronics Benches]&lt;br /&gt;
* The Sensoray 626 DAQ Card&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Course Material&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[ME 224 Experimental Engineering]]&lt;br /&gt;
* [http://lims.mech.northwestern.edu/~lynch/courses/ME333/2008/index.html ME 333 Introduction to Mechatronics]&lt;br /&gt;
** [[Lab 5]]&lt;br /&gt;
** [[Suggested final projects]]&lt;br /&gt;
** [[ME 333 final projects]]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* [http://www.mech.northwestern.edu/hartmann/ME333_CourseInformation.html ME 333 Mechatronics]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [http://www.mech.northwestern.edu/courses/433/ ME 433 Advanced Mechatronics] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Miscellaneous&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Swarm Robot Project]]&lt;br /&gt;
** [[Swarm Robot Project Links]]&lt;br /&gt;
&lt;br /&gt;
* [[Indoor Localization System]]&lt;br /&gt;
* [[Robot Helicopter Project]]&lt;br /&gt;
* [[E-Puck Color Sensing Project]]&lt;br /&gt;
* [[Guitar Tunning Project]]&lt;/div&gt;</summary>
		<author><name>MattT</name></author>
	</entry>
</feed>