<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.lvl1.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Billpiep</id>
	<title>LVL1 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.lvl1.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Billpiep"/>
	<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/Special:Contributions/Billpiep"/>
	<updated>2026-08-03T19:15:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=HF_Hydraulic_Press&amp;diff=6822</id>
		<title>HF Hydraulic Press</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=HF_Hydraulic_Press&amp;diff=6822"/>
		<updated>2014-08-15T14:50:19Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: Created page with &amp;quot;{{Template:Equipment |owner=Bill Piepmeyer |serial=? |model=Central Hydraulics |arrived=2012 |doesitwork=Working |contact=Bill Piepmeyer |where=Metal Shop }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Equipment&lt;br /&gt;
|owner=Bill Piepmeyer&lt;br /&gt;
|serial=?&lt;br /&gt;
|model=Central Hydraulics&lt;br /&gt;
|arrived=2012&lt;br /&gt;
|doesitwork=Working&lt;br /&gt;
|contact=Bill Piepmeyer&lt;br /&gt;
|where=Metal Shop&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Toolkraft_Drill_Press&amp;diff=6821</id>
		<title>Toolkraft Drill Press</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Toolkraft_Drill_Press&amp;diff=6821"/>
		<updated>2014-08-15T14:43:36Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Equipment|owner=Bill Piepmeyer|model=Toolkraft Drill Press Model 355 |serial=2435|arrived=Jul 2010|doesitwork=Working|contact=lvl1|where=Basement}}&amp;lt;br&amp;gt;&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=907</id>
		<title>Areas of Interest</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=907"/>
		<updated>2010-08-25T21:34:22Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Areas of Interest */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Areas of Interest ==&lt;br /&gt;
