Possibly you will want to research APC's serial protocol unless you are making your own application to shut down the PC. Beyond that look into A/D conversion, by searching the list.