HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jul 18, 2013, 10:30 AM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
New Product
Bluetooth Open Altimeter (BTOA) with G sensor and MS5611 pressure sensor

Name: BTOA V1.1.jpg
Views: 308
Size: 64.0 KB
Description: Integrated Bluetooth Open Altimeter V1.1

NEW: To purchase a BTOA please visit the new web site: www.bluetoothopenaltimeter.com.

NEW: Use the BTOA to drive full color addressable LED strips

The BTOA prompts 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 as well as some other information.

Based off the fantastic Open Altimeter V7 (http://www.openaltimeter.org - thanks Jony and Jan!), this board has:
  • Bluetooth
  • G-sensor (+-24g 3-axis)
  • 8M Memory
  • Built in USB
  • Second voltage monitor input
  • General purpose port (for GPS or anything else you like)
  • The latest pressure sensor (MS5611) which is more sensitive (10cm resolution) and less noisy allowing it to be used as a variometer
  • Download data and change settings over Bluetooth!
  • All functionality of the classic OA
  • Weighing in at 8g
  • A small physical size of 5/8" X 1 7/8".

Name: IMG_20130708_134746.jpg
Views: 257
Size: 131.2 KB
Description:

The BTOA requires the Downloader app available below for WIndows and Mac.

Download and unzip the file for your system.
In the case of Windows, execute the "Bluetooth Open Altimeter Vxx.jar" file inside the unzipped folder.

For Mac users:
* If your computer does not recognize the USB port it may be necessary to install the USB "VCP drivers" for your OS from here: http://www.ftdichip.com/Drivers/VCP.htm. The port will have a name that includes "tty.usbserial-XXXXX".
* If you get a port error try this: http://stackoverflow.com/questions/1...already-in-use
* If you get a message that the app is damaged, try this: https://code.google.com/p/android/is...etail?id=57846 - in summary, right click or control + click the app and select "open". This allows the unsigned app to run.

Connecting the downloader over Bluetooth:
This version of the downloader introduces the ability to connect over Bluetooth and download data or set settings. Bind the computer to the device after it starts up and double beeps.
Once bound, use the "tty.BTOA-XXXX-SPP" serial port to connect on a mac or the (usually) largest serial port number under windows.

A note on cables
There are two types of USB cable out there. One is a "charge only" and the other is "data and charge". The BTOA needs a data/charge cable and if you do not get the device to be recognized at all by the Mac/Pc, try another cable!


4.2 Downloader changes:
- Downloader can now connect over Bluetooth to the BTOA
- Added temperature units under View menu
- Added Vario options to Altimeter Settings dialog
- Serial ports dynamically detected on mouse over the Serial Port menu
- Selected serial port will be remembered
- Enhanced "additional" logging features
- Changed term "Alula" mode to "Sensitive" mode
- Increased download timeout to cater for the larger memory on the BTOA

4.2 Firmware changes:
- Added audio vario functionality for paragliding, hang gliding or other sport pilot use
- Audio vario includes configurable sink alarm
- Added switch action to "reset bluetooth" enabling the downloader to connect over bluetooth after the device has been used
- "Additional" log defaults to vario

30 July 2013 - V4.3 update:

- Changed the BT authentication mode to help with connection problems experienced on some Android's
- Increased connection wait time from 16 to 20 seconds to cater for some Android systems with a longer timeout

1 August 2013 - V4.4 update:

- Possible fix for connection problems!
- Faster connection with less wait time
- The usual startup tone is used instead of the double beep to indicate ready for connection
- Some other changes to how it behaves?

16 December 2013 - V4.5 update:

- Possible fix for verifying settings error
- Possible fix for low voltage alarm trigger being too sensitive
- This version seems to work well, please confirm if you agree?

8 January 2014 - V4.6 update:

This version brings a fix for incorrect power settings with the newer RN-42 V6.15 bluetooth modules that resulted in the device using a lower than expected power output. This affected the connection speed on landing, making the device connect quite late. I also tweaked some window timings to make the connection even faster but this may make it harder to connect initially (try several times if necessary and let me know how it works for you).

15 March 2014 :

4.7 Downloader changes:
- Changed Vario units from feet/min to feet/sec. Old data will have incorrect scales.
- Fixed firmware version check on connect to stop incorrect firmware upgrade required message.
- Changed altitude calculation so the graph should more closely match what was called out on F3K Master. Existing and saved data will now display correctly.

4.7 Firmware changes:
- Changed vario logging to be in feet/sec instead of feet/min.
- Fixed climb rate calculations (was recording approximately half actual rate)

29 April 2014 :

4.8 Firmware changes:
- Fixed formula used for height calculation, removing temperature compensation that was already done so the graph and on field readouts will now match perfectly.
- Changed some BT parameters to hopefully help with connecting to the BTOA from Windows.
- Added a filter to prevent strange spikes in the altitude data from time to time.


16 July 2014 :


I am proud to introduce V5.0 of the BTOA.

A lot of work has gone into it and the new version uses double the baud rate (115200) which means twice as fast downloads - even over Bluetooth.

V5.0 BTOA Downloader:
- New: flight times calculated in the DLG analysis with a histogram in the results dialog (thanks to Robert (cyclenut) for contributing to this new feature!).
- Faster connection startup with a BTOA. The app no longer waits 24 seconds but rather monitors actual device startup messages in real time to know when it's ready.
- Added file names to window title when downloading, saving and loading data.
- Improved graph annotations.
- Faster data downloads from the device (doubled baud rate to 115200).
- Better reliability while downloading over Bluetooth.
- Backward compatibility (download your data from most older BTOA versions with “I’m feeling lucky”)

V5.0 BTOA Firmware:
- New radio off alarm (enable by setting “Sink Alarm” in settings to 0 and setting up failsafe on the channel to go below the “switch off” position.
- New: Fast scan for faster start time when large log memory is in use. We no longer scan all memory from the beginning to find the first available address but rather break it up into blocks.
- Added: “Log time remaining” (in hours) to BTOA output. (Read out with new F3K Master version to be published soon)
- Added: Calculated flight time to BTOA output. (Read out with new F3K Master version to be published soon)
- Added: BTOA triggers launch on F3K Master with launch g's
- Adjusted power settings and added the 16db high power level for the newer Bluetooth modules that are on BTOA’s.
- Automatically sets new 115200 baud rate on RN-42 on first run.
- Various other improvements and changes.

Any feedback is greatly appreciated, thank you!

The latest version of the downloader is 5.0. Download it below:
extremewing is offline Find More Posts by extremewing
Last edited by extremewing; Aug 16, 2014 at 01:54 PM.
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 18, 2013, 10:31 AM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
Using the BTOA

NOTE: In order to reduce risk of interference, the BTOA will turn off bluetooth on a launch detect and turn it back on near the ground. Use the lowest bluetooth power that works for you and range test your radio to verify no interference. You should also position the bluetooth antenna (the opposite side to the connectors) as far away from the plane's receiver antenna(s) as you can.

You do use the device entirely at your own risk!!


WARNING

This device can be powered from either the USB connection or the receiver's power.
Do not connect USB and receiver power at the same time.
Doing so may result in the receiver's battery being charged unexpectedly.

1) Install F3K Master from Google Play.
2) Power on the device and listen for the startup tone. The blue and green lights will be flashing on the BTOA.
3) From F3K Master, press menu > Bluetooth, and check "Enable bluetooth".
4) Select the BTOA from the list or press "Scan for devices" and use the passcode "1234" after selecting the BTOA when it appears in the list.
5) On connecting, the BTOA will beep and restart Bluetooth in "auto connect" mode. After a successful reconnection F3K Master will read out the voltage.
6) After a successful connection, there is a quick "Connect to" button when pressing menu. This attempts a connection to the last used device.

Go out and fly!

Note
After initial connection to the BTOA, the device will restart the Bluetooth in "Auto connect" mode. You will see a disconnect message and twenty seconds later the device should connect back to the Android and read out the voltage indicating it is ready for use.

About the LED's:
Green flashing indicates logging is in progress.
Red indicates an error or flash memory full.
Blue flashing indicates Bluetooth is active but not connected.
Solid blue indicates Bluetooth is connected.
extremewing is offline Find More Posts by extremewing
Last edited by extremewing; Mar 16, 2014 at 06:50 PM.
Reply With Quote
Old Jul 18, 2013, 10:39 AM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
How to get one

Since this device is still in the testing phase, I am hand making them for now, but don't let this deter you from getting one. The build quality is good and you would not tell it's done by hand. Besides, if you have any problems, I would always be pleased to help by fixing it or giving you advice on doing the same or even replacing it if necessary!

So far, they are working well, with some more work being needed to test them on a lot of different Android devices to see if there are any problems with the various Android versions out there. That is where you come in. Help by getting one and sharing your experiences with the group.

If you would like one, please PM me.
extremewing is offline Find More Posts by extremewing
Last edited by extremewing; Dec 22, 2013 at 06:05 PM.
Reply With Quote
Old Jul 18, 2013, 10:46 AM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
The design

In the spirit of the original OA, this project is also open source. The board designs are available if you want them. Please just ask till the web site is up and running. In the meantime, here is the schematic.

UPDATE: Since I have had good success with testing, I have attached the current firmware and downloader source for those who are interested. Comments are welcome!

Thank you for all the hard work on the schematic and board John C!

New source code attached for V4.5.

The Arduino code has had some libraries split off and there are lots of changes!!


See op for details of some changes in 5.0
extremewing is offline Find More Posts by extremewing
Last edited by extremewing; Jul 16, 2014 at 08:40 PM.
Reply With Quote
Old Jul 18, 2013, 11:18 AM
Registered User
shadow102's Avatar
United States, GA, Acworth
Joined Mar 2011
4,318 Posts
pm sent, interested in picking one of these up
shadow102 is online now Find More Posts by shadow102
Reply With Quote
Old Jul 20, 2013, 02:36 AM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
New version of firmware and downloader in post one and source code available now

Introducing the ability to use the transmitter three position switch to reset bluetooth to "discoverable" so you can connect the downloader without restarting power on the aircraft. Look for "Reset Bluetooth" as an action in the settings dialog.

Defaults have also been changed to "Do nothing" for the three position switch actions.

Longer time reseting the Bluetooth radio to deal with some Androids connection timeouts that caused the device to fail initial auto reconnect.
extremewing is offline Find More Posts by extremewing
Reply With Quote
Old Jul 20, 2013, 10:27 AM
Registered User
Germany, RP, Niederhausen
Joined Mar 2009
87 Posts
This is absolutely amazing Adrian!! I will test the new firmware and functions with my android devices.

Thanks for your fabulous work
Markus
kabelbrand is offline Find More Posts by kabelbrand
Reply With Quote
Old Jul 20, 2013, 01:39 PM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
Quote:
Originally Posted by kabelbrand View Post
This is absolutely amazing Adrian!! I will test the new firmware and functions with my android devices.

Thanks for your fabulous work
Markus
Markus, just bear in mind this code is for the MS5611 pressure sensor on this new board and will not work with the old BMP085.
extremewing is offline Find More Posts by extremewing
Reply With Quote
Old Jul 20, 2013, 02:16 PM
Registered User
Germany, RP, Niederhausen
Joined Mar 2009
87 Posts
Quote:
Originally Posted by extremewing View Post
Markus, just bear in mind this code is for the MS5611 pressure sensor on this new board and will not work with the old BMP085.
Oops, you are right! Sorry, so i have to wait a little bit and just have a look
at the code

Thanks
Markus
kabelbrand is offline Find More Posts by kabelbrand
Reply With Quote
Old Jul 20, 2013, 02:32 PM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
In this code I have broken out the BT module parts into their own class and done some tidying up...
extremewing is offline Find More Posts by extremewing
Reply With Quote
Old Jul 21, 2013, 01:36 PM
sewing machine thumb
United States, CA, Palo Alto
Joined Jul 2001
2,305 Posts
I'm having a bit of trouble with the downloaders.

With the Mac version, I unzip and try to execute, but get this message:

"Bluetooth Open Altimeter V4.1 is damaged and can't be opened. You should move it to the Trash" OS/X is version 10.8.4.

I also tried the Windows version, running Windows 7 in a Parallels virtual machine on a Mac. My Windows installation doesn't know how to open a JAR. I tried installing Java, but that was no help.

Any ideas?
Frank S is offline Find More Posts by Frank S
Reply With Quote
Old Jul 21, 2013, 04:35 PM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
Frank, on Windows, try looking at this: http://stackoverflow.com/questions/8...n-windows-7-64

For the Mac, this may help since it will not be signed: https://code.google.com/p/android/is...etail?id=57846
extremewing is offline Find More Posts by extremewing
Reply With Quote
Old Jul 21, 2013, 04:49 PM
sewing machine thumb
United States, CA, Palo Alto
Joined Jul 2001
2,305 Posts
Quote:
Originally Posted by extremewing View Post
For the Mac, this may help since it will not be signed: https://code.google.com/p/android/is...etail?id=57846
That worked. Pretty misleading error message by Apple.

Thanks, AD.
Frank S is offline Find More Posts by Frank S
Reply With Quote
Old Jul 21, 2013, 04:52 PM
A different attitude to RC
extremewing's Avatar
Draper, Utah
Joined Sep 2008
2,573 Posts
Great news Frank.
extremewing is offline Find More Posts by extremewing
Reply With Quote
Old Jul 21, 2013, 05:32 PM
sewing machine thumb
United States, CA, Palo Alto
Joined Jul 2001
2,305 Posts
As suggested, I also needed to load the latest VCP drivers, and I also needed to make the "if you get a port error" fix.

To pair my Mac with the BTOA, I had to tell click "passcode options" and "do not use a passcode with this device"

Once paired, I needed to exit/restart the downloader before "tty.BTOA-XXXX-SPP" showed up.

I'm going to go stick it in a DLG now!
Frank S is offline Find More Posts by Frank S
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Introducing BradWii - Open Source Multi-Copter Software bradquick Multirotor Electronics 720 Aug 09, 2014 02:25 PM
Build Log Open Altimeter Bluetooth Conversion extremewing Hand Launch 270 Apr 27, 2014 10:14 PM
Sold Spektrum telemetry altimeter sensor (SPMA9575) teryn1 Aircraft - General - Miscellaneous (FS/W) 1 Mar 10, 2013 03:05 PM
Question Cbr - VSI with altimeter sensor: How to setup? PhilSU Eagle Tree Systems 1 Jun 16, 2011 05:07 PM
Help! At wits end with original altimeter sensor Alan Hahn Eagle Tree Systems 4 Sep 25, 2009 09:28 PM