OpenLRS - thUndead's MODs :D

Started by thundead, November 15, 2011, 02:17:53 AM

Previous topic - Next topic

thundead

DISCLAIMER

This is still an open source project so may still have bugs but that's why together we can get everything sorted out and have a cheap and reliable system.

this is my first stable version.
Based on 1.10 by Melih
Thanks to Devonian for the 459 mod
------

A lot of time went into this  firmware so if anyone wants to send me some Pringles and Red Bull to keep me going here is the magic button :))



Pringles & Red Bull Thank You list so far :)

- pk-surfing
- papa_lazerous
- simondale
- Melih (@ Flytron.com)
- CrashingDutchman (@ Flytron.com)

---------------------------------
Current Features

- NEW!!! DIVERSITY
- NEW!!! Booster Friendly TX version
- thUndead's RSSI MOD - fine tuned 3.2 to 0v rssi Vout
- In Flight Fail Safe MOD << YES YOU CAN :P
- 38.4Kbps Baud Rate - still looking into lowering it

----------------------------------
Upcoming Features - Will release one more firmware and that's it

- Smart manual hopping



INSTALLATION

!!! PLEASE DO NOT USE ARDUINO 1.0 SDK! IT will break things! use 0.22 or 0.23 instead !!!

-Load up the firmwares in Arduino and flash them accordingly.
-noob friendly guide in the works


Available FWs:

459Mhz thUndeadMOD v1.0
=http://www.multiupload.com/YZI8WTK7A0

459Mhz thUndeadMOD v1.5 - DIVERSITY
http://www.multiupload.com/W0UYR2IJDM


-----------------------------------
DOCUMENTATION

Booster Friendly FW for TX

If you have Melih's booster you need to make BOOSTER 1 in config.h.  This changes the output power from 1 0 0 mw to 50mw which is the recommended input power for the booster.

----------------------------------

DIVERSITY
The Diversity algorithm uses a Master-Slave approach.
The master receives packets from the TX and the Slave RX as well so if master RX looses signal it will still get valid packets if the Slave RX still has a connection. Simple :D

Hardware Installation is very simple, just use a 2 wire Servo cable to supply the slave RX with GND and VCC from onw of the master RX's free servo ports or other 5V supply.

Software Installation: Just load the openLRS_RXS firmware onto the slave receiver and you are ready to go.

WARNING!
Diversity currently works if telemetry is off! Will implement a telemetry friendly version after the Holidays.

RSSI on the slave RX is still available either on pin 8 (v2 hw) or pin 9 (v1 hw)

OpenLRS Diversity

------------------------------------
RSSI: V output: min/max 0-3.2v

CALIBRATION:
uncomment Serial_RSSI in the config.h file (the RX one) and with you TX and RX ON check the outputted value in the Serial Monitor   ( going in the other room might increase the value lol ) and that should be your max RSSI output.

in the config.h change the max value accordingly:
//###### RSSI STUFF ########
//
#define RSSI_MAX 110 //turn on the RSSI debug and see what values you r getting at close range....
#define RSSI_SMOOTH  60   //increase if the Vout is still jumpy.

RSSI ON v2 BOARDS IS on CH 8 !

If the Vout is still jumpy, increase RSSI_SMOOTH and recheck your RSSI_MAX
-----------------------

In Flight Fail-Safe: nothing to change/calibrate here. Simply press and release the TX button after 2 secs and your F/S values are stored. You should see the red LED on the RX blink  when FS has been saved.
---------------------

OpenLRS FACTS
------------------
- this first stable release adds the much needed RSSI and Quick n Easy fail safe to Melih's firmware.

- Here are my conclusions about the openLRS system after some long weeks of tuning, coding and analyzing all the approaches I could think of (FHSS,manual hopping, adaptive hopping etc...)


1. Stock antennas are crap crap craptastic! Change them ASAP. My antenna mod in 2nd post.
2. thing is good for planes for >2km flights.
3. thing is crap for multi-rotors flying low when on crappy stock antennas.
4. Video is rubbish for anything Long Range related. Want more ? go for a booster.

