General

I_NEED_SPOTLIGHT

userHead Account cancelled 2017-10-31 16:52:09 4174 Views1 Replies
Image
Insight:

I 've been totally supersized by the impact of the social media.We know that anyone can post or retweet pink news and some paparazzos like making groundless accusations through the network. Anyhow most of us enjoy the platforms.I wanna make a prototype toy can perform in the way of web celebrity did.

I wanna simulate a stage on which the BIRD will start to perform when the light turns on.

Step 1: Purchase
Image

1.voice record modulehttps://www.dfrobot.com/product-1507.html

2.DFRduino UNO R3https://www.dfrobot.com/product-838.html

3.Gravity: IO Expansion Shield for Arduino V7.1https://www.dfrobot.com/product-1009.html

4.Stereo Enclosed Speakerhttps://www.dfrobot.com/product-1506.html

5.Gravity: Analog Ambient Light Sensor For Arduinohttps://www.dfrobot.com/product-1004.html

Step 2: Assamble&Coding

int BluePin = 11;
int Mp3 = 9;
int Sensor = 8;
void setup()
{
pinMode(BluePin, OUTPUT);
pinMode(Mp3, OUTPUT);
pinMode(Sensor, INPUT);
Serial.begin(9600);
}
void loop() {
if(digitalRead(Sensor)==HIGH){
Serial.println("lalala");
delay(10);
}
/*for (int i=0;i<100;i++){
analogWrite(BluePin, i);
delay(100);
}
for (int i=100;i>0;i--){
analogWrite(BluePin, i);
delay(100);
}*/
}
Image
Image


Step 3: 3D-print
Image
Image

Step 4: Get Ready for the Show
VIDEO HERE
https://youtu.be/MBQd1uHzPHI