Hello Guys
I'm actually testing this app, and like to share the whole installing/wiring process.
First of all, let me say a big THANKS to Mark that developed this app,
Hardware used:
- A Galaxy S4Zoom SM-C105, this is a small screen device but any device with Android supporting Bluetooth (and OTG in my case) would work
- A Cycle Analyst (any version seems to work fine, I have tested a V3 and a V2.24 B6 LRC) with at least the serial output data stream
- A bluesmirf silver, in my case from Sparkfun)
- A TRS (or TRRS miniJack Audio cable ending with soldering wires or jumpers http://www.robot-italy.com/media/catalog/product/cache/4/image/d43192dcd82ea942982b4b1d2a6e2479/1/1/11580-01.jpeg
- A TTL USB cable ending with labeled jumpers http://www.robot-italy.com/media/catalog/product/cache/4/image/d43192dcd82ea942982b4b1d2a6e2479/1/2/12977-00.jpg
- An OTG micro USB cable http://ecx.images-amazon.com/images/I/51AjFXXhBDL._SL1000_.jpg (to program the BT module instead of using a PC but Arduino or any Linux/win environment in any device could be used as well if a serial terminal is provided)
- some jumper wires, soldering iron and consumables
- Plastic Box and DCDC from Matt's (Recumpence) RCthrottle interface http://endless-sphere.com/forums/viewtopic.php?f=28&t=12196
- plugs to connect the DCDC to the main e-bike Pack
Software:
- ANdroid 4.4.2
- The Ebike Analyzer App for Android from Mark (read his description to get it in the first thread post)
- The FDTI UART Terminal v1.0 for Android (free from PlayStore) used to change the Baud Rate on the BT module from the default to the 9600 needed for the CA stream.
So I've firstly connected the USB TTL pigtail cable to the BT module providing to it even the 5v. the Cable I have has labeled wires. Than, thru the OTG cable and using the FTDI UART app, I've changed the Baud Rate as per SparkFun's well made guides. (https://learn.sparkfun.com/tutorials/using-the-bluesmirf)
Than wired the DCDC output to the BT module mating CAgnd, BTgnd and DC- and connecting VCC to DC+, plus crossing Tx and Rx of CA and BT module using the AudioTRS pigtail cable.
I have ENclosed everything inside the Ex-RCinterface box from Matt that results very clean: only 2 thin DCDC imput wires and the CA serial TRS cable.
View attachment 1
I still think that let the App to work even directly over the OTG port would be great, it should be cheaper (no BT module needed) and cleaner, if you use the Android device on the handlebar close to the CA, also, should be less consuming than using BT for the smartphone Battery.
However, I've now realized better that BT allows you to use the micro USB port for other stuff like OTG storage as well as charging the phone from the DCDC, and even allows the Phone to be kept in your pockets or backpack for datalog and GPS ability using the CA main screen as usual, or otherwise, even allowing you to keep The CA and cabling enclosed and not visible in a Box (my thoughts are for Trikes or LEVs and static uses) and an Android device on the handlebar.
Hope that's useful for someone.....thanks again MArk