PIC16F690 Adjustable PWM Firmware
Budget: ₹12,500 – ₹37,500 INR
I need a ready-to-flash MPLAB X project for the PIC16F690 that creates two complementary PWM outputs driven by on-board ADC readings.
Core behaviour
• Frequency and duty cycle are both set dynamically from RC1 and RC0 respectively.
• Out A follows the sampled duty cycle; Out B is its exact inverse.
• A user-selectable dead time (20 ns – 200 ns) is inserted between the two edges.
• RB4 acts as a run/stop pin: when it goes low, PWM stops, a 100 ms pause occurs, then Out A is forced high and Out B low, there is another 100 ms pause before PWM restarts.
• Operating range: 50 Hz – 150 Hz, 50 % – 80 % duty on Out A, 5 V supply.
What I expect
1. Complete, well-commented C source code (XC8) organised as an MPLAB X project.
2. Configuration bits set for internal oscillator.
3. Clear mapping of pins used for the two PWM outputs.
4. A short README explaining calibration of ADC inputs for frequency, duty cycle, and dead-time control.
5. Tested hex file ready for immediate upload.
I am aiming to award quickly and would like the finished project delivered within an hour of acceptance. Preference goes to developers based in North India who are comfortable with PIC mid-range devices, ADC modules, and CCP/PWM setup.
Core behaviour
• Frequency and duty cycle are both set dynamically from RC1 and RC0 respectively.
• Out A follows the sampled duty cycle; Out B is its exact inverse.
• A user-selectable dead time (20 ns – 200 ns) is inserted between the two edges.
• RB4 acts as a run/stop pin: when it goes low, PWM stops, a 100 ms pause occurs, then Out A is forced high and Out B low, there is another 100 ms pause before PWM restarts.
• Operating range: 50 Hz – 150 Hz, 50 % – 80 % duty on Out A, 5 V supply.
What I expect
1. Complete, well-commented C source code (XC8) organised as an MPLAB X project.
2. Configuration bits set for internal oscillator.
3. Clear mapping of pins used for the two PWM outputs.
4. A short README explaining calibration of ADC inputs for frequency, duty cycle, and dead-time control.
5. Tested hex file ready for immediate upload.
I am aiming to award quickly and would like the finished project delivered within an hour of acceptance. Preference goes to developers based in North India who are comfortable with PIC mid-range devices, ADC modules, and CCP/PWM setup.