开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: QCX Troubleshooting - Please can you help?


 

Arv

This is not correct.?

The AVcc pin provides power to the internal analogue voltage circuits in the ATmega328.?

The QCX uses the ATmega328 ADC with the reference set to the supply voltage (AVcc). Not the internal reference.?

73 Hans G0UPL

On Sat, Dec 9, 2017 at 9:45 PM, Arv Evans <arvid.evans@...> wrote:
AVCC should be very close to the Vcc supply voltage.? If that is at 4.6 then either your Vcc is at
4.6 or something is dragging AVCC down.? Normally this pin is unconnected, but if you want
best repeat measurements from the ADC you can add a filter to the AVCC lead.



ADC reference for analog-to-digital voltage conversions is the built in 1.2 volt AREF potential.
If the AREF is not correct then the ADC measurements will be inaccurate.



If using ADC inputs to detect specific voltages you can use a high impedance DC meter
to measure the actual voltage to see if they are within a range specified by the software.

Arv
_._

On Sat, Dec 9, 2017 at 10:23 AM, <ondrej.briatka@...> wrote:
Problem with encoder - try to check voltage at pin AVCC of ATmega. It should be close to 5V.
After "Unreliable microcontroller start-up" modification, I had only 4,6V on AVCC that caused bad decoding of buttons inputs (3 buttons + resistors make a different voltages on A/D input, software compares it to reference AVCC).
Inductors 100uH has quite high resistance of 7 ohm that means voltage drop on ATmega pins.



Join [email protected] to automatically receive all group messages.