hello mike
actually what i have in my mind is carrier if 20khz il generate tru microcontroller itself by using the up-dwn counters.my oli problem is hw do i generate 50hz ref to compare it with my carrier .
hello mike
actually what i have in my mind is carrier if 20khz il generate tru microcontroller itself by using the up-dwn counters.my oli problem is hw do i generate 50hz ref to compare it with my carrier .
The Data Signal Modulator allows you to choose from:
- MDCIn1
- MDCIn2
- CLKR
- CCP<1:4>
- Comparator C1,2
- EUSART Tx
There are 3 signals that can be modulated; CarrierH, CarrierL, and Modulator. Configuring COMP1 as your modulator signal. Create the 20khz from CCP1, and your 50hz from CCP2. Make one your CARL and the other your CARH. From there look at Figs 23-2 through 23-5 on pages 207-8 of the PIC16F1824_28 data sheet.
Hope this helps.
An analog option would use a comparator for a high/low output, send that to the RESET pin (4) of a LM555 timer set up for your 20khz and a whole different set-up for your 50hz.
Mike
Bookmarks