thUndeadMod v3.4 - openLRS S**T just got real :)

Started by thundead, February 25, 2012, 02:16:24 AM

Previous topic - Next topic

Any Bugs So Far ?

Nope, thing is rock solid!
This hopping algorithm is rubbish!
I want More options in the config app!
I'm still using the stock FW
RSSI Is Awesome !
RSSI is rubbish!
Range is amazing!
Range is ok I guess
Range is crap

papa_lazerous

Quote from: Cat695 on March 22, 2012, 09:36:23 PM
I go to buy 2 Rx's off simon and he only has one left....damn :(

well least my EZOSD is a step closer

You can always buy direct off Flytron. I have 3rx at home one is brand new in the packet of you are desperate for 2 and don't want to wait a week for one to come from Turkey

Cat695

#91
Quote from: papa_lazerous on March 22, 2012, 09:47:17 PM
Quote from: Cat695 on March 22, 2012, 09:36:23 PM
I go to buy 2 Rx's off simon and he only has one left....damn :(

well least my EZOSD is a step closer

You can always buy direct off Flytron. I have 3rx at home one is brand new in the packet of you are desperate for 2 and don't want to wait a week for one to come from Turkey

I'm always desperate!

If its ok I will have it off you?? just PM (or email [email protected]) me what you want etc and I'm guessing PayPal ok??

its really appreciated mate!

Splashy

I have just PM'd you but I think I would get one TX and one RX.

papa_lazerous

Quote from: Cat695 on March 22, 2012, 09:54:38 PM
Quote from: papa_lazerous on March 22, 2012, 09:47:17 PM
Quote from: Cat695 on March 22, 2012, 09:36:23 PM
I go to buy 2 Rx's off simon and he only has one left....damn :(

well least my EZOSD is a step closer

You can always buy direct off Flytron. I have 3rx at home one is brand new in the packet of you are desperate for 2 and don't want to wait a week for one to come from Turkey

I'm always desperate!

If its ok I will have it off you?? just PM (or email [email protected]) me what you want etc and I'm guessing PayPal ok??

its really appreciated mate!

Am at work right now (night shift) and using a phone. Will pm you off my pc tomorrow to arrange

webe

#94
Hi all,

I'm having hard time getting RSSI to work :(
I own OpenLRS TX&RX v2, both uploaded thundeadmod v3.4 firmaware configured for 433band.
RSSI readings im getting are 3.33V then TX is nearby, 1.44V then there are lost packets (red led blinks) and 0V then there no signal at all. I've attached my multimeter on pin 7 (if holding RX board with MCU in front of me it is 7th pin from the left).

Any help would be appreciated...

Edit: Same three steps readings I'm getting and with my CL-OSD flashed GOSD2 :(

Coyote

Thats exactly what it should be doing. 3.3 is 100% 0v 0% on pin 7.
Education and schoolin is good, but FPV is gooder :)

webe

Quote from: Coyote on March 26, 2012, 07:37:53 PM
Thats exactly what it should be doing. 3.3 is 100% 0v 0% on pin 7.

Sorry forgot to mention - Im not getting ANY values in between. Seems like there's only 3 steps of RSSI output voltage :( Maybe there should be some low pass (RC) filter to measure it correctly? Or just a capacitor of 10-20uF?

Just did a little research: ASCII output of RSSI values are meaningful, bet still only three steps of voltage :S
Uncommented debug output:

68
71
71
70
71
71
70
68
67
71
69
69
70
71
71
71
70
69
70
71
72
78
75
73
74
74
73
75
78
73
74
75
77
72
77
79
78
75
76
77
90
90
90
90
90
98
94
93
96
92
105
109
110
109
108
108
108
108
113
114
112
111
111
111
113
113
111
104
109
112
110
111
113
114
114
115
113
114
113
114
115
114
113
113
109
114
103
109
111
97
110
110
109
109
109
110
101
107
114
114
114
106
109
112
102
111
107
107
113
102
112
109
106
112
101
112
111
105
112
102
113
113
108
112
110
114
114
114
113
113
113
114
115
113
114
114
113
113
113
116
114
113
113
114
115
116
115
114
113
114
114
115
110
110
111
101
113
111
105
114
115
119

thundead

try it with a multimeter first and see if the RSSI drops gradually. if you are using a OSD to read the value it is recommended to have a buffer between the rx and OSD :)
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

webe

#98
Quote from: thundead on March 26, 2012, 08:08:47 PM
try it with a multimeter first and see if the RSSI drops gradually. if you are using a OSD to read the value it is recommended to have a buffer between the rx and OSD :)

Multimeter was the first thing I used to check RSSI values :) It shows only those three levels... I've tried to attach 0.1uF and 2.2uF capacitors between RSSI out and GND - nothing changed.

Continuing my research:
Used my sound card as osciloscope and got servo output PWM's just right, but these nothing on RSSI (PIN7). Well there is a little low amplitude noise... See attachments.
I've tried to change code to output RSSI on PIN6 and servo signal on PIN7. After flashing I've got servo output on PIN7 and "nothing" on PIN6 :S

I'm confused! Seems like FW is not generating PWM using analogWrite()  :S

EDIT: I'm using Arduino 0022, selected board is: Duemilanove 328

Any other thoughts?

thundead

hmm weird... has anyone else encountered this problem ? could you please try thundeadmod 3.3 as well and see if it's doing the same thing.
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

webe

I've tried 3.3 - same thing :(
Just tried changing board to Pro 5v, 16MHz - nothing changed :S

Seems like I'm going to write my own little test software to check PWM generation and report back.

PS. I've background on electronics and AVR programming, so that problem to me looks very strange...

thundead

yup you should definitely be using the 5V 328 pro mini in the boards selection.

if 3.3 doesn't work check the actual hardware and see if u have any bad solder joints. might be a bad connection.

Also careful when making changes in my code as I haven;t commented anything lol so the comments from Melih's stock fw might still be there.

another thing you can try, search for this line:
//Serial.println(map(constrain(Rx_RSSI,45,120),40,120,0,255));
     

and see what the function is outputting.
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

webe

The code is clean, nice and understandable :) I even have few ideas for adding some features, but that after I get RSSI working.

Well, I've tried some test code - PWM output on PIN7 works as charm, but your code doesn't generate it :(
I'll try getting to my friend who has "normal" osciloscope to see what is going on on that damn pin then your code is running.

And yes, i've tried outputing RSSI values to serial - they are few posts above, seems pretty nice values - then i move TX away they are getting lower.

atm, I have no more ideas. Let's hope real scope will ring the bell.

Good night ppl :)

thundead

yes, found a bug lol. investigating and will release patch :) sorry bout that . I'm open to any ideas :)

Quote from: webe on March 26, 2012, 11:02:45 PM
The code is clean, nice and understandable :) I even have few ideas for adding some features, but that after I get RSSI working.

Well, I've tried some test code - PWM output on PIN7 works as charm, but your code doesn't generate it :(
I'll try getting to my friend who has "normal" osciloscope to see what is going on on that damn pin then your code is running.

And yes, i've tried outputing RSSI values to serial - they are few posts above, seems pretty nice values - then i move TX away they are getting lower.

atm, I have no more ideas. Let's hope real scope will ring the bell.

Good night ppl :)
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

webe

Yey! Good news!
Should I cancel my trip to my bed? :D