For Project 3 I am going to make a record player using LEGO bricks, an Arduino, a servo motor and a microphone. Here is a video of a similar project:
And Here is a video of my servo motor rotating:
This is the Arduino code:
#include <Servo.h>
Servo motor1;
int motor1Speed = 180; // Full speed
void setup(){
motor1.attach(9);
Serial.begin(9600);
}
void loop(){
motor1.write(motor1Speed);
}
I am going to use the rotating servo to spin the record. I did a little bit of math to figure out the speed of the motor to match the right RPMs of a record player. For the servo to spin at 66 rpm, the servo speed should be set at 169.715. For the servo to spin at 45 RPM, the servo speed should be 115.714. And finally, for the servo to spin at 33 RPM, the speed should be 84.86.
As a possible next step, I also found resources on how to laser cut a record. Here is the link to that resource:
http://www.amandaghassaei.com/projects/laser_cut_record/
So, If I make both the Arduino record player and the laser cut record, then the project would move from the digital song to the analog record, being spun by the analog servo, while being powered by the digital Arduino, sending out an analog signal, which is then picked up from a microphone and converted back to digital.
So the project would move from digital to analog to digital to analog and back to digital!
Other similar resources:
Paper Record:
Another LEGO record player: