Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is PYTHON with a raspberry Pi Pico. Make a microwave oven user interface. It has three add time buttons: 5s,10s, and 20s. It lights
This is PYTHON with a raspberry Pi Pico.
Make a microwave oven user interface. It has three "add time" buttons: 5s,10s, and 20s. It lights a red 1 LED while cooking and a green LED when not cooking. When it stops cooking, it sounds a beep 2 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 3. 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 4. 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 MondayStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started