Technical Stilo CAN Bus Question

Currently reading:
Technical Stilo CAN Bus Question

My guess is that this is managed by the body computer because this feature is also available without a CN+ as already mentioned....
The speed signal is available for all nodes on the CAN-bus but the bodycomputer manages most setting functions so it's my nr.1 tip...
 
Excellent,

Thanks for your replies guys. I didnt know if when the car comes from factory the ECU's are setup differently or not. Im trying to work out the settings from some CAN messages and wanting to see if I was barking up the wrong tree or not before I go further.. save on headaches.

yellowstilo: I will send you the logs from examiner when the car goes in no problem - two heads are better than one. I just need to rig something up stealth to log the data, easy really its just I havent got anything with a good enough battery as my dealer said Id have to leave the car with them.

Ill let you know.

And thanks everyone again.

Dan
 
Last edited:
Sorry mate, I wasnt taking a tone. I have never been near non-abarth models of the Stilo, other than a JTD a while ago, so couldnt remember if they even did, as most people talk about setting the clock. And I didnt want to be taking the CN+ out to see if the doors lock or not when I drive.

Thanks for your help.

Dan
 
Quick Update.

Coming on well, have the time set commands working, and have coded it into a simple app in VB6 so it picks up the PC clock and sets the Stilo to the same time, using an ELM. Its a bodge but it works... Just going to do a re-write in vb .net and tidy it up.


Dan

Hello Dan,

is this VB program written just for setting the clock or is it possible to enter other commands with different data lengths?
If you have done the re-writing could you send it to me for testing purposes ?
I think i might get some more interesting info out of the Stilo if it works....

yellowstilo
 
The VB6 application i wrote sets the clock and thats it really, sometimes.... The timing is really bad so it sends a command without waiting for the previous one to be processed by the ELM./

Ive ditched the VB6 version and rewritten it in VB.net instead. It now waits for the > prompt before going to the next command so works much better. So far I have the set clock working in that but am going to add more features for other items such as the other CN+ functions, datalogging etc and custom commands. the first version will be on here for download in a week or two (weather/testing permitting).

If you can let me know what the structure of the command is you wish to send Ill see if I can code it in, or at least let you know what hyperterminal commands to send to get the ELM to do it in a terminal.

Dan
 
Hello Dan,
i'm looking forward to test your program, a logic addition would be the command to change the vehicle settings with a removed Connect Nav+ system:

6E7 5 xx xx xx xx xx

where X is a variable value depending on the chosen options -

if you choose your preferences from the following settings list:
>
> distance unit km / miles
> temp. unit degr. C or F.
> language selection it/german/eng/spa/fr/port.
> consumption unit km/l / l/100 km / mi/gallon uk /
> mi/gallon us
> buzzer vol warning level 0 (min) up to level 7 (max)
> buzzer volume button 0-7
> hour mode 0-24h / 0-12h
> seat belt remainder not enable/ enable
> easy entry enable not enable / enable
> mirror closing enable not enable / enable
> speed threshold 0-250 km/u (resolution 5km)
> radio repetition (dash) not active / active
> nav repetition not active / active
> phone rep. not active / active
> speed lock door enable not enable / enable
> driver door unlock enab. not enable / enable
> trunk unlock enable not enab./ enab.
> CID autoclose enable not enab./ enab. (only for Easy Entry)
> not used ---------------------------
> glove box lock enable not enable / enab.
> not used ---------------------------
> reset trip A not active / active ( have to compare with
> my configuration / not sure what it means...)
> reset trip B not active / active ( same)
> trip B enable not enable / enab.
> speed threshold enab. not enab. / enab.
> external light sensor lev. level 3 /2/ 1/ 0 (=not used)
>
> after receiving your choices i will compose your CAN message for the Car
> Settings and send it to you.

