Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
This is a discussion on; Homebrew CAN / Service Tool, at the Tech forums, part of the Fiat Stilo - clubfiat.net forums;
Was talking about this with scotty a couple of weeks ago and stated to draft ...
  1. #1
    Offline
    ADRENALINE JUNKIE

    danhans115's Avatar
    Join Date
    Feb 2009
    Location
    Pudsey, Leeds
    Age
    30
    Posts
    1,157
    Blog Entries
    3
    My Mood
    Sad



    Default Homebrew CAN / Service Tool

    Was talking about this with scotty a couple of weeks ago and stated to draft some designs for a stand alone service reset tool. When I looked into it more there was already off the shelf hardware that has built in support for CAN, as its very useful for making devices talk to each other over long distances.

    Anyway, luckily I live near Farnell who are a massive electronic part supplier. So I had a butchers through their website and they sold practically everything I would need to get the hardware built..

    It uses a PIC18F4680 MCU which is great as it has bucketloads of I/O, is very very fast (upto 10 MIPS!), and lots of flash memory for amateur programmers like me to waste (64kb).

    It is interfaced with the cars CAN network via a MCP2551 CAN transceiver which handles the electrical side of the CAN stuff, the PIC MCU does everything else.

    Becuase the PIC chip is so powerful I was thinking about adding a 2 line LCD text display and serial in/out for future upgrades.

    As far as the software goes this is what I am on with now. Ive got some basic stuff done like the circuit will send out a pre-defined message when a button is pressed (which I can see by connecting my ELM327 to it and viewing whats going on).

    In theory the above could do lots of different things. Once I have the core program in place and working correctly small changes can easily be made so it could be used for CAN logging, speed pulse extraction maybe more...

    If this works well I should be able to get a basic schematic and PCB worked, switch the components to surface mount devices and maybe make a few for members..... food for thought..

    Any feedback or input would be greatly recieved. Ill get some of the schematics up later. The current test setup can be seen in the grainy attached picture

    Dan

  2. #2
    Offline
    Eco Chip Tuner!

    scottie2065's Avatar
    Join Date
    Jul 2007
    Location
    Northern Ireland
    Age
    24
    Posts
    3,582
    My Mood
    Cynical



    Default Re: Homebrew CAN/ service tool

    keep up the good work Dan, i take it your close to a working prototype?
    http://www.ecochiptuning.co.uk

    BREAKING : 2002 JTD STILO 3DOOR

    Need a Radio Code? - PM me

  3. #3
    Offline
    ADRENALINE JUNKIE

    danhans115's Avatar
    Join Date
    Feb 2009
    Location
    Pudsey, Leeds
    Age
    30
    Posts
    1,157
    Blog Entries
    3
    My Mood
    Sad



    Default Re: Homebrew CAN/ service tool

    Not far off at all. Once the software is fully working as a service reset tool I will build the circuit on a perfboard, then if demand requires it see about a SMD version on a properly etched PCB.

    I will add PCB sockets to add an LCD, serial i/o and a ICSP socket so they can be added in the future if needs be.

  4. #4
    Offline
    Supporter!

    Join Date
    Jun 2009
    Location
    Peterborough
    Posts
    22


    Default Re: Homebrew CAN/ service tool

    WOW thats very cool stuff there Dan.
    Had to do some electronics at college all i ever made was a display flash 0-9 :(
    Keep Smiling, It Makes Others Wonder What Your Up To!!!

  5. #5
    Offline
    ADRENALINE JUNKIE

    danhans115's Avatar
    Join Date
    Feb 2009
    Location
    Pudsey, Leeds
    Age
    30
    Posts
    1,157
    Blog Entries
    3
    My Mood
    Sad



    Default Re: Homebrew CAN/ service tool

    Any input is welcome avory, your more qualified than me then mate! I knocked off most of my BTEC.

    Its not that technical really, its more about the programming than the electronics.

  6. #6
    Offline
    Supporter!

    Join Date
    Jun 2009
    Location
    Peterborough
    Posts
    22


    Default Re: Homebrew CAN/ service tool

    Cool. Not done much of the programming side.
    Keep Smiling, It Makes Others Wonder What Your Up To!!!

  7. #7
    PNL
    Offline
    Groovy baby
    PNL's Avatar
    Join Date
    Jan 2009
    Location
    In my house
    Posts
    4,675
    My Mood
    Sick



    Cool Re: Homebrew CAN/ service tool

    This is a FS-OC first ..just remember we strive to give you the best ..and from myself and the rest of the FS-OC staff well done Dan..:You_Rock..
    Last edited by PNL; 08-25-2009 at 11:14 AM.
    International man of mystery

    Wit, sarcasm, you get it all from me..

  8. #8
    Offline
    ADRENALINE JUNKIE

    danhans115's Avatar
    Join Date
    Feb 2009
    Location
    Pudsey, Leeds
    Age
    30
    Posts
    1,157
    Blog Entries
    3
    My Mood
    Sad



    Default Re: Homebrew CAN/ service tool

    Bit of an update.

    Ive got all the hardware rigged up ready to go. Ive sort of finalised a schematic but may have to change a few things round when I get round to the real coding (change IO pins round).

    But so far the features are to be :-

    • 2 LED's (Status and Power)
    • 1 Button & Power switch
    • 1 6 pin ICSP port (for the unit to be programmed thorugh)
    • 1 2 pin serial port header (debug output& future use)
    • 1 expansion port (future use - maybe an LCD or SD card for logging)
    Thanks to my lovely missus the development kit has been ordered this afternoon so should have it tomorrow/monday.

    With this adding things such as SD card support (so you can log whats going on to a text file or something) is easy, as is sending output to an LCD.

    Once ive got it all working on the breadboard (see updated pic below) I will see about designing a PCB (never done it before) and move to SMD components possibly, so the size/cost can be reduced.

    Theres not much else to mention at the moment. Ill update the thread with a schmatic early next week.

    Basically, version 1 of the software will do the following.



    1. check canbus status , if ok illuminate ready light
    2. wait for buttonpress
    3. on button press send reset instruction to dash cluster
    4. switch off ready light and end
    5. It will also spout out what its doing to the onboard serial port, so if you connect something to it you will see what is happening.

    If you are interested here is a bit of light reading for you, gives you a basic introduction to the core components to be used.


    Ill update next week when the software arrives.

    Bye for now..
    Dan
    Last edited by danhans115; 07-16-2009 at 04:35 PM.

  9. #9
    Offline
    Italians are for life!! Red-Devil's Avatar
    Join Date
    May 2007
    Location
    Astley
    Age
    28
    Posts
    1,673
    My Mood
    Cheerful



    Default Re: Homebrew CAN/ service tool

    with alfa using the same can system, hopefully this will work with them if so, BONUS

    good work dannyboy


    A Lover of ALL things Italian


    Ex Schumi GP Owner

    PS3 Online ID - stiloabarth

  10. #10
    Offline
    ADRENALINE JUNKIE

    danhans115's Avatar
    Join Date
    Feb 2009
    Location
    Pudsey, Leeds
    Age
    30
    Posts
    1,157
    Blog Entries
    3
    My Mood
    Sad



    Default Re: Homebrew CAN/ service tool

    Hi red,

    It wont work with the alfa as is, as the reset codes are different.

    But if the reset codes can be known, it would be literally a 2 second job to change the software to do an alfa/punto/whatever, so long as its done thru CAN.

    Ill have a look at some of the examiner data I have at home and see if there is anything about the alfa dash clusters.

    If not would probably need to log a car in an examiner session to get the code. Are you offering to be a guinea pig? :)
    Last edited by danhans115; 07-16-2009 at 05:55 PM.

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Service Reset
    By crosshairs in forum Auction Eye
    Replies: 2
    Last Post: 06-25-2009, 11:24 AM
  2. Service Interval?
    By Insomnia in forum Tech
    Replies: 8
    Last Post: 06-13-2009, 11:49 AM
  3. Service
    By Jungle in forum Tech
    Replies: 6
    Last Post: 03-07-2008, 08:34 PM
  4. Service
    By Barbaraq in forum Tech
    Replies: 11
    Last Post: 01-25-2008, 05:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •