3. Analog-to-Digital conversions using Vcc as a voltage reference
暂无评分
Ultimately,mygoalwiththischipistosamplesomevoltagesandthenrelaythatinformationtoacomputer(viatheUART,whichwenowhaverunning)andanLCDdisplay.Nowthatthechipcantalktoacomputerwecanstartexperimentingwiththeanalog-to-digitalconverter.
Forexperimenting,Isetupavoltagedividerwithacoupleofresistorstobemysamplevoltage.Imeasuredthevoltagewithavoltmeterataround0.86voltswhichshouldbesuitableforsamplingagainsteithertheinternal1.5Vreferencevoltageor2.5VreferencevoltageoftheMSP430.SinceI’llbeusinganaloginputA5(orpinP1.5ofthemicrocontroller)asone