abouras
Member level 2
I have two major problems and i really need anyone's help
1) I can't make ADC of 8535 to convert right. I have tried the sample program of BASCOM AVR and i have tried some of my routines but with no result. I connected AREF to AVCC and both with one resistor 100OHM to VCC and with one capacitor to GND. Also i have connected AGND to GND. I tried to give some sample voltages directly to the ADC using a potentiometer or using an LM741 buffer. NO RESULT!!!. Also when i connected the ADC input directly to GND i got Value 0 and when i connected it to VCC i got value 1023. I couldn't take intermediate values. WHAT THE F.....CK IS WRONG???????
2) I want to make an RTC with 8535 so i connected a 32768 crystal to TOSC1 and TOSC2. The crystal seems that it is not oscillating. What is wrong? The crystal is (32768, 13HCJ-30, 96-26). Do i have to connect any external capasitors or something else????
Any help is welcome
PLEASE HELP ME!!!
1) I can't make ADC of 8535 to convert right. I have tried the sample program of BASCOM AVR and i have tried some of my routines but with no result. I connected AREF to AVCC and both with one resistor 100OHM to VCC and with one capacitor to GND. Also i have connected AGND to GND. I tried to give some sample voltages directly to the ADC using a potentiometer or using an LM741 buffer. NO RESULT!!!. Also when i connected the ADC input directly to GND i got Value 0 and when i connected it to VCC i got value 1023. I couldn't take intermediate values. WHAT THE F.....CK IS WRONG???????
2) I want to make an RTC with 8535 so i connected a 32768 crystal to TOSC1 and TOSC2. The crystal seems that it is not oscillating. What is wrong? The crystal is (32768, 13HCJ-30, 96-26). Do i have to connect any external capasitors or something else????
Any help is welcome
PLEASE HELP ME!!!