Welcome to Multi-Rotor UK. Please login or sign up.

Thursday,March 28, 2024, 20:48:40

Login with username, password and session length

Shoutbox

Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Bad Raven:
01 Dec 2023 06:59:57
New Simulator Section started!   :beer2:
Bad Raven:
17 Jun 2023 06:52:23
Yes, smaller, same as lots of things as time passes.
Andy7:
08 Jun 2023 22:49:18
 ~~
Members
Stats
  • Total Posts: 201,420
  • Total Topics: 20,260
  • Online today: 31
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 28
Total: 28

Theme Changer





3d - Printworx

OpenLRS & Orange Tx/Rx - UHF

Started by Jumpy07, Saturday,January 26, 2013, 16:19:34

Previous topic - Next topic

Jumpy07

Just been looking at the OpenLRS kit...    can run in UK legal 459mhz freq and at max 100mw ... range 3/5km stock.. further with better antennas and boosters if you need it..

Looks very good...  and very cheap compared to other systems.. seems great for Multis..  It';s not as powerful as Dragonlink and EZUHZ or RMILEC, but certainly should deliver range well beyond what 2.4 can
.. which would be fine for a multi

The Tx module fits the 9x and also the new 9XR which can be bought without modules... if you need a new TX this makes a very good UHF long range system with failsafe and telemetry capability.. RX and TX Modules with 9XR = $99


Its not plug and play and doese require some Arduino programming. but all you need is a 3.3v FTDi adapter.. and the code comes with an easy to use loader http://code.google.com/p/openlrs/downloads/list

JR / Turnigy module Tx is $29.99

http://www.hobbyking.com/hobbyking/store/__27095__OrangeRx_Open_LRS_433MHz_TX_Module_JR_Turnigy_compatible_.html 
9 Channel Rx is $19.99

http://www.hobbyking.com/hobbyking/store/__27096__OrangeRx_Open_LRS_433MHz_9Ch_Receiver.html




BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Gaza07

Shame about the colour though it makes the tx look a bit cheap  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Ross

Quote from: Gaza07 on Saturday,January 26, 2013, 22:41:04
Shame about the colour though it makes the tx look a bit cheap  ~~

Judicious masking and/or VERY careful  removal of electronics board and a Halfords can of Matt Black should fix that!! :laugh:
Let's be careful out there.
SAFETY is.. NO accident.

Jumpy07

Have ordered a TX and RX module with a new Turnigy 9XR.. from HK.. on back order but will report when I get them.

Reading around .. advice is to change the TX antenna to get better range... TBS recommend a SRH-771 Diamond antenna.. managed to get one in UK, will need a right angled adapter as well.

BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Jumpy07

#4
OrangeRx Open LRS 433MHz Transmitter/Receiver resources:
Open LRS firmware downloads:  http://code.google.com/p/openlrs/downloads/list
Arduino information and software downloads:  http://www.arduino.cc/

Transmitter module specs:
Compatibility: 5-pin JR compatible module-based transmitters
Frequency: 433MHz
Voltage input: 6.8~12VDCIC: Atmega328PPower: 100mW
Range: Full range system

Receiver specs:
Frequency: 433MHz
Voltage input: 3.7~15VDCIC: Atmega328P
Dimensions: 52x29x15mm
Weight: 10.5g (w/out antenna)

Forum (Fytron OpenLRS) http://forum.flytron.com/viewforum.php?f=7

Firmware: https://github.com/kh4/openLRSng
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Jumpy07

Well the 9XR and the Orange OpenLRS UHF modules finally arrived this morning..!!!!!!!!!! one month from order from Hobby King..
The new 9XR comes already loaded with ER9X and a port installed for future upgrades.

The Orange UHF modules are configured via Arduino. The modules can run at 459Mhz, max 100mw.

The stock ...antennas are very poor, these will be replaced with a 1/2 wave Diamond antenna on the TX and a DIY 1/4 wave on the RX.

This setup should give longer range FPV, but also be less prone to interference and better around hard objects... such as tress and buildings


BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Gaza07

[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

mickyt

Yeah it is very nice gary i thought i';d better let him have it back as he';d been waiting so patiently  :rofl: so that will be all set up today ready to fly this afternoon then Craig? It looks very nice for the money  ~~
If someone throw's a stone at you throw a flower at them just remember to throw the pot with it.

shaktar

[url="http://www.facebook.com/TMadeImages"]http://www.facebook.com/TMadeImages[/url].

Jumpy07

Have now uploaded latest Firmware to the Orange OpenLRS module, have set them for 459Mhz.

Have use the code that KHA has developed, this is loaded via Arduino using an FTDI adapter..  details here: http://www.rcgroups.com/forums/showthread.php?t=1782034
Code here: https://github.com/kh4/openLRSng

Latest firmware is pretty good, and offers a range of features such as telemetry using the serial ports. PPM SUM and RSSi is also available.. which is great for the TBS. The channels are set up for randomise.. which  is another great feature..  and there is also the ability to use the TX / RX as a spectrum analyser..

The antenna position on the TX module is crap..  and given that the 9XR does not have a stand have made a small bracket to hold the 1/2 wave Diamond antenna, the bracket also serves as a stand. I used a small SMA pigtail to extend the cable to an SMA socket on my DIY bracket. Bracket is bent to allow the antenna to be near upright when in operation.


[attachimg=1]
[attachimg=2]
[attachimg=3]

Have to make a DIY antenna for the RX yet..  and then to install on the TBS and do some range tests
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

paulcobra

what did the xr with rx and tx cost inc post? if you dont mind me asking, looking at selling my dx8 and going this route.

Jumpy07

Quote from: paulcobra on Friday,March 01, 2013, 18:55:08
what did the xr with rx and tx cost inc post? if you dont mind me asking, looking at selling my dx8 and going this route.
9XR with the tx and rx modules was £94.52 delivered.
You need to add antennas to that.... prob another £30
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

paulcobra

Would the antena that come with it no good for line of site flying and upgrade later?

Jumpy07

The stock antennas are extremley poor..   prob only any good for 800m
You can make some Sander style antennas if budget is a problem..  just need some right angled SMA plugs and some straws and wire.. this is what I have on the RX.

BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Jumpy07

#14
Before you can use the Hobby King Orange OpenLRS kit you will need to configure them using Arduino.

First download a copy of Arduino


Then download a copy of the latest code from KHA for OpenLRS from here.  https://github.com/kh4/openLRSng/archive/master.zip

Unzip KHA';s code / files into the Arduino directory > Note: They needs to be in a directory called openLRSng

Open up the sketch "openLRSng.ino"

Once open you will need to edit the tab "openLRSng" as detailed below...



UPLOADING:

Use a 3v3 FTDI (or other USB to TTL serial adapter) and Arduino >= 1.0.

set board to "Arduino Pro or Pro Mini (5V, 16MHz) w/ atmega328" (yes it runs really on 3v3 but arduino does not need to know that)

define COMPILE_TX and upload to TX module "or" define COMPILE_RX and upload to RX module




Quote// **********************************************************
// ************************ openLRSng ***********************
// **********************************************************
// ** by Kari Hautio - kha @ AeroQuad/RCGroups/IRC(Freenode)
//
// This code is based on original OpenLRS and thUndeadMod
//
// This code
// - extend resolution to 10bits (1024 positions)
// - use HW timer in input capture mode for PPM input
// - use HW timer for PPM generation (completely jitterless)
//
// Donations for development tools and utilities (beer) here
// https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DSWGKGKPRX5CS
// **********************************************************
// ************ based on: OpenLRS thUndeadMod ***************
// Mihai Andrian - thUndead http://www.fpvuk.org/forum/index.php?topic=3642.0
// **********************************************************
// *************** based on: OpenLRS Code *******************
// ***  OpenLRS Designed by Melih Karakelle on 2010-2011  ***
// **  an Arudino based RC Rx/Tx system with extra futures **
// **       This Source code licensed under GPL            **
// **********************************************************
// **********************************************************
// ******************** OpenLRS DEVELOPERS ******************
// Mihai Andrian - thUndead http://www.fpvuk.org/forum/index.php?topic=3642.0
// Melih Karakelle (http://www.flytron.com) (forum nick name: Flytron)
// Jan-Dirk Schuitemaker (http://www.schuitemaker.org/) (forum nick name: CrashingDutchman)
// Etienne Saint-Paul (http://www.gameseed.fr) (forum nick name: Etienne)


//#############################
//### CONFIGURATION SECTION ###
//#############################
//####### COMPILATION TARGET #######
// Enable to compile transmitter code, default is RX
#define COMPILE_TX      ----SET FOR TX OR RX DEPENDING ON WHAT MODULE YOU ARE FLASHING
//####### TX BOARD TYPE #######
// 0 = Original Flytron M1 Tx Board (not verified)
// 1 = Original Flytron M1 Rx Board as TX (not verified)
// 2 = Original M2/M3 Tx Board or OrangeRx UHF TX
// 3 = OpenLRS Rx v2 Board works as TX
#define TX_BOARD_TYPE 2   ---- SHOULD BE SET AS DEFAULT AS BOARD TYPE 2 FOR ORANGE OPENLRS
//####### RX BOARD TYPE #######
// 3 = OpenLRS Rx v2 Board or OrangeRx UHF RX
#define RX_BOARD_TYPE 3  ---- SHOULD BE SET AS DEFAULT AS BOARD TYPE 3 FOR ORANGE OPENLRS
//###### SERIAL PORT SPEED - just debugging atm. #######
#define SERIAL_BAUD_RATE 115200 //115.200 baud serial port speed
//###### Should receiver always bind on bootup for 0.5s ######
//###### If disabled a jumpper must be placed on RX ch1-ch2 to force it to bind
#define RX_ALWAYS_BIND

// Following can be changed in ';config'; mode via serial connection to TX (not yet)
//####### RADIOLINK RF POWER (beacon is always 100/13/1.3mW) #######
// 7 == 100mW (or 1000mW with M3)
// 6 == 50mW (use this when using booster amp), (800mW with M3)
// 5 == 25mW
// 4 == 13mW
// 3 == 6mW
// 2 == 3mW
// 1 == 1.6mW
// 0 == 1.3mW
#define DEFAULT_RF_POWER 7  ---- SHOULD BE SET AS DEFAULT FOR 7 100MW MAX POWER
//######### TRANSMISSION VARIABLES ##########
#define DEFAULT_CARRIER_FREQUENCY 459125000  // Hz  startup frequency ---- FOR UK RECOMMEND CHANGE TO 459.125MHZ AS SHOWN 459125000
//###### HOPPING CHANNELS #######
// put only single channel to the list to disable hopping
#define DEFAULT_HOPLIST 2,7,3,6,5,4 ---- CREATE RANDOM CHANNEL LIST OR SET TO SINGLE CHANNEL, RECOMMEND SPREAD CHANNELS, to keep in legal band,  UK Channels are 1-7 only.

//###### RF DEVICE ID HEADER #######
// Change this 4 byte values for isolating your transmission,
// RF module accepts only data with same header
static uint8_t default_rf_magic[4] = {';J';, ';M';, ';P';, ';Y';}; ---- CHANGE   J, M, P,  Y  TO SOME UNIQUE TO YOU !!!
// RF Data Rate --- choose wisely between range vs. performance
//  0 -- 4800bps, best range, 20Hz update rate
//  1 -- 9600bps, medium range, 40Hz update rate
//  2 -- 19200bps, medium range, 50Hz update rate + telemetry backlink
#define DEFAULT_DATARATE 0  [size=78%]---- FOR BEST RANGE SET TO 0, TO ENABLE BUZZER ON LINK LOSS SET TO 2


// helpper macro for European PMR channels
#define EU_PMR_CH(x) (445993750L + 12500L * x) // valid for ch1-ch8
#define DEFAULT_BEACON_FREQUENCY 0 // disable beacon
//#define DEFAULT_BEACON_FREQUENCY EU_PMR_CH(1) // beacon at PMR channel 1
#define DEFAULT_BEACON_DEADTIME 30 // time to wait until go into beacon mode (s)
#define DEFAULT_BEACON_INTERVAL 10 // interval between beacon transmits (s)
//### MISC DEBUG stuff
//#define TX_TIMING // show time used to send packet (in uS) on serial

//####################
//### CODE SECTION ###
//####################
// Frequency sanity checks... (these are a little extended from RFM22B spec)
#if ((DEFAULT_CARRIER_FREQUENCY < 413000000) || (DEFAULT_CARRIER_FREQUENCY>460000000))
#  error CARRIER_FREQUENCY is invalid
#endif
#if (DEFAULT_BEACON_FREQUENCY != 0)
#  if ((DEFAULT_BEACON_FREQUENCY < 413000000) || (DEFAULT_BEACON_FREQUENCY>463000000))
#    error BEACON_FREQUENCY is invalid
#  endif
#endif
#include <Arduino.h>
#include <EEPROM.h>
#include "hardware.h"
#include "binding.h"
#include "common.h"
#ifdef COMPILE_TX
#include "TX.h"
#else // COMPILE_RX
#include "RX.h"
#endif[/size]
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

shaktar

Cheers of this, will get started on it when my FTDI turns up
[url="http://www.facebook.com/TMadeImages"]http://www.facebook.com/TMadeImages[/url].

Jumpy07

New version:
Quote
v1.7 tagged  I just released version 1.7 with following changes.

       
  • add define for US FRS channels 1-7 to make beacon frequency setting easier
  • add possibility to select PPM mode at compile time (FORCED_PPM_OUTPUT) allowing 7 PWM channels along with PPM
  • v1.7 tagged   
  • https://github.com/kh4/openLRSng[/url]
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Jumpy07

#17
[attachimg=1]

As the Orange OpenLRS system outputs digital PWM RSSi you may need a small RC filter, (as above),  for you OSD if it only accepts analogue.


Without this mod, the RSSI indication on your OSD may not be accurate..   
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

SimonS

I';ll be bending you ear in a few weeks as I';ve just ordered a Tx/Rx.

bunnygirl80

#19
Quote from: Jumpy07 on Thursday,January 31, 2013, 21:53:56
OrangeRx Open LRS 433MHz Transmitter/Receiver resources:
Open LRS firmware downloads:  http://code.google.com/p/openlrs/downloads/list
Arduino information and software downloads:  http://www.arduino.cc/

Transmitter module specs:
Compatibility: 5-pin JR compatible module-based transmitters
Frequency: 433MHz
Voltage input: 6.8~12VDCIC: Atmega328PPower: 100mW
Range: Full range system

Receiver specs:
Frequency: 433MHz
Voltage input: 3.7~15VDCIC: Atmega328P
Dimensions: 52x29x15mm
Weight: 10.5g (w/out antenna)

Forum (Fytron OpenLRS) http://forum.flytron.com/viewforum.php?f=7

Firmware: https://github.com/kh4/openLRSng

Hiya,

I still can';t seem to get this to work. I';ve tried everything I can think of. All that remains, is to try a different FTDI adaptor. Can you let me know which you used?

I';ve :
1. Downloaded the latest Arduinio
2. Downloaded the 1.7 version of the KH4 code
3. Changed the KH4 code to RX as I';m trying to upload to the RX
4. Connected the FTDI and confirmed that it';s running on COM5 via Device Manager
5. Connected all FTDI pins straight thru except for TX and RX.
6. Used Arduinio Pro or Pro Mini 5V 16MHz w ATmega328
6.1. Done a test compile and it ok.
7. Uploaded... lights flash on both Orange and FTDI... then error
8. Tried with TX and RX straight thru also, but no luck.

With TX RX crossed over i get...

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0xc0
avrdude: stk500_cmd(): programmer is out of sync

With TX RX straight through i get...

avrdude: stk500_getsync(): not in sync: resp=0x00

Any help would be appreciated as I';m on the verge of giving up and selling and moving to EzUHF!

Thanks hun, Thxx
Always smile because you never know who could be falling in love with it. :) Drone Operator in North Wales. [url="//www.aerialworx.co.uk"]www.aerialworx.co.uk[/url]

Jumpy07

This is the one I use..

https://digitalmeans.co.uk/shop/dfrobot-ftdi_basic_breakout-3v3_5v-arduino_compatible

Must admit had issues flashing my 3DR radios with other adapters.. but this one seemed to do the trick..
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

bunnygirl80

Quote from: Jumpy07 on Wednesday,March 20, 2013, 12:14:56
This is the one I use..

https://digitalmeans.co.uk/shop/dfrobot-ftdi_basic_breakout-3v3_5v-arduino_compatible

Must admit had issues flashing my 3DR radios with other adapters.. but this one seemed to do the trick..

Thanks for that. I';ve ordered one and lets see if it makes any difference. Thxx
Always smile because you never know who could be falling in love with it. :) Drone Operator in North Wales. [url="//www.aerialworx.co.uk"]www.aerialworx.co.uk[/url]

teslahed

My transmitter module and receivers turned up yesterday;



I put one of my two receivers in a spare box after flashing it - makes it looks slightly more professional and might add a little protection.

I';ll keep the other one caseless though for the mini hexacopter.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

bunnygirl80

Mmm! Okay, my new FTDI card arrived yesterday and this morning I';ve attempted the reprogramming again, but with no luck. I am convinced the RX is broken, so I unopened the small screws on the TX and changed the line in the arduinio code to TX and upload and WHIPPEEE straight away it all worked. So, to me this just confirms that the RX has a fault! So, I will need to get in touch with HobbyKing to complain! Mmm! This is the first time in a long line of orders when something hasn';t worked! Such a shame, but thanks for all your help guys.
Always smile because you never know who could be falling in love with it. :) Drone Operator in North Wales. [url="//www.aerialworx.co.uk"]www.aerialworx.co.uk[/url]

Jumpy07

Thats a shame Stef.. my experience with HK when things go wrong isnt that great..

I have a spare RX on the way.. so if your stuck and in a hurry..  I  can send u mine when it arrives.. until you get it resolved
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

teslahed

Here';s my attempts to rearrange the aerial placement on my orange transmitter module;







It involved large amount of epoxy and a cable to extend the aerial plug and turn it through 90 degrees.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

Jumpy07

I enabled telemetry before I went on hols.. this sounds the buzzer on link loss..


I only got about 500m and the buzzer was sounding.. but according to my RSSi I still had a good link, and Naza did not go into failsafe...


Not sure if just the buzzer sounding too early.. or if the two way telemetry really reduces the range.. either way have turned telemetry off for now and will rely on Rssi in my OSD.


Telemetry will reduce the range..  but not sure how far.. and wouldnt think it would reduce it to 500m


So if you are having range issues.. might be worth while switching off telemetry .. as below...either 0 or 1


Quote// RF Data Rate --- choose wisely between range vs. performance
//  0 -- 4800bps, best range, 20Hz update rate
//  1 -- 9600bps, medium range, 40Hz update rate
//  2 -- 19200bps, medium range, 50Hz update rate + telemetry backlink
#define DEFAULT_DATARATE 1
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

SimonS

Blimey, that was quick!  Mine turned up today.

Has anyone got any idea what software is on the Tx/Rx as it works straight out of the packet.

Jumpy07

Quote from: SimonS on Tuesday,March 26, 2013, 15:48:13
Blimey, that was quick!  Mine turned up today.

Has anyone got any idea what software is on the Tx/Rx as it works straight out of the packet.

Tends to be a very early version of OpenLRS from FlyTron.. wouldnt trust it.. as others have reported very limited range and other issues..  would update before you fly..
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

SimonS