记得Pixar的那个会跳的灯么,有人用Arduino做了个真的


来源:http://arduinoarts.com/2011/09/the-sm-1-project-part-5-6-assembling-and-testing-the-ikea-robot-lamp-arduino/

If Noise is detected:
Turn on lamp
Play audio#3 (i´m trying to sleep here!)
Make a sweep left – right – left movement witht he lamp servo (as...详情
来源:http://arduinoarts.com/2011/09/the-sm-1-project-part-5-6-assembling-and-testing-the-ikea-robot-lamp-arduino/

If Noise is detected:
Turn on lamp
Play audio#3 (i´m trying to sleep here!)
Make a sweep left – right – left movement witht he lamp servo (as a negative head movement).
Rest servos on 90 degreees
Turn off lamp

If motion is detected:
Turn on lamp
Move to the left side (base servo and lamp servo).
Play audio#2 (are you sarah connor?)
Move to the right side (both servos also)
Play audio#2 (are you sarah connor?)
Return to rest position (90 degrees on servos)
Turn off lamp

If a change of hight is detected (with the 3 axys):
Turn Lamp on
Move to left
Play sound#4 (Get me down!)
Back to rest position (90 degrees)
Turn lamp off隐藏

标签: arduino视频