* [[3D Rapid Prototyping]]&lt;br /&gt;
* [[Alternative_Energy / Green_Tech]]&lt;br /&gt;
* [[Home Brewing]]&lt;br /&gt;
* [[Metalworking]]&lt;br /&gt;
* [[Microcontroller/Microprocessor/SOC]]&lt;br /&gt;
* [[Musical Instruments]]&lt;br /&gt;
* [[Software Development]]&lt;br /&gt;
** [[OS]]&lt;br /&gt;
*** [[Linux]]&lt;br /&gt;
*** [[Windows]]&lt;br /&gt;
** [[Languages]]&lt;br /&gt;
*** [[C/C++]]&lt;br /&gt;
*** [[Perl]]&lt;br /&gt;
*** [[Ruby]]&lt;br /&gt;
* [[Woodworking]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=906</id>
		<title>Areas of Interest</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=906"/>
		<updated>2010-08-25T18:28:46Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Areas of Interest */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Areas of Interest ==&lt;br /&gt;
* [[3D Rapid Prototyping]]&lt;br /&gt;
* [[Alternative_Energy / Green_Tech]]&lt;br /&gt;
* [[Home Brewing]]&lt;br /&gt;
* [[Metalworking]]&lt;br /&gt;
* [[Microcontroller/Microprocessor/SOC]]&lt;br /&gt;
* [[Musical Instruments]]&lt;br /&gt;
* [[Software Development]]&lt;br /&gt;
* [[Woodworking]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=905</id>
		<title>Areas of Interest</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=905"/>
		<updated>2010-08-25T18:28:10Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Areas of Interest */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Areas of Interest ==&lt;br /&gt;
* [[3D Rapid Prototyping]]&lt;br /&gt;
* [[Alternative_Energy_/_Green_Tech]]&lt;br /&gt;
* [[Home Brewing]]&lt;br /&gt;
* [[Metalworking]]&lt;br /&gt;
* [[Microcontroller/Microprocessor/SOC]]&lt;br /&gt;
* [[Musical Instruments]]&lt;br /&gt;
* [[Software Development]]&lt;br /&gt;
* [[Woodworking]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Alternative_Energy&amp;diff=904</id>
		<title>Alternative Energy</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Alternative_Energy&amp;diff=904"/>
		<updated>2010-08-25T18:25:42Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: moved Alternative Energy to Alternative Energy / Green Tech&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Alternative Energy / Green Tech]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Alternative_Energy_/_Green_Tech&amp;diff=903</id>
		<title>Alternative Energy / Green Tech</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Alternative_Energy_/_Green_Tech&amp;diff=903"/>
		<updated>2010-08-25T18:25:42Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: moved Alternative Energy to Alternative Energy / Green Tech&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* Electric Vehicles&lt;br /&gt;
* Solar (Photovoltaic)&lt;br /&gt;
* Solar Panels (home heat)&lt;br /&gt;
* Solar Water Heating&lt;br /&gt;
* Home energy monitoring&lt;br /&gt;
* Conservation&lt;br /&gt;
* Rain water reuse (irrigation, evaporative cooling, etc)&lt;br /&gt;
* Wind/Water power&lt;br /&gt;
* Thermal Sequestering (masses, state change [water/ice, sodium acetate, etc] )&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Alternative_Energy_/_Green_Tech&amp;diff=902</id>
		<title>Alternative Energy / Green Tech</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Alternative_Energy_/_Green_Tech&amp;diff=902"/>
		<updated>2010-08-25T18:24:56Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: Alternative Energy / Green Tech&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* Electric Vehicles&lt;br /&gt;
* Solar (Photovoltaic)&lt;br /&gt;
* Solar Panels (home heat)&lt;br /&gt;
* Solar Water Heating&lt;br /&gt;
* Home energy monitoring&lt;br /&gt;
* Conservation&lt;br /&gt;
* Rain water reuse (irrigation, evaporative cooling, etc)&lt;br /&gt;
* Wind/Water power&lt;br /&gt;
* Thermal Sequestering (masses, state change [water/ice, sodium acetate, etc] )&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=901</id>
		<title>Areas of Interest</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=901"/>
		<updated>2010-08-25T18:07:21Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Areas of Interest */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Areas of Interest ==&lt;br /&gt;
* [[3D Rapid Prototyping]]&lt;br /&gt;
* [[Alternative Energy]]&lt;br /&gt;
* [[Home Brewing]]&lt;br /&gt;
* [[Metalworking]]&lt;br /&gt;
* [[Microcontroller/Microprocessor/SOC]]&lt;br /&gt;
* [[Musical Instruments]]&lt;br /&gt;
* [[Software Development]]&lt;br /&gt;
* [[Woodworking]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=900</id>
		<title>Areas of Interest</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Areas_of_Interest&amp;diff=900"/>
		<updated>2010-08-25T17:59:47Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: Areas of Interest jump page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Areas of Interest ==&lt;br /&gt;
3D Rapid Prototyping&lt;br /&gt;
Alternative Energy&lt;br /&gt;
Home Brewing&lt;br /&gt;
Metalworking&lt;br /&gt;
Microcontrollers&lt;br /&gt;
Musical Instruments&lt;br /&gt;
Woodworking&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Incoming_Items&amp;diff=733</id>
		<title>Incoming Items</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Incoming_Items&amp;diff=733"/>
		<updated>2010-06-08T20:55:44Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Shop Vac (donated by Chris)&lt;br /&gt;
* Heathkit Oscilloscope (donated by Chris)&lt;br /&gt;
* Various EE books (on loan from Chris)&lt;br /&gt;
* Orphaned Desktop Computers (donated by Chris)&lt;br /&gt;
* 2 large folding tables (donated by Chris)&lt;br /&gt;
* Heathkit Function Generator (donated by Chris)&lt;br /&gt;
* Bench Variable Power supply (donated by Chris)&lt;br /&gt;
* A couple of soldering irons (donated by Chris)&lt;br /&gt;
* A Craftsman table saw (donated by JT)&lt;br /&gt;
* Floor cabinets and countertop (donated by JT)&lt;br /&gt;
* Drill Press (on loan from Bill P.)&lt;br /&gt;
* Wood Lathe (on loan from Bill P.)&lt;br /&gt;
* 3 Desks ( on loan from Bill P.)&lt;br /&gt;
* 2 Sets of shelves ( donated by Bill P.)&lt;br /&gt;
* Desktop computers ( donated by Bill P.)&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=670</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=670"/>
		<updated>2010-05-18T18:25:09Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* How to */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
Quick no solder method to attach the motor to your breadboard.&lt;br /&gt;
&lt;br /&gt;
[[File:MotorBreadboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
[[File:PWM_Motor_bb.png]]&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /*&lt;br /&gt;
 * Created 18 October 2006&lt;br /&gt;
 * copyleft 2006 Tod E. Kurt &amp;lt;tod@todbot.com&amp;gt;&lt;br /&gt;
 * http://todbot.com/&lt;br /&gt;
 * &lt;br /&gt;
 * based on &amp;quot;serial_read_advanced&amp;quot; example&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
int motorPin = 3;&lt;br /&gt;
int val = 0;       // variable to store the data from the serial port&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(motorPin,OUTPUT);    // declare the motor&#039;s pin as output&lt;br /&gt;
  Serial.begin(19200);        // connect to the serial port&lt;br /&gt;
  Serial.println(&amp;quot;Welcome to SerialMotorSpeed!&amp;quot;);&lt;br /&gt;
  Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop () {&lt;br /&gt;
  val = Serial.read();      // read the serial port&lt;br /&gt;
  if (val &amp;gt;= &#039;0&#039; &amp;amp;&amp;amp; val &amp;lt;= &#039;9&#039; ) {&lt;br /&gt;
    val = val - &#039;0&#039;;       // convert from character to number&lt;br /&gt;
    val = 28 * val;        // convert from 0-9 to 0-255 (almost)&lt;br /&gt;
    Serial.print(&amp;quot;Setting speed to &amp;quot;);&lt;br /&gt;
    Serial.println(val);&lt;br /&gt;
    analogWrite(motorPin,val);&lt;br /&gt;
    &lt;br /&gt;
    Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
*You have to change your baud rate on the serial monitor to 19200&lt;br /&gt;
*Make sure your power is good&lt;br /&gt;
*I had to uninstall and scan for hardware changes on my usb &lt;br /&gt;
*polarity of transistor and diode OK?&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
http://www.instructables.com/id/Arduino-Expermentation-Kit-How-to-get-Started-wi/step5/Spin-Motor-Spin-Transistor-amp-Motor-CIR/&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:MotorBreadboard.jpg&amp;diff=668</id>
		<title>File:MotorBreadboard.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:MotorBreadboard.jpg&amp;diff=668"/>
		<updated>2010-05-18T18:24:26Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=632</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=632"/>
		<updated>2010-05-18T02:32:05Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
[[File:PWM_Motor_bb.png]]&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /*&lt;br /&gt;
 * Created 18 October 2006&lt;br /&gt;
 * copyleft 2006 Tod E. Kurt &amp;lt;tod@todbot.com&amp;gt;&lt;br /&gt;
 * http://todbot.com/&lt;br /&gt;
 * &lt;br /&gt;
 * based on &amp;quot;serial_read_advanced&amp;quot; example&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
int motorPin = 9;&lt;br /&gt;
int val = 0;       // variable to store the data from the serial port&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(motorPin,OUTPUT);    // declare the motor&#039;s pin as output&lt;br /&gt;
  Serial.begin(19200);        // connect to the serial port&lt;br /&gt;
  Serial.println(&amp;quot;Welcome to SerialMotorSpeed!&amp;quot;);&lt;br /&gt;
  Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop () {&lt;br /&gt;
  val = Serial.read();      // read the serial port&lt;br /&gt;
  if (val &amp;gt;= &#039;0&#039; &amp;amp;&amp;amp; val &amp;lt;= &#039;9&#039; ) {&lt;br /&gt;
    val = val - &#039;0&#039;;       // convert from character to number&lt;br /&gt;
    val = 28 * val;        // convert from 0-9 to 0-255 (almost)&lt;br /&gt;
    Serial.print(&amp;quot;Setting speed to &amp;quot;);&lt;br /&gt;
    Serial.println(val);&lt;br /&gt;
    analogWrite(motorPin,val);&lt;br /&gt;
    &lt;br /&gt;
    Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=631</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=631"/>
		<updated>2010-05-18T02:31:32Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
[[File:PWM_Motor_bb.png]]&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;syntaxhighlight lang=cpp&amp;gt;&lt;br /&gt;
 /*&lt;br /&gt;
 * Created 18 October 2006&lt;br /&gt;
 * copyleft 2006 Tod E. Kurt &amp;lt;tod@todbot.com&amp;gt;&lt;br /&gt;
 * http://todbot.com/&lt;br /&gt;
 * &lt;br /&gt;
 * based on &amp;quot;serial_read_advanced&amp;quot; example&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
int motorPin = 9;&lt;br /&gt;
int val = 0;       // variable to store the data from the serial port&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(motorPin,OUTPUT);    // declare the motor&#039;s pin as output&lt;br /&gt;
  Serial.begin(19200);        // connect to the serial port&lt;br /&gt;
  Serial.println(&amp;quot;Welcome to SerialMotorSpeed!&amp;quot;);&lt;br /&gt;
  Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop () {&lt;br /&gt;
  val = Serial.read();      // read the serial port&lt;br /&gt;
  if (val &amp;gt;= &#039;0&#039; &amp;amp;&amp;amp; val &amp;lt;= &#039;9&#039; ) {&lt;br /&gt;
    val = val - &#039;0&#039;;       // convert from character to number&lt;br /&gt;
    val = 28 * val;        // convert from 0-9 to 0-255 (almost)&lt;br /&gt;
    Serial.print(&amp;quot;Setting speed to &amp;quot;);&lt;br /&gt;
    Serial.println(val);&lt;br /&gt;
    analogWrite(motorPin,val);&lt;br /&gt;
    &lt;br /&gt;
    Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=630</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=630"/>
		<updated>2010-05-18T02:30:40Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
[[File:PWM_Motor_bb.png]]&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;syntaxhighlight lang=cpp&amp;gt;&lt;br /&gt;
 /*&lt;br /&gt;
 * Created 18 October 2006&lt;br /&gt;
 * copyleft 2006 Tod E. Kurt &amp;lt;tod@todbot.com&amp;gt;&lt;br /&gt;
 * http://todbot.com/&lt;br /&gt;
 * &lt;br /&gt;
 * based on &amp;quot;serial_read_advanced&amp;quot; example&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
int motorPin = 9;&lt;br /&gt;
int val = 0;       // variable to store the data from the serial port&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(motorPin,OUTPUT);    // declare the motor&#039;s pin as output&lt;br /&gt;
  Serial.begin(19200);        // connect to the serial port&lt;br /&gt;
  Serial.println(&amp;quot;Welcome to SerialMotorSpeed!&amp;quot;);&lt;br /&gt;
  Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop () {&lt;br /&gt;
  val = Serial.read();      // read the serial port&lt;br /&gt;
  if (val &amp;gt;= &#039;0&#039; &amp;amp;&amp;amp; val &amp;lt;= &#039;9&#039; ) {&lt;br /&gt;
    val = val - &#039;0&#039;;       // convert from character to number&lt;br /&gt;
    val = 28 * val;        // convert from 0-9 to 0-255 (almost)&lt;br /&gt;
    Serial.print(&amp;quot;Setting speed to &amp;quot;);&lt;br /&gt;
    Serial.println(val);&lt;br /&gt;
    analogWrite(motorPin,val);&lt;br /&gt;
    &lt;br /&gt;
    Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=629</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=629"/>
		<updated>2010-05-18T02:15:57Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
[[File:PWM_Motor_bb.png]]&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
 /*&lt;br /&gt;
 * Created 18 October 2006&lt;br /&gt;
 * copyleft 2006 Tod E. Kurt &amp;lt;tod@todbot.com&amp;gt;&lt;br /&gt;
 * http://todbot.com/&lt;br /&gt;
 * &lt;br /&gt;
 * based on &amp;quot;serial_read_advanced&amp;quot; example&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
int motorPin = 9;&lt;br /&gt;
int val = 0;       // variable to store the data from the serial port&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(motorPin,OUTPUT);    // declare the motor&#039;s pin as output&lt;br /&gt;
  Serial.begin(19200);        // connect to the serial port&lt;br /&gt;
  Serial.println(&amp;quot;Welcome to SerialMotorSpeed!&amp;quot;);&lt;br /&gt;
  Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop () {&lt;br /&gt;
  val = Serial.read();      // read the serial port&lt;br /&gt;
  if (val &amp;gt;= &#039;0&#039; &amp;amp;&amp;amp; val &amp;lt;= &#039;9&#039; ) {&lt;br /&gt;
    val = val - &#039;0&#039;;       // convert from character to number&lt;br /&gt;
    val = 28 * val;        // convert from 0-9 to 0-255 (almost)&lt;br /&gt;
    Serial.print(&amp;quot;Setting speed to &amp;quot;);&lt;br /&gt;
    Serial.println(val);&lt;br /&gt;
    analogWrite(motorPin,val);&lt;br /&gt;
    &lt;br /&gt;
    Serial.println(&amp;quot;Enter speed number 0-9:&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:PWM_Motor_bb.png&amp;diff=628</id>
		<title>File:PWM Motor bb.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:PWM_Motor_bb.png&amp;diff=628"/>
		<updated>2010-05-18T02:13:47Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=627</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=627"/>
		<updated>2010-05-18T02:13:19Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Fritzing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
[[File:PWM_Motor_bb.png]]&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=626</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=626"/>
		<updated>2010-05-18T02:12:04Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:PWM_Motor.png]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:PWM_Motor.png&amp;diff=625</id>
		<title>File:PWM Motor.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:PWM_Motor.png&amp;diff=625"/>
		<updated>2010-05-18T02:11:24Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=624</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=624"/>
		<updated>2010-05-18T02:09:40Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=623</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=623"/>
		<updated>2010-05-18T02:09:06Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent the motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=622</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=622"/>
		<updated>2010-05-18T02:08:26Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
For our purposes we are going to look at the transistor as just a switch that gets turned on and off by the electricity supplied by an output from the Arduino. This switch can work extremely fast compared to a mechanical one.&lt;br /&gt;
&lt;br /&gt;
[[File:TransistorAsSwitch.png]]&lt;br /&gt;
&lt;br /&gt;
The transistor has 3 pins. Ours in an NPN type, which means that the the voltage on the emitter must be less than the collector, and when the voltage applied to the base (which turns the switch on) must also be greater than the emitter to turn the switch on. In order to do this we will connect our emitter to ground.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Diode&#039;&#039;&#039;&#039;&#039; allows current to flow in only one direction. Just like the LEDs from the previous Innings. In this project it is used to prevent motor from sending power back into the circuit.&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:TransistorAsSwitch.png&amp;diff=621</id>
		<title>File:TransistorAsSwitch.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:TransistorAsSwitch.png&amp;diff=621"/>
		<updated>2010-05-18T01:57:43Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:Transistor.png&amp;diff=590</id>
		<title>File:Transistor.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:Transistor.png&amp;diff=590"/>
		<updated>2010-05-16T21:40:58Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: uploaded a new version of &amp;quot;File:Transistor.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:Transistor.png&amp;diff=589</id>
		<title>File:Transistor.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:Transistor.png&amp;diff=589"/>
		<updated>2010-05-16T21:38:21Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: uploaded a new version of &amp;quot;File:Transistor.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=588</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=588"/>
		<updated>2010-05-16T21:36:05Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter. This is a gross over-simplification of a transistor but it is good enough to this project.&lt;br /&gt;
&lt;br /&gt;
The 2N2222 transistor included is capable of handling a current load of 600mA continuous load. This is good enough to sustain the motor spinning, but is not really recommended for this application since the start-up current for this motor is around 1.3A. The motor armature is of sufficiently low enough mass that it spins up rather quickly and therefore only draws 1.3 amps for a very short period of time. Care should be taken not to stall the motor, especially at the higher speeds, so as not to burn out the transistor. &lt;br /&gt;
&lt;br /&gt;
If you want to build a more robust circuit for driving a small DC motor, you might want to consider either a TIP120 darlington transistor or a 2N3055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=587</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=587"/>
		<updated>2010-05-16T21:04:18Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter.&lt;br /&gt;
&lt;br /&gt;
[[File:Transistor.png]]&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=File:Transistor.png&amp;diff=586</id>
		<title>File:Transistor.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=File:Transistor.png&amp;diff=586"/>
		<updated>2010-05-16T21:03:19Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=585</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=585"/>
		<updated>2010-05-16T21:01:53Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Motor&#039;&#039;&#039;&#039;&#039; - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
* Voltage&lt;br /&gt;
* Current&lt;br /&gt;
* Torque&lt;br /&gt;
* Speed (rpm)&lt;br /&gt;
* Physical Size and shaft size&lt;br /&gt;
&lt;br /&gt;
The one included can be run with as little as 1.5 volts (although very slowly) from a single cell battery up to 9 volts.&lt;br /&gt;
&lt;br /&gt;
Motors tend to draw a lot of current when they start spinning. Once they are spinning this drop drastically unless they are placed under heavy load.&lt;br /&gt;
&lt;br /&gt;
The maximum amount of current a small motor draws can be checked by hooking up a DC ammeter in series with the motor and physically stalling the motor shaft. Vise grips work well for this. Once you have the shaft secure, apply power and read the meter. This should be done quickly so as not to burn out the motor. Most motors can endure being stalled for a short time.&lt;br /&gt;
&lt;br /&gt;
The start-up current is much more difficult to determine. I requires a meter that will record peek values or a storage oscilloscope. If your circuit can handle the maximum stalled current, then it will be able to handle the start-up current.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Transistor&#039;&#039;&#039;&#039;&#039; - Included in your kit a 2n2222 NPN (switching) transistor. A transistor can be thought as a voltage controlled switch. When voltage is applied to the base of a transistor, the transistor allows current to flow between the collector and emitter.&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=583</id>
		<title>8th Inning</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=8th_Inning&amp;diff=583"/>
		<updated>2010-05-16T20:28:03Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Spin a motor, transistors and diodes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Motor - Included in your kit is a small DC electric motor. Electric motors are characterized by many different parameters such as:&lt;br /&gt;
Voltage&lt;br /&gt;
Current&lt;br /&gt;
Torgue&lt;br /&gt;
Speed (rpm)&lt;br /&gt;
Physical Size&lt;br /&gt;
&lt;br /&gt;
==Components Needed==&lt;br /&gt;
*Freeduino or Arduino or clone&lt;br /&gt;
*USB cable for Freeduino&lt;br /&gt;
*Freeduino development software - [http://www.arduino.cc/en/Main/Software download here!]&lt;br /&gt;
*Solderless Breadboard&lt;br /&gt;
*Hookup wire 22gauge solid&lt;br /&gt;
&lt;br /&gt;
==How to==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
==Fritzing==&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Members&amp;diff=367</id>
		<title>Members</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Members&amp;diff=367"/>
		<updated>2010-01-18T19:39:26Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Others */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can put your information here or feel free to create a page for yourself.&lt;br /&gt;
==Founding Members - so far==&lt;br /&gt;
    * [[Brian Wagner]] &lt;br /&gt;
    * [[Mark Endicott]] &lt;br /&gt;
    * [[Christopher Cprek]]&lt;br /&gt;
    * [[Cindy Harnett]]&lt;br /&gt;
    * [[Jennifer Smith]]&lt;br /&gt;
    * [[Joe Pugh]]&lt;br /&gt;
    * [[Bill Piepmeyer]]&lt;br /&gt;
&lt;br /&gt;
==Others==&lt;br /&gt;
    * [[Sam Troutman]] &lt;br /&gt;
    * [[Todd Chandler]] &lt;br /&gt;
    * [[Tim Knowlton]]&lt;br /&gt;
    * [[Camron Brooks]] &lt;br /&gt;
    * [[Becky Gallion]]&lt;br /&gt;
    * [[Gene Wood]]&lt;br /&gt;
    * [[Dave Stocklan]]&lt;br /&gt;
    * [[Dan Stocklan]]&lt;br /&gt;
    * [[Jason McGrew]]&lt;br /&gt;
    * [[Michael Searcy]] &lt;br /&gt;
    * [[Todd Welsh]] &lt;br /&gt;
    * [[Creighton Samuels]] &lt;br /&gt;
    * [[Chris Worth]]  &lt;br /&gt;
    * [[Connor Bell]]&lt;br /&gt;
    * [[Jason Fuchs]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Members&amp;diff=366</id>
		<title>Members</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Members&amp;diff=366"/>
		<updated>2010-01-18T19:38:48Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: /* Founding Members - so far */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can put your information here or feel free to create a page for yourself.&lt;br /&gt;
==Founding Members - so far==&lt;br /&gt;
    * [[Brian Wagner]] &lt;br /&gt;
    * [[Mark Endicott]] &lt;br /&gt;
    * [[Christopher Cprek]]&lt;br /&gt;
    * [[Cindy Harnett]]&lt;br /&gt;
    * [[Jennifer Smith]]&lt;br /&gt;
    * [[Joe Pugh]]&lt;br /&gt;
    * [[Bill Piepmeyer]]&lt;br /&gt;
&lt;br /&gt;
==Others==&lt;br /&gt;
    * [[Sam Troutman]] &lt;br /&gt;
    * [[Todd Chandler]] &lt;br /&gt;
    * [[Tim Knowlton]]&lt;br /&gt;
    * [[Camron Brooks]] &lt;br /&gt;
    * [[Becky Gallion]]&lt;br /&gt;
    * [[Gene Wood]]&lt;br /&gt;
    * [[Dave Stocklan]]&lt;br /&gt;
    * [[Dan Stocklan]]&lt;br /&gt;
    * [[Jason McGrew]]&lt;br /&gt;
    * [[Michael Searcy]] &lt;br /&gt;
    * [[Todd Welsh]] &lt;br /&gt;
    * [[Creighton Samuels]] &lt;br /&gt;
    * [[Chris Worth]]  &lt;br /&gt;
    * [[Bill Piepmeyer]]&lt;br /&gt;
    * [[Connor Bell]]&lt;br /&gt;
    * [[Jason Fuchs]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
	<entry>
		<id>http://wiki.lvl1.org/index.php?title=Members&amp;diff=207</id>
		<title>Members</title>
		<link rel="alternate" type="text/html" href="http://wiki.lvl1.org/index.php?title=Members&amp;diff=207"/>
		<updated>2009-12-23T04:39:58Z</updated>

		<summary type="html">&lt;p&gt;Billpiep: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can put your information here or feel free to create a page for yourself.&lt;br /&gt;
&lt;br /&gt;
    * [[Brian Wagner]] - brian at tegrasys.com&lt;br /&gt;
    * [[Mark Endicott]] - drphonon at gmail.com&lt;br /&gt;
    * [[Sam Troutman]] -&lt;br /&gt;
    * [[Todd Chandler]] - toddchandler at insightbb.com&lt;br /&gt;
    * [[Christopher Cprek]] - c at psioniclabs.com.&lt;br /&gt;
    * [[Tim Knowlton]]&lt;br /&gt;
    * [[Camron Brooks]] -&lt;br /&gt;
    * [[Joe Pugh]]&lt;br /&gt;
    * [[Jennifer Smith]]&lt;br /&gt;
    * [[Becky Gallion]]&lt;br /&gt;
    * [[Gene Wood]]&lt;br /&gt;
    * [[Dave Stocklan]]&lt;br /&gt;
    * [[Dan Stocklan]]&lt;br /&gt;
    * [[Jason McGrew]]&lt;br /&gt;
    * [[Michael Searcy]] - michaelsearcy at gmail.com&lt;br /&gt;
    * [[Todd Welsh]] - blackbeltbeekeeper-make at gmail dot com&lt;br /&gt;
    * [[Creighton Samuels]] - creighto at sdf.lonestar.org&lt;br /&gt;
    * [[Chris Worth]]  ca.worth at insightbb.com&lt;br /&gt;
    * [[Bill Piepmeyer]]&lt;/div&gt;</summary>
		<author><name>Billpiep</name></author>
	</entry>
</feed>