How to build your own LTE Quadcopter

Having a quadcopter being controlled through LTE network without any limit in its flying range ( with an exception of battery backup and LTE coverage limit of course ) had always been a very appealing and interesting notion. There are few solutions available which are costly, So I wanted to come up with a cheaper alternative

First, lets begin with the main parts that will be needed to build on your LTE controlled Quadcopter.
See the required parts below

- Raspberry Pi (Amazon Link)   price ~$40
- F450 Quadcopter Kit (Ebay Link)  price ~$80
- LTE Dongle (Amazon Link)  price ~$50
- Battery Pack (Lipo) (Ebay Link) price ~$18
- Lipo Charger (Ebay Link) price ~$25
- Flight Controller CC3D (Ebay Link) price ~$13
- PC Gaming Joystick (Amazon Link) price ~$29

Some Background

A Quadcopter consists of four arms with a motor and propeller on the end of each arm. Two propellers are turning clockwise and the other two are turning counter-clockwise. There is a flight controller which keeps it leveled and converts your input commands into motion which it needs to fly. There are many cheap flight controllers available in the market. The one I used is called Open Flight CC3D. It costs only $13. Some other popular alternatives are

- Hobbyking KK2.1.5 Flight controller
- APM2.6 Ardupilot Flight Controller
- Naze32

Main parts of Quadcopter consists of a frame, a receiver, a flight controller, electronic speed controls, motors, and propellers. See below  for complete picture

Quadcopter Operation


Quadcopter motion (Throttle, Yaw, Pitch, Roll) commands are sent via RC Transmitter to RC Receiver and are  converted to PWM signals which are then used by flight controller to control the speed of Motors via Electronic Speed Conrollers (ESC). Most modern transmitters use a 2.4 Ghz frequency. RC receivers come mostly with 6 channels receivers.  Channels are the amount of things you can control. For example a four channel transmitter means you can only control four motors/servos/accessories. Mostly RC transmitter has 6 channels. These channels are controlling the Throttle, Yaw, Pitch, Roll, Aux 1, and Aux 2 (Aux can be used for different feature on your Quadcopter)

The output of the receiver is in the form  PWM signals. PWM stands for Pulse Width Modulation. PWM is a technique used to transmit data in the form of a varying pulse width. In the case of R/C electronics this time is usually 1-2 milliseconds.  For example, full throttle on your transmitter will send a 2 ms pulse to flight controller while zero throttle means puls of width 2 ms. Same rule applies to other controls on your transmitter. PWM pulse frequency is 20ms. The image below represents a typical PWM frame

PWM Signal output from RC Receiver

Replacing UHF Radio Link with IP Communication 

Main objective here is to replace the UHF radio link (2.4 Ghz) with IP communication network. Instead of using RC Transmitter we will use a regular PC gaming joystick to send control commands to Quadcopter through IP network. The commands are received by LTE dongle connected to Raspberry pi computer which converts these commands to PWM signals. The PWM signals are then used by CC3D flight controller to control the motion of flight.  See the below figure for end to end communication path

LTE Quadcopter

Note: If you are not familiar with raspberry pi, please visit https://www.raspberrypi.org/ to get some understanding .To put it short, It is is wonderful cheap little computer that can be used to make home media center, VPN, make robot and many more interesting projects. You can use almost any language on RPi though I always prefer to use Python as being very easy , high level and dynamic programming language

Raspberry Pi 2

Installing LTE modem on Raspberry Pi

I used Sakis3g script to install the drivers and application to configure the LTE modem. You can find more information at http://www.sakis3g.com/

How to communicate with LTE Dongle Private IP

One of the issue with LTE modem (dongle) is that it will be assigned private IP and will use Network Address Translation (NAT) to communicate to external world. NAT is the process where firewall assigns a public address to a network device inside private network. NAT save on the IP addresses as every network device (LTE dongle in our case) does not need a public address, and also it would hide these private devices from the outside world. For our quadcopter LTE dongle, it means that we wont be able to use the IP which is assigned to it in order to establish any IP communication to it. To overcome this problem we have to use our home Wifi router's port forwarding feature (application of NAT). Since our router's public IP is known to us ,therefore forwarding packet to our home PC coming from LTE quadcopter will not be an issue.

Let's assume that LTE dongle is assigned private IP 10.10.10.50 by the LTE network, Let's  also assume our home computer has private of 192.168.10.44 which was assigned by the Wifi router. Secondly our Wifi router has public IP of 173.75.180.60 which is known to us. We use TCP port 50050 for any communication from LTE quadcopter to Home PC. Now all we have to do is defining port forwarding table in our home wifi router. The basic rule that needs to be defined is to forward all incoming TCP packet with destination port of 50050 to our controller PC which has IP 192.168.10.44 and you are all set to have IP communication between Quadcopter and our home PC



