Pages: [1]   Go Down
Author Topic: Reading and writing PWM signals  (Read 793 times)
0 Members and 1 Guest are viewing this topic.
Indore
Offline Offline
Newbie
*
Karma: 0
Posts: 14
Working on Quadrotor Helicopter these days
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please help us in reading the PWM signals that are coming from the receiver .
We have a four channel receiver that outputs 4 PWM signals of 22 ms pulse,the on time of PWM signal varies from 1 ms to 2 ms on moving the analog stick of the transmitter from bottom to top position on channel1 and similarly on other channels.
We are new and have never read the PWM signals in atmega8,

After reading the PWM signals,we have to process those signals and then generate four PWM signals according to our logic .All ur help will be appreciated.

Website: http://www.quadrotor.co.nr
Logged

Mayank Gupta

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 170
Posts: 12487
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Please do not crosspost the same question - http://arduino.cc/forum/index.php/topic,58421.0.html
it is considered inpolite on this forum. Please remove this one.

Thanks,
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 241
Posts: 24480
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I told you the correct term is PPM (pulse position modulation) it might help you search a little more efficiently.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Indore
Offline Offline
Newbie
*
Karma: 0
Posts: 14
Working on Quadrotor Helicopter these days
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you please tell me how can we see the PPM pulses,because we actually get the PWM pulse when we read the signals on CRO.We are nowhere getting the PPM pulse neither on the receiver side nor after the arduino.....am I doing something wrong because we are getting only PWM pulses everywhere???.......


Please help
Logged

Mayank Gupta

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 241
Posts: 24480
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
we actually get the PWM pulse when we read the signals on CRO.
They do look a little like PWM, don't they?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: