generic wireless UART with OLRS pair

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

generic wireless UART with OLRS pair

Post by Alexinparis »

Hi,

As quoted here:
viewtopic.php?f=6&t=3945&p=40325#p40325

Here is some simple code to build a transparent wireless UART with 2 OLRS compatible modules.
- guaranteed 20ms delay
- air speed: 57600 (same as OLRS => same expected range)
- UART interface: 115200 with a buffer of 256 bytes

By default, the link is symmetrical => it's the same code to inject on both RX&TX.
It's however possible to make it asymmetrical with #define settings

The achieved data rate is enough to support for instance MultiWii GUI. (the only test I made so far)
But this solution can of course be used for many other projects.
Attachments
generic_UART1.zip
(3.41 KiB) Downloaded 151 times

kataventos
Posts: 702
Joined: Sun Aug 28, 2011 8:14 pm
Contact:

Re: generic wireless UART with OLRS pair

Post by kataventos »

Nice Alex, good job.

I´m in for some stuff I would like to keep developing.

Cheers,
-KV

Sebbi
Posts: 478
Joined: Sun Jul 08, 2012 1:08 am
Location: Germany
Contact:

Re: generic wireless UART with OLRS pair

Post by Sebbi »

What is the expected range for those devices?

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: generic wireless UART with OLRS pair

Post by Alexinparis »

With stock antennas and max power, I would say something like 1km in direct view.
With specific antennas, probably several km.

Post Reply