Now here is how our end to end Communication will work

- Using Python's socket module function, Raspberry Pi (with LTE modem connected) will open a TCP connection to a port 50050 and IP 173.75.180.60.

- Python Socket Module on our home pc waits until a client connects to the port you specified

- Our home router forwards all incoming TCP packet with destination port of 50050 to our controller PC which has IP 192.168.10.44

- Once a socket is open, you can read from it like any IO object.

Below is the very basic python code that I used to do the communication between Raspberry Pi and home Computer as explained above. The code is just to give you a starting point while you can optimize the code below to have much better stabilized flight :)

Python Code on PC side




Python Code on Raspberry Pi side




Video Streaming from Quadcopter to Home Wifi Network 

Currently I am having trouble transmitting video from Quadcopter to Home Computer. I used  netcat utility to do the streaming but it makes  RPi reset every time. I believe I need to provide separate power bank. I will give update on it once successful, hopefully soon.


98 comments:

  1. This is awesome! I've been thinking of ways to do this and today I thought of this exact solution, however I know zero python...
    Thankyou :)

    ReplyDelete
  2. Awesome project! I have one question, what data plan do you use for the dongle? Thanks!

    ReplyDelete
  3. Awesome project! I have one question, what data plan do you use for the dongle? Thanks!

    ReplyDelete
  4. That is probably every drone pilot's dream. To have a drone that is not range limited would be awesome! :) But, you do need a powerful flight controller for that, and if you want to get more familiar with types of flight controllers, and see reviews of some of the best models, I suggest checking out this article: http://mydronelab.com/accessories/quadcopter-flight-controller.html

    ReplyDelete
  5. Don't like it. The modem should be connected directly to CC3D to save weight. CC3D has UART port. CC3D should have modem dialing software. The modem's casing and USB port should be removed to save another 20 grams. Solder USB leads directly to CC3D.

    ReplyDelete
  6. I publicly recommend this on google plus even though this is a last resort solution.

    ReplyDelete
  7. Thank you for this your broadcast provided bright clear concept.

    หนังสยองขวัญ

    ReplyDelete
  8. I think this is an edifying post and it is incredibly useful and instructed. in like manner, I should need to thank you for the undertakings you have made in making this article. Liposuction clinic

    ReplyDelete
  9. My life is beautiful thanks to you, Mein Helfer. Lord Jesus in my life as a candle light in the darkness. You showed me the meaning of faith with your words. I know that even when I cried all day thinking about how to recover, you were not sleeping, you were dear to me. I contacted the herbal center Dr Itua, who lived in West Africa. A friend of mine here in Hamburg is also from Africa. She told me about African herbs but I was nervous. I am very afraid when it comes to Africa because I heard many terrible things about them because of my Christianity. god for direction, take a bold step and get in touch with him in the email and then move to WhatsApp, he asked me if I can come for treatment or I want a delivery, I told him I wanted to know him I buy ticket in 2 ways to Africa To meet Dr. Itua, I went there and I was speechless from the people I saw there. Patent, sick people. Itua is a god sent to the world, I told my pastor about what I am doing, Pastor Bill Scheer. We have a real battle beautifully with Spirit and Flesh. Adoration that same night. He prayed for me and asked me to lead. I spent 2 weeks and 2 days in Africa at Dr Itua Herbal Home. After the treatment, he asked me to meet his nurse for the HIV test when I did it. It was negative, I asked my friend to take me to another nearby hospital when I arrived, it was negative. I was overwhite with the result, but happy inside of me. We went with Dr. Itua, I thank him but I explain that I do not have enough to show him my appreciation, that he understands my situation, but I promise that he will testify about his good work. Thank God for my dear friend, Emma, ​​I know I could be reading this now, I want to thank you. And many thanks to Dr. Itua Herbal Center. He gave me his calendar that I put on my wall in my house. Dr. Itua can also cure the following diseases ... Cancer, HIV, Herpes, Hepatitis B, Inflammatory Liver, Diabetis, Fribroid, recover your ex. You can contact him by email or whatsapp, @ .. drituaherbalcenter@gmail.com, phone number .. + 2348149277967 .. He is a good doctor, talk to him kindly. I'm sure he will also listen to you.

    ReplyDelete
  10. It is very interesting to read your article. Keep sharing this kind of noteworthy information.

    IoT Courses | Internet of Things Training | Internet of Things Course | IoT Certification | IoT Training in Adyar | IoT courses in Velachery

    ReplyDelete
  11. Awwsome informative blog ,Very good information thanks for sharing such wonderful blog with us ,after long time came across such knowlegeble blog. keep sharing such informative blog with us.
    Aviation Academy in Chennai | Aviation Courses in Chennai | Best Aviation Academy in Chennai | Aviation Institute in Chennai | Aviation Training in Chennai

    ReplyDelete
  12. Wow, Nice blog. Thank you so much for the efforts of this blog. Visit for
    Maldives Honeymoon Packages

    ReplyDelete
  13. Very informative article. hands-on iot training with hIOTron
    IoT Training in Pune

    IoT Training in Mumbai

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
    Docker online training
    Docker certification training
    Docker online course
    Docker training course

    ReplyDelete
  16. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article. thank you for sharing such a great blog with us.
    Software testing online training
    Software testing certification training
    Software testing online course
    Software testing training course

    ReplyDelete
  17. Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information. Wonderful article, very useful and well explanation. Your post is extremely incredible. I will refer this to my candidates...
    Selenium online training
    Selenium certification training
    Selenium online course
    Selenium training course

    ReplyDelete
  18. You should keep on writing such beauty blogs, saying that recently I have came across the procedure named liposuction and by my experience I will surely recommend it to you too.

    ReplyDelete
  19. Thanks for your informative article, Your post helped me to understand the future and career prospects & Keep on updating your blog with such awesome article.
    Blockchain online training
    Blockchain certification training
    Blockchain online course
    Blockchain training course

    ReplyDelete
  20. I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously in their life, he/she can earn his living by doing blogging.thank you for thizs article. blockchain online training

    ReplyDelete
  21. 2. Reduce moisture and ventilation sites properly
    Minimize or, if possible, eliminate all wet shelters inside the house - particularly on basements, attics, garages, and crawl spaces - because most accidental invaders are attracted to moisture. شركة مكافحة النمل الابيض
    شركة مكافحة النمل الابيض بالخرج
    شركة مكافحة حشرات بالخرج
    شركة رش مبيدات بالخرج

    ReplyDelete
  22. Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards.
    Buy prescription drugs online

    ReplyDelete
  23. An analgesic or painkiller is any member of the group of drugs used to achieve analgesia, relief from pain. Analgesic drugs acts in various ways on the peripheral and central nervous systems. Buy the best pain relief such as;
    Buy morphine online
    Buy demerol online
    Buy vyvanse-30mg-40mg-50mg-70mg online
    Buy tramadol online
    Buy oxynorm online
    Buy adderall online
    Buy codeine online
    Buy dolophine online
    Buy oxycodone online

    ReplyDelete
  24. I’m impressed, I must say. Really rarely do I encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking intelligently about. I am very happy that I stumbled across this in my search for something relating to this.

    Homeomania
    www.devote.se/markettrend/

    ReplyDelete
  25. I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

    Click Here
    Visit Web

    ReplyDelete
  26. Very nice post, i certainly love this website, keep on it

    Buzzon.khaleejtimes.com
    Information

    ReplyDelete
  27. I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article.
    buy dmt vape online

    ReplyDelete
  28. An interesting discussion is worth comment. I think that you should write more on this topic, it might not be a taboo subject but generally people are not enough to speak on such topics. To the next. Cheers

    Click Here
    Visit Web

    ReplyDelete
  29. Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.

    Click Here
    Visit Web

    ReplyDelete
  30. Irrespective of rankings, this will help in huge traffic generation, on your website, over time and, in turn,will steadily increase the number of potential customers for your products and services.
    oracle training in chennai

    oracle training in velachery

    oracle dba training in chennai

    oracle dba training in velachery

    ccna training in chennai

    ccna training in velachery

    seo training in chennai

    seo training in velachery


    ReplyDelete
  31. Am Laura Mildred by name, i was diagnosed with Herpes 4 years ago i lived in pain with the knowledge that i wasn't going to ever be well again i contacted so many herbal doctors on this issue and wasted a large sum of money but my condition never got better i was determined to get my life back so one day i saw Mr. Morrison Hansen post on how Dr. Emu saved him from Herpes with herbal medicine i contacted Dr. Emu on his Email: Emutemple@gmail.com we spoke on the issue i told him all that i went through and he told me not to worry that everything will be fine again so he prepared the medicine and send it to me and told me how to use it, after 14 days of usage I went to see the doctor for test,then the result was negative, am the happiest woman on earth now thanks to Dr. Emu God bless you. Email him at: Emutemple@gmail.com Whats-app or Call him: +2347012841542 

    ReplyDelete
  32. I was very pleased to find this web-site. I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.

    Information
    Click Here
    Visit Web

    ReplyDelete

  33. Realistic counterfeit money that looks real

    When anybody discusses about undetectable fake money so one thing that
    comes in the every mind
    is that counterfeit currency which is very useful. Now you can buy
    counterfeit money online that
    looks real from SuperCounterfeitBills.
    You are simply living your dream the time when you consist of a lot of
    cash and money, because
    of which you can able to enjoy to the core without limitations. Buy
    counterfeit money online
    from here and grab quality undetectable banknotes.
    Orderbanknotesonline. is one of the best platforms to get top quality
    undetectable counterfeit
    money online. We have taken banknote printing as workmanship and that
    is the reason they have
    the best undetectable particular banknotes that can’t be followed
    effectively by counterfeit

    identifier machines

    Contact us for best price and deals ever
    Business Name: The Order Banknotes Online
    Email: info@orderbanknotesonline.com
    Address - 374 West Nichols Rd, Lompoc, CA 93436
    Contact Number: +1 (678) 304-8569
    Website: https://orderbanknotesonline.com/
    https://authenticbullion.com
    https://fastprivatekeyrecovery.com
    https://orderbanknotesonline.com/
    page link
    https://orderbanknotesonline.com/us-dollars/

    https://orderbanknotesonline.com/canadian-dollars/

    https://orderbanknotesonline.com/euro-bills/

    https://orderbanknotesonline.com/gbp/


    ReplyDelete
  34. But, anecdotally, it looks like a small minority of kids compensate by being unrepentant fiends. The internet has given them knowledge of, and the dark net access to, an alphabet soup of mind-cranking molecules, from 2C-B to 4-AcO to 5-MeO. Truthful information on the internet teaches them these psychedelics are relatively physically harmless, and so these psycho-nots are nom-nom-noming a whole cheese plate’s worth of drugs.
    Buy VAPE PEN ONLINE.
    DMT VAPE PEN FOR SALE.
    DMT VAPE PEN FOR SALE uk.
    DMT VAPE PEN FOR SALE near me.
    DMT VAPE PEN FOR SALE united states.
    Buy from us and you won't regret 

    ReplyDelete
  35. You should take part in a contest for one of the best blogs on the web. I will recommend this site!

    Click Here
    Visit Web

    ReplyDelete
  36. An interesting discussion is worth comment. I think that you should write more on this topic, it might not be a taboo subject but generally people are not enough to speak on such topics. To the next. Cheers

    Visit Web
    Flow.page
    Information

    ReplyDelete
  37. Aw, this was a really nice post. In idea I would like to put in writing like this additionally – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and by no means seem to get something done.

    Visit Web
    Beautyinfo.eu
    Information

    ReplyDelete
  38. Oh my goodness! an amazing article dude. Thank you However I am experiencing issue with ur rss. Don’t know why Unable to subscribe to it. Is there anyone getting identical rss problem? Anyone who knows kindly respond. Thnkx

    Fxug.net
    Information

    ReplyDelete
  39. I was very pleased to find this web-site. I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.

    soundcloud.com
    Information

    ReplyDelete
  40. The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.

    Bookme.name
    Information

    ReplyDelete
  41. Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.

    Pathtounite.org
    Information
    Click Here

    ReplyDelete
  42. There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game. Both boys and girls feel the impact of just a moment’s pleasure, for the rest of their lives.

    Pathtounite.org
    Information
    Click Here

    ReplyDelete
  43. This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Great stuff, just great!

    Visit Web
    Diggerslist.com
    Information

    ReplyDelete
  44. I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

    Cdprojekt.com
    Information
    Click Here

    ReplyDelete
  45. Fascinating information I haven’t been experienced such information in quite a long time.
    click here

    ReplyDelete
  46. You should take part in a contest for one of the best blogs on the web. I will recommend this site!

    Website
    Information

    ReplyDelete
  47. This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It is the old what goes around comes around routine.hashish for sale

    ReplyDelete

  48. At Mosherflo Pumps, our products can be made use of as Gorman Rupp Pump Parts
    , yet are readily available at a much reduced expense. Mosherflo Pumps is a market leader as well as pioneer in premium pump design. Given that its beginning in 1986, We have actually kept a vision that rests on 3 columns: innovation, improvement, and exceptional products. Mosherflo Pumps is proud of its advanced centers as well as its various innovations that have actually assisted specify market standards. Mosherflo is an authorized representative of Gorman Rupp Pump Parts products, so we have several Gorman-Rupp items in supply to fit your application. Goulds Pump Parts

    ReplyDelete
  49. We are offering Passport fake ids and driving license that will help you in many situations USA, Europe Canada, and Australia A counterfeit money Real Passports, Visas, Driver's License ,ID CARDS, Marriage certificates, Diplomas, Birth Certificates, Credit cards, Utility bills, Social Security cards . We have over 20 years of experience.High Quality Undetectable counterfeit Banknotes.

    WhatsApp +17202488130 ( highpills@gmail.com )
    WhatsApp +17202488130 ( highpills@gmail.com )

    buy fake id with paypal

    florida fake driver license

    california fake driver license

    colorado fake driver license

    fake california driver license

    michigan fake driver license

    Maryland fake driver license usa

    texas fake driver license

    fake id

    make fake driver license online

    make fake id online

    buy fake id online

    fake texas driver license

    georgia fake driver's license

    uk fake driving license

    michigan fake driver license

    fake oklahoma driver license

    oklahoma fake driver license

    illinois fake driver's license

    Mississippi fake driver license

    fake driving license

    fake illinois driver's license

    georgia fake driver's license

    uk fake driving license

    North carolina fake drivers license

    missouri fake driver license

    fake missouri driver license

    pensylvannia fake driver's license

    fake pensylvannia driver's license

    new jersey fake auto driver license

    fake new jersey auto driver license

    new york state fake driver license

    fake new york state driver license

    connecticut fake drivers license usa

    ohio fake driver's license

    fake ohio driver's license

    buy ohio fake driver's license online usa


    WhatsApp +17202488130 ( highpills@gmail.com )

    buy registered driver license online,
    Buy Austria Driver License Online,
    Buy Queensland Australia Driver License Online,
    Buy Victoria Australia Driver License Online,
    Buy Ireland Driver License Online,
    Buy Italy Driver License Online,
    Buy Espana | Spain Driver License Online,
    Buy Cyprus Driver License Online,
    Buy Quebec Canada Driver License Online,
    Buy Ontario Canada Driver License Online,
    Buy Germany Driver License Online,
    Buy United Kingdom Driver License Online,
    WhatsApp +17202488130 ( highpills@gmail.com )
    WhatsApp +17202488130 ( highpills@gmail.com )

    ReplyDelete
  50. Really wonderful blog! Thanks for taking your valuable time to share this with us. Keep us updated with more such blogs.

    Best IAS Coaching in Mumbai

    ReplyDelete
  51. The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.

    Dribbble.com
    Information
    Click Here
    Visit Web

    ReplyDelete
  52. nice bLog! its interesting. thank you for sharing....
    thc lollipops uk

    ReplyDelete
  53. Coupons can encourage consumers to make a repeat purchase. Offer a discount on their next purchase, and you will be at the top of their shopping list. https://www.couponscaptain.com/blogs/best-purple-shampoo-for-blonde-hair/ have partnered with the most trusted brands to bring you the best deals on the products you want with their coupons and promo codes.

    ReplyDelete
  54. Online marketing is the fastest way of advertising to educate, promote, or market a product and services. And if you have to own website of products or services, then you must raise popularity among people for promoting your goods. If you have less time to in doing this, then you must use some web marketing tools for faster proces cultofthepartyparrot com

    ReplyDelete
  55. The Kaiser Family Foundation reports that in 2016, half of all Insurance Policy-holders faced a deductible, the amount people need to pay on their own before their insurance kicks in, of at least $1,000. What Is The 80 Rule In Insurance

    ReplyDelete
  56. Did you had any idea about that there are more than 5,000 crypto monetary forms being used as of now and of them Bitcoin includes exceptionally in that rundown? Bitcoin, specifically, has had an exceptionally unpredictable exchanging history since it was first made in 2009. This computerized cryptocurrency has seen a ton of activity in its genuinely short life. Bitcoins at first exchanged for close to nothing. NFT Drops

    ReplyDelete
  57. Renovations are quite possibly of the best speculation a mortgage holder can make to their current spot of home.howmuch

    ReplyDelete
  58. The best herpes remedy online…

    Thank you D Robinson buckler for saving my life,

    I am cured from herpes

    His result is 100% guarantee.

    He can also restore broken

    Relationship/marriage with spiritual prayer

    He brought my ex lover back

    My ex-lover loves me unconditionally

    He can't do without me right now

    Robinsonbuckler11((gmail. com ))…………………

    Google about Robinson buckler11 to see more reviews

    ReplyDelete
  59. This comment has been removed by the author.

    ReplyDelete