Arduino device pulling canbus info used as a USB obd device? - Android Auto General

Hello all,
I'm trying to figure out if I could use an arduino to sniff canbus power train information and then somehow get this information to be used as a USB obd type device on android.
Currently my obd port is being used by another engine monitoring device so wondering if anyone has another solution to get canbus engine diagnostic info? I believe since I'd want read only it wouldn't interfere with the obd packet data too.
Thank you in advance for any pointers!
Sent from my SM-N910V using Tapatalk

Not sure if this OBD2 Y Splitter Flat Extension Cable would work as intended in your case, but check out the link below.
http://www.ebay.com/itm/151819772498?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT

rhacy said:
Not sure if this OBD2 Y Splitter Flat Extension Cable would work as intended in your case, but check out the link below.
http://www.ebay.com/itm/151819772498?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT
Click to expand...
Click to collapse
Unfortunately obd doesn't allow simultaneous data. The pid data interferes with each other.
Sent from my SM-N910V using Tapatalk

mroberte said:
Unfortunately obd doesn't allow simultaneous data. The pid data interferes with each other.
Click to expand...
Click to collapse
Maybe it depends on the device/application?
No idea, but I've been using one of those splitters to use Torque and a ScanGauge2 at the same time, haven't noticed any problems.

Andromeda_Station said:
Maybe it depends on the device/application?
No idea, but I've been using one of those splitters to use Torque and a ScanGauge2 at the same time, haven't noticed any problems.
Click to expand...
Click to collapse
The obd device hooked up now manages the engine and doesn't allow for a second device as it takes priority. Plus if any data is compromised by a second device, there could be engine damage, which I'll want to avoid.
Sent from my SM-N910V using Tapatalk

mroberte said:
The obd device hooked up now manages the engine and doesn't allow for a second device as it takes priority
Click to expand...
Click to collapse
Ah I see...some kind of tuning tool?

Andromeda_Station said:
Ah I see...some kind of tuning tool?
Click to expand...
Click to collapse
Yes, a piggyback that allows a bunch of gains and engine control. Allows me great output on the track, just need to more get the engine info to record it all.
Sent from my SM-N910V using Tapatalk

Related

our xda 2i got AV in and AV out??

ist possible make our xda 2i as screen display(AV in) or AV out??
how to do?
tq bro
And can i have a plugin dvd rom drive please
the only way you can do that is in your dreams
justlien said:
ist possible make our xda 2i as screen display(AV in) or AV out??
how to do?
tq bro
Click to expand...
Click to collapse
there is a battery/addon that allows vga output, but not av in just vga out and a composite video out, its for the xda2 but it works on the xda2i... well i have been told it does.
skeeve666 said:
there is a battery/addon that allows vga output, but not av in just vga out and a composite video out, its for the xda2 but it works on the xda2i... well i have been told it does.
Click to expand...
Click to collapse
meaning video file in our xda can show to tv?how to do it bro?ist need modify jack to bottom connector?which pin that can use for that purpose?
great info.
tq bro
justlien said:
meaning video file in our xda can show to tv?how to do it bro?ist need modify jack to bottom connector?which pin that can use for that purpose?
great info.
tq bro
Click to expand...
Click to collapse
if you open the back battery cover you can see a large plug below the battery the addon uses that, but you cannot mob the pda yourself.
here:
http://www.mobilefun.co.uk/product/3342.htm
they are hard to find but you can somtimes pick one up on ebay

RS232 Interface to control hardware?

Hello!
I have a piece hardware which can be controlled via a RS232 interface.
Now I want to replace my controller, a computer, through the Galaxy Tab. Is there a way to communicate from the Galaxy Tab to a RS232 interface with a normal Android App and the right connection hardware/cable?
I found the "FlexSerial" cable. Is this what I need?
i-mehl said:
Hello!
I have a piece hardware which can be controlled via a RS232 interface.
Now I want to replace my controller, a computer, through the Galaxy Tab. Is there a way to communicate from the Galaxy Tab to a RS232 interface with a normal Android App and the right connection hardware/cable?
I found the "FlexSerial" cable. Is this what I need?
Click to expand...
Click to collapse
I think your challenge may be more driver/software related as opposed to being hardware/cable related. If you do get the cable sorted out, getting the Tab to communicate with the RS232 cables in the right way may be tricky. The flex serial cable is certainly a start but the function you are looking for is probably very specific to the device you want to control so finding the right Android app will not be easy. Just out of curiousity, what device is it?
There is an interface for controlling devices like robots, valves, timers, etc called andruino and it had a developer kit for programming and app creating. I think it will help your project.
http://blog.makezine.com/archive/2011/06/adventures-in-android-adk-development-hardware.html
http://sven.killig.de/android/N1/2.2/usb_host/
ADK is not an option because the controlled hardware can't be changed.
@mkhattab:
Samsung Galaxy Tab Wi-Fi (P1010)
I have planned to development the Android App myself. But I read there are no API functions for a serial interface on Android :/
i-mehl said:
ADK is not an option because the controlled hardware can't be changed.
@mkhattab:
Samsung Galaxy Tab Wi-Fi (P1010)
I have planned to development the Android App myself. But I read there are no API functions for a serial interface on Android :/
Click to expand...
Click to collapse
Are there any APIs / functions for USB interface? I think that's more likely than RS232 and in that case you can use a converter cable provided you have the correct drivers
http://www.amazon.co.uk/USB-RS232-Converter-Cable/dp/B00077DJIQ
Hm no, or maybe it works with a Bluetooth RFCOMM socket and a dongle like http://serialio.com/products/adaptors/BlueSnapStd.php at the hardware
i-mehl said:
Hello!
I have a piece hardware which can be controlled via a RS232 interface.
Now I want to replace my controller, a computer, through the Galaxy Tab. Is there a way to communicate from the Galaxy Tab to a RS232 interface with a normal Android App and the right connection hardware/cable?
I found the "FlexSerial" cable. Is this what I need?
Click to expand...
Click to collapse
rangercaptain said:
There is an interface for controlling devices like robots, valves, timers, etc called andruino and it had a developer kit for programming and app creating. I think it will help your project.
http://blog.makezine.com/archive/2011/06/adventures-in-android-adk-development-hardware.html
http://sven.killig.de/android/N1/2.2/usb_host/
Click to expand...
Click to collapse
Hi,
Like rangercaptain say, Arduino IMHO is a good choice, another link could be usefully:
http://www.arduino.cc/
https://market.android.com/search?q=arduino&so=1&c=apps
http://www.engadget.com/2011/05/10/google-announces-android-open-accessory-standard-arduino-based/
google arduino + android
Hope to help you
Bye
Idk
@ifkidk:
You should read the previous posts so you don't repeat other advice, or give advice that was already rejected, before you post. It makes xda a little smoother.
rangercaptain said:
@ifkidk:
You should read the previous posts so you don't repeat other advice, or give advice that was already rejected, before you post. It makes xda a little smoother.
Click to expand...
Click to collapse
1st time i see you angry , chill out buddy. everything is acceptable so just let it pass
how are you btw ?
k0sh said:
1st time i see you angry , chill out buddy. everything is acceptable so just let it pass
how are you btw ?
Click to expand...
Click to collapse
Amigo, if that is anger showing, what do you call all those crazy things you say sometimes?!
You are too funny my friend! Good to hear from you.
rangercaptain said:
Amigo, if that is anger showing, what do you call all those crazy things you say sometimes?!
You are too funny my friend! Good to hear from you.
Click to expand...
Click to collapse
i felt like you said on the phone ( Gotcha ) .. sometimes i'm out of control because they force me to do so , i'm that kinda of person who give back
but come on , do you think all what have been happened before was funny though to remember specially if you see me now calm down , and my worst enemies are my friends now ... life goes on my friend you the one who should know that batter than me .. all the respect
rangercaptain said:
@ifkidk:
You should read the previous posts so you don't repeat other advice, or give advice that was already rejected, before you post. It makes xda a little smoother.
Click to expand...
Click to collapse
Hi rangercaptain,
Sorry, is not intentionally! i forgot to quote your post, i only added another link for further info
Bye
Idk
P.S.
I have change the post
I know Amigo, it sometimes happens to me.
I don't know anything for a fact about this subject but I will ask a question. Do you think the tab would have to be capable of going into USB host mode? Not as an external device (pc) controlling the tab but the tab controlling the external device (rs232 via USB via 30 pin proprietary Samsung data and charging port).
The second link I gave above is instructions for that. I thought the same as you, but I guess it's not what the op wants.

Anyone experience problems with MTP enabled music players?

Just wondering if anyone has managed to succefully use an MTP enabled music device (such as a car head unit or stereo) with an HTC one?
I have a car head unit that works fine with a $50 Android 4.0 alcatel phone but doesn't seem to work with my Android 4.3 HTC One.
Any advice is appreciated!
Sent from my HTC_PN071 using xda app-developers app
Newbieshwa said:
Just wondering if anyone has managed to succefully use an MTP enabled music device (such as a car head unit or stereo) with an HTC one?
I have a car head unit that works fine with a $50 Android 4.0 alcatel phone but doesn't seem to work with my Android 4.3 HTC One.
Any advice is appreciated!
Sent from my HTC_PN071 using xda app-developers app
Click to expand...
Click to collapse
I don't believe there are any cars which support MTP for now. UMS is only supported in most cases and you need a car from sometime this year which by a small tiny chance will support UMS. The alcatel phone has an ext SD card, am i wrong? That allows for UMS. Sorry man but if you want an MTP player in your car, ya gotta refit the audio or get a new car. BTW here is a LINK to one of those players. Hit me up with a thanks if i helped. PM me if you have more questions
Bllooi said:
I don't believe there are any cars which support MTP for now. UMS is only supported in most cases and you need a car from sometime this year which by a small tiny chance will support UMS. The alcatel phone has an ext SD card, am i wrong? That allows for UMS. Sorry man but if you want an MTP player in your car, ya gotta refit the audio or get a new car. BTW here is a LINK to one of those players. Hit me up with a thanks if i helped. PM me if you have more questions
Click to expand...
Click to collapse
I installed a new headunit. It specifically states Android compatible (must be android 4.0+ with MTP). This is what the headunit states....So I think it is compatible. It also seems to work with a friend's Galaxy SIII, it just doesn't like my HTC.
But thank you for trying to help.
Newbieshwa said:
I installed a new headunit. It specifically states Android compatible (must be android 4.0+ with MTP). This is what the headunit states....So I think it is compatible. It also seems to work with a friend's Galaxy SIII, it just doesn't like my HTC.
But thank you for trying to help.
Click to expand...
Click to collapse
Hmmm. It works with my HTC One and S4
Idk if it's the same tho
Bllooi said:
Hmmm. It works with my HTC One and S4
Idk if it's the same tho
Click to expand...
Click to collapse
So I have that exact same unit!
When I plug in my HTC One it gives "USB error 19".
Any Ideas?
Newbieshwa said:
So I have that exact same unit!
When I plug in my HTC One it gives "USB error 19".
Any Ideas?
Click to expand...
Click to collapse
Never seen that error before ._. Sorry man. Just googled it and seems people are having problems with the pioneer and having the exact same error. Maybe pioneer has a for that you can discuss this abt?
So this is my unit: http://www.pioneer.com.sg/storefront4/ProductDetail/default.asp?ProductId=1349&CatId=,2,33
It says under specifications "requires CD-MU200 (for Android)." Any idea what that is?
Newbieshwa said:
So this is my unit: http://www.pioneer.com.sg/storefront4/ProductDetail/default.asp?ProductId=1349&CatId=,2,33
It says under specifications "requires CD-MU200 (for Android)." Any idea what that is?
Click to expand...
Click to collapse
Ohhh, you need the cable man. I think it's sold separately for you I got mine with the unit. If it's with the unit just use it. Here's a link
[URL="http://m.bestbuy.com/m/e/product/detail.jsp?skuId=1663018&pid=1219059089480"clickhere[/URL]
If I helped hit me up with a thanks. Cable is $30 tho if you don't have it that sucks.

External Memory

I want to expand the Note 5's memory in order to listen to my music collection. I'm using the following adapters with a micro SD-XC card:
http://www.amazon.de/gp/product/B00DOYNI8A?psc=1&redirect=true&ref_=oh_aui_detailpage_o06_s01
and
http://www.amazon.de/gp/product/B00DUV1E9C?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s00
Unfortunately, the music stops playing after a while and the Note shows the message that the external memory has been removed. So I have to unplug and replug my construction back into the Note 's USB-OTG plug in order tu continue my music enjoyment.
I'm using the N920C, Android 5.1.1. everything stock, no root.
I listen my music with the Poweramp app.
Turning on or off USB-Debugging does not solve the problem.
I tried Different adapters, cards and cables and I always get this problem. Can anyone confirm this behaviour and does anyone have an idea how to fix that issue?
.. I'm in search of a WiFi-micro SD-XC cardreader to wirelessly stream my music to the Note . Does anyone know such a device?
Thank you for your help!
pimpl said:
I want to expand the Note 5's memory in order to listen to my music collection.
Click to expand...
Click to collapse
Why don't u use something like that? It's very convenient!
http://www.amazon.com/SanDisk-Android-Smartphone-Tablet-SDDD-032G-G46/dp/B00HR78S2Q
Fullmetal Jun said:
Why don't u use something like that? It's very convenient!
http://www.amazon.com/SanDisk-Android-Smartphone-Tablet-SDDD-032G-G46/dp/B00HR78S2Q
Click to expand...
Click to collapse
I use this also but 64gb version. Works a treat.
Sent from my SM-N920I using Tapatalk
me_ashman said:
I use this also but 64gb version. Works a treat.
Sent from my SM-N920I using Tapatalk
Click to expand...
Click to collapse
Yea it's awesome. I also use the 64GB!
Fullmetal Jun said:
Why don't u use something like that? It's very convenient!
http://www.amazon.com/SanDisk-Android-Smartphone-Tablet-SDDD-032G-G46/dp/B00HR78S2Q
Click to expand...
Click to collapse
I use the USB 3.0 version. Works great. As I have it attached to my key ring I use it too a lot for PC-PC transfer while moving here and there and the USB 3.0 on the PC side is way much faster.
http://www.amazon.com/gp/product/B0...rd_t=36701&pf_rd_p=2253014322&pf_rd_i=desktop

Unofficial Android Auto SDK, custom apps

Anyone interested in writing custom Android Auto apps?
github.com / martoreto/aauto-sdk
hopefully someone enable youtube[emoji16]
Sent from my HUAWEI MT7-TL10 using Tapatalk
ahhl said:
hopefully someone enable youtube[emoji16]
Sent from my HUAWEI MT7-TL10 using Tapatalk
Click to expand...
Click to collapse
Yeah....
Because when he wrote
With great power comes great responsibility. Do not write apps that distract drivers. Distraction is dangerous.
Click to expand...
Click to collapse
What he meant was:
Lets put Youtube clips in your dashboard
martoreto said:
Anyone interested in writing custom Android Auto apps?
github.com / martoreto/aauto-sdk
Click to expand...
Click to collapse
How did you get this ?
martoreto said:
Anyone interested in writing custom Android Auto apps?
github.com / martoreto/aauto-sdk
Click to expand...
Click to collapse
Great!
Now I have a crazy idea: Make an Xposed Module has uses this SDK for hooking any of your installed Apps and make it compatible with AA.
This will be the holy grail! :fingers-crossed:
leonkernan said:
Yeah....
Because when he wrote
What he meant was:
Lets put Youtube clips in your dashboard
Click to expand...
Click to collapse
if you check AA developer mode, there option to allow video 720p already. just need someone to link/enable it.
Sent from my HUAWEI MT7-TL10 using Tapatalk
---------- Post added at 05:20 PM ---------- Previous post was at 05:18 PM ----------
manos78 said:
Great!
Now I have a crazy idea: Make an Xposed Module has uses this SDK for hooking any of your installed Apps and make it compatible with AA.
This will be the holy grail! :fingers-crossed:
Click to expand...
Click to collapse
oh.... nooooo........ i don't want to root my phone....
a lot of banking apps doesn't work if rooted
Sent from my HUAWEI MT7-TL10 using Tapatalk
ahhl said:
if you check AA developer mode, there option to allow video 720p already. just need someone to link/enable it.
Click to expand...
Click to collapse
AA uses a "video" stream for sending the screen data to the HU. This option (and the new 1080p) it's only for forcing the resolution. Stock size is 640p, and enhanced sizes are 720p & 1080p. Nothing related to "video play"!
ahhl said:
oh.... nooooo........ i don't want to root my phone....
a lot of banking apps doesn't work if rooted
Click to expand...
Click to collapse
You're free to not use it! I'm using Magisk+Xposed and my banking apps. :laugh:
And the idea is fresh: Add "hooked" AA compatibility on-the-fly to any app! This can be done using Xposed.
f1x said:
How did you get this ?
Click to expand...
Click to collapse
It's extracted from Waze, here's the download URL:
github.com / martoreto/aauto-sdk/blob/master/build.gradle#L5
There is already a user, working on youtube application for android auto
https://forum.xda-developers.com/ge...-youtube-player-android-auto-pre-app-t3687987
mauricioacf said:
There is already a user, working on youtube application for android auto
https://forum.xda-developers.com/ge...-youtube-player-android-auto-pre-app-t3687987
Click to expand...
Click to collapse
Interesting... However, I prefer other type of Apps.
not necessarily to watch video, sometime you can "hear" mp4 song is also enough, rather than every time converting mp4 to mp3, when you want to listen
something like hearing waze instruction, once a while, not like you have to look at waze every time
if you understand what i am trying to say...
Sent from my HUAWEI MT7-TL10 using Tapatalk
ahhl said:
if you understand what i am trying to say...
Click to expand...
Click to collapse
I got it! :good:
martoreto said:
Anyone interested in writing custom Android Auto apps?
github.com / martoreto/aauto-sdk
Click to expand...
Click to collapse
wow. it is a remarkable good news.
I hope it's also possible to put an app running on the phone on the car screen.
Or is it possible to create an app that mirrors the phone screen?
I am looking forward to the development of the developers in the future.
Thanks.
stylemartin said:
wow. it is a remarkable good news.
I hope it's also possible to put an app running on the phone on the car screen.
Click to expand...
Click to collapse
Well, this is not easy to do automatically, as car activities are quite different from normal ones.
stylemartin said:
Or is it possible to create an app that mirrors the phone screen?
Click to expand...
Click to collapse
This is possible, but:
Passing touchscreen events requires root.
Android Auto normally replaces screen content with its logo and it would be mirrored.
martoreto said:
Well, this is not easy to do automatically, as car activities are quite different from normal ones.
This is possible, but:
Passing touchscreen events requires root.
Android Auto normally replaces screen content with its logo and it would be mirrored.
Click to expand...
Click to collapse
Even if you do not touch it, it will be a big help if you can see it on the car screen. I want to run 3rd party GPS app instead of Google map.
Don't know if its related, but how about V4A or other audio processors working on AA? At the moment none do...
Sent from my LG-H870 using XDA-Developers Legacy app
krilok said:
Don't know if its related, but how about V4A or other audio processors working on AA? At the moment none do...
Click to expand...
Click to collapse
Actually on my head unit I am able to listen to Spotify enhanced by V4A ,if this is what you mean.
ermeda said:
Actually on my head unit I am able to listen to Spotify enhanced by V4A ,if this is what you mean.
Click to expand...
Click to collapse
Unfortunately, not on the one built in on my Kia. Given it a lot of tries and with different phones and roms, but no go... Only works with Bluetooth, not while plugged in through USB and AA running...
krilok said:
Unfortunately, not on the one built in on my Kia. Given it a lot of tries and with different phones and roms, but no go... Only works with Bluetooth, not while plugged in through USB and AA running...
Click to expand...
Click to collapse
Strange...
Anyway,even if connected with USB for AA head unit , audio goes through Bluetooth , did you enabled V4A in Bluetooth?
ermeda said:
Strange...
Anyway,even if connected with USB for AA head unit , audio goes through Bluetooth , did you enabled V4A in Bluetooth?
Click to expand...
Click to collapse
Audio is channelled through USB while on AA, as far as I know... At least that's what I've read on specialised sites, forums, and tested on my own car. V4A works well while streaming through Bluetooth, but once you plug it in to USB, no processing is done since the head units DSP takes over...

Categories

Resources