pacobenito
New Member
Project: Turn on/off a stepper motor with a light sensor and control the stepper motor speed with a potentiometer.
Work Done: I am using a PIC16F684, RC register is being used as outputs to control the stepper motor and RA register (RA4) is used as input for pot motor control. (RA4) is a analog input that is going to be used with the internal ADC to control the speed on the stepper motor.
Question: I want to add a sensor or switch that enable/disable(on/off) the stepper motor sppining.
I was thinking to use (RA3) to add the sensor/switch. Is this possible, since the RA is going to be used in the ADC process?
Please let me know how can I make this little project work.
Thanks
Francisco
Work Done: I am using a PIC16F684, RC register is being used as outputs to control the stepper motor and RA register (RA4) is used as input for pot motor control. (RA4) is a analog input that is going to be used with the internal ADC to control the speed on the stepper motor.
Question: I want to add a sensor or switch that enable/disable(on/off) the stepper motor sppining.
I was thinking to use (RA3) to add the sensor/switch. Is this possible, since the RA is going to be used in the ADC process?
Please let me know how can I make this little project work.
Thanks
Francisco