nksreera / rush-osd-development

Automatically exported from code.google.com/p/rush-osd-development
0 stars 0 forks source link

PWM RSSI doesn't work with frsky #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. frsky D4R-II in ppm sum mode
2. minimosd pin 12 connected to PWM RSSI output

What is the expected output? What do you see instead?
Signal from 0 do 100% but I can see only max 5%. In menu raw rssi data shows 
random values between 0 and 25 rapidly changing while Tx and Rx are in the same 
position.

What version of the product are you using? On what operating system?
v2.2

Please provide any additional information below.
I think pulseIn function is not good for this. 

sorry for my english :)

Original issue reported on code.google.com by bart...@gmail.com on 28 Dec 2013 at 12:47

GoogleCodeExporter commented 9 years ago
Thank you for your report, understood.
Will try to fix this for good at once as soon as I get beck home.

Your english is not any worse then mine :D

Original comment by katawentos on 30 Dec 2013 at 7:55

GoogleCodeExporter commented 9 years ago
hi, i dont think you will have any luck with this rx as i have read the pwm 
signal is too fast for arduino to decode: 

    "Some FrSky receivers (D4R-II, D8R-XP, ...) provide RSSI as a PWM signal. The issue is that the frequency of the signal is way to high to be decoded by the ATmeg328 (110 kHz)."
http://code.google.com/p/minoposd/wiki/AnalogRSSI

i have a x8r (a newer frsky rx) and it makes 1khz signal, about same as servo 
signal so it would be ok

Original comment by hthr...@gmail.com on 31 Dec 2013 at 1:05

GoogleCodeExporter commented 9 years ago
also see this thread on it: 
http://www.multiwii.com/forum/viewtopic.php?f=8&t=3638&start=10

Original comment by hthr...@gmail.com on 31 Dec 2013 at 1:06

GoogleCodeExporter commented 9 years ago
Thank you for explanation. So I have only one option... RC filter.

Original comment by bart...@gmail.com on 31 Dec 2013 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by katawentos on 9 Feb 2014 at 3:52