C Programming Using CCS Compiler For PIC Microcontrollers
Here is a link for good tutorial of programming PIC microcontroller in C.
http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/
Motor Control using Pulse-Width Modulation (PWM)
In this program, a jumper on Port B directly selects the PWM output. PWM output is only present if a jumper to ground is present on one the least significant 3 bits of port B.
The program demonstrates the use of control registers to effect PWM operation. One thing to notice is the fact that the program waits for a change on the input pins before selecting a new pulse-width duty cycle and reloading CCPR1.
Subscribe to:
Posts (Atom)
Ultra-Precise, Current-Sense Amplifier
This ultra-precise current sense amplifier that can measure voltage drops across shunt resistor, R1 over a wide common mode range from 2....
-
Voltage divider resistor network is used to step monitored voltage down to the range as necessary for A/D conversion. Passive low-pass f...
-
Select Mechanical Outline. Under Properties menu, Change Mechanical outline layer to user defined board outline layer. ...