piR2_CheckUp_C.txt
by D@CC
on 2024BFeb04

This version tested ok on CM4 :5c62 with :60 PiR2A hardware
             and on RPi 5B #2 :e64a with :60 PiR2A hardware
                 using RPi7GPIO library to replace RPi.GPIO
                   because RPi.GPIO is deprecated on RPi 5B

PiR2A hardware GPIO pins (right side)

GPIO                RPi    TMP102
BCM                 Phys   I2C
PIN  Use            PIN    Pin
---  ---            ---
     GND             9     GND
     3V3             1     VCC
 2   I2C1SDA Data          SDA
 5   I2C1SCL Clock         SCL
                    n/c    ALT
                     9     ADDR0
22   digIn0 &
      pushButton
17   digOut0 & Heat
      & yellow LED
27   red LED

NOTE 01: Error in Source 01: 100 ohm resistor should be driven by 
        GPIO 17 which is the yellow LED
NOTE 02: All logical pin numbers are BroadCom #s not physical #s

Required modules/files:
/Desktop/IX_assets/PiR2/python/piR2_CheckUp_C.py
/Desktop/IX_assets/PiR2/python/piR2_CheckUp_C.txt
/Desktop/IX_assets/PiR2/python/pir2A.py
/Desktop/IX_assets/PiR2/python/pir2Data.py
/Desktop/IX_assets/PiR2/python/RPi7GPIO.py
/Desktop/PiR2/audio/alarm.wav
/Desktop/PiR2/audio/PiR2_Welcome.wav
/Desktop/PiR2/audio/typing3.mp3
/Desktop/PiR2/files/PiR2_Log.txt
/Desktop/PiR2/images/PiR2_Clock.jpg

Source 01: https://ephotocaption.com/a/128/PIR2_CONTR_FUNC_08.pdf

stored in SABRENT01 in home/pi/Desktop/IX_assets/PiR2
   and in fla94/BUsByH/2024BFeb04/pir2_CheckUp_C.txt
   and in flb05S032G home/pi/Desktop/IX_assets/PiR2/python/pir2_CheckUp_C.txt

/piR2_CheckUp_C.txt
