Readings

I don’t think it’s entirely fair to blame the touchscreens for the incident. As the article mentioned, the crew might be fatigued and unfamiliar with the system. It’s unfair to judge a piece of equipment if it’s not properly used.

Lab

Servo motor as output. Potentiometer as input. The input of the potentiometer changes the angle of the servo motor.

I attached a paper origami head on the servo motor so it would rotate as I turn the potentiometer. I also made strips of paper to represent the limbs of the character.

The connections of the wires and potentiometer is very unstable, so when the potentiometer is turned it sometimes gets disconnected from the circuit making the input value to suddenly change thus drastically changing the angle of the servo motor. For future projects, might be best to weld connections for potentiometers on wires.

Origami attached to Servo motor

Origami attached to Servo motor

Code

Unstable connection

Unstable connection

#include <Servo.h>
Servo myServo;
void setup() {
 myServo.attach(9);
}

void loop() {
 int sensor = analogRead(A0);
 int angle = map(sensor, 0, 1023, 0 , 180);
 myServo.write(angle);
 if (millis() % 20 <2) {
  myServo.write(angle);
 }
 }