# Read Power On/Off Pin RT1062

**URL:** <https://forums.openmv.io/t/read-power-on-off-pin-rt1062/11290>\
**Category:** OpenMV Boards\
**Created:** [July 30, 2025, 2:05am UTC](https://forums.openmv.io/t/read-power-on-off-pin-rt1062/11290 "2025-07-30T02:05:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajacobs](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@ajacobs](https://forums.openmv.io/u/ajacobs)\
**Post date:** [July 30, 2025, 2:05am UTC](https://forums.openmv.io/t/read-power-on-off-pin-rt1062/11290/1 "2025-07-30T02:05:01Z")

</div>

Is there a way to read the value of the Power On/Off pin on the RT1062? I’m looking for a way to use the 5 seconds while the Power On/Off pin is held low to shutdown my app gracefully.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 30, 2025, 2:37am UTC](https://forums.openmv.io/t/read-power-on-off-pin-rt1062/11290/2 "2025-07-30T02:37:15Z")

</div>

Yes:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/9/9d474c78257d2d459b7060266481e56f51124162.png)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/9/9723769d293d7df9a1e5c500a1a95c13c36dbb39.png)

```auto
import machine

SNVS_BASE = 0x400D_4000
SNVS_HPSR = SNVS_BASE + 0x14

while True:
    print(machine.mem32[SNVS_HPSR] & (1 << 6))

```

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 30, 2025, 2:38am UTC](https://forums.openmv.io/t/read-power-on-off-pin-rt1062/11290/3 "2025-07-30T02:38:07Z")

</div>

Read chapter 20 in the reference manual for all the cool stuff you have access too. There’s 32-bytes of RAM that keeps it state on power off too.
