Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello,
Basically I am driving coils of the stepper motor and changing the pulse width (DLYCADC) and hence frequency.
I feel ADC is not measuring the counts (or no acquisition) and hence I do not see anything at ADRESH or for change in voltage at AN7 has no effect. let me clarify here that I do...
Help on ASM code - 16f676 ADC not working
I am using 16F676 to change stepper motor rpm
Problem ADC is not working viz. for AN7 = 0 or +5V, no change
Analogue input 0 to 5 V potentiometer, at AN7 (pin 7)
Reference is VDD +5V
Conversion selction 16Tosc
Output at pin <11:8>
Check the problem...
Need help on ASM Code - 16f676 ADC not working
I am using 16F676
ADC input AN7
Ref VDD +5V
conversion selction 16Tosc
ADC settings
MOVLW b'00011101'
MOVWF ADCON0
BSF STATUS, RP0
MOVLW b'01010000'
MOVWF ADCON1
MOVLW b'10000000'
MOVWF ANSEL
code for acquisition
CALL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.