crystal...

Status
Not open for further replies.

banzaicorp

New Member
did anyone know what the function of the crystal in this schematic?can it slow down the speed of the motor?
 

Attachments

  • line follower sc&#1.PNG
    69.6 KB · Views: 185
The crystal determines the clock speed of the microcontroller and thus how fast it executes it's instructions. Whether it affects the speed of the motor is determined by the program the controller uses to control the motor.
 
the crystal oscillator provides steady clock signals for the uC. The speed of the motor depends on PWM output from the program of the uC.
 
so...if in the program stated "half speed" its mean the motor can go to its half speed?..for ur info,im using 12V dc motor and it is really fast with high torque...
 
Carl, your post didn't appear before I typed. But I'm lagging like, what, 10 minutes? :embarrassed:
which program are you using? In the datasheet for your uC, look up for the compare and capture module.
 
i'm using c++ and planning 2 compile it using MPlab...did the program like i mentioned before can slow down the speed of my dc motor??
 
c++? you mean c or c18? Yes, PWM is program-based in PICs. Check up the section I mentioned.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…