Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 12:54:08 12:54


Login with username, password and session length


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

Posts: 29

Thank You
-Given: 1
-Receive: 22


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

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

Thanks!
Logged
dennis78
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 118
-Receive: 129


« Reply #1 on: November 14, 2008, 11:46:58 23:46 »

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

Posts: 74

Thank You
-Given: 289
-Receive: 46


« Reply #2 on: December 02, 2008, 09:41:37 21: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
***
 Muted
Offline Offline

Posts: 154

Thank You
-Given: 72
-Receive: 25


« Reply #3 on: December 03, 2008, 07:57:22 07: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: 74

Thank You
-Given: 289
-Receive: 46


« Reply #4 on: December 03, 2008, 10:29:28 10: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: 192

Thank You
-Given: 1434
-Receive: 705



« Reply #5 on: December 03, 2008, 06:53:42 18: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: 29

Thank You
-Given: 1
-Receive: 22


« Reply #6 on: December 03, 2008, 08:53:11 20: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: 74

Thank You
-Given: 289
-Receive: 46


« Reply #7 on: December 04, 2008, 09:38:25 09: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