another nice one would be the command to test the complete instrument cluster (dials, display , led's - like a kind of gauge sweep.
wish you luck with your programming,

yellowstilo
 
Looking at what you are describing it shouldnt be too difficult, in theory... A set of checkboxes on a form in visual basic, then depending on what is selected the message is constructed and sent to the ELM interface.

eg.

(Set protocol to CAN 11/50)
(Set header (ID) to 6E7)
(Switch on headers)
(send hh hh hh hh hh (message composed by selections within the program, with ID 6E7).

Ill get what I have done polished up and fully working and send it to you, will take me a few days at least. Once i have done that , ill move on and add some of the features you suggest - are the bytes are bit encoded or just hex values for each selection? The latter would be much easier to code.

Can you read the stored values back from the car? ie what has been enabled/disabled in the options you describe. Surely the CN+ must get the stored values from somewhere.


Dan
 
Last edited:
the bytes of the 6E7 message are bit coded.
The vehicle setup is also sent by the instrument cluster (6E3 - 5 bytes) and the coding is nearly the same , however you can't copy this message 1 to 1...
After testing your program i guess i can supply some more message codes.
I assume you can choose data lengths from 0-8 bytes?
thanks,
yellowstilo
 
danhans115;1 yellowstilo: I will send you the logs from examiner when the car goes in no problem - two heads are better than one. I just need to rig something up stealth to log the data said:
HI EVERYONE

Dont know wether this is any help but i am very good friends with the man behind ( alfa net ) in bristol and if i ask him nice he will let me do wotever i like with his examiner.:D

I have just taken delivery of a elm327 on wed this week so i have no where near the amount knowledge you boys have but i have got it to pair up with my stilo abarth:rolleyes: lol, so i would not be able to asist you but could defo get you in the right direction(y)

o yes dose anyone have any good software free for the327 im skint and my fuel habbit is increesing lol

good luck with your project :worship:
 
@luckyabarth - you are a lucky guy having a contact with examiner. To join in the fun you would need to just connect your elm interface up to the can connections somewhere or to the cables behind the obd connectorand then connect the examiner as normal through the OBD port.

I hope you dont have one of these older Elm327's which are available cheaply on ebay (v1.0a or V1.1), they only support speeds of 250K or 500k, so arent much good for the stilo. You need a v1.2 or higher I believe.

To log the data open hyperterminal and connect to the ELM/ Set the elm to can 11/50, switch on headers and issue the monitor all command and capture the terminal output to a file. Use examiner and see what messages are sent. Unlucky for me I do not have any contacts or local friendly garages who would let me do this, so im going to have to hide all this in the car someplace and take it to either a dealer or a local specialist.

For free software there is loads around, there should be a simple application provided on the CD that came with your tool. Alternatively have a look on those file sites for PCMscan, or if you purchased your interface from gendan.co.uk, you can use the LE version of Enginecheck (they email you the link).

Dan.


Also

@yellowstilo - ive sent you a PM, weather is a bit nicer this week so will be able to get the test app to you for the weekend. ive sent you a PM.
 
Last edited:
I thought you would know more about this than I do. In common with others, I believe it's the Body Computer that actually controls everything. I suspect that once you've set the option by the CN+ it's memorised in the BC and the CN+ has nothing more to do with it.

Dave.

@...... Dan

Just to confirm the above.

I fitted a spare CN+ into my car today and all the settings appeared on the new CN+ exactly as I had set them from my original one.

I suppose there's a slight chance that the previous owner of my spare one had set everything the same a me, but I think it's more likely that all settings are memorised in the BC until they are reset from the CN+.

Dave.
 
im a wee bit lost in this thread, even though im meant to be an electronics engineer :shakehead:

anyways, dan, if you can hack the BC, then you're going to make a LOT of people happy.
 
@Davren

Thanks for that. The CN+ doesnt store the time at all, it just echoes the time from the CAN network, ive sent a fake time to the CN+ using the correct ID and the CN+ just displays it, even year 9999 etc.

Ive made some progress over the weekend with a small tool that sends the current time to your car using an ELM327, and it works, confirmed also by yellowstilo.

The next step is setting the rest of the car parameters, custom messages, open windows/trunk and anything else I can code into it which people would like and find useful.

Ill post some more info when I get home, screenshots etc. And if anyone has any info/suggestions or anything PM me or post on here. I also need some testers (youll need an ELM 1.2/1.2a/1.3 and a stilo).

Thanks to all who have chipped in so far, let see how good we can make this thing, and thanks to yellowstilo for the help so far.

Dan
 
Last edited:
@Davren
The next step is setting the rest of the car parameters, custom messages, open windows/trunk and anything else I can code into it which people would like and find useful.
Dan

Resetting the service due indicator would be very useful. (Yellowstilo knows how but wont share it with us because he wants ££££)
 
Resetting the service due indicator would be very useful. (Yellowstilo knows how but wont share it with us because he wants ££££)

I really want to know this too. I see why yellowstilo wants $$$ for it though, he has done a lot of work to get it.

My plan is to hide a small pc/pda and my interface and take my car in for a service. Hopefully my pda will log the traffic when examiner is connected and tell me what they are doing. Unless anyone knows of any 'friendly' places who would let me play with their examiner - cant see it mind.

We'll get there eventually im sure.

Dan
 
I really want to know this too. I see why yellowstilo wants $$$ for it though, he has done a lot of work to get it.

Hi Dan,

I have already purchased the service reset code from Yellowstillo, I have not yet tried it out, however I will be doing over the weekend and then my car goes in for its fifth year service on the 27th. If the reset codes work, I would be willing to write a small Peace of software similar to the one you have wrote that will allow users to reset the service indicator on there Stilo at there own risk. Providing non of the admin staff have no objection, the software could be made available (if the codes work) for downloading by members who have donated to this forum.
 
Nice one, how much did you pay if you dont mind me asking?

Thats pretty much what I had in mind, the software im writing will just basically send whatever codes you what when its finished, with predefined
codes for silly things like windows etc, and the functions of the connect nav+ - eventually moving on to the instrument cluster.

Hope it works for you, im going to get mine serviced in the summer, a bit early but want the selespeed oil changing, air-con doing etc - coincidentally in bradford i might add.

My plan is to monitor the K line and the CAN-B while the car is connected to examiner, and then get them to enable the lights to blink with central locking/alarm. Hopefully that will cover the stuff send to the gearbox and over can to the body computer/instrument cluster/ecu.

let us know how you get on, a simple little app like that would make a lot of stilo owners very very happy.

happy hacking

Dan
 
Back
Top