Hi
following on from this post by Chris A. http://www.diydrones.com/profiles/blogs/connecting-to-apm-2-5-via-bluetooth?xg_source=activity
I have been using the WiFly RN-XV module from Roving Networks as a telemetry link to the APM 2.5. I have been using the XtremeBee adapter from 3DR to connect it to the APM.
I have to say this unit is amazing at it can be configured in so many different ways. It's a mini, no micro-router. It's great. (I know it's short range, but if you fly within a small area as many do it's not an issue, long range FPV enthusiasts look away now ;-) )
Due to it's flexibility the WiFly can be somewhat daunting to configure. I am going to list out some standard configs to help people get started.
This is the simplest configuration and is great at home when you have an available WiFi network. Good for testing, and leaves your computer able to connect to the internet.
To configure the WiFly connect it using an FTDI cable to your computer. (I'm using a Mac so this will be Unix flavour, for windows you can use, mmm been along time, is Hyperterminal still there?)
The default baud is 9600, to connect i run Terminal and the command
screen /dev/cu.usbserial-AM01RMWT 9600
type $$$ to enter setup mode.
Option: Infrastructure TCP
- factory R
- set uart baudrate 57600
- set wlan ssid YOUR_SSID
- set wlan phrase PASSOWRD
- set ip flags 0x6 (means TCP connection closed on disconnect)
- set uart baudrate 57600
- save infratcp (save it with a name, so easily switch configs with load later)
- save
- reboot
Now you should be able to connect using Mission Planner TCP option to assigned IP address port 2000
Option: Soft AP
You can also set the Wi-Fly up as a micro-router In this mode device connect to the device
- set ftp address 0
- set ftp filename wifly-EZX-AP.img
- set dns name rn.microchip.com
- ftp update
- factory R
- set uart baudrate 57600
- save
- reboot
- set ip address 10.0.0.1
- set ip net 255.255.255.0
- set ip gateway 10.0.0.1
- set wlan channel 11
- set wlan APMNetwork
- save softap
- save
- reboot
You can simply connect to the APMNetwork to 10.0.0.1:2000 to connect to the APM
There are other modes as well, like UDP, ADHOC etc... I haven't used them yet, but I can post configurations as needed.
Hope this helps :-)
Comments
It's open source here is a link
http://ttssh2.sourceforge.jp/index.html.en
I was able to communicate with it but I haven't changed any sets on it
It's like learning a new language :)
Thanks Bill, I am getting telemetry on my Android 4.03 T-Pad IS709C from APM via Wi-Fly. The Wify is hooked up wirelessly on to my home internet Wifi router;
Bill, in the configuration of Soft AP, you have shown in your blog post, is having IP and the gateway same "10.0.0.1"
I hope its typo error !
APM with Wi-Fly in Adhoc network mode.
https://www.youtube.com/watch?v=DCRmZbli0Bw
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
25.03.2013
get everything
WiFly Ver 2.30, 10-26-2011 on RN-171
Beacon=100
Probe=60
Reboot=0
OPEN=*OPEN*
CLOSE=*CLOS*
REMOTE=*HELLO*
FlushSize=450
MatchChar=0
FlushTimer=10
IdleTimer=0
CmdChar=$
IF=DOWN
DHCP=AUTOIP
IP=169.254.1.1:2000
NM=255.255.255.0
GW=0.0.0.0
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
DNS=0.0.0.0
Name=server1
Backup=backup2
FTP=208.109.78.34:21
File=wifly-EZX.img
User=roving
Pass=Pass123
Dir=public
Timeout=40
FTP_mode=0x0
SSID=WiFly-GSX-46
Chan=1
ExtAnt=0
Join=0
Auth=OPEN
Mask=0x1fff
Rate=0, 1 Mb
Linkmon=0
Passphrase=hobbyking
TxPower=12
SleepTmr=0
WakeTmr=0
Trigger=0x1
Autoconn=0
IoFunc=0x0
IoMask=0x21f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x1
TimeEna=0
TIMEADR=129.6.15.28:123
Zone=7
Baudrate=57600
Flow=0x0
Mode=0x0
JoinTmr=1000
Replace=0x24
DeviceId=WiFly-EZX
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x7
Sensor=0x0
SensePwr=0x0
<2.30>
... @Bill, sorry. Beeing European, nowadays android is much more used in tech-related communities, so the question was just in this mind. But i 've the feeling, soon you could answer my question yourself ;)
Thanks for sharing. Could you test Andropilot gs as well? Best c.
Thank you very much!!!
Thanks Bill, quite useful documents for all. Long back, I had downloaded all the relevant docs from this link.