First config the ADC channel in your controller and in the ADCON Registers you have an option to select +Vref & -Vref values. say ADC is 10bit resolution i.e. 2^10 you will get max count from 0 to 1024. so the count "0" indicates your -Vref (-5v) value, count "512" indicates the 0V and the Max count 1024 indicates your +Vref (+5v).
so that is how you can calculate the Voltage
But there is the porblem with the Above approch as we cannot use -ve voltage greater that -0.3 with pic microcontroller which will permanently damage the PIC so first convert this range to 0 to 5 by some analog circuitry and then use it.
Here is the Circut for converting -5 - +5 to 0 - +5 voltage level.
1 comments:
免費日本成人圖片 -
天馬流行音樂網 -
哈啦免費視訊網 -
洪爺自拍貼圖網 -
UOUO成人影音聊天室 -
成人交友聊天室 -
辛辣聊天室(限制級聊天室) -
小高聊天室 -
免費影音聊天 -
免費影音聊天室 -
成人影音下載 -
淫娃免費視訊聊天室 -
免費影音播放軟體下載 -
日本美女成人AV免費 -
OL絲襪美腿圖庫 -
下載免費防毒軟體 -
免費中文防毒軟體 -
免費線上掃毒 -
中壢電音急診室 -
080-6K聊天室 -
視訊相親館 -
東部網友聊天坊 -
同志交友俱樂部 -
愛情廣場聊天聯盟總站 -
拉子女同志聊天室 -
酷兒男同志聊天室 -
柔情聊天網 -
柔情聊天室 -
有間遊戲網 -
天馬音樂網 -
真情夢工廠聊天室 -
戀愛天堂聊天室 -
080北部人聊天聯盟 -
Kiss聊天聯盟 -
摯愛中年同志聊天室 -
080台中聊天室UT -
豆豆6K聊天室 -
6K小高聊天室 -
6K南台灣聊天室 -
天馬080聊天室6K -
Post a Comment