Hi,
AXE401 shield, 12V supply, is 1.8V a correct reading for VREF? In my confused mind I always thought 5V is the reference voltage as the voltage regulator in my 12V system would supply that.
Looks like the 28X2 needs the adcsetup command to make all the pins usable for analogue input. I want to use readadc10 for voltage and my resistor network would have reduced the range to 5VDC max. Do I need to set the first 10 or least-significant 10 bits via ADCSETUP and how do I achieve that??
What else do I need to do to finally be able to read the voltage with 10 bit accuracy via readadc10?? A code snippet with Vref? and adcsetup would be appreciated or a link to code.
As a single AXE405 shield does not seem to hold a lot of real estate I may have to stack another one on top. Stacking pins are available but does one use the three mounting holes with nylon cylinders then as offsets?
A fourth mounting hole is supplied in the LH top corner, not much space is left between the header and the shunt for a 3 mm bolt, any suggestions for the fourth offset to keep the bottom of the AXE401 off the ground?
Thanks.
AXE401 shield, 12V supply, is 1.8V a correct reading for VREF? In my confused mind I always thought 5V is the reference voltage as the voltage regulator in my 12V system would supply that.
Looks like the 28X2 needs the adcsetup command to make all the pins usable for analogue input. I want to use readadc10 for voltage and my resistor network would have reduced the range to 5VDC max. Do I need to set the first 10 or least-significant 10 bits via ADCSETUP and how do I achieve that??
What else do I need to do to finally be able to read the voltage with 10 bit accuracy via readadc10?? A code snippet with Vref? and adcsetup would be appreciated or a link to code.
As a single AXE405 shield does not seem to hold a lot of real estate I may have to stack another one on top. Stacking pins are available but does one use the three mounting holes with nylon cylinders then as offsets?
A fourth mounting hole is supplied in the LH top corner, not much space is left between the header and the shunt for a 3 mm bolt, any suggestions for the fourth offset to keep the bottom of the AXE401 off the ground?
Thanks.