HD FPV on Raspberry Pi

Crimson HD FPV penolet h4>


To get acquainted with Article colleagues Trial iron for HD FPV was decided to repeat the feat on the basis of Raspberry Pi + Pi Camera.

Introduction h4> with the main idea habrayuzera Gol about analog FPV, totally agree! In the digital age enjoy PAL signal, akin inhaled the fragrance of flowers in a gas mask (IMHO). Armed with raspberry kit was agreed to remove the mask of high resolution video, broadcast it in real-time on the ground and on the ground to enjoy the fragrance of flowers fly looking at the monitor, and in the future in HD glasses.

Raspberry Pi


Pi Camera


For vayfay bridge Tested ubiquiti bullet m2 hp

This module vayfay great for mobile platforms as easily powered via POE from the onboard battery, enough to supply power to the two pairs (7-24V, blue pair + , a pair of brown - ), has small size, has good power and industrial design. Just a nice bonus is model 5.8 GHz in a similar form factor that allows you to not changing the design of the platform to move to another frequency band, simply replacing vayfay module and an antenna.

As an experimental media EUT crazy ideas we've been using пенолет (Foam flying) acquired on hobbikinge. In this unit, practiced almost all emerging ideas related to UAV.


Advantages of this machine - it's easy to install the necessary equipment, ease of piloting, lifting capacity and enormous maintainability. The latter feature more than once rescued after the crash, everything is going to epoxy adhesive, and our train penolet again ready to fly krashtestu.

Payload penoleta ​​h4>



Camera Raspberry running Raspbian vayfay module with antenna Voltage indicator Main toggle li > Power supply raspberry Plug the battery

Earth h4>







laptop running Ubuntu 12.04 LTS with sunshield D Atena -Link ANT24-0801 vayfay module Battery Power Module Antenna was selected based general pattern 70 degrees vertically and 70 degrees horizontally.

Software h4> The broadcast was carried out using Gstreamer .

The first important point. I did setup software counterpart, for which he thanks. I just give use a script to start the broadcast on raspberries and reception of video on the laptop.

board h5>
  raspivid -n -w 1280 -h 720 -b 4500000 -fps 30 -vf -hf -t 0 -o - | \ gst-launch- 1.0 -v fdsrc! h264parse! rtph264pay config-interval = 10 pt = 96 $ udpsink host = 192.168.4.204 port = 9000  code>  pre> 

Earth h5>
  gst-launch-1.0 -v udpsrc port = 9000 caps = 'application / x-rtp, media = (string) video, clock-rate = (int) 90000, encoding-name = (string) H264 '! rtph264depay! avdec_h264! videoconvert! autovideosink sync = false  code>  pre> 

Here we go ... h4> The second important point. I am not a pilot. Managed penoletom experienced pilot, for which separate him thanks. Summer, we have long and successful on different machines. At this stage, I spoke as a starting booster.








... Arrived h4> with flying happened exactly three times since still, we have overloaded the plane, push in a well very large battery in the hope well for a long time to fly. Because of this, and so low-speed machine was quite clumsy. When landing failed to overcome a side wind, the machine fell on the wing and nuzzled into the ground. Large and heavy battery decided to break out and still escaped lightly reversal foam fuselage (about maintainability, I wrote the epoxy has dried, penolet armored train is ready to fight the flight). In general, the equipment is not damaged. But there is a silver lining ... HD FPV WAS!





That's all for what was started!


HD FPV was ... but that's not far away. Actually managed to get a video without the lag on a very small area of ​​the field.


Whip antenna according to its radiation pattern (horizontal donut) behaves like ... whip antenna, ie at height and at a steep angle / cornering when petal misses the receiving antenna start lags.
Videos with whip antenna, wrote from the monitor screen 15 fps ... some picture of what is happening gives.


In the future, will enable direct recording of the received stream.

Antenna "clover" has a spherical radiation pattern, but not a very high range for our channel, so the "distant" spans also get out the rake on the image. Unfortunately there is no video.

After Crush conducted two campaign walk across the field with different antennas and as they say, a little predictable result: the range is poor, the whip antenna works a little further to 300-400 meters, if the plane of the petal (donut) hits the receiving antenna, "clover" can twirl as you like, but since broadcasts it to all sides equally range is even smaller than the "pin" to 300 meters.

Conclusion h4> Flying HD FPV - this is reality! CLOSED!

The rest of the conclusions are the same as in Gol . Weak spot vayfay more precisely board antenna if you can deploy on the ground tracking station rotary UAV with highly directional antenna, here with board must invent something else. Optimize work vayfay channel used modules have many settings, it is necessary to dig in more detail there. Optimize (minimize) the flux from the board. And it is natural to consider a solution with on-board antenna.

PS Found in the settings module vayfay "Earth", which was exhibited low power signal instead of the 10dBm 28dBm. This provalEst something to work.

Plans for the near future h4>

Put on board highly intelligent brains Ardupilot 2.0 (a reference to a bit later), they have the benefit of and at this penolete has long been worn - this will not be nervous pilot and fly away, because brains on the command returns on autopilot penolet in place start and it's important to stabilize the glider in the horizontal plane, even when turning - it will allow more efficient test antenny whip. Install (already in transit from China) and test the ceiling antenna 2.4 GHz. She directivity pattern hemisphere facing down, as they say will see. Tested to 5.8 GHz. Organize on earth record stream to a file, and then as it is not humanly impossible. PS And still include cautery brain izluchator at full power!
 The third important point, and thanks to my wife for moral support and skillful camera ownership, without which would not get great pictures of the whole process.

Source: habrahabr.ru/post/220019/