Create a kinetic sculpture. Include circuitry to move your sculpture. Control the sculpture with a circuit on a breadboard that uses components in the lab (e.g., resistors, potentiometer). Use a multimeter to measure the voltages in your circuit. Use Ohm's law to calculate current through the circuit.
The first iteration of this project, at the start of the semester, was a rotating Minecraft flower whose speed was controlled by potentiometer (photos below). While this project was perfectly and totally fine, I guess I forgot that I made a perfectly and totally fine kinetic sculpture, so I made a second one! This time, I wanted to make two Minecraft bees that flew around in a little meadow.
The setup for this project is simple. A yellow motor controls the the spinning of the bees
(pictured), while a button controls the speed of the motor and adds interaction (not
pictured). To facilitate the spinning, I at first made a long "key" that locked into the
axle of the motor and had the bees attached to it by screws, but once I realized that this
design would require an open-top box, I cut the key in length and glued the bees to it
directly.
The two-pin yellow motor uses an L9110 H Bridge Power Driver to drive the motor.
To make the bees, I used a model I found on Printables.
Though it doesn't look the cutest from its photos on Printables, I had faith, and I decided
to print two. They're lightweight and only about an inch long with an infill of about 15%.
To get them the proper color, I used paints from the lab and a white PLA base for a nice,
empty canvas.
Once the painting was done, I glued the wings on and glued the bees to the key I designed in
Fusion and cut on the laser cutter. The original key length, as pictured below, was fairly
long, but I decided to cut it down by hand once I changed the design and realized the lab
did not have much laser cutting material to make a large box with. After this, I designed a
box that was as small as possible and could hold the equipment. We did not have much
material left, so I ended up using this 6mm thick white acrylic. Painting it took too long,
so to make the "meadow" for the bees to fly in, I used green masking tape. It doesn't look
anything like what I wanted it to, but we live.
The code is simple and somewhat inelegant.
const int A1A = 3;
const int A1B = 4;
const int button = 13;
int speed = 100;
void setup() {
pinMode(A1A, OUTPUT);
pinMode(A1B, OUTPUT);
pinMode(button, INPUT);
analogWrite(A1A, speed);
digitalWrite(A1B, LOW);
Serial.begin(9600);
}
void loop() {
Serial.println(speed);
if(digitalRead(button) == HIGH) {
switch(speed) {
case 100:
speed = 150;
break;
case 150:
speed = 200;
break;
case 200:
speed = 100;
break;
}
analogWrite(A1A, speed);
digitalWrite(A1B, LOW);
delay(500);
}
}
Click the links below to download. To download the STL files for the Minecraft bee, please see the Printables link in the 3D Printing and Cutting section above.