Introduction: I_NEED_SPOTLIGHT

Picture of I_NEED_SPOTLIGHT

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

Picture of Purchase

Step 2: Assamble&Coding

Picture of Assamble&Coding

<code>

int PLAYPIN = 2;
void setup() { pinMode(PLAYPIN,OUTPUT); Serial.begin(9600); digitalWrite(PLAYPIN,LOW); }

void loop() { int val; //boolean START = 1; val=analogRead(1); //connect grayscale sensor to Analog 1 Serial.println(val,DEC);//print the value to serial //init(START); //START = 0; if(val >= 1000){ digitalWrite(PLAYPIN,HIGH); delay(1000); digitalWrite(PLAYPIN,LOW); delay(100); } }

void init(boolean startSet){ digitalWrite(PLAYPIN,startSet); delay(1000); }

</code>

Step 3: 3D-print

Picture of 3D-print

Step 4: Get Ready for the Show

Picture of Get Ready for the Show

Comments

LydiaT2 (author)2017-10-13

Can you please put up a video of it performing? Thank you.

Juncheng (author)LydiaT22017-10-15

Sorry dude, for some personal reason I will update it on Monday.

Juncheng (author)LydiaT22017-10-13

sure~ I'll update this weekend

About This Instructable

1,246views

6favorites

License:

Bio: a maker
More by Juncheng:Desktop Weather Station With WIFII_NEED_SPOTLIGHTCAT-BOT
Add instructable to: