masab_ahmad
Member level 1
hi all,
I am using the pwm port RC1 of the pic16f877 to generate a 40khz wave to drive an ultrasonic sensor/transmitter.....,the sensor uses the timer and ADC of the pic to find the distance from an object and drive the motors accordingly..,but i also have to drive 2 dc motors seperately (i'm assuming that 2 seperate pwm's will be used to drive them..)! So i'll somehow have to drive the ultrasonic device with something else, any suggestions?
I am using the pwm port RC1 of the pic16f877 to generate a 40khz wave to drive an ultrasonic sensor/transmitter.....,the sensor uses the timer and ADC of the pic to find the distance from an object and drive the motors accordingly..,but i also have to drive 2 dc motors seperately (i'm assuming that 2 seperate pwm's will be used to drive them..)! So i'll somehow have to drive the ultrasonic device with something else, any suggestions?