v1.7 - possible mod for free telemetry over BT with LCD

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

v1.7 - possible mod for free telemetry over BT with LCD

Post by Hamburger »

Hi,

since we already know how to setup a working BT connection between the LCD display and the arduino, we already have everything needed to utilize this as a telemetry service. No additional cost, no extra hardware needed.
For now this works with the TEXTSTAR LCD, because that has 4 buttons which I use to request one of 4 possible telemetry pages.
A - cycle time
B - Battery voltage and powermeter values
C - angles
D - nothing yet - maybe for future easy debugging inflight purposes.

For now user has to press button again to request update - this could be changed.
If you think this might come in handy tell me what values from the GUI (or from within the code) you would like to see in the telemetry pages.

In order to implement this I had to redefine the command letters Alex uses in Arduino and GUI code- hope that is okay.
Here's some photos -- no, limit is 256K here, too lazy to scale down photos, will post in RCG main thread.

I will upload code to Alex' google repository if someone is interested later.

Hamburger

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: v1.7 - possible mod for free telemetry over BT with LCD

Post by copterrichie »

Awesome, count me in.

User avatar
BlueAngel
Posts: 30
Joined: Sun Feb 27, 2011 11:35 am

Re: v1.7 - possible mod for free telemetry over BT with LCD

Post by BlueAngel »

wow, really nice.
So currently we have just to connect the Textstar LCD with 4 wires( VCC,TX,RX,GND) with the arduino and define it in the code and it works?

So i just need to buy that Textstar LCD?

+Bluetooth hardware for wireless

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: v1.7 - possible mod for free telemetry over BT with LCD

Post by Hamburger »

BlueAngel wrote:wow, really nice.
So currently we have just to connect the Textstar LCD with 4 wires( VCC,TX,RX,GND) with the arduino and define it in the code and it works?

So i just need to buy that Textstar LCD?

+Bluetooth hardware for wireless


exactly.
If you buy BT modules make sure you can configure one module to act as master and autoconnect to the other module.
Also, both must run at 115200 serial speed.

Hamburger

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: v1.7 - possible mod for free telemetry over BT with LCD

Post by Hamburger »

sources are up here: http://code.google.com/p/multiwii/sourc ... rger/v1.7/

you will need both the arduino code and the modified GUI code.
In arduino code the command characters are altered to avoid conflict with Textstar telemetry codes
The GUI ist modified to accept altered command characters again.

Hamburger

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: v1.7 - possible mod for free telemetry over BT with LCD

Post by Hamburger »

ok, some news:
now the LCD buttons act as start/stop for continuously sending the telemetry data.
Besides, page A now has cycleTime and maximum cycleTime. Again, this can be disabled via a #define.

Works via bluetooth, which changes the flying/setup/checking/monitoring experience.
Just get the copter close enough to your BT telemetry box and use it. See, no cables neccessary.

Updated code is in google repository.
Hamburger

Post Reply