1. Attachments are working again! Check out this thread for more details and to report any other bugs.

PriiDash(TM): Enhanced Instrument Panel / Data Logger - Now Open Sourced!

Discussion in 'PriiDash (TM)' started by 2009Prius, Jun 26, 2011.

  1. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    2011-12-20 Added Ubuntu version

    Ubuntu version still needs shared libraries (FLTK and Boost-thread). Other changes and additions: Added workaround for T spirit models' cat Ts. Made PSD gauge vertical bar color same as corresponding RPM value box color. Foolproof LogToCSV step size. Fix line style issue due to poor FLTK implementation in W32. Fix missing gaspdlcount++;. Add gas pedal and brake gauges. Add regen kW etc.
    Download here:
    http://sourceforge.net/projects/priidash/

    Drive safely and enjoy! :)

    By the way description of the gauges coming soon. Thanks!
     
    1 person likes this.
  2. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
  3. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    2012-02-08 beta Cygwin version: added more run modes

    2012-02-08 beta Cygwin version: added more run modes

    • ATMA log only: only log CAN traffic passively, no display update
    • ATMA only: only process and display CAN messages, no query
    • query only: only query and log messages, no display update
    • 2 OBDUSB: first one does ATMA only and 2nd one query only, 2nd one hard coded at serial port of one number lower than first one
     

    Attached Files:

    1 person likes this.
  4. ccdisce

    ccdisce Active Member

    Joined:
    Oct 10, 2010
    259
    187
    0
    Location:
    Stone Mtn GA USA
    Vehicle:
    2008 Prius
    Model:
    N/A
    Could you add 5th mode

    AT CSM 0

    That the the ELM1.4b requires.

    Thanks.
     
    1 person likes this.
  5. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    "AT CSM 0" with ATMA or with Normal mode? I am not sure if "AT CSM 0" alone would do anything.
     
  6. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    elm1.4? I am sure there is only 1.3 al above are copys.....
     
  7. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    Not true. ELM do have V1.4b. Those selling V1.4a or V1.5 are copies.

    Vincent
     
  8. ccdisce

    ccdisce Active Member

    Joined:
    Oct 10, 2010
    259
    187
    0
    Location:
    Stone Mtn GA USA
    Vehicle:
    2008 Prius
    Model:
    N/A
    You may want to visit

    Elm Electronics

    and do a bit of reading.

    Others including the vauted STN11xx could be Licensed.
     
    1 person likes this.
  9. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    Sorry I don't have time to add modes properly so I just made a version with everything the same except the initialization part having "AT CSM 0" added. So in this version every mode has "AT CSM 0".
     

    Attached Files:

  10. ccdisce

    ccdisce Active Member

    Joined:
    Oct 10, 2010
    259
    187
    0
    Location:
    Stone Mtn GA USA
    Vehicle:
    2008 Prius
    Model:
    N/A

    The ELM327 r1.4b executes the ATMA command ( monitor all/silent mode- no ACK ) the same as the ELM327 r1.3 based clones.

    A new command has been added to the ELM part to set it into the special ACK mode ( non-silent ) it requires the command

    AT CSM 0

    and will respond with
    'OK'
    which is a monitor all plus ACK--- which we call 'normal'

    I tried this on the STN1101 running the current load and it responds with a
    ?'
     
  11. ccdisce

    ccdisce Active Member

    Joined:
    Oct 10, 2010
    259
    187
    0
    Location:
    Stone Mtn GA USA
    Vehicle:
    2008 Prius
    Model:
    N/A
    Ok I will give the 'atcsm0' sw a test this afternoon. I plan on testing the ELM327 r1.4b prototype in the 'atma' mode this morning at 500k uart speed.
    Overclocking to get the uart bus up to 1M are continuing.
     
  12. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    If it runs in ATMA mode without buffer overrun problem then 500K baud may be sufficient.
     
  13. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    a i see it where the mistake is.

    i did read about it but now i see there is a 1,4b but no 1,4a
    from the link you gave me below
    --

    Please note:
    There is no ELM327 v1.4a ! Some clone makers have introduced what they call a 'v1.4a',
    but we have never made one, and do not plan to make one.



    --

     
  14. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    2012-03-20 Added new run mods & PSDPWR gauge

    This version adds a new gauge PSDPWR, short for Power Splitting Device Power distribution gauge. Powers from MG1, ICE, and MG2 are displayed and accumulated in sequence to show both the power from each individual component and the combined net power output. Very cool feature we think. We also added different run modes such as ATMA only, request only, and two OBD-USB devices running in parallel. These are mainly for various experiments.

    [​IMG]

    Download here:
    PriiDash - Browse /2012-0320 at SourceForge.net
     
    1 person likes this.
  15. jdenenberg

    jdenenberg EE Professor

    Joined:
    Nov 21, 2005
    3,837
    1,827
    1
    Location:
    Trumbull, CT
    Vehicle:
    2020 Prius
    Model:
    LE AWD-e
    I see the HV battery voltage, but not it's health information (min/max module pair resistance, module pair min/max voltage and which module pair has the min).

    JeffD
     
  16. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    The only "HV battery health related" items on the front panel are dsc(%) (more or less useless) and dhvBV(%) ( = 100.0 * ((hvBVmax/hvBVmin)-1), somewhat useful). For example in the screen shot above we see max dhvBV for that trip was 5.3%. To better evaluate the HV battery health we use the data saved in the csv file to plot histograms of delta hvBV for each HV battery block and look for outliers. See this post
    http://priuschat.com/forums/gen-ii-...required-dont-believe-them-3.html#post1385131
    for example.
     
  17. mikebrwade

    mikebrwade New Member

    Joined:
    Apr 7, 2012
    10
    1
    0
    Location:
    None, TX
    Vehicle:
    2008 Prius
    Model:
    N/A
    Using the latest source on linux with ft and boost installed and being linked in I am getting:
    priidash/source/UI.cpp:505:65: error: invalid conversion from ‘const char*’ to ‘char*’

    Seems like a basic thing, trying to assigning a const to a non const, is the code in a working state?
     
  18. mikebrwade

    mikebrwade New Member

    Joined:
    Apr 7, 2012
    10
    1
    0
    Location:
    None, TX
    Vehicle:
    2008 Prius
    Model:
    N/A
    So i didn't see it anywhere in your setup but it seems like you need the "Ubuntu" define for it to pull in time.h properly. Also, I changed your new two GUI switch to a const pointer on the return that seems to get it past that point.. Now though I am getting
    priidash/source/icon.cpp:47:26: fatal error: FL/Fl_Draw.H: No such file or directory

    any hints?
     
  19. mikebrwade

    mikebrwade New Member

    Joined:
    Apr 7, 2012
    10
    1
    0
    Location:
    None, TX
    Vehicle:
    2008 Prius
    Model:
    N/A
    Hahahah ok got past that silly thing, make install was going a different place for some reason.. anyway

    priidash/source/icon.cpp: In function ‘void seticon(Fl_Window*, Fl_Pixmap*)’:
    priidash/source/icon.cpp:77:27: error: ‘Fl’ has not been declared

    Never ending! hahhaah
     
  20. mikebrwade

    mikebrwade New Member

    Joined:
    Apr 7, 2012
    10
    1
    0
    Location:
    None, TX
    Vehicle:
    2008 Prius
    Model:
    N/A
    Ok I give up. I tried doing it the cygwin way (though honestly if I am going the linux route I would rather be native). I couldn't' get past that "FL" not created error since I don't see any FL instance anywhere being referenced its hard to pinpoint.

    However, doing the steps from your site to run the bin in cygwin I still get this:

    $ ./priidash.exe
    -bash: ./priidash.exe: Bad address


    urgh. I will just wait until you see these comments and maybe offer some hints. FYI I tried to compile the older version from december and got the same error as above about Fl not being declared.

    "2009Prius" <- are you doing your dev in linux native or are you only doing in cygwin, what distro are you using if you are native?