1. Coin inserter + Puppet show up

code

const int fsrPin1 = A0;
int fsrPin2 = A1;
int sensorValue = 0;

void setup() {
  pinMode(fsrPin1, INPUT);
  pinMode(fsrPin2, INPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorValue = analogRead(fsrPin1);
  Serial.print(sensorValue);
  Serial.print(",");

  // delay the third sensor? 
  sensorValue = analogRead(fsrPin2);
  Serial.println(sensorValue);
}
  1. Flex Sensor to change the mouth of the puppet+sound

code

const int fsrPin1 = A0;
int fsrPin2 = A1;
int flexsrPin3=A2;
int sensorValue = 0;

void setup() {
  pinMode(fsrPin1, INPUT);
  pinMode(fsrPin2, INPUT);
  pinMode(flexsrPin3, INPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorValue = analogRead(fsrPin1);
  Serial.print(sensorValue);
  Serial.print(",");

  // delay the third sensor? 
  sensorValue = analogRead(fsrPin2);
  Serial.print(sensorValue);
  Serial.print(",");

  sensorValue = analogRead(flexsrPin3);
  Serial.println(sensorValue);
  
}
  1. three fsr + 1 flex sensor play the sound

code

// A0 is the puppet 1
const int fsrPin1 = A0; 
// A1 is the theater background(insert the coin)
int fsrPin2 = A1;
// A2 is the sound with one image and puppet
int flexsrPin3=A2;

// another puppet no.2, digital 3
int fsrPin4=A3;
// flexsrPin5=sound no.2
int flexsrPin5=A4;
int sensorValue = 0;

void setup() {
  pinMode(fsrPin1, INPUT);
  pinMode(fsrPin2, INPUT);
  pinMode(flexsrPin3, INPUT);
  pinMode(fsrPin4, INPUT);
  pinMode(flexsrPin5, INPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorValue = analogRead(fsrPin1);
  Serial.print(sensorValue);
  Serial.print(",");

  // delay the third sensor? 
  sensorValue = analogRead(fsrPin2);
  Serial.print(sensorValue);
  Serial.print(",");

  
  sensorValue = analogRead(fsrPin4);
  Serial.print(sensorValue);
  Serial.print(",");

  sensorValue = analogRead(flexsrPin3);
   Serial.println(sensorValue);
//  Serial.print(",");

//  sensorValue = analogRead(flexsrPin5);
//  Serial.println(sensorValue);
//  
  
}
  1. with two sound play together

https://youtu.be/jo6rdHCB7Uk

Final look

https://youtu.be/b9ULNzqQA50