Author Topic: Axon 2 ADC Max Voltage  (Read 2046 times)

0 Members and 1 Guest are viewing this topic.

Offline webgeekTopic starter

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Axon 2 ADC Max Voltage
« on: January 15, 2010, 10:39:39 PM »
Really stupid question but I don't see the answer anywhere (I'm likely just missing it). What's the max voltage one of the ADC pins can take as input on the Axon 2? I'd like to have a basic software voltage monitor to watch my LiPos that power the motors on my mech. Since the batteries are not used for logic, it's perfectly reasonable for the Axon to be able to disable the use of motors before the voltage drops too low. Probably something right around 9.5v or such. I'd like to be able to monitor 11.1v directly (without a voltage divider if I can). Is this possible? Thanks!


Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Axon 2 ADC Max Voltage
« Reply #1 on: January 15, 2010, 10:51:15 PM »
Well, if it was me i definitely wouldn't be putting anything near 9v5 near my adc!
To be safe things should be kept near 5v so i doubt the axons adc could do this.
Have you considered using an external battery monitor circuit to measure and output an analogue value to the axon?

Offline rgcustodio

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 0
  • Use "Search" and ye might find answers!
Re: Axon 2 ADC Max Voltage
« Reply #2 on: January 16, 2010, 12:00:13 AM »
This information should be in the datasheet of the AVR used.
Typically (ie most AVRs and other MCUs) AVCC (voltage for the ADC subsystem) and AREF (analog reference voltage for the ADC) should be equal to VCC.
The best thing one can do when it's raining is to let it rain. - H. W. Longfellow

understanding is the path to enlightenment

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,696
  • Helpful? 173
    • Society of Robots
Re: Axon 2 ADC Max Voltage
« Reply #3 on: January 16, 2010, 04:37:07 AM »
Well, anything above 5V would result in negative current, frying the ADC pin (and maybe more).

If you want a battery monitor, you'll need a voltage divider consisting of two resistors to make it ADC safe:


Get Your Ad Here