PcAx anothermarc
Member
can i monitor a picaxe's 08m2 circuit's batteries power
using code ?
i wonder if there is any way to use code
in order to check the current state of the batteries' power
providing voltage to a 08m2 controlled circuit
within regular intervals (e.g. every hour).
i tried ...
------------- ... to use readadc10
with the power-input pin
readadc10 0, w1
sertxd ("current voltage = ",#w1, 13,10)
' result -----> error - c.0 doesnt have adc capabilities
------------- ... to understand calibadc
... since i was hinted to use this command
I do not understand
if and how i can use
"calibadc" in order to check des Voltage of
my batteries
tried the following though
(which did not help me to find an answer
since i failed to understand the concept of "calibadc")
calibadc b3 'an in-output pin
SerTxd( "try b3 = ", #b3, CR, LF)
' result -----> ctry b3 = 58
... what does the value "58" stand for?
using code ?
i wonder if there is any way to use code
in order to check the current state of the batteries' power
providing voltage to a 08m2 controlled circuit
within regular intervals (e.g. every hour).
i tried ...
------------- ... to use readadc10
with the power-input pin
readadc10 0, w1
sertxd ("current voltage = ",#w1, 13,10)
' result -----> error - c.0 doesnt have adc capabilities
------------- ... to understand calibadc
... since i was hinted to use this command
I do not understand
if and how i can use
"calibadc" in order to check des Voltage of
my batteries
tried the following though
(which did not help me to find an answer
since i failed to understand the concept of "calibadc")
calibadc b3 'an in-output pin
SerTxd( "try b3 = ", #b3, CR, LF)
' result -----> ctry b3 = 58
... what does the value "58" stand for?