March 16, 2023
On 13 March 2023, the premiere of “L’uccellino blu” was staged at Teatro dell’Antella (FI). The show is an adaptation of Maeterling’s fable and was directed by Riccardo Massai. For the show, I have collaborated with MassimoDelContrasto to create animatronics of the blue birds.
Develpment
// Uccellino blu - Arduino nano
#include <Arduino.h>
#include <Servo.h>
#define servoPin 9
Servo myservo;
int pos = 0; // init position
// 120 - 540
#define ldrPin A0
void setup() {
myservo.attach(servoPin);
pinMode(ldrPin, INPUT);
}
void flight(speed) {
for (pos = 0; pos <= 90; pos += delta) {
myservo.write(pos);
delay(speed);
}
for (pos = 90; pos >= 0; pos -= delta) {
myservo.write(pos);
delay(speed);
}
}
void loop() {
int ldrValue = analogRead(ldrPin);
Serial.println(ldrValue);
int delta = map(ldrValue,0,1024,0, 10);
if (delta > 0) { // Won't you fly high, blue bird, yeah
flight(delta);
} else { // fly down
myservo.write(0);
}
}
Here you can find the event page on the theater's website.
Here you can find a news segment about the regional theater show on the local news channel.