Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: AD Download
 Description: /* Software A/D can achieve the accuracy is limited, measuring voltage range is 2-15V, and low speed (about 1KHz), but only one capacitor and a resistor of temptation, I think you will accept my gift of prawns. Is useful for certain occasions. Principle is to use 470K resistor to the 1uF capacitor, using P0.0 port as the test voltage, when the voltage is less than 1/3 VCC when, P0.0 read into the I/O level to 0, when the charging voltage over 1/3 VCC time, P0.0 read the I/O level to 1. By measuring the time spent in this process, we can determine the input voltage (with translation). The preparation process to achieve with Timer 0
 Downloaders recently: [More information of uploader 276970376]
 To Search:
File list (Check if you may need any files):
AD.c
    

CodeBus www.codebus.net