|Nov 19, 2012, 10:35 PM|
Open Altimeter Bluetooth Conversion
If you are looking for the thread for the new BTOA board with MS6511 sensor, please go here: http://www.rcgroups.com/forums/showthread.php?t=1959055
Updated January 29 2013.
The altimeter will prompt the Android device running F3K Master to read out your launch altitude as you come in and land nearby or catch the glider. It will also read out the max altitude if applicable and the battery voltage.
Based off the fantastic Open Altimeter V7 (http://www.openaltimeter.org - thanks Jony and Jan!) and modified by me to work with F3K Master (http://www.rcgroups.com/forums/showthread.php?t=1453871) and a bluetooth module (https://www.sparkfun.com/products/10253).
The voice readout is triggered by the automatic bluetooth connection from the device when it comes into range of your droid running F3K Master.
This connection event can also stop the F3K Master flight timer for you (see option under menu > wireless > land on connect).
This functionality is included in both the Play store versions of F3K Master.
After getting the device working (it beeps once - see below!),
From F3K Master, press menu > wireless, and enable bluetooth.
From F3K Master, press menu > more > Connect Bluetooth
This firmware version will also work on an altimeter that does not have a bluetooth module installed (want to try it with an Alula?)
Additional Firmware Features
- Added bluetooth functionality using RN-42 bluetooth module.
- Added Alula Mode which uses settings on the launch detector that work for an Alula!
- Added Bluetooth TX power option (higher to connect further away and lower to connect as you catch the plane).
Warning: There is a chance that the bluetooth device will reduce the effective range of your radio link. Use the lowest bluetooth power that works for you and range test your radio. You should also position the bluetooth module as far away from the receiver's antenna as you can.
You use the device and these instructions entirely at your own risk!!
Connecting the RN-42 involves some fine soldering:
RN-42 pin 5 (RESET) --> OA reset (Serial connector pin 6 directly - no capacitor) RN-42 pin 11 (VDD) --> OA 3.3V (output pin of SMD regulator) RN-42 pin 12 (GND) --> OA GND (Serial connector pin 1) RN-42 pin 13 (RX) --> OA TX (Serial connector pin 5) RN-42 pin 14 (TX) --> OA RX (Serial connector pin 4)
(the left picture above is missing the reset wire - it is needed!)
Initializing the RN-42
On first startup, the RN-42 will be discoverable and should be visible to other bluetooth devices.
Connect to the device from a pc over bluetooth using a terminal app of your choice. 115200 baud, 8 data bits, no parity, 1 stop bit.
1) Once connected, in the terminal app type
If not, try connecting to the device with bluetooth again. You must enter the '$$$' within 60 seconds of powering on the device. Power off and on to retry!
You're done! In the future, you will be able to do this with the Android app.
On startup, the usual startup tone is played followed by:
"0" double beep: The device is discoverable and ready for you to connect to it. From F3K Master, press menu > more > connect bluetooth.
4 beeps: The device was unable to setup the bluetooth module. Disconnect it from the USB adaptor (it will likely not work with the FTDI adaptor attached) or check the connections and try again?
The code for pairing is 1234
NOTE: The RN 42 relies on the DTR (used as a reset) to stay low while the downloader app or firmware update are communicating with the altimeter. Some Windows serial ports do not do this (Mac does). The symptom (only with the bluetooth module module installed) will be partial or no communication with the device over the serial cable and firmware update will fail. There are some workarounds if anyone is interested!
|Nov 20, 2012, 01:12 AM|
I have attached the source files for the downloader and firmware.
I just managed to get everything done in the size limit of the firmware! I'm sure it can be optimized.
Also, no time to do the exe installer yet!
Firmware V2 attached - modified Alula settings and split LAUNCH_DETECTOR_REARM_HEIGHT parameter for DLG and Alula.
|Nov 20, 2012, 09:10 PM|
I updated the apk file. Please download the new version! (It was crashing if the altimeter data transfer had some strange numbers. Moved the Connect Bluetooth menu item to the top)
|Nov 25, 2012, 07:39 PM|
do you have any pics of all the solder points? you state there is a wire that is soldered that is not shown in the pic. I am confident I can do the soldering, having a reference picture would be helpful.
Also will this work with a regulator installed on the OA? It can easily be removed, just curious.
|Nov 25, 2012, 09:17 PM|
I have added an image for the solder points. The device would work just fine with the glider power regulator in place.
|Nov 25, 2012, 09:43 PM|
Thanks for the new pic, that does not look to hard. I think I am going to pull the regulator so that the OA can be pulled out if needed and not affect the rest of the electronics. and then I can move it from plane to plane.
|Dec 02, 2012, 12:33 PM|
The RN-42 is a class 2 device with a range of around 30 meters (100 feet) so it is not likely you can still be connected at the top of the launch.
It may be possible with a class 1 device (RN-41 with a potential range of 100 meters or 300 feet) but there is also a chance it will interfere with your radio link.
|Dec 05, 2012, 12:55 PM|
|Dec 05, 2012, 12:59 PM|
I have not used a class 1 device with my Futaba, no.
Also, the Class 2 device needs to be on a lower power setting than full to connect at the right time as you land the plane if you want it to stop the timer.
The device needs to be as far from the receiver's antenna as possible to avoid interference too.
Please make sure you range check your radio!
|Dec 09, 2012, 03:13 PM|
Germany, RP, Niederhausen
Joined Mar 2009
thanks a lot for your fantasic work again! I got my BT module this weekend and managed to get it running easily.
The only problem is that what you wrote here:
|Dec 09, 2012, 03:57 PM|
I was wondering when someone would ask
Note: This only applies to Windows
You connect the USB adaptor to a BTOA.
You hear the OA startup tones.
You cannot connect to the OA from the downloader or flash it.
Open device manager (Right click My Computer, select Manage, select Device Manager)
Find the one named "USB Serial Port" (with the "comX" that you should be using in the downloader app)
Double click it and choose the "Port Settings" tab.
You can leave the settings as they are, but press on "Advanced"
Make sure your com port is correctly selected and check "Set RTS on close"
Press OK twice.
Now your downloader app should work, but not the flash utility.
To flash the device, either:
Remove one connector to the RN42 (RX on OA side)
Short out the outer two pins of the connector on the OA just as you press the flash button.
Remove the jumper when the flash process is complete so the OA restarts.
Power off the device and on again to use.
You may need to play with the timing a bit to get it to reset at the right time as you press the flash button in the downloader - roughly a second or two after pressing the button - and let it be still while flashing since disturbing the connection will reset the flash process (I have not damaged a device by reseting while flashing yet either).
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|Sold||Open Altimeter||xwingnut||Aircraft - Sailplanes (FS/W)||5||Oct 29, 2012 07:30 AM|
|Sold||Crius v1.1 AIO / Bluetooth / CN-06 v2 GPS / HC-SR04 Sonar||blade strike||Aircraft - Electric - Multirotor (FS/W)||7||Oct 22, 2012 06:15 PM|
|For Sale||#Lower~Price!!# Cockpitcompany Canada "The Altimeter Watch": Brand New Never opened!!||rcheli1||Non R/C Items (FS/W)||2||Jun 27, 2012 05:19 AM|
|Wanted||Open Pilot Bluetooth Module||barrelheaven||Aircraft - Electric - Multirotor (FS/W)||1||Jan 26, 2012 01:19 AM|
|Discussion||Arduino compatible open-source altimeter/logger||JonyEpsilon||DIY Electronics||0||Nov 27, 2010 10:21 AM|