Any I/O pins to indicate that Windows has shut down?

A place to talk about all the Operating Systems, Software & Hardware
Forum rules

- Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

- Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts.

- Members should use an appropriate, descriptive subject when posting a new topic. Examples of bad subjects include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good subjects include; "Getting an TABLE FULL error upon login", "Cannot restore a backup".

- Members are asked to post in English only so that posts can be well received and properly monitored.

- Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), installation services, solicitation etc. Recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed.

- Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning. Vulgar language and inappropriate material is not allowed and will be removed. We try to maintain a family friendly atmosphere whenever it is possible within the main subject matter of this community. Please keep this in mind when participating.

- Each user is allowed to create one account. If you would like to change your username, please contact us and, most likely, we can do it for you while you can keep all of your profile data, posts, and other content.

- If a user violates our guidelines and shows a disregard for them, our staff and our community, they run the risk of losing their account. We reserve the right to deactivate any account and to edit or remove any content without warning. These guidelines are subject to change at any time without notice.

Thank you for visiting!
Post Reply
User avatar
Posts: 2
Joined: Fri Aug 21, 2020 11:28 pm

Mon Sep 27, 2021 6:10 pm

I'm using a 4GB/64GB V1 LattePanda. In normal operation it runs unattended and headless with only power and a USB connection to the LP. The system runs on battery power with an interface board that manages power and comms to the LP and does some other things. When the main app finishes its work it will do a graceful Windows shutdown. We want to know when Windows has completed its shutdown and powered off so the I/F board can disconnect the battery to prevent it from over-discharging.

Is there a connector I/O pin from the Windows CPU or peripherals that we could use to indicate that the Windows side of the LP has shut down and is powered off? I was thinking of a pin we could sample that's normally high and will drop to zero on power down.

Ideas? Thanks.

User avatar
Site Admin
Posts: 2781
Joined: Wed Jan 20, 2016 9:09 am

Tue Sep 28, 2021 3:19 am

I think this can help you. But please notice that this 1.8v pin can only used to indicate the status,not recommend to drive a LED
无标题.jpg (64.07 KiB) Viewed 220 times
Enjoy Tinkering with LattePanda ! :lol:

Post Reply