Toyota Corolla MP3 Player Forum Index
Toyota Corolla MP3 Player
Toyota Corolla MP3 Player project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   RSS FeedRSS 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IEBus Studio

 
Post new topic   Reply to topic    Toyota Corolla MP3 Player Forum Index -> other
View previous topic :: View next topic  
Author Message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Mon Sep 10, 2007 2:26 am    Post subject: IEBus Studio Reply with quote

Hi everyone.

I started my project quite a while ago and thought that I would finally post about it here to share my progress in case anyone else is interested in doing the same.

My project is more of a general IEBus (AVC-LAN) controller for a carpc. It abstracts the bus events to events in a DLL that can be used in any software that you want. The application, IEBus Studio, is open source and can be found on SourceForge.net here. It expects IEBus messages to transmit to it from a serial connection formatted in a predictable way.

There is a series of posts in more detail over at my site (www.angrycamel.com) but here is the 10k foot view:

IEBus Studio aids in defining devices and events (even dynamic events such as volume and touchscreen events). It stores these values in an xml file so that you can close down and come back to it later. Once you have a complete library of devices and events defined, you can export out a DLL file that will handle getting the messages from the serial port and presenting them in software as true events. The methods in the DLL are named according to how you described the event in IEBus Studio, so it makes programming with your new DLL very easy and familiar.

Here are a couple of videos showing the progress lately:
http://www.youtube.com/watch?v=7Q7Eh-k2vbM

http://www.youtube.com/watch?v=pPI0X0guM-k

The testDLL application in the second video consists of very little actual code to make that possible. It is a simple VB.Net application that references the DLL exported from IEBus Studio for my 2004 Acura TSX.

Here is the DLL as viewed in the VS.Net object browser:


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

Code:
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


Thanks to everyone here who helped answer my questions, and I will try to update on my progress in the future.

Thanks,
AC
Back to top
View user's profile Send private message
_Alex_



Joined: 05 Jun 2006
Posts: 73
Location: Russia, Moscow

PostPosted: Mon Sep 10, 2007 8:03 am    Post subject: Reply with quote

It is excellent job, I congratulate!
But in my opinion it is very difficult.
In Russia is on sale the adapter which is connected by one side to AVC_LAN, and another to USB-port of a computer .



LTS.GIF
 Description:
 Filesize:  7.93 KB
 Viewed:  32959 Time(s)

LTS.GIF


Back to top
View user's profile Send private message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Tue Sep 11, 2007 3:50 am    Post subject: Reply with quote

Not sure what you mean?

Do you know about an IEBus USB adapter that will let me do all of this automatically?
Back to top
View user's profile Send private message
_Alex_



Joined: 05 Jun 2006
Posts: 73
Location: Russia, Moscow

PostPosted: Tue Sep 11, 2007 6:51 am    Post subject: Reply with quote

At connection of this adapter, EMV opens a RGB-input by pressing buttons MAP, DEST and MENU (navigation is emulated) and passes coordinates of a touch to the driver touchscreen in PC. For PC it appears as usual touchscreen connected in USB port.
Back to top
View user's profile Send private message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Thu Sep 13, 2007 1:19 am    Post subject: Reply with quote

Do you have a link to the product you are referring to? I was only able to find this: http://soarer.tv/Soarer/Lexus-soarer-uk-sat-nav-conversion.htm but they mention that they do not support the touchscreen so I doubt it is the same thing.

Thanks,
AC
Back to top
View user's profile Send private message
flux



Joined: 16 Jul 2007
Posts: 19

PostPosted: Thu Sep 13, 2007 9:25 am    Post subject: Reply with quote

angrycamel wrote:
Do you have a link to the product you are referring to? I was only able to find this: http://soarer.tv/Soarer/Lexus-soarer-uk-sat-nav-conversion.htm but they mention that they do not support the touchscreen so I doubt it is the same thing.

Thanks,
AC


I think he means so called Mirkom - 200 product.
http://www.mircom.ru/

This is a computer which is connected to the avclan and when map button is pressed on the Display they switch the RGB input from standard navigation unit to the Mircom. I'm not sure if their navigation got signals from giro compass and speed sensor or it works just using GPS data (too lazy to read the site)
Back to top
View user's profile Send private message
_Alex_



Joined: 05 Jun 2006
Posts: 73
Location: Russia, Moscow

PostPosted: Thu Sep 13, 2007 3:25 pm    Post subject: Reply with quote

Yes, basically these adapters are connected to Mircom, but the some people connect them and to CarPC.
Exist the drivers under following operating systems:

Dos

Windows 9X / Me
Windows NT4.0 / 2000 / XP
Windows Vista(32/64)

Windows CE.Net
Windows CE 2.12 / 3.0 / 5.0 / 6.0
Windows Embedded

Mac OS 9X
Mac OS X
Mac OS X (Intel CPU)

Mandrake Linux
Red Hat Linux
Fedora Core Linux
SuSE Linux
Debian Linux
(K)Ubuntu Linux
Yellow Dog Linux

Mircom uses only the sensor of speed of the car...
Back to top
View user's profile Send private message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Thu Sep 13, 2007 11:40 pm    Post subject: Reply with quote

Do you have a link to the adapter and the drivers? I only see information about the car navigation computer on Mircom's site, not the adapter.

Thanks,
AC
Back to top
View user's profile Send private message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Sat Sep 15, 2007 6:18 pm    Post subject: Reply with quote

I don't see anything on that site about touchscreen capabilities. Can someone show me what Alex is referring to?
Back to top
View user's profile Send private message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Thu Sep 20, 2007 5:45 am    Post subject: Reply with quote

What, no links at all? Does it not exist online?
Back to top
View user's profile Send private message
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Mon Sep 24, 2007 5:22 am    Post subject: Reply with quote

Here is the latest update on IEBus Studio:


Click here to see the full sized version.
Back to top
View user's profile Send private message
Marcin
Site Admin


Joined: 18 May 2006
Posts: 199

PostPosted: Mon Sep 24, 2007 11:38 pm    Post subject: Reply with quote

Shocked WOW
Back to top
View user's profile Send private message Send e-mail
angrycamel



Joined: 28 Jun 2007
Posts: 14

PostPosted: Mon Oct 01, 2007 5:08 am    Post subject: Reply with quote

Very Happy

We are very close to having the touchscreen control the computer's mouse. It currently works to click the mouse when we touch the screen but we are working out a bug in the mouse positioning code.

I will update with a video once it all works.


PS - I made my first PCB tonight. It worked out perfectly using the toner transfer method. Here is a pic of the current board:

Back to top
View user's profile Send private message
hasondea



Joined: 02 Apr 2013
Posts: 3
Location: new york

PostPosted: Tue Apr 02, 2013 11:42 am    Post subject: Reply with quote

to the driver touchscreen in PC. For PC it appears as usual touchscreen connected in USB port.

good

_________________
runescape gold|wow gold|cheap runescape gold|Diablo 3 Gold
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Toyota Corolla MP3 Player Forum Index -> other All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group