November 24, 2007
Reading for November 27th, are now posted. Enjoy!

October 2, 2007
To upload your thoughtless acts, create a new assignment page like any other lab. You'll see "Thoughtless Acts" listed as one of the assignment options.

May 24, 2008
This site has been archived and is no longer editable. Stay tuned for the next version, coming in the fall!

Rotating Globe

Project Members: 
Srinivasan Ramaswamy


A rotating globe, where the speed of rotation can be controlled with the help of a knob.


Components Used

  • Arduino Board
  • 1 Potentiometer
  • 1 Diode (1N4004)
  • 1 10K ohm Resistor
  • 1 TIP 120 Transistor  
  • 1 DC Motor
  • External Battery Source ( 2 AA size batteries)

Arduino Code

 * Rotating Globe
 * modified version of AnalogInput
 * by DojoDave <>
 * Modified by dave

int potPin = 0;   // select the input pin for the potentiometer
int motorPin = 9; // select the pin for the Motor
int val = 0;      // variable to store the value coming from the sensor
void setup() {
void loop() {
  val = analogRead(potPin);    // read the value from the sensor, between 0 - 1024
  analogWrite(motorPin, val/4); // analogWrite can be between 0-255



 Stationary Globe: Globe before RotationStationary Globe: Globe before Rotation

 Rotating GlobeRotating Globe


Comments from TAs

Nice use of the motor to connect to the globe. It would be interesting to connect the rotation of the globe to some other type of sensor input... For example, perhaps you could connect it to a clock to reflect the passage of time. As you get more comfortable working with Arduino, it's important to start thinking about the types of interfaces you're building and how they might be used or integrated into someone's life.

Powered by Drupal - Design by Artinet