3+km HD FPV system using commodity hardware

Hi

Over the last couple of months I have been working on a project that might be of interest to you: https://befinitiv.wordpress.com/wifibroadcast-analog-like-transmission-of-live-video-data/

Basically it is a digital transmission of video data that mimics the (advantageous) properties of an analog link. Although I use cheap WIFI dongles this is not one of the many "I took a raspberry and transmitted my video over WIFI"-projects.

The difference is that I use the cards in injection mode. This allows to send and receive arbitrary WIFI packets. What advantages does this give?

- No association: A receiver always receives data as long as he is in range

- Unidirectional data flow: Normal WIFI uses acknowledgement frames and thus requires a two-way communication channel. Using my project gives the possibility to have an asymmetrical link (->different antenna types for RX and TX)

- Error tolerant: Normal WIFI throws away erroneous frames although they could have contained usable data. My project uses every data it gets.

For FPV usage this means:

- No stalling image feeds as with the other WIFI FPV projects

- No risk of disassociation (which equals to blindness)

- Graceful degradation of camera image instead of stalling (or worse: disassociation) when you are getting out of range

The project is still beta but already usable. On the TX and RX side you can use any linux machine you like. I use on both sides Raspberrys which works just fine. I also ported the whole stack to Android. If I have bystanders I just give them my tablet for joining the FPV fun :)

Using this system I was able to archive a range of 3km without any antenna tracking stuff. At that distance there was still enough power for some more km. But my line of sight was limited to 3km...

In the end, what does it cost? Not much. You just need:

2x Raspberry A+

2x 8€ wifi dongles

1x Raspberry camera

1x Some kind of cheap display

Happy to hear your thoughts/rebuild reports :)

See you,

befinitiv.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

            • The quality should be pretty much same unless you are using an entirely different screen/laptop. Or you may be using a higher bitrate on the pi side when working with the windows system. (the -b option).

              • Pritam, I am using the command you uploaded. it works at low res 480x320 but pixelates / freezes on higher res

                One question please: do I have to do some compiling / make or is it enough to just download gstreamer? Also what is this good for :

                gst-rpicamsrc is a GStreamer wrapper around the raspivid/raspistill
                as in : github.com/thaytan/gst-rpicamsrc

                Thank you for your time
                • this is first time I have heard of gst-rpicamsrc. Need to look at its capabilities.

                  guess for pixelation:

                  1. Link not upto the mark to support the bitrate and resolution specified. 

                  2. In that command I am using a just enough bitrate for 720p, if your link has good bandwidth, you may have better luck increasing it. I actually record it on the SD card on pi as well. I always pull a clean copy later on from the pi.

                  Lower resolution with high fps will always be more resilient than higher res streams.

                  I find 320p is good enough for FPV. I am working at way to record 720p on raspberry pi and stream only 320p or so on the network and do it all by sending  few http requests to a server running on pi with udp auto discovery. I will update something crude by next weekend. Mostly initial poc.

                  Downloading GStreamer packages is enough.

                  • the original command that I gave you has bitrate very very low. I think I missed a zero. its only 2mbps. I think I wanted to write 20mbps. A 10mbps value should be a decent compromise between quality and bandwidth.

                  • Pritam, thank you very much for your reply

                    Fnoop, thank you also

                  • Hi, gst-rpicamsrc looks like a great idea initially, but unfortunately it increases latency slightly (vs using piped raspivid), and also that if the video stream stalls for any reason I found that it then stalled the camera and could not be restarted.  Using piped raspivid it isolates the camera from gstreamer and doesn't stall it - it keeps on going and gstreamer just recovers whenever the network stream recovers.

      • thanks a lot Pritam, will try tomorrow

  • This could be an interesting wifi stick for wifibroadcast. Relatively small, two antenna connectors (inside the case), 2.4Gh/5Ghz support and Atheors AR7010/AR9280 chipset which works with the same ath9k_htc driver as the AR9721 sticks like the TPLink WN722N.

    http://www.aliexpress.com/store/product/Newest-2-4G-5G-wireless-USB...

    It seems to be the same as this one:

    https://wikidevi.com/wiki/Panasonic_N5HBZ0000055

    This camera also seems interesting, dual lens cam that puts out two MJPEG streams:

    http://www.aliexpress.com/item/MJPEG-30fps-1-0megapixel-720p-hd-OV9...

    • Nice find, will add that to the cart

    • Any specific tutorial I should follow to get the TL-WN722N working on rpi 2B as a AP?

      I have tried the Alfa AWUS036NHR and it was a disaster. Worked on it for around 10 hours and finally got it doing something. The AP showed up but the tx power was super low ~1mW and the connection fell away after 2 minutes. Tried pretty much evry power setting but it did not make any difference. Thats why I got two TL-WN722N to experiment with. First with raspicam interface over normal wifi and later wifi broadcast as showed in this topic.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…