Post Created date
Wrong value reading ADC
Clawson, The examples you gave are great. But it is too much for me. I am beginner, I lear AVR assembler by myself, and now I am trying to learn C on my own. I think I am a bit...
Thursday, 20 October 2011 - 16:21
Wrong value reading ADC
Bobgardner, Yes, I use one UART to the GPS, Tx to send commands and RX to receive the data. The second UART I use only the Tx to send the data out. The Rx pin is also Int0 I use...
Thursday, 20 October 2011 - 16:07
Wrong value reading ADC
Clawson, I gave the name GPS to the vector as any other name. I receive the data from the GPS in binary format to be more compressed (latitude occupies only 4 bytes as well as...
Thursday, 20 October 2011 - 15:38
Wrong value reading ADC
Clawson, I do not understand what you mean. Can you please be more specific. Thanks, Manuel
Thursday, 20 October 2011 - 14:12
Wrong value reading ADC
Bobgradner, Thanks for your interest and help. the save code is the following: void save_adc_data(uint8_t j, uint16_t adc_value) { GPS_data[j]=(uint8_t)(adc_value>>8...
Thursday, 20 October 2011 - 13:10
Wrong value reading ADC
Hello all, Just for your information. I have another PCB (very simple one) with an ATmega644P to try simple routines before implement them and today I tested the ADC and it has...
Thursday, 20 October 2011 - 11:40
Wrong value reading ADC
Bobgardner, I bit is ~= 5mV, and it doesn't change until 32mV. The ADC set up is the following: // ADC Enable ADCSRA |=(1<<ADEN); ADCSRA |=(1<<ADPS2)|(1<...
Wednesday, 19 October 2011 - 21:23
Wrong value reading ADC
Bobgardner, I also use also a pot as a voltage divider and with a voltmeter measuring the input voltage at the same time loking to the printed value. what happens is that from 0....
Wednesday, 19 October 2011 - 18:46
Wrong value reading ADC
Bobgardner, Thanks for your inputs. Yes the new AVR gave exactly the reading. The JTAG pins aren't in the same position of the ADC pins. Thanks, Manuel
Wednesday, 19 October 2011 - 18:18
Wrong value reading ADC
I wasn't clear. The external REFV was an external battery, so, there wasn't noise (it was just to make sure it wasn't a noise problem). After all of this trials without success,...
Wednesday, 19 October 2011 - 17:16
Wrong value reading ADC
Hello all, I made another PCB and relayout the tracks. I verify the noise in the AVCC line with the scope at 10mv/div and it is clear, but, in spite of that I continue to have 5...
Wednesday, 19 October 2011 - 16:16
Wrong value reading ADC
Jim, Thanks for the inputs. Yes, I disable the digital inputs in the analogue inputs used. I am going to check all the ground and VCc lines. Maximax, The example I gave is just...
Wednesday, 12 October 2011 - 22:36

Pages