void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(1); // this speeds up the simulation
}
2+
Green - 0 - 30 seconds (off at 30 seconds)
Blue - 30 - 60 seconds (off at 60 seconds)
Orange - 61 - 90 seconds (off at 90 seconds)
Red - 90 - 120 seconds (off at 120 seconds)
1+Button starts 2 minute loop alarm
2=
Buzzer sounds.
Once every (4-1 seconds) at differentiating frequencies.
Per 30 seconds interval.
0 - 30 sec (FREQ 1 - every 4 seconds)
30 - 60 sec (FREQ 2 - every 3 seconds)
60 - 90 sec (FREQ 3 - every 2 seconds)
90 - 120 (FREQ 4 - every 1 second)
Calculate what resistors are required
Add power source
1) Link all components
2) Create micro python program
3+
Buzzer alarm goes off after 2 minute interval.
Button Press 1 = Turns on alarm
Button Press 2 (hold 2 second) = During alarm sequence turns off alarm