Develop standard, re-usable inexpensive solutions for IP-enabled always-on UAVs over cellular IP networks such as GPRS, 3G, 4G etc.
Primary goal: Telemetry over low cost cellular [achieved in testing]
Secondary goal: Bi-directional GCS/Telemetry over cellular IP [achieved in testing]
Tertiary goal: High speed IP for streaming IP video over cellular 3G/4G
STATUS: Bi-directional telemetry over cellular IP (UDP or TCP) is now working. It has been flown successfully while logging live telemetry to a GCS at home, several miles away [distance is really unlimited]. Currently working on improving code, more testing and broader hardware support.
Comments
HI guys..
I finaly got my sim900 working coulpe of days ago.
Just needed to put ln i the end of the command line. println.. :)
Jerry & Thalis = Are you using version 2.9.1 or 2.6?
I have made the autostartup of sim900 in software and it works great.
Ludvig
Yes I got Sorens code working too, using his server. He is a great guy who helped me out quite a bit.
I'm using Tmobile. I can confirm the APN for Tmobile in the USA is : m2m.t-mobile.com
Now I just have to figure out how to get a server working here, and stop round tripping my telemetry to denmark lol! Just happy to get this finally working. I know there was talk of a "cloud" with mavlink. I think Andreas was talking about setting this up. Does anyone know if he did? Or does anyone have a server in the USA I could use, or help me set one up? Its harder than I thought!
i tryed Soren's Kuula code with enhanced capabilities, like reconnect and restablish connetion even rebooting each device and it works perfect. i tryed also the feature of low or none signal from GSM provider and it can reconnect again, with the previous code i lost the signal and gsm module for ever(until return to home). i used a UDP connection of course and a DDNS service to redirect the packets to my home PC. excelent work! Bravo!
the source page is here:
http://code.google.com/p/ardupilot-cellular-extension/source/browse...
i have APM 2.5 !
I really think his code has great potential!
Have any of you guys played with Sorens code found here? I'm on Tmobile (the 2 dollar a day play) and his AT command isn't working right. (changed the APN and server/port info in mobilestream.cpp)
http://code.google.com/p/ardupilot-cellular-extension/source/browse...
You dont need to configure the APM2,5. Just download latest Software and connect to UART0.
Remeber to share ground with your Dronecell and APM board to get TTL working.
Right now im very confused, i cant send AT commands from APM -> SIM900 becouse of the AP.HAL library(Used in the latest Arducopter software insted of Fastserial).
If i use Fastserial library it works.
Fastserial AT command (Working)
Serial.print("\nAT+CFUN=1,1");
AP.HAL library (Not Working)
hal.uartA->print("\nAT+CFUN=1,1");
i will pay good money to someone who has a solution to this.. Its a nightmares.
Regards
Ludvig
Hi
Im manually run these AT commands:
AT+CGATT? //attached to GPRS ?
AT+IPR=57600
AT+IFC=2,2 //"it's better to use hardware flow control"
AT+CIPMODE=1 //Enable transparent mode
AT+CSTT="internet.public" //set APN
AT+CIICR //open GPRS
AT+CIFSR // Get local IP address
AT+CIPSERVER=1,1234//Start the TCP server, listening port:1234
Be sure your APN is correct. i had to use internet.public for my purpose.
I also get external IP from my cell vendor wich meens im not behind any firewall :)
After i write all AT commands i swop the TX RX connections from my computer to the APM2.5 UART0 ( See pic bellow in Red section)
I then start my MP and choose TCP.
My GCS is my computer with regular broadband internet and Mission Planner.
Im trying to write the Adrucopter software for auto startup and hopefully im able to set the parameters( IP, Serial, Port) from my Mission Planner without changing my code.
Im using :
APM 2.5 with orginal 2.9.1 software.
SIM900
Mission Planner
Ludvig
Hi
Finally i got this working with TCP protocoll. ;) ;)
The latency is under 500ms, ;) im impressed how great this work.
I will try UDP later and compare the transfer speed.
My next step will be to implement the AT commands into the Arducopter 2.9.1 software for auto configuration of sim900 modul.
Any suggestions for how and where to put the code?
Ludvig
Hi Gents..
Im newbie in this section so please be gentle to me... ;)
Have been testing the SIM900 for a while with AT commands on Adruino Mega board and works perfect.
So i decided to test this SIM900 on my Arducopter.
I have an APM 2,5 and SIM 900. I have connected SIM900 TX RX to the UART0 pins. (see picture RED )
I downloaded andreas-apm2-wip code and installed to the board.
From this point i need some help. ;)
Can someone please clearify some questions for me.
- The andreas-apm2-wip code is based on 2.6 version. If i want to use latest software e.g 2,9 , how to accomplish that?
- If i want to use home internet and not USB dongle GSM for my mission planner, how to set up the mission planner? I can only set COM port and speed???
- I cant find any place in the code to change the MDM parameters.? where?
MDM_IP1 192.000000 - First byte of IP address
MDM_IP2 168.000000 - Second byte of IP address
MDM_IP3 0.000000
MDM_IP4 161.000000 - Fourth byte...
Thx in advice.
Ludvig
Hi Toby,
Yes I agree support has gone to the dogs since they moved it off-shore. Ah well that's modern business. %$##@#E it.