Desired options for a scantool?

A place For General Chit Chat Etc
ejukated
Posts: 425
Joined: Wed Mar 04, 2009 8:52 pm

Re: Desired options for a scantool?

Post by ejukated »

Tazzi wrote: For the digital, how would you implement something to "mark" an event? If that makes sense.
Its easy enough to chuck a couple digital inputs there which can 'mark' an event, but what will be used to mark the event?.

From what I understand, the WB input can go straight into the analogue ports? Do some use a RS232 connector?... now thats an interesting one.. size of the rs232 plugs is annoying.

I like the idea of being able to expand the device later on if need be. So Iv purposely left a set of SPI pins available for expansion ideas.. or even connecting up some sort of expansion module.

Hmmm.. what if... maybe.. the RS232 is a plug-n-play expansion module?
Next, what is fed form the dyno.. and what connection does it use? Id assume a simple serial connection?

As for the additional CAN connection, theres already two CAN chips on board :lol:
But.. actually.. using the CAN network as a way to expand and add modules is not a bad idea! A third CAN module (If I can fit it in!) could link directly to expansion pins along with power and ground. Then a 4way connectory attaches and the new module is instantly supported. Hmmmm... the possibilities...
To mark an event, you can trigger the digital input with a pushbutton or handcontroller. So when you are driving, you notice something you want to look at later, you trigger the dig input then its easy to find later on.

Most widebands output a RS232 stream. No need to worry about offsets, grounding, transfer function etc. And you can also get the heater status. Techedge, Innovate, PLX, etc. all have it. With the Innovate I believe you can chain the individual widebands on the serial stream and log quite a few at once. You don't actually need a DB9 connector, just the TX/RX pins.

Mainline Dynos have a serial stream that has Power, Torque and other parameters logged by the dyno computer. EFILive has this defined so you can log the ECM, TCM, DYNO into one log. Great for working with MBT timing etc. when you don't have RT capabilities. Other dynos may have the same thing.
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Desired options for a scantool?

Post by Tazzi »

ejukated wrote: To mark an event, you can trigger the digital input with a pushbutton or handcontroller. So when you are driving, you notice something you want to look at later, you trigger the dig input then its easy to find later on.

Most widebands output a RS232 stream. No need to worry about offsets, grounding, transfer function etc. And you can also get the heater status. Techedge, Innovate, PLX, etc. all have it. With the Innovate I believe you can chain the individual widebands on the serial stream and log quite a few at once. You don't actually need a DB9 connector, just the TX/RX pins.

Mainline Dynos have a serial stream that has Power, Torque and other parameters logged by the dyno computer. EFILive has this defined so you can log the ECM, TCM, DYNO into one log. Great for working with MBT timing etc. when you don't have RT capabilities. Other dynos may have the same thing.
Ahh I see with the digital pin.. see that could be another "addon" which can be marked over the CAN network. The second the push button is clicked, the "addon module" will fire of the can message indicating button clicked. The main board gets hit with an IRQ and adds the button click detected to the next frame to be sent to PC.

Right.. time to see how much I can fit in, or how big this things gonna be. :lol:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Desired options for a scantool?

Post by Tazzi »

Right so logically thinking about it. If I use SPI for communication between expansion modules, this means I will need a new chip_select pin per SPI device. Since I dont have any room for that, this means Id need to utilize a SPI I/O pin expansion if I am to use the same main microcontroller.

So, that leaves me with the alternative or using CAN to communicate between everything. Only need CAN H and CAN L, then assign a different header to different devices. And on start up, poll to see which devices are present.. or do this even 1second or so.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
ejukated
Posts: 425
Joined: Wed Mar 04, 2009 8:52 pm

Re: Desired options for a scantool?

Post by ejukated »

using CAN to communicate between expansion modules is how most people do it.
User avatar
Jayme
Posts: 2585
Joined: Sun Mar 01, 2009 8:59 am
Location: North Coast, NSW

Re: Desired options for a scantool?

Post by Jayme »

you have given me ideas on trying to edit the OSE plugin to talk to 2 com ports at once and trying to log the mainline dyno inside the 12P/11P ADX in tunerpro :P
Dylan
Posts: 3364
Joined: Mon Aug 02, 2010 6:35 pm
cars: VR Commodore V8

Re: Desired options for a scantool?

Post by Dylan »

Do you mean logging the torque figure?
User avatar
Holden202T
Posts: 10394
Joined: Sat Feb 28, 2009 9:05 pm
Location: Tenambit, NSW
Contact:

Re: Desired options for a scantool?

Post by Holden202T »

whatever is available from the dyno data stream :)
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Desired options for a scantool?

Post by Tazzi »

ejukated wrote:using CAN to communicate between expansion modules is how most people do it.
I associate CAN with vehicle diagnostics.. never thought of actually using it for something like this :thumbup:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Desired options for a scantool?

Post by Tazzi »

So far... we have:
-CAN for HSCAN
-CAN for SWCAN
-CAN for expansion board
-Dual relay to switch between HSCAN and MSCAN
-2x analogue ports on main board (additional could be added on 'addon' boards)

I can fit the ALDL and VPW onto the one board if I really squeeze it all in. But thinking about it, to keep the main micro running quick with the user requests if I use separate micros to send/receive information over ALDL/VPW Ill maintain speed since those two protocols are slower than CAN and I think should be processed using their own separate boards.

One thing I havent given a great deal of thought about is where the 'addons' will actually sit. As in will they just dangle on the sides (not too favourable), or insert into designated spots on the case. I guess if the case had little 'slots' on the top that little square addon boards can be slipped into and connected. Dunno.. Have to give it some thought!

And all pushing into something thats 50mm x 27mm. Which is still small as. And could probably even fit it into an obd2 plug.... but wheres the fun in that.
Soooo. Next on the list... 3D printing a case!!! Got CAD all up and going.. time to watch endless hours of youtube and learn how to construct shit!
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Dylan
Posts: 3364
Joined: Mon Aug 02, 2010 6:35 pm
cars: VR Commodore V8

Re: Desired options for a scantool?

Post by Dylan »

Fit into an OBD case would be sweet as
Post Reply