1a) Write the code using CircuitPython (in Python). Create an alarm system using the Raspberry Pi Pico (RP2-B2) with the elements below. The window/doors and movement sensors are not needed yet. 1b) Make a circuit schematic of the placement of added resistors, the 5 push buttons and elements on the diagram. - Passcode System (PS) - This is the hardware used to input a passcode to activate, deactivate, or control the security alarm system. - Core: Switches - Five mini push buttons that represent the symbols 0 thru 2 , , and #. - Other than the initial program setup that is done using the host computer's keyboard, all other input operations must be handled using the PS as the primary user interface. - Passcode - A three (3) digit number that is used for securely accessing the alarm system Entry of a passcode is complete when it is followed by a # (hash) symbol. - Zone - A specific area that can be protected (e.g., one or more windows, doors, or hallways) - A zone can be independently set to be either monitored or not. For example, if the entire structure is unoccupied, then all zones are monitored doors windows, and motion sensors. If someone is legitimately in the structure at night, then the doors/windows can be monitored, while the inside motion sensor is deactivated to prevent false alarms. - DISENGAGED mode - The alarm system is turned OFF: sensors are not monitored at all; audio/visual alarms are deactivated (turned off) - These user operations are allowed via the PS: - Enable or disable zone #1 (door/window sensor) - This works like a toggle: Enter * 1 to enable, enter * 1 again to disable. Have a space for the code for the sensors later, just have the code for enabling and disabling the zones. - Enable or disable zone #2 (movement sensor) - This works like a toggle: Enter 2 to enable, enter 2 again to disable. Have a space for the code for the sensors later, just have the code for enabling and disabling the zones. - Enable ARMED mode by entering the proper passcode - ENGAGED mode - The alarm system is turned ON: sensors are monitored; audio/visual alarms are activated if a security breach is detected - This user operation is allowed via the PS: - Enter DISARMED mode by entering the proper passcode - If an intrusion has been detected: - The system emits a warning (e.g., one flashing LED or a beep sound) and gives the user up to ten (10) seconds to enter the disarm passcode. - If more than 10 seconds have elapsed with no passcode entered, or if the passcode is entered incorrectly more than three times in a row, then audio/visual alarms are activated (e.g., all lights flashing, continuous buzzer sound). When the CircuitPython program starts running, display a menu (e.g., as text in the Mu serial window) from which the user can pick one of these options: - Ref passcode - Asks the user to enter a reference passcode for testing - If none is entered, use a default passcode (e.g., 000). - Run - Executes the alarm system module - The program put.