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!

Assignment#6: Automatic toilet paper hanger

Project Members: 
Seung Wan Hong

Through FSRs and a DC motor, I made a simple structure of automatic toilet paper hanger. It seems to be useful for disabled peoples or children.


A roll of toilet paper, a sponge-cylinder, a DC motor, FSRs, Arduino board, Bread board, wires, diodes

Arduino Codes

int potPin = 0;   // select the input pin for FSRs
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


Toilet paper hanger.JPG252.48 KB


Comments from TAs

Good work. I'd never thought of the need for an automated toilet paper dispenser, but it does actually make sense! Thanks also for posting the video, as it's cool to see your project in action. I wonder if, in order to be most useful to disabled people or children, you'd need to include an automated toilet paper cutter? Could you design an easier way to tear the toilet paper? I bet it could be done without technology but just with a smartly designed dispenser.

Powered by Drupal - Design by Artinet