Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2024, 08:47:21 08:47


Login with username, password and session length


Pages: [1]
Print
Author Topic: PWM RF control remote  (Read 4892 times)
0 Members and 2 Guests are viewing this topic.
machine
Newbie
*
Offline Offline

Posts: 30

Thank You
-Given: 3
-Receive: 34


« on: October 17, 2008, 02:06:28 02:06 »

Hello guys, i try find pwm rf control remote circuit, but failed. Anybody know?

Thanks!
Logged
dennis78
Active Member
***
Offline Offline

Posts: 122

Thank You
-Given: 272
-Receive: 154


« Reply #1 on: November 14, 2008, 10:46:58 22:46 »

Can you explain what you want exactly?
Logged
Ikaros
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 422
-Receive: 48


« Reply #2 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.

Logged
LazBoy
Active Member
***
Offline Offline

Posts: 154

Thank You
-Given: 78
-Receive: 25


« Reply #3 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 ?

Logged
Ikaros
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 422
-Receive: 48


« Reply #4 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.

Logged
titi
Active Member
***
Offline Offline

Posts: 230

Thank You
-Given: 3807
-Receive: 834



« Reply #5 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

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.
Logged
machine
Newbie
*
Offline Offline

Posts: 30

Thank You
-Given: 3
-Receive: 34


« Reply #6 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.
Logged
Ikaros
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 422
-Receive: 48


« Reply #7 on: December 04, 2008, 08:38:25 08:38 »

Here is a little utility that helps alot in PIC calculations from Steve Monfete.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC