OpenLRS firmware1.10 with Transparent Serial Bridge



Hi Everyone,

 

Maybe you know, i'm working on Open Source RC (OpenLRS) project since 1-2 years and we released it in this summer.

Today I just finished the firmware v1.10 with transparent serial bridge!

This mean, you can talk with autopilot or other telemetry modules without any extra telemetry device. Your OpenLRS Rx and Tx can handle this mission.

 

Download link:
http://code.google.com/p/openlrs/downloads/list

 

OpenLRS Forum link:

http://forum.flytron.com/viewtopic.php?f=7&t=4&p=1279#p1279


IMPORTANT:
Rx to Tx transmission supporting 750 byte/seconds (not bit/second) without any problem. 
It's handling 9600 baud signals with %80 traffic.
But Tx to Rx (ground to air) transmission sharing the servo communication bytes and we are not suggesting more than 100 byte/second for ground to air transmission.

We are suggesting 115.200 baud serial speed (%5 traffic) for clear serial. If you want to use 9600 or near speeds dont forget; Atmega328(with Arduino) can read the signal with hardware without any problem, but it have to wait for next byte when writing. You must finish the writing before reading next RF package. This is why you need high speed communication when writing something on the serial out. 
As a reference: In this video, i'm using 9600 baud on GPS side and 115.200 baud on computer side.

 

Thanks

Melih

-----------------------------------
Old Diydrones blog posts about OpenLRS Project

 

 http://diydrones.com/profiles/blogs/new-opensource-lrs-coming
 http://diydrones.com/profiles/blogs/the-openlrs-project-pcbs-ready
 http://diydrones.com/profiles/blogs/the-openlrs-project-pcbs-ready
 http://diydrones.com/profiles/blogs/openlrs-wii-motion-plus

 

 

Views: 2979

Comment by Amilcar Lucas on October 4, 2011 at 2:17pm

Hi,

 

Nice work. I wanted to use the RFM22 modules a while ago, I even bought a couple of them, but I did not use them yet.

 

I took a quick look at your files and have some questions:

1. Why not move the common rfm22.pde file to a library ?

2. Why not use the git features of googlecode ? It would allow for more people to contribute to it.

 

Regards,

Amilcar

 

Comment by Dimitri on October 4, 2011 at 2:52pm

Is it possible to put signal amplifier on rx or it's only for tx. It can be a range problem is there is 7w for tx and only 100mw on rx ;)

Comment by Kim Skatun on October 5, 2011 at 12:48am

What about making it in such a way that  the receiver can fit the oilpan directly on top of it?

Comment by Melih Karakelle on October 5, 2011 at 2:13am

@Amilcar,
1. Because of flexibility of file. I wrote it as a pde file and we are changing something in every version. Maybe i can do it at the future.
2. Google code is very chaotic for me and i dont have time to learn it. Maybe i can do it someday but not now. Do you know any "simple" article about it?

 

@Dimitri,

As you can read on our product page, Booster is unidirectional device for long range features. You cant use it with telemetry features.

 

@Kim,  I'm not sure about it. Because it's generating rf pulses and they affects the sensors of oilpan. A little distance is better for this kind of devices.

Comment by Andrew Radford on October 5, 2011 at 6:05am

Awesome. I have been looking at OpenLRS for a while and was wondering when this would be implemented.

 

For those in the UK - Open LRS can be configured to use the licence free 459Mhz band - which is useful because it avoids the use of 2.4GHz - which is commonly used for FPV video transmission. Perhaps this could be an alternative to the 2.4Ghz XBees for telemetry?

 

What's the minimum baud rate needed by the APM anyway?

Comment by Amilcar Lucas on October 5, 2011 at 3:27pm

Melih I've learned git by listening to a Linus Trovalds talk at google headquarters, and by reading the git book at http://book.git-scm.com/index.html just make sure to skip the introduction chapter. It is confusing and un-necessary for normal users. Just skip directly to chapter 2

Comment by Melih Karakelle on October 5, 2011 at 11:32pm

@Andrew, I guess you can configure the APM from source code for 4800 baud or 9600. because most of xbee modules supporting maximum 9600 or 19200 baud.

@Amilcar, Thank you very much, i will read it as soon as possible.

 

Here is the funny code implementation for OpenLRS :)


JDrones
Comment by Jani Hirvinen on October 6, 2011 at 7:04pm

Currently ArduCopter, ArduPlane used 57.600 baud for all telemetry communication as default and XBees handle those well. For really long distances you need to lower down telemetry speed but such as ArduCopters you usually cannot even fly so far that you will start having problems with 57k.


Moderator
Comment by John Church on October 6, 2011 at 8:24pm

Just want to point out that while Melih mentions changing telemetry port baud rate in APM source, you can also change it in Planner with no need to edit source. Look for Serial 3 in the parameters list and change the value. Just enter 48, 96, 19 or 57 and click write parameters.

Comment by Jakaria on November 14, 2011 at 10:55pm

Hi Melih,

I really like that you make things simple for us. Also your views attract me. At various places I found that you are interested about PC based autopilot which really attracted me. As you are an expart, I'd request your assistance regarding the project which is described below.

Suppose I'm in a real Ship and I want to run it with a PC based autopilot and Gamepad. GPS should be connected to the PC and all calculations should be done by the PC. Then PC should send the final servo commands to a simple Microcontroller and Microcontroller will do the speed control, servo control etc. If possible I want to interface the project with a good Ground Control Station which supports Gamepad. No RC is needed as I'm onboard the ship. Pl suggest me  elaborately because I've almost zero knowledge about programming.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2014   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service