The project monitors current using a current transformer feeding into the A/D converter on the pico. It can detect microwaving by the high current draw, and opening the microwave door by the current draw from the light bulb inside the oven.
If something is microwaved, but we miss the microwave oven's beep for when its done because the kids are making a rukus, we often forget about the food. Our microwave will only beep once after its done.
This hack will periodically beep after microwaving until the microwave door is opened to retrieve the food.
This relies on a command line based build environment, either running on a Raspberry PI 4 or under windows WSL.
Please see "P4 dev env setup notes.txt" for how to set this up on a pi.
Or see "windows dev env setup.txt" for how to set up the build environment under windows.
Simple code to program the 3-color LED on the wavershare RP2040-Zero
Code to compute a measure of current from A/D readings from the current transformer
Code to beep a piezo speaker connected to the pico.
micro_mon is licensed under the GPL version 2 (not version 3)
For details, please see here:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (docs/license.txt)