PDA

View Full Version : pwm receiver



tohu thomson
- 9th August 2007, 17:25
hello everybody
please I want a project that receive different pwm signals that each one control one relay using pic 16f628 and picbasic

thank you

Darrel Taylor
- 9th August 2007, 18:09
Typically, you don't receive PWM signals, unless it's a servo.

Can you give more information about what you want to do.
<br>

tohu thomson
- 9th August 2007, 20:05
Thank you Darrel Taylor

I mean I want to make a circuit with pic 16f628 with 10 outputs which receive signals.
If it receive 10 khz for example the first output open , and if it receive 50 khz the second output open ,and if it receive 100 khz the third output open ,and so on...

Acetronics2
- 9th August 2007, 20:39
Hi,

Just see manual $ 5.9 ... Count function can "catch" a square 125 khz square wave ( 20 Mhz xtal ) ... and some Pics can reach 40Mhz !!! (250 Khz in ... )

Alain

tohu thomson
- 9th August 2007, 21:30
Sorry I don't understand

Darrel Taylor
- 9th August 2007, 21:38
Alain is refering to the COUNT command that is part of Picbasic Pro.

In some manuals more information can be found in section 5.9.
In other manuals it's 5.10

Since you are trying to measure frequency, instead of Pulse Width Modulation, all you need to do is count the number of pulses received in a specified amount of time.

The higher the COUNT, the higher the frequency.
<br>

tohu thomson
- 11th August 2007, 13:22
Thank You Thank You