Answered step by step
Verified Expert Solution
Link Copied!

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. image text in transcribed

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 Monday

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

1. Write down two or three of your greatest strengths.

Answered: 1 week ago

Question

What roles have these individuals played in your life?

Answered: 1 week ago

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago