Announcement

Collapse
No announcement yet.

/hobd - extended OBD2 based trip computer for WinCE/PocketPC/WinMobile/Windows

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • /hobd - extended OBD2 based trip computer for WinCE/PocketPC/WinMobile/Windows

    Hi All,

    My interest is not to have a scantool but merely a Trip Computer - running on a compact PNA hardware (GPS navigation unit, majority of which are under WinCE). The reason is that in daily driving GPS unit is basically useless. I'm trying to extend navigation with extra information of current vehicle and driving conditions.

    hobd and hobdrive:



    Some of the core features to notice:
    - Concentration on trip data: MPG, distance run, total fuel consumption, run time, time spent in jams, etc.
    - Jams and idling MPG tracking. Costs of jams, fuel economy without jams calculation.
    - Fuel tank level tracking and fueling records tracking.
    - DTC reading, explanation, and clearing
    - Toyota owners will receive precise data via custom injector pulse width PID and some others.
    - Fine graned touch-friendly fluid UI for use in carputer/navigator uninterruptly.
    - Builtin support for Bluetooth stack and bluetooth based OBD-II adapters.
    - Full i18n and metric/imperial switching.
    - Visual themes.
    - Opensourced core (.net C#), extensible.
    - Runs on any platform with .net installed (WinCE/PNA/PDA/PocketPC/WinMobile/Windows)

    Download here: http://hobdrive.com/hobd/

    .netcf 3.5 should be installed on your device: link, otherwise you should use 'hobd-standalone' package.

    Some of the ideas I've got from usage (and development) of ECUTracker by Skidd.
    My credits to OBDSim author - this stuff helps me much during development.
    My credits to OBDGauge - this is the only open thing exists in WinCE/.net world, however I need a bit different thing.

    As a part of this project I'm trying to collect all the OBD-II standard and custom PIDs into a portable description (now in xml). Technically, these descriptions could be used in any OBD-II related project to reduce efforts on different PID support.
    Checkout for example this PIDs list for OBD2:
    https://github.com/cail/hobd/blob/ma...en/obd2.ecuxml

    I'm developing now a greater set of features, of most importance for me are:
    - OBD-II data logging and chart displaying
    - trip data persistency
    - PID/Sensor data push to online store for further analysis and presentation.
    - "Efficiency driving" measurements

    Comments and reports are welcome!

    Last edited by cail; 05-11-2011, 03:35 AM. Reason: new version 090

  • #2
    Just in case someone still interested, an updated 0.5 version:

    - HUD mode (enabled from 'Screens')
    - ELM custom initialization commands (included vehicle configs for explicit speed and JDM Toyotas)
    - Better sensor display behaviour
    - Fuel consumption uses infinity when vehicle is stopped
    - Fixed bugs with UI disappearing on high resolutions
    - Improved sections changing responsiveness
    - Fixed bugs with wrong DPI when using on high-dpi devices
    - Serial port baud rate and other attributes
    - Sensor names and descr are in translation resources now
    - Adding explicit .net framework version requirements via hobd.exe.config
    - Font quality configuration option
    - CAB installation option for WinCE devices

    Short videos demonstrating some of functionality:

    Last edited by cail; 02-06-2011, 08:59 AM.

    Comment


    • #3
      Wow not sure how I missed this! Any interest in helping incorporate this in another open source project?

      Also where is the source located? it didn't seem to be in the download you linked to
      openMobile - An open source C# Front End (why choose openMobile?)
      - Always Recruiting Developers -
      Like what you see? Donations are always welcome

      Comment


      • #4
        Originally posted by justchat_1 View Post
        Wow not sure how I missed this! Any interest in helping incorporate this in another open source project?
        Believe you mean openMobile? Think right now hobd could be integrated into openMobile as an external app with abit of customized configuration?

        Anyway this should be thinked over. Probably a deeper integration is possible..

        Also where is the source located? it didn't seem to be in the download you linked to
        Sorry not providing sources link (thought that was obvious ): https://github.com/cail/hobd/

        Comment


        • #5
          Originally posted by cail View Post
          Believe you mean openMobile? Think right now hobd could be integrated into openMobile as an external app with abit of customized configuration?

          Anyway this should be thinked over. Probably a deeper integration is possible..


          Sorry not providing sources link (thought that was obvious ): https://github.com/cail/hobd/
          Wow i must have been a little tired...i completely overlooked the link

          Great work and i love how everything is structured so its scalable. I was actually thinking of doing a plugin or two for openmobile...we use a sensors framework so hopefully its as simple as just adapting your base sensor definition and then taking advantage of the elm and various sensors you created. I'll probably have some questions after the holidays once I get a chance to look everything over but I think theres some great potential for two way collaboration here.
          openMobile - An open source C# Front End (why choose openMobile?)
          - Always Recruiting Developers -
          Like what you see? Donations are always welcome

          Comment


          • #6
            Great work and i love how everything is structured so its scalable. I was actually thinking of doing a plugin or two for openmobile...we use a sensors framework so hopefully its as simple as just adapting your base sensor definition and then taking advantage of the elm and various sensors you created. I'll probably have some questions after the holidays once I get a chance to look everything over but I think theres some great potential for two way collaboration here.
            Thanks, its great when someone else except me sees and loves good code

            I've thought abit on this and think what I have to do is to move non-ui code into a separate library. This way your app and potentially others could just link an assembly without any extra headache.

            This is also could be important for you since my understanding is that openMobile already have well defined UI and HOBD UI frontend is useless for it.

            I'll try to do this in near time and for sure let you know.

            Comment


            • #7
              Nice work! I'll gice it a try asap.. I've been developing a trip app too, for win mobile since September, but it is more realted to actual trip data.. I'm looking on some legal issues before I release it as mine will be commercial-rather cheap though.. Keep up the good work! I'll let you know when I try it!

              Comment


              • #8
                When I run it in my Win XP pc it starts ok, but in my mobile with 6.1 professional, instead of the app, windows help is opening! (??) Why on earth would that happen? I run the hobd exe, I have also installed the app from the cab file..

                Comment


                • #9
                  Originally posted by Nitroking View Post
                  When I run it in my Win XP pc it starts ok, but in my mobile with 6.1 professional, instead of the app, windows help is opening! (??) Why on earth would that happen? I run the hobd exe, I have also installed the app from the cab file..
                  First make sure you have .net 3.5 cf installed.

                  Then please try to install hobd from zip file (unpack it manually), or try
                  https://github.com/downloads/cail/hobd/hobd-0.52.zip
                  this update has some .net version configuration fixes.

                  Comment


                  • #10
                    OK now we're talking! 0.52 opens fine.. Also could you please tell me how did you manage to do the HUD? In .NET framework it's pretty easy to flip a string but in .net it's a pain in the .. as the compact framework is lacking SERIOUS commands..

                    Cheers, will test in the car tmr and inform you!

                    Comment


                    • #11
                      Originally posted by Nitroking View Post
                      OK now we're talking! 0.52 opens fine.. Also could you please tell me how did you manage to do the HUD? In .NET framework it's pretty easy to flip a string but in .net it's a pain in the .. as the compact framework is lacking SERIOUS commands..
                      Think thats abit OT here, but I'm doing this by raw canvas bitmap bytes mirroring (via unmanaged bitmap access api)

                      Comment


                      • #12
                        OK, so I just tested it, if I just choose a COM port it won't connect, but if I choose one of the bt devices that appear in the list (and are the devices I have actually paired with win mobile) then it connects and works fine..

                        Can you please tell me what is short term fuel economy short?

                        Another thing I noticed is that if I'm rolling in a gear with throttle off, hobd still shows consumption but in general and in most cars it should be 0 (zero) as the injectors back off and do not spray any more gas into the engine.. Any comments on that?

                        Also I think I lost the HUD option, the lamda and fuel trims screens.. I only see General and Trip computer in Settings>Screens.. Are they located somewhere else?

                        Comment


                        • #13
                          Of course you have to choose BT device if you use BT device

                          Can you please tell me what is short term fuel economy short?
                          That is what its named after - short term fuel economy.
                          Thats an MPG calculated using a short time period (couple of seconds) - to show you your instant consumption.

                          Another thing I noticed is that if I'm rolling in a gear with throttle off, hobd still shows consumption but in general and in most cars it should be 0 (zero) as the injectors back off and do not spray any more gas into the engine.. Any comments on that?
                          Since hobd reads MAF, all you see is what your vehicle gives to hobd.
                          This means vehicle's ECU still informs that air is flowing (even if there is no fuel injection).

                          To support fuel trimming with throttle off a special PID should be used. Some vehicles report it via "PID 03" (A2 Open loop due to engine load OR fuel cut due to deacceleration ).
                          I don't have any information on how consistent this PID in "wild" so decided not to use it (to avoid possible jerks).

                          Comment


                          • #14
                            Originally posted by cail View Post
                            Of course you have to choose BT device if you use BT device


                            That is what its named after - short term fuel economy.
                            Thats an MPG calculated using a short time period (couple of seconds) - to show you your instant consumption.


                            Since hobd reads MAF, all you see is what your vehicle gives to hobd.
                            This means vehicle's ECU still informs that air is flowing (even if there is no fuel injection).

                            To support fuel trimming with throttle off a special PID should be used. Some vehicles report it via "PID 03" (A2 Open loop due to engine load OR fuel cut due to deacceleration ).
                            I don't have any information on how consistent this PID in "wild" so decided not to use it (to avoid possible jerks).
                            Yes this PID is usually not supported..

                            Regarding the COM, BT creates a vitrual port, so even if you choose COM or BT device it should be working, that's why I asked you that..

                            Short term FC is different from instance from what I saw in your app.. I see you have average, instant and short, that's why I asked what is it.. So probably it is an average of some short period of seconds, that's all I can understand, right? I don't know why you chose this though.. Maybe because the car's trip computer does this as well?

                            Comment


                            • #15
                              Regarding the COM, BT creates a vitrual port, so even if you choose COM or BT device it should be working, that's why I asked you that..
                              Right, but hobd needs no virtual port - it can do raw BT.

                              Short term FC is different from instance from what I saw in your app.. I see you have average, instant and short, that's why I asked what is it.. So probably it is an average of some short period of seconds, that's all I can understand, right? I don't know why you chose this though.. Maybe because the car's trip computer does this as well?
                              Ah, I've misunderstood your question.
                              The difference between short and instant fuel consumption sensors is calculation interval. Instant is couple of seconds and short is couple of minutes.
                              Car's tripcomputers normally has only one value, but having two (or, basically three including the total trip MPG) is very useful (at least for me).

                              Comment

                              Working...
                              X