My Project Plan
I want to make a pumpkin lamp for this coming Halloween, because I really want to have a pumpkin lamp when I was a child, but I have never had one. This time I want to make one with light and scary tone.
And I tried photoresistance and LED this week.
And I also want to use a sensor of distance to control the scary tone of my pumpkin lamp.When it’s approaching to a person/or sth, the tone become higher and louder.
Actually,I really want to make a coke piano like this one.But it seems too difficult for me now.I would like to spend some time trying to find out whether I can make a simple one.
LAB
I had lots of problems in TONE OUTPUT lab this week and I am going to go to someone to ask for help.
1st
I copied and pasted the code on the website.It showed like this, the first one worked ,but the second one not.
2nd I tried to change the number after map(),the second one work ,but it’s kind of different.
A more complex example-automatic tone
I tried this and it worked well.
A Musical Instrument
I didn’t know what happened to this one, it’s just didn’t work anyway.
Servo motor control