Home / Expert Answers / Computer Science / this-is-python-with-a-raspberry-pi-pico-make-a-microwave-oven-user-interface-it-has-three-34-ad-pa980

(Solved): This is PYTHON with a raspberry Pi Pico. Make a microwave oven user interface. It has three "ad ...



This is PYTHON with a raspberry Pi Pico. Make a microwave oven user interface. It has three add time buttons: \( 5 \mathrm{~s}, 10 \mathrm{~s} \), and \( 20 \mathrm

Make a microwave oven user interface. It has three "add time" buttons: , and . It lights a red LED while cooking and a green LED when not cooking. When it stops cooking, it sounds a beep for one second, on an attached speaker. While it's cooking, it displays on the serial console how many seconds are left, showing a new number once per second, like ovens do. Don't print when it's not cooking. Optional: Use the same speaker to make a "tick" sound once per second as it counts down . You'll need three PB switches wired for debouncing. Two LEDs. And a speaker that you can use for the tone and the clicks. The oven starts to cook as soon as any of the PB switches have been pressed, and you can add time while it is cooking. When you first start the program, the oven should start up not-cooking. It's a bad idea to try to monitor the switches programmatically, because your program has other things to do and may not be reading the switches at the moment of a brief button press. Instead, connect the debounced switches to digital inputs configured as counters . Then you can read the counters to find out how many times each PB switch has been pushed. You will be tempted to figure out how to reset the counters to zero, and perhaps it is possible, but you don't need to reset them. You can deal with added counts algorithmically instead. Document your program in comments. Be clear about which signals/pins are connected to what electronics. Upload your code and a photo. Bring it to class working on Monday.


We have an Answer from Expert

View Expert Answer

Expert Answer


Python Code for the microwave oven user interface based on your hardware setup, including error handling and other features to make the user interface
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe