Hi
New here, great info everywhere on the forum BTW so apologies if my question has already been asked.
I have an Arduino 2650 Mega happily communicating with Torque Pro via bluetooth (HC06), it took me a little while reading up how to go about it but very pleased when I got it working, so thanks for all the info.
I then read that Torque Pro will talk to some USB connected ELM327 OBDII readers, this got me thinking I should try to connect the same Arduino code via USB instead of Bluetooth, OTG Host cable etc.
I downloaded ArduinoCommander, ArduinoDroid and Android USB Serial Lite.
Downloading these apps installs the serial drivers, allows the Arduino to be enumerated etc, When I open the serial monitor I can see the Arduino sending serial comms through the OTG USB port and it arriving in the Serial Monitor.
So things I know to be true are:
1) My Android device works in host mode.
2) Android can enumerate the Arduino USB bridge correctly.
3) Serial data from the Arduino is seen in my Android serial
monitor, presumably as a virtual serial port.
From what I’ve read Torque Pro needs to see a Prolific or FTDI USB bridge.
I think the Arduino Mega256 uses a ATmega16U2 for the uart to USB bridge.
Given that I can see there is a driver path, i.e. I can even program the Arduino from my Android Phone using ArduinoDroid, is it possible to get Torque Pro to use the Arduino virtual serial port driver that is installed with ArduinoDroid.
Torque Pro does see the Arduino, asks to set as default app for the device, but never properly connects. No compatible devices are available. Although it clearly keeps trying to connect.
I have not yet to setup a loopback so that I can see if Torque is sending data, this could just be a protocol issue. I’ve set the baud rate to automatic, also set the Arduino code to 115200 and Torque to 115200. So I don’t think its a baud rate problem.
The bluetooth connection works great, using mode 6 (CANBUS) 11/500.
Any info for USB connection appreciated, maybe which protocols Torque Pro tries to connect with via USB? , relevant threads etc.
Thanks for reading
EVT
|