Back to Parent

Outcome


Intention

I have had this singing plush pig toy for a few years. My friends love playing with it whenever they see it. They always call it "the party pig". I thought it would be a fun idea to incorporate IoT techniques to make it even more "party animal".

Goal

1. Make the pig dances along with the music

2. The dance is synchronized with the music

3. Users are able to control the dance moves



Process

Step 1:

"Dancing" was the first word that jumps to my mind when I start brainstorming. Therefore, I started with a simple LED circuit. 


Step 2:

Since users need to press the pig face to make it sing, I thought I could use the force sensitive resistor  (FSR) to control my LED and later attach the FSR to the pig. Users will activate singing and dancing at the same time by one simple press.  Therefore, I followed the FSR tutorial and updated my circuit. 


Step 3:

Though I cannot change much about how loud the music will play (since that is a part of the original design), I thought it would be nice at least the users can control the dance moves. This time, I added a potentiometer to my circuit to control the LED brightness. 

Show Advanced Options
Show Advanced Options
Show Advanced Options
Img 4305
Show Advanced Options

Next Steps

1. I can see the potential of making the "Disco Pig" become a "Weather Disco Pig". Extracting weather data from the Internet, the pig will have a blue LED on if the local temperature is below 40˚F, and have a red LED on if the local temperature is above 70˚F.

2. Sometimes, the potentiometer and the FSR conflict with each other. (when one works, the other doesn't.) Therefore, I need to look into code one more time and check if there is anything wrong with it. 

Reflection

This is my very first IoT project. I learned a lot through the exploration process, like making the circuit, control my components, etc. Although the disco pig cannot solve world serious problems, it is a fun "enchanted object" that will delight people's everyday life. 

Feedback

I asked my friend to test the pig. She loves it becoming a singing and dancing toy, and she suggested it can be better if the LED moves can coordinate with the music. In order to do that, I think I need to work on my code in the looping section. Instead of having the LED always delay for 350 mS, I can change the delay time according to the melody. 

Img 4311
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.