Sorry for my pessimistic view on the system but lost too much time trying to get the best out of the hardware without much success.


Hope that was an interesting read, + Happy Holidays to everybody!

Cheers,
Mihai.



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

thundead

#1
RX ANTENNA MOD





Element length: 163mm for 459Mhz (Thanks Nigel :) )








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

Miles

Think I know which UHF system I am getting now :P
Quads: Predator-650, WS, WS-Pro, M-Tri, Q-250
Wings: 2*X6, 2*X8, Z84
FW: Wot4, EZ*2
SZD Pirat 1:1

thundead

:P Tested the FS on my tricopter today (was shi**ing myself :)) ) and worked as expected. Turned the tx off and FS positions kicked in instantly. There is a small lag when regaining the signal (when switching the tx on again) but its barely noticeable for planes. My tri lost like 5cm altitude during the lag but that's negligible even for multirotors.

Custom Baud coming tonight... :D

Regards,
Mihai.


Quote from: Badwolve1 on November 15, 2011, 08:33:13 AM
Think I know which UHF system I am getting now :P
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

Shikra

Nice job! On my list for next year....!
Still flying up my own arse ....
And giving Bignose one up his..
Moister than an Oyster...........

thundead

Hmmmmm how does 10 channel FHSS sound ? :D Testing the theory now....
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

Devonian

Top job Mihai !!

At long last, there seems to be some real interest in OLRS ;)

Watching with interest...

Nigel.
You're only jealous 'cos the voices aren't talking to you  :D

thundead

well currently can't afford an EzUHF so might as well improve what I got :) I'm working on the 10ch FHSS now and will move to baud after I get that working...
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

thundead

#8
Uhm guuys, We've got 10ch 10byte encoded FHSS  ;D Its amazing what I can do with a Red Bull and some Pringles haha. Been hopping for 30min now and not a packet lost :) Will brush the code up a bit and release a new FW :)

UPD: first post updated.
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

Splashy

I want to make a couple of antenna tuned to 459Mhz. I read that the choice of material to support the wire is important since that affects the length of wire required. I also read that Nyrod is a good material for making the supporting outer bit. I cannot find anyone in the UK who supplies this - has anyone got any ideas. If not then can anyone tell me where I can get supporting tube in PVC or something like that. I have been googling and searching for these guides or whatever but have not had much luck.

I would be pleased to make a couple of these so if anyone would like a set I will supply them at cost.

thundead

have you seen this ?
http://fpvlab.com/forums/showthread.php?382-Sander-style-(Ez)UHF-antennas
http://fpvlab.com/forums/showthread.php?1680-Proper-wire-for-building-DIY-antennas
most people just use pvc piping. I'd just use some drinking straws :)

this looks promising as well (vor Video at least) http://fpvlab.com/forums/showthread.php?1592-New-double-stacked-dipole-antenna-looks-very-promising


Mihai.

Quote from: Splashy on November 16, 2011, 03:56:57 AM
I want to make a couple of antenna tuned to 459Mhz. I read that the choice of material to support the wire is important since that affects the length of wire required. I also read that Nyrod is a good material for making the supporting outer bit. I cannot find anyone in the UK who supplies this - has anyone got any ideas. If not then can anyone tell me where I can get supporting tube in PVC or something like that. I have been googling and searching for these guides or whatever but have not had much luck.

I would be pleased to make a couple of these so if anyone would like a set I will supply them at cost.
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

thundead

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

Splashy

Some tube ordered from eBay. Many thanks for that. I do feel a bit dumb for not searching for nylon tube though!


thundead

hehe happens to me every time :)) Always seem to end up on Ebay or china stores after my searches  :laugh:
If you like my work feel free to contribuite to my Pringles & Red Bull Fund :) http://forum.flytron.

Devonian

You're only jealous 'cos the voices aren't talking to you  :D