Sonsivri

Electronics => Projects => Topic started by: machine on October 17, 2008, 02:06:28 02:06



Title: PWM RF control remote
Post by: machine on October 17, 2008, 02:06:28 02:06
Hello guys, i try find pwm rf control remote circuit, but failed. Anybody know?

Thanks!


Title: Re: PWM RF control remote
Post by: dennis78 on November 14, 2008, 10:46:58 22:46
Can you explain what you want exactly?


Title: Re: PWM RF control remote
Post by: Ikaros on December 02, 2008, 08:41:37 20:41
What do you want? Ready made project or you have a project not working?

PWM with PIC is quite easy. All you need is a resistor and a Capacitor to have clean DC output.



Title: Re: PWM RF control remote
Post by: LazBoy on December 03, 2008, 06:57:22 06:57
What do you want? Ready made project or you have a project not working?
PWM with PIC is quite easy. All you need is a resistor and a Capacitor to have clean DC output.

@signalcom

How can we generate 60 kHz PWM with 16F876 or 16F877 @20 MHz Clock ?
This is possible ?



Title: Re: PWM RF control remote
Post by: Ikaros on December 03, 2008, 09:29:28 09:29
For 78.12Khz you have to set Timr Prescaler  to 1, PR2 at 0x3F with mx resolution 8 bits. With 10 bits you will get max 19,53KHz only.



Title: Re: PWM RF control remote
Post by: titi on December 03, 2008, 05:53:42 17:53
This link can help you:
http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html (http://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html)

To Have 60Khz with 20MHz,it give not the exact fréquency you want: (60240.96 Hz)
/*
 * PWM registers configuration
 * Fosc = 20000000 Hz
 * Fpwm = 60240.96 Hz (Requested : 60000 Hz)
 * Duty Cycle = 50 %
 * Resolution is 8 bits
 * Prescaler is 1
 * Ensure that your PWM pin is configured as digital output
 * this source code is provided 'as is',
 * use it at your own risks
 */
PR2 = 0b01010010 ;
T2CON = 0b00000100 ;
CCPR1L = 0b00101001 ;
CCP1CON = 0b00011100 ;

Best regards.


Title: Re: PWM RF control remote
Post by: machine on December 03, 2008, 07:53:11 19:53
Well, it would be a circuit that controlled a DC motor via RF using a PWM.Well, it would be a circuit that controlled a DC motor via RF using a PWM.


Title: Re: PWM RF control remote
Post by: Ikaros on December 04, 2008, 08:38:25 08:38
Here is a little utility that helps alot in PIC calculations from Steve Monfete.