AcuraZine - Acura Enthusiast Community

AcuraZine - Acura Enthusiast Community (https://acurazine.com/forums/)
-   Audio, Video, Electronics & Navigation (https://acurazine.com/forums/audio-video-electronics-navigation-22/)
-   -   [WORKING!] Hacking the GA-NET (IEBus) to get touchscreen coordinates (https://acurazine.com/forums/audio-video-electronics-navigation-22/%5Bworking-%5D-hacking-ga-net-iebus-get-touchscreen-coordinates-346909/)

angrycamel 08-27-2006 03:56 PM

[WORKING!] Hacking the GA-NET (IEBus) to get touchscreen coordinates
 
Shortly after purchasing my 2006 TSX w/Nav, I started to daydream of the things that I could do to make the car more for me, aka geekier. I remembered the M10000 that was sitting in the closet, along with some other computer parts, just waiting to be built into a nice little car computer. So I started my searching for a case and decided on an IBM Netvista case. Its small enough to mount in the trunk yet large enough to fit all of the car pc components neatly tucked away inside of it. I was able to find the case on Ebay for $10, and the M10000 mounts perfectly inside of it. I decided on the MT-ATX2 160W for my power supply and got that on Ebay as well for $70.

One of my goals with putting the carputer in the TSX was to make use of the stock screen and touchscreen system to interface with it. With a quick search on the acurazine forums I found info on Dom's module from navandtv2go.com and was lucky enough to get in on a group buy only paying $225 for the module including the PnP wire harness.

Interfacing the stock touchscreen into the carpc is proving to be much more of a challenge than the display. I have scoured the internet for as much information as I can gather about how the stock nav touchscreen works. From the information that I have collected it looks like I will have my work cut out for me as many others before me have tried this without success. I believe that if I can get this to work then, just as there is a market for Dom's display module, I believe there is also a market for a PnP touchscreen module.

The touchscreen signals are transmitted to the nav computer over a communications bus called, GA-NetII, as the '06 TSX ETM likes to call it. However, after a bit of searching I found out that it is simply a known communications bus standard called, Inter Equipment Bus or IEBus for short. The name IEBus was given by NEC, however other manufaturers use the same system but each have there own name for it or they have built their own on top of the IEBus standard hence teh new names. Toyota likes to refer to it as the AVC-LAN as I have learned from reading through the Prius forums. Pioneer dubs it the IP-BUS. Some have had success in sniffing packets over this bus but nothing has ever come of it; as the the acurazine thread I mention, died. There is documentation on how packets are structured over the IEBus as shown on this diagram: http://www.interfacebus.com/IEbus_Protocol_Frame.gif

so it should be possible to create a device that can hook into the IEBus and listen to all of the traffic and respond accordingly or divert traffic from the nav computer to my computer.

IEBus is simply a network in your car. Each device on that network has a unique id that differentiates it from the other devices. It is with a device's address that other devices on the network use to dirrect traffic (packets of data) towards it. One device will broadcast (master) and the other device (slave) will recieve it. When the master sends the broadcast over the network, all devices can see it but since he included his target devices address in the packet header, all the other devices will ignore the packets except the intended recipient (slave). Sound familiar? If your familiar with TCP its not any different in the sense that you address a computer and start sending packets. Its my thinking that if I can create a module to listen to the packets intended for the touchscreen controller in the nav computer, then I could decipher the data on the fly, sending it to my carputer where a driver is waiting to translate the XY coords into mouse location clicks. This could first be done with software durring the research phase then later moved onto a circuit board with a pic controller.

To start with, I need to read the data going over the IEBus and log it to my PC so that I can analyze it and write a program to parse the packets. It is my understanding that to do this, I will need an oscilloscope. I am not very familiar with this field but I have found that I can download software for the PC which will take the signal into the line in on the soundcard using it as an ADC (analog -> digital converter). Here is the one that I used for my tests. Using that program I was able to get some data written out as a wave file. However I am not familiar yet with what I am looking at. I did see the oscilloscope waves jump everytime I hit the touch screen, which was very encouraging. Now to figure out what is what.

If anyopne is interested in chatting with me on a technical level only, please send me a PM. I am looking for someone who has the interest and know how to work on a project like this with me.

angrycamel 08-27-2006 10:24 PM

Wikipedia Page created
 
Since I am gathering a lot of information that I had to get from a lot of different sources (mostly forums) I figured it wouldn't be a bad idea to group some of this into one place for the next guy.

http://en.wikipedia.org/wiki/IEBus

It is very simplistic at the moment but I encourage anyone with the knowledge to update it as well. I will be adding more once I have had more sleep.

angrycamel 08-27-2006 10:34 PM

I wish some of the other folks who have started this in the past were around to work on it now... like Dave: https://acurazine.com/forums/audio-video-electronics-navigation-22/touch-screen-data-bus-242121/

stogie1020 08-27-2006 11:27 PM

Any reason not to simplify things and load WindowsCE onto the carPC, then just have an A/B switch in the car to switch over to the WinCE inputusing a Y-harness to the Nav system?

Also, you probably found these, but here are some resources:

http://www.carpc.nl/index.shtml

http://www.jpstewart.net/CarBlog/

Good luck!

angrycamel 08-28-2006 07:20 AM

Maybe you misunderstood when reading the post. The touchscreen stuff is going over a communications bus called IEBus. WinCE cannot decode IEBus packets natively.

Thanks for the links, however niether of them make any references to IEBus communications or even attempt at using a stock navigation touchscreen system in their setups.

angrycamel 08-28-2006 08:36 AM

Good News
 
I woke up this morning with a great suprise... I received a reply from my email sent to Dave (aka 2002TLSNavi) who has worked on this very same concept in the past. In his research he had written a program to decode the IEBus packets and has been kind enough to send it to me.

I am very excited to get working on it with this new information. I hope I can just pickup where he left off without having to reinvent the wheel too much.

Thanks Dave!

I will post when I have some more results.

MaxT 08-29-2006 08:10 AM

There is a tread in DIY section on hacking of the navi (DumpNAVI by bysin), where bysin mentioned that "the actual navigation system is in Windows CE running a SH-4 processor..." Do you think it is possible take display and other necessary drivers out, reverse-engineer them and create drivers for Win XP?

stogie1020 08-29-2006 02:20 PM

:stupid:

angrycamel 08-29-2006 09:32 PM

Ya, I'm familiar with the navi system... this is more of a comm bus thing. But thanks for the input.

Yui 08-30-2006 08:10 PM

Hey, I think a while back you posted a thread asking for schematics in the service manual. There were none for the navigation unit, really. I apologize for not following up with that and letting you know earlier. I hope this works out cause it's something I'd really like to see as well!

angrycamel 08-31-2006 10:13 AM

Well I was actually posting earlier to say that I had ordered the 06 etm and that I wouldn't mind scanning a couple pages for people if they needed it. I have the etm and its very handy.

angrycamel 09-03-2006 10:13 PM

Good News
 
I am currently working on the design of a circuit which will handle connecting to the IEBus and transmitting the touch X, Y coordinates to an HID (Human Interface Driver) on windows.

kangjin 09-04-2006 01:45 AM

keep up the good work!

Reach 09-04-2006 09:14 AM

very interested, please keep us posted of any success.

Tsx536 09-04-2006 05:45 PM

Sounds great, keep at it :thumbsup:

angrycamel 09-10-2006 07:56 PM

Finally found some IEBus IC's
 
Well its looking like I may be getting my hands on the IEBus chip which will deffinately move this little project further at a very rapid pace. I am excited to get the chips in and start programming! This means of course I can scrap the plans of writing the IEBus protocol into a PICMicro (or a similar ic) since this chip is dedicated.

Wish me luck!

angrycamel 09-11-2006 07:20 PM

Some bad news about the IEBus chips
 
The minimum order is 96 at $4.20 each. For those who don't feel like busting out the calculator, thats $403.20 simply for me to get one chip to make a prototype with. For me, that is a lot of money to put into a hobby project that will ultimately include many other elements in the same price range in order to get a working board. This is not a mildy expensive project as I thought it may be from the beginning. This is a very expensive project! I estimate that just making a few boards to test with will end up costing me well over $2k.

This leaves me in a bit of a pickle, as I would really like to invest in the project in the hopes that I may be able to sell a couple of these to help recoop the costs of the development, but at this point I do not have a clear idea of the community interest. I know that having the ability to use the stock touchscreen system with my carpc is something that I would really enjoy, however do enough people out there think the same way? Will I be able to sell enough of these in order to break even or will I be in the hole by a lot? What price could I sell something like this for in order to ensure that I break even, without turning people off from the idea?

These are just a couple of the questions that are running through my head at the moment and I may decide not to pursue the project simply because of the financial burden it may cause if I cannot resell a few to pay it all back.



With that bad news out of the way, there is some good news. If I do end up making the unit, it will be Plug N' Play natively.
Here is a hint at what I mean... (the image shows the 16 pin connectors in the drawings but its really the 20 pin I am interested in obviously)

http://www.angrycamel.com/Navigation...ompilation.png

angrycamel 09-12-2006 08:52 AM

I corrected the socket connector image. It now shows the 20 pin parts that we need to connect to the back of the navi unit in the trunk.

kangjin 09-12-2006 12:10 PM

I think it'd be worth between $150-300, though I don't know how many people would be interested in the application.

I'd be in for one!

elduderino 09-12-2006 01:13 PM

I believe that AV Electronics are making a harness to plug and play their TV tuner input module onto the screen. They weren't selling it seperately last I checked.

I would contact someone like Dom at TVandNav2Go and ask if he could sell some of them.

angrycamel 09-12-2006 03:07 PM

Thank you guys for the feedback. Sounds like I this may be one of those things that people don't think they want it until they see it in action. We'll see how it goes. I am still trying to convince the distributor to give me a couple samples to make a prototype with. They didnt even want to do that much. So wish me luck.

angrycamel 09-12-2006 11:05 PM

elduderino - I sent an email to Dom proposing the idea. I will most likely hear back from him soon.

About the connectors, I did not mean that I was looking for someone who could get me those connectors as much as hinting at the fact taht I have a manufacturing source for them that does not require custom injection molding like Dom does. Hence they are much cheaper.

angrycamel 09-15-2006 02:45 PM

Finally, I am making some real progress!
 
I just got off of the phone with the distribution rep and I will be getting 5 samples of the IEBus chips in the mail in about 2 weeks. That means I can actually build a prototype! So after almost 4 solid weeks of research and phone calls, I will be able to start building the circuit.

I have four development goals in mind in order to get this board from point A to point B.

  1. Using the IEBus chip and another microcontroller, build a simple data logger which can send bus data over serial to the PC and also write a quick pc app to log the data from serial to a file.
  2. Add the LED display module to the circuit. Program the microcontroller to watch for touch packets only and display the touch coordinates on the led display.
  3. Program the microcontroller to send coordinates to the computer over serial in a format that can be used by a Windows HID Driver.
  4. Remove the LED display and convert from using RS-232 serial to using a USB connection to the PC. Change the HID driver to support the new USB Interface Controller.
After that... its all gravy. Adding features and making it the coolest thing since sliced bread. :P

One feature I have in mind is a way to use existing buttons on the dash to switch the video and touchscreen over to a secondary source. This will prevent the need for installing a non-stock switch of some kind somewhere in the dash. (Imagine, holding down the mode button on your steering wheel for 3 seconds to switch the video source)

Masterpoolcat 09-15-2006 03:07 PM

Can't wait! Keep up the good work! :thumbsup:

Yui 09-15-2006 03:09 PM

Wow, great news on the update. Please keep us posted! I'm in for the group buy whenever you get around to that stage =)

I was planning on using the VSA/moonroof area for mounting my toggle switch. Just received a couple of replacement blanks in the mail today that I'll be able to drill into as tests.

angrycamel 09-16-2006 03:02 AM


Originally Posted by Yui
Wow, great news on the update. Please keep us posted! I'm in for the group buy whenever you get around to that stage =)

I was planning on using the VSA/moonroof area for mounting my toggle switch. Just received a couple of replacement blanks in the mail today that I'll be able to drill into as tests.

Yup, if I had to pick a spot, that would be my first choice. However I would perfer not to do any modification to the car at all. My goal is to have a system that is completely plug n' play without any hardware switches wired anywhere.

angrycamel 09-16-2006 03:41 AM

Got the connector samples
 
I forgot to mention earlier that I also got my sample connectors in the mail today. Check out this little collection of pics I took with the samples sitting next to Dom's PNP harness:

http://www.angrycamel.com/Navigation...torSamples.png

boxerboys 09-18-2006 03:50 PM

I too am very interested in this project. I have been looking for a way to interface the stock touch screen with a carputer for some time now. Thanks for the work!

met152 09-21-2006 08:29 PM

does the TL use the same connectors and same IEBus that the TSX uses?
Also, will you be releasing the schematics or maybe offering this as a kit that people could solder the parts themselves? It would reduce the costs, but I'm guessing there aren't a whole lot of people here familiar (or comfortable) with soldering ICs.
Thanks, and good luck. Let me know if you'll need any beta testers :-)
I'd be more than happy to help with testing.

met152 09-21-2006 09:10 PM

angrycamel,
I have no idea if this would be of any help to you, but it is directed toward Prius owners (which you mentioned uses the same comm protocol).
http://hybridinterfaces.ca/index.html
actually, looking closer at this, I don't think it'll be any help but I figured I'd post it anyway.

angrycamel 09-21-2006 09:45 PM

A quick glance over at Dom's site can answer the question regarding the connectors. The following cars use the AH-20 pin connector (as they call it). The same pin as the one shown above.

2004-2006
Acura CL,
TSX,
RL


2003-2006
Acura TL,
MDX,
Accord



Thanks for the link about the Prius stuff, however it is talking about the CAN bus which is different from the IEBus in which the touchscreen communicates over.

I am not at the point yet to make any decissions on how the product will be sold. I have not even made a prototype yet. At this point, you can really look at this project as vaporware until I get a working prototype. When I do, I will begin to strategize how I will want to distribute it.

My prototypes will be extremely limited in quantity. So if I get a couple to work then I will only be testing locally more than likely. Anyone who would be willing to do a Richmond meet could help me test it on multiple cars.

angrycamel 10-02-2006 04:51 PM

Great news... I received some IEBus chips!
 
When I got home this afternoon I found a package on my doorstep from Japan! That's right, I now have some sample IEBus chips to work with in creating the first prototype board! Now the fun begins.

Here is a shot of the chips:
http://angrycamel.com/06TSX/IEBusSampleChips.jpg

angrycamel 10-02-2006 07:49 PM

Here is a shot of the first soldering attempt. Putting the chip on this prototype board for small IC's allows me to work with it easier by putting larger and more spaced out legs on it. Once I do that I can plug it into a breadboard.

http://angrycamel.com/06TSX/onProtoBoard.jpg

met152 10-02-2006 07:58 PM

great work angrycamel. i hope things work out like you have planned. i'm really interested in this project. i wish you well.
you may have already though of this, but have you thought about seeing if the touchscreen is a standard 4 wire resistive panel? could we splice the wires from a touchscreen overlay kit that would interface with usb? does this make sense what i'm asking?
i know you're trying to avoid cutting and splicing with this though.

angrycamel 10-02-2006 08:07 PM

Oh trust me, if I could have just cut some wires and ran a 4,5 or even 8 wire resistive system directly to the pc with a touchscreen controller such as this one I would have. However the touch technology is all done in the display from what I understand because the only information that is sent back to the navigation computer in the trunk is the coordinates of the touch. They of course, are sent over the IEBus. That is the reason behind all of this hassle, not to prevent from splicing some wires. :P

otherguy 10-16-2006 10:17 PM

Any further progress? So far this looks very promising, I'm very curious to see how it turns out. I'd totally be in for a group buy if it works out. Please keep us posted!

angrycamel 10-18-2006 07:28 AM

On hold for a couple weeks
 
I have had to put the project on hold for a couple weeks while I remodel a house I am purchasing for my sister to live in. You know how it goes, family first.

To give you an idea where I am on it... I have a schematic drawn up and I am eager to start putting the board together. I am still in the dark a little on how I am going to interface the NEC chip with my IC, but I am sure I will figure all that out in time.

Thanks for the interest everyone!

Tsx536 10-18-2006 11:48 PM

Yep, those damn priorities always get in the way :D Keep up the good work though!

met152 10-19-2006 12:06 PM

angrycamel,
Have you seen these pictures of the stock screen disassembly?
http://www.mp3car.com/vbulletin/showthread.php?t=60260

It appears to me that the stock screen uses a 4-wire resistive touchscreen. It'll require some decent disassembly to get to it. I'm going to order a touchscreen usb controller and try to piggyback off these signals. I don't know if it'll work out, but it's a backup plan if your module doesn't work out. What do you think?

angrycamel 10-19-2006 11:17 PM

Nice find on that screen assembly. It would defnately be easy to do the 4 wire interface to a PC with a simple touchscreen controller like the one I mentioned on the 1st page of this thread. However it would require quite a bit of hardware hacking to get it done. I can't imagine many would be too keen on that. I am hoping for a more plugN'play solution.

If you end up trying that though, let me know how it turns out, I would be very interested.


All times are GMT -5. The time now is 08:24 PM.


© 2024 MH Sub I, LLC dba Internet Brands