Acura C Connector 8 Pin PnP Harness

Posted by angrycamel at December 5th, 2007

I may be able to get some of the C connectors (8 pin) for the back of the navigation unit. Would anyone be interested in a harness to gain access to the wires on that plug without damaging anything?

So far I have had one person request it and have been thinking about doing it for myself to get to ACC, Power, and Diagnostics in the trunk. With a simple little harness for this you could make any solution involving those wires, plug n’ playable.

Let me know if it would be worth it for me to order some. It has to be a bulk order, therefore it would be quite an investment on my part, so if you care, please leave some feedback.

The reference to the “C” connector is from my 2006 ETM. Click on the thumbnail below to see a PDF with an image of the connector.

Connector C (8-Pin Navigation)

C Connector - Navigation

Posted in Wiring, Acura, Navigation, Harness, Connector, IEBus, Automotive, Electronics| 1 Comment | 

IEBus - Mouse Control Test

Posted by angrycamel at November 13th, 2007

I made a video showing a recent test that I did with the latest version of the mouse control software. The software shown in this video will cause the mouse to move to the touch event’s coordinate and click. This is triggered by the touch event handlers in a DLL which was produced by IEBus Studio. The grid application shown in this video is merely there to provide a visual representation of the clicks.

Here is an excerpt of the log file that I used:

~01013101830F0F37310D0001030A0600000000000092
~01013101830F0F37310D0001030A0600000000000092
~01013101830F0F37310D000103000000000000000082
~01018301310F08590D3102012101BE
~01013101830F0F37310D0001030A0600000000000092

~01013101830F0F37310D000103010100000000000084
~01013101830F0F37310D000103020100000000000085
~01013101830F0F37310D000103030100000000000086
~01013101830F0F37310D000103040100000000000087
~01013101830F0F37310D000103050100000000000088
~01013101830F0F37310D000103060100000000000089
~01013101830F0F37310D00010307010000000000008A
~01013101830F0F37310D00010308010000000000008B
~01013101830F0F37310D00010309010000000000008C
~01013101830F0F37310D0001030A010000000000008D
~01013101830F0F37310D0001030B010000000000008E
~01013101830F0F37310D0001030C010000000000008F
~01013101830F0F37310D0001030D0100000000000090
~01013101830F0F37310D0001030E0100000000000091
~01013101830F0F37310D0001030F0100000000000092
~01013101830F0F37310D000103100100000000000093
~01013101830F0F37310D000103110100000000000094
~01013101830F0F37310D000103120100000000000095
~01013101830F0F37310D000103130100000000000096
~01013101830F0F37310D000103140100000000000097

A video of an earlier version of the mouse control app can be see here. It’s a test that was actually performed in the car, live.

And here is the video of the test working perfectly with the IEBus Emulator. I see no reason why this won’t work perfectly in the car once I get the new motherboard for the carpc.

Posted in Automotive, IEBus, Electronics| No Comments | 

The stars are all gone!

Posted by angrycamel at November 10th, 2007

Recently my niece, Katlyn Jade, who is only two years old, has started to blame me for when the stars do not show up at night because its too cloudy. So my Mom started calling my cell phone and letting Katlyn tell me personally that the stars are not out. Well last night she called, handed the phone to Katlyn while it was still ringing and without knowing, Katlyn left me a voice mail message and I thought it was so cute, I recorded it and put it up here for my Dad to listen to. (Since he lives out of the country)

Download the little voice mail clip here: KatlynJade-TheStarsAreAllGone.wma

Posted in Personal, Family| No Comments | 

Site changes

Posted by angrycamel at October 3rd, 2007

As you can see, I updated the look of the site tonight. I thought it was time for a change, so I modified a theme I found called Lush.

I also enabled spam filtering on the comments so that I could open it up for anyone to leave a message without too much of a hassle. I hope this helps encourage folks to give more feedback!

Posted in Announcements| No Comments | 

Etching a PCB for the IEBus Module

Posted by angrycamel at September 30th, 2007

I completed the etching process of my first printed circuit board tonight. It took a lot of work just to learn how to use the Eagle software to produce the board layout but once I had it done I printed it onto some generic glossy laser paper. Next I took it downstairs to the ironing board, and armed with a piece of cardboard to stiffen the ironing surface, the heat from the iron began to transfer the toner from the printed piece of paper to the blank copper PCB.

After about 4 minutes (read online that 4 minutes was a good time to ensure a good transfer) I took the board with the paper now stuck to it, and put it into a plastic container filled about an inch high with hot water. Immediately I began to see the paper coming away from the copper and forming little bubbles between the paper and the board. Finally, after about 30 seconds of watching the water soak into the paper, I grabbed the corner of the paper and pealed it off like a sticker. Most all of the paper came off leaving behind the toner and a little bit of the paper that rubbed off with my thumb very easily.

Next it was time to put the board into a bath of etchant. I went all cheap and purchased the little $15 kit from RadioShack to test all of this out, but I plan to put together an acrylic bubbler along with some of that nice Ammonium Persulfate that is see through. The board sat in the etching chemical for a little over an hours just because I didn’t feel like babysitting it and went to watch some boob-tube. When I came back the board was done and I transfered it back to the water to deactivate the chemical.

Now that the copper that I didn’t want is gone, all thats left is to clean off the toner. This was handled by some of my wife’s finely smelling Acetone (finger nail polish remover) and a good bit of rubbing with a paper towel. The finished result looks like this:

AngryCamel's First IEBus Module PCB

Now all that is left is to drill the holes and mount all of the components. Next time I do this, I think I am going to go with all surface mount components, so I guess its time to hit up digikey again.

Posted in Automotive, IEBus, Electronics| No Comments | 

IEBus Studio - Progress Update

Posted by angrycamel at September 24th, 2007

It’s been a little while since I updated everyone on the progress so I put together a quick screenshot.

IEBus Studio is definately one kick ass program, if I do say so myself. I wanted to take the time to do screenshots of all the features but its just too late on Sunday night and I have been writing code all weekend. So here is my one screenshot that shows just about everything there is to know about the test event feature.

I should have a video sometime soon of it working in the car. Cross your fingers! We have tested and confirmed that the firmware recieves the event message perfectly, so testing that the firmware can put it on the bus properly is all thats left.

Click on the pic for the larger view.

Posted in Automotive, IEBus, Programming, Electronics| No Comments | 

IEBus Studio - In Car DLL Tests

Posted by angrycamel at September 9th, 2007

Well I finally made it into the car today to do some tests with the first DLL that was produced by IEBus Studio. The test went great and it seems like we are definitely on the right track. I put together a video of my test today if you want to check it out below:

The testDLL application in the video consists of very little actual code to do what you are seeing there. It is a simple VB.Net application that references the DLL exported from IEBus Studio for my 2004 Acura TSX.
Thanks to CLuis for putting this together!

Here is the DLL as viewed in the VS.Net object browser. The only event we had defined at the time of building this DLL was the touchscreen event:
DLL Object Browser

I have pasted the code below to show just how simple it really is:

Public Class Form1
   	Dim WithEvents Acura As New Acura.TSX_2004()

   	Public Delegate Sub SetTextDelegate(ByVal text As String)
   	Dim sText As New SetTextDelegate(AddressOf SetText)

   	Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
   		For Each strPort As String In My.Computer.Ports.SerialPortNames
   			Ports.Items.Add(strPort)
   		Next
   	End Sub

   	Sub SetText(ByVal text As String)
   		Output.Text &= text
   		Output.ScrollToCaret()
   		Output.Focus()
   	End Sub

   	Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
   		Acura.OpenPort(Ports.Text, 9600, 8, IO.Ports.Parity.None, IO.Ports.StopBits.One, IO.Ports.Handshake.None)
   	End Sub

   	Private Sub Acura_TouchScreenPress(ByVal Master As Acura.TSX_2004.CarDevice, ByVal Slave As Acura.TSX_2004.CarDevice, ByVal X As Integer, ByVal Y As Integer, ByVal Unknown1 As Integer) Handles Acura.TouchScreenPress
   		If Output.InvokeRequired Then
   			Output.Invoke(sText, "TouchScreenPress: X:" & X & ", Y:" & Y & ", Unknown:" & Unknown1 & Environment.NewLine)
   		Else
   			SetText("TouchScreenPress: X:" & X & ", Y:" & Y & ", Unknown:" & Unknown1 & Environment.NewLine)
   		End If
   	End Sub
   End Class

Posted in Automotive, IEBus, Design, Programming| 2 Comments | 

IEBus Studio - Progress Update

Posted by angrycamel at September 8th, 2007

IEBus Studio is coming along very well with the help of my two friends CLuis and Ramzi. We are really cranking code out at an astonishing rate and bringing IEBus Studio into reality. Here is the 1000 foot view:

Event Discovery works but we are just beginning to rewrite a lot of it to add functionality that will discover dynamic message types such as volume or touch events (Ex: most of the message is the same structure except for the coordinates of the touch, so we need to use some pattern matching to define non unique messages as the same event)

Defining devices is a cinch with the new Device Discovery tab. You can manually add devices or have it automatically add them to the library when it sees a message with a new unique device come across the bus. For each device you can record a name and description for it.

In the Define Events tab you can easily describe events that you have identified. Currently this only supports static messages such as a single button press on the dash (Ex: the cancel button), but it will soon support the dynamic messages as well.

CLuis did a great job with the DLL generation code. You can now build the library of events then choose File->”Export DLL” to produce a DLL of event definitions which you can tie into from any software that allows the referencing of a DLL. A test application has been setup and works in the emulation environment, so I will be testing it in the car very soon. The only events that the test DLL contains at the moment is touch events from the screen. This sample application will handle the touch events and display the x and y coordinates in a console as you touch the screen. Soon it will graphically overlay the screen with a grid to show how this whole thing will eventually control your computer.

And last but not least, you can now save out your progress into a library of events and device definitions (xml file) and open it back up again later to resume your work where you left off. If you thought you had all of the events that you wanted to use in your installation defined but realized you needed one more, simply open the library file do event discovery for that new event then re-export your DLL. Thats all there is to it.

Posted in IEBus, Programming| No Comments | 

IEBus Emulator

Posted by angrycamel at September 4th, 2007

Tonight I put together a screen cap of me using the new IEBus Emulator in conjunction with com0com and IEBus Studio. Com0com is used to produce a virtual null modem connection as well as the virtual com ports from com2->com4. With the emulator we can test IEBus Studio locally with data captured to log files from inside of the car or with manually typed in commands.

It’s the first thing I did when I got back from my trip, here it is:

Posted in Automotive, IEBus, Programming| No Comments | 

The new IEBus firmware is working!

Posted by angrycamel at August 28th, 2007

I just got to a stopping point on the firmware tonight and decided to grab some data off the bus for review. You can check it out here if you want. You will notice a lot less errors. Its because my firmware is lighter and seems to run considerably faster. I think the reason for the errors you saw in the video before was because of the firmware was not processing the packets fast enough to keep up with the bus.

Also, this is what we are looking at for the structure of the lib files. (for defined devices and events per vehicle) This is the filetype that you will be able to open and work with in IEBus Studio. Pretty simple, right!

<vehicle>
  <make>Acura</make>
  <model>TSX</model>
  <year>2004</year>
  <navigation>yes</navigation>
</vehicle>
<device>
  <address>0x183</address>
  <name>Navigation Computer</name>
  <description>Navigation computer mounted in the trunk of the car.</description>
</device>
<device>
  <address>0x131</address>
  <name>Touchscreen Controller</name>
  <description>Touchscreen controller for sending touch events from the navigation screen in the dashboard to the navigation unit in the trunk.</description>
</device>
<device>
  <address>0x100</address>
  <name>Head Unit</name>
  <description>The head unit send commands like the volume up or down as well as changing the channel on the radio.</description>
</device>
<event>
	<name>Volume Level 3</name>
  <raw>1:100:183:F:14:60:2:31:0:2:0:3:10:0:E0:20:0:0:9D</raw>
  <broadcast>1</broadcast>
  <master_device>0x100</master_device>
  <slave_device>0x183</slave_device>
  <control>0xF</control>
  <datasize>0xE</datasize>
  <data>0x60</data>
  <data>0x2</data>
  <data>0x31</data>
  <data>0x0</data>
  <data>0x2</data>
  <data>0x0</data>
  <data>0x3</data>
  <data>0x10</data>
  <data>0x0</data>
  <data>0xE0</data>
  <data>0x20</data>
  <data>0x0</data>
  <data>0x0</data>
  <data>0x9D</data>
</event>

Posted in Automotive, IEBus, Programming| No Comments | 

« Previous Postings | Next Postings »