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

Gen2 Prius: Custom PIDs for Torque (Android App) with formulas

Discussion in 'Gen 2 Prius Technical Discussion' started by usbseawolf2000, Jun 24, 2011.

  1. Mrn

    Mrn New Member

    Joined:
    May 8, 2010
    13
    1
    0
    Location:
    Europe
    Vehicle:
    2010 Prius
    Model:
    Three
    I see. Thanks. I wish the display would show the energy flow accordingly.
    Still, that assumes that the ICE rpm will raise linearly by raising the velocity. Has somebody checked what is the mph range when the MG1 power readings are close to zero? Thanks! Seems I need to get that gadget soon :)
     
  2. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    You can play with this simulator. It is for GenI so MG1 rpm only goes up to 6,500 instead of 10,000.

    At 30 mph and ICE around 1,300 rpm, MG1 is near 0 rpm. At 50 mph, ICE around 2,100 rpm, MG1 is near 0 rpm.

    I'll have to check the Torque app to do sanity check.
     
  3. KK6PD

    KK6PD _ . _ . / _ _ . _

    Joined:
    Mar 24, 2008
    4,003
    946
    118
    Location:
    Los Angeles Foothills
    Vehicle:
    Other Hybrid
    Model:
    N/A
    OK, I have been following this thread closely since I threw my thanks into the ring a while back. To that extent I have spent a Grand total of about $230 bucks! $88 for the Plex Adapter from Amazon, $5 for Torque Pro, $22 for a OBDII "Y" cable, I run 2 Scan Gauges as well, and $12 for a 90º 2 ft OBDII cable and finally $113 for a used 7" Android Bluetooth equipped Tablet!
    After spending many days loading, designing, redesigning, testing, Torque Pro and add-ons and getting GREAT results on my 10" G Tablet, I new that it would just be way too big for the car.
    I was right,
    Then I tried the old Droid Mk 1 phone that is now just more spare electronics since I upgraded to a 4s, and that display is just way too small, whereas the 7" is just a PERFECT size to fit.
    Now to decide just where to mount it!.
    I will post install picks when I do the install!

    Question #1, is the reading of the Fuel Gauge. It does not seem to work, anyone else try to use this PID and what happened?
    Question # 2, how many Gauges do you find optimum to run at one time, and how is the speed on the device you are using, and refresh rate? I have about 7 pages of 8 gauges per page and I am surprised how quickly they react!
    With the combination of 2 Scan Gauges, and the tablet, I have a good handle on how the car is really running. A little bit 'O heaven!
     
  4. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    #2: I remember Ian optimizing the gauges so only the PIDs on the visible page gets active.
     
  5. KK6PD

    KK6PD _ . _ . / _ _ . _

    Joined:
    Mar 24, 2008
    4,003
    946
    118
    Location:
    Los Angeles Foothills
    Vehicle:
    Other Hybrid
    Model:
    N/A
    That seems to track what I am seeing, each time I slide to the next page it wakes up, and baboom, data!

    Have you tried the Fuel PID USB, does it work for you? I wanted to see what the external meter and the cars meter do and how they track each other. I also like the data logging option, of course, now I need to buy a teeny tiny memory bit to stuff in the tablets slot!
    Oy, sounds painful! :eek:
     
  6. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Which one? There are so many fuel to choose from. Fuel flow rate/hour? Fuel Level? Fuel pressure? Etc?
     
  7. sfv41901

    sfv41901 Masta S

    Joined:
    May 5, 2010
    4,591
    5,292
    0
    Location:
    Palmdale, Ca
    Vehicle:
    2015 Prius
    Model:
    Four
    Want to say thanks for getting all of the PIDs usb.
     
  8. KK6PD

    KK6PD _ . _ . / _ _ . _

    Joined:
    Mar 24, 2008
    4,003
    946
    118
    Location:
    Los Angeles Foothills
    Vehicle:
    Other Hybrid
    Model:
    N/A
    first one I tried and wanted was Fuel Level, however, no movement on that particular Gauge. All the others eem to work fine, this is a work in progress for me, but when finished, it will make a fine addition to my Shuttlecraft!
     
  9. jpadc

    jpadc Type before I think too often

    Joined:
    Sep 9, 2008
    343
    34
    0
    Location:
    Indianapolis and Northern Wisconsin
    Vehicle:
    2008 Prius
    Model:
    N/A
    That is clearly true and does seem appropriate, but if you log a lot of PIDs, which get done regardless of view page, you can definitely get some slow down -- at least I see it on my poor underpowered garminfone.
     
  10. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Yea, logging into SD card would slow it down so be careful what you log.
     
  11. groar

    groar X-Frenchy: very

    Joined:
    Oct 22, 2011
    9
    0
    0
    Location:
    Toulouse, France
    Vehicle:
    2006 Prius
    Model:
    N/A


    Thanks to all for all the work you are doing.

    I'm currently using a SGII bought 2 years ago for an old car which wasn't compatible with. I use it daily since November in my 2006 PII. I'm only unsatisfied with the limitation of 4 gauges at the same time.

    I bought a second hand Samsung GT-I9000 4 in. with Android 2.3.4 (100€), a low cost ELM327 (25€) and Torque Pro (3.5€). Of course I imported your PID file :)

    The android is now my main phone. I use it only through wifi as I don't have data in my phone plan.

    Without fast mode, Torque says it get 13 gauges per second, which is more than enough for me now.

    I configured Torque with the following 8 small gauges:

    • MPG
    • Trip MPG
    • Accel Deg
    • HV Current
    • Coolant
    • HV SOC
    • ICE Rev
    • ICE Power
    The tiny gauges are too small on the 4 inch screen and 8 gauges is enough for all the trip.

    With the SGII I have only the first four which isn't enough as Coolant permits to know about HSD stage and battery isn't displayed with enough precision on MFD.

    My SGII was greatly calibrated. I have been advised to not use several active CAN peripheral at the same time, as it may confuse the bus.

    My problem is that Torque's MPG seams way off... It displayed me 35 and 50, while I have certainly done 55 and 60.

    I do need MPG calculation as I don't want to reset MFD at each trip and my PII is L/100 only (ie 1/40th precision - at display- instead of 1/600th with MPG)...

    I activated "Enhanced MPG calculation" but it always seams way off. Do you changed "Boost calculation method" ?

    Note: isn't the PIII a 1.8L ?

    I configured Torque with 1.5L and 1320kg for my PII. Is the default Volumetric Efficiency % a problem here ? If so, what are people using with their PII ?

    I also checked that the 14 block battery are coherent in Volt and Ohms :) just look at the gauge you can add, each one is reporting the current value so you don't need to add them :)

    Once again, thanks a lot for this precious work :)

    Have fun,

    Denis.
     
  12. Jimbo69ny

    Jimbo69ny Active Member

    Joined:
    Feb 27, 2012
    712
    107
    0
    Location:
    Ithaca, NY
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    You guys have put together a hell of a thread.

    I just purchased this app and I have a bluetooth obd2 on its way.

    Im not a huge numbers guy like you all seem to be. Im not really sure what to expect with this system. I got it because Id like to monitor temperatures now that I have my grill blocked and the engine wrapped.

    Is there a list somewhere of the values I should expect to see?
     
  13. KK6PD

    KK6PD _ . _ . / _ _ . _

    Joined:
    Mar 24, 2008
    4,003
    946
    118
    Location:
    Los Angeles Foothills
    Vehicle:
    Other Hybrid
    Model:
    N/A
    I am running 2 scangauges, and a PLX Unit. All three seem to work fine in combination with each other! A simple. Y cable from Amazon did the trick. I also am running Torque Pro. HELLUVA program. I have 11screens of 8 gauges per screen. I ended up buying a used 7" Android tablet. It works great. I just have to build the mount!

    So you can run multiple devices!

    G - Tablet, they are cool!!
    73 de Pat KK6PD Tap-A-Talk Rocks!!!I
     
  14. miscrms

    miscrms Plug Envious Member

    Joined:
    Aug 21, 2007
    2,076
    523
    5
    Location:
    Phoenix, AZ
    Vehicle:
    2005 Prius
    Can anyone suggest a cheap android tablet option that would be up to running this? There are a lot of options out there, and I'm pretty clueless about android as we're mostly an Apple household. I'm guessing one of the cheap resistive touch ones would be ok (might require some hacking?) as long as the processor is up to the task. Unfortunately there doesn't seem to be anything on the iOS platform with this kind of power and flexibility. I've been thinking about trying to build Priidash on an old laptop, but am very tempted by the display flexibility Torque appears to provide.

    Anyone know if this could talk to a BMS2 if doing a PHEV conversion without a CANView?

    Great work, and great thread! Thanks all!
     
    1 person likes this.
  15. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    yhea thats a good thing... use torque app to send a message to control the bms+/2
    or maybe the otheer app candroid!

    that would be a modern up to date way of controlling it! welll maybe not that good ( crash app at a critial moment? ) but nice looking ;-)
     
  16. KK6PD

    KK6PD _ . _ . / _ _ . _

    Joined:
    Mar 24, 2008
    4,003
    946
    118
    Location:
    Los Angeles Foothills
    Vehicle:
    Other Hybrid
    Model:
    N/A
    I picked up a VistaALC from Amazon for just a little over $100bucks.It has 7" screen,bluetooth, and a nice crisp display!
     
  17. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    7" may be ideal. My Touchpad is too big. I hide it under the seat when I use it (rarely).

    The phone is too small but it is much easier to hide.
     
  18. planetaire

    planetaire Plug in 20 kWh 85 km/h or > 208km range

    Joined:
    Aug 11, 2009
    190
    139
    15
    Location:
    France
    Vehicle:
    2007 Prius
    Model:
    II
    In order to control bms+ you only need sending a pid 556 with the good data (end voltage or orig or soc)
    And to receive bms+ messages just read passive pid 555.

    That is what my PC do since 2011, using canusb dongle and windows.

    :)
     
  19. Jimbo69ny

    Jimbo69ny Active Member

    Joined:
    Feb 27, 2012
    712
    107
    0
    Location:
    Ithaca, NY
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Im must be doing something wrong because I cant get the custom pid's to show up in Torque.

    I added the docs you posted to the .torque folder, followed the instructions to add them in the torque app but the only pids there are
    motor mg2 rpm
    motor mg2 torque
    generator mg1 rpm
    generator mg1 torque.

    I really want battery voltage and state of charge displays.

    what do I need to do?
     
  20. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    When you go to Setting to Manage PIDs and Add Predifined PIDs, you should get this screen. You should choose the last choice.

    ][​IMG]
     

    Attached Files: