Difference between revisions of "Microwave Oven Timer"
(Created page with "{| style="width: 1000px;" |- | ==Overview== 600px|center Make a microwave oven timer, for which the time can be set with a Joyst...") |
|||
Line 48: | Line 48: | ||
==Programming== | ==Programming== | ||
===Required Program Blocks=== | ===Required Program Blocks=== | ||
− | *[[ | + | *[["Variable declaration", "Variable assignment" program blocks]] |
− | *[[ | + | *[["Repeat doing" program block]] |
− | *[[ | + | *[["Joystick" program block]] |
− | *[[ | + | *[["Servo" program block]] |
− | *[[ | + | *[["Waiting" program block]] |
− | *[[ | + | *[["Comparison" program block]] |
− | *[[ | + | *[["Calculation" program block]] |
− | *[[ | + | *[["If-do" program block]] |
− | *[[ | + | *[["Map" program block]] |
− | *[[ | + | *[["Not" program block]] |
Line 92: | Line 92: | ||
'''Q: Now the timer can show the process of countdown of servo hand, however, after then end of countdown, there is no indication sound, do you know how to improve?''' | '''Q: Now the timer can show the process of countdown of servo hand, however, after then end of countdown, there is no indication sound, do you know how to improve?''' | ||
<br> | <br> | ||
− | '''A: We can add a buzzer to it, which can emit | + | '''A: We can add a buzzer to it, which can emit "ding" sound at the end of countdown.''' |
<br> | <br> | ||
<br> | <br> |
Latest revision as of 03:46, 20 January 2017
ContentsOverviewMake a microwave oven timer, for which the time can be set with a Joystick and displayed through rotating the servo arm to the specified position. Press the Joystick for starting to time, and then the servo will rotate to position 0 according to the set time.
Module BillModule
Other Equipment
Module SetupAssembly
ProgrammingRequired Program Blocks
Programming ThoughtBefore the Joystick is pressed, execute the time setting program repeatedly, and detect the left and right direction to set the time, and rotate the servo arm to the corresponding time. After the time is set, press the Joystick to exit the repeated execution, and the servo arm will rotate to the position where the time is 0 at the speed of 10°/s. Start to Program1. Before the Joystick is pressed, adjust the time of the timer.
2. After the Joystick is pressed, start to time.
Technical Specification
Related CasesQ&A |