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

Arduino Automatic Coolant Temp Hack for Better MPG's

Discussion in 'Gen 2 Prius Accessories & Modifications' started by TheForce, Feb 23, 2011.

  1. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    yhea i also PM and emailed him but no response yet...
     
  2. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    115
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
    unable to see images
     
  3. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    Yeah you will have to get a hold of him for his version. He was last logged in today around noon so he is still around.

    As far as my Arduino version goes the source code and the schematic is in the first post. I had it working pretty good on my breadboard with an Arduino Nano but never finished up since I'm using ccdisce's version. Which reminds me I need to update my review thread for cold weather use.
     
    1 person likes this.
  4. usnavystgc

    usnavystgc Die Hard DIYer and Ebike enthusiast.

    Joined:
    Jul 29, 2011
    3,159
    989
    0
    Location:
    Tucson, AZ
    Vehicle:
    2005 Prius
    Model:
    Four
    CCDISCE,
    If your reading this and you would like to help me and Flying White Dutchman out, please email me at the email address listed in my previous post or pmail me. Or if you are no longer doing this, let us know that too. If the latter is the case, we understand.
     
  5. usnavystgc

    usnavystgc Die Hard DIYer and Ebike enthusiast.

    Joined:
    Jul 29, 2011
    3,159
    989
    0
    Location:
    Tucson, AZ
    Vehicle:
    2005 Prius
    Model:
    Four
    Is there any way you could try to pmail him for me. I don't think my pmail works (or I don't have access to it) because I show no sent items despite sending two to him.

    FWD,
    Do you show any "Sent Items" in your "Private Messages"?
     
  6. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    Did you PM him or send an email? If just PM then you might want to try the email route as he may get that.
     
  7. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
  8. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    I got a response from him. Told him to contact you both if he still wants to sell them.
     
    1 person likes this.
  9. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    i got a message! ;-)
    thx
     
  10. tom1l21

    tom1l21 Member

    Joined:
    Mar 24, 2009
    268
    13
    0
    Location:
    East Longmeadow, MA
    Vehicle:
    2005 Prius
    I'm guessing you aren't making these anymore? I'd love one for my Gen II!
     
  11. 2009Prius

    2009Prius A Wimpy DIYer

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

    selg81 Junior Member

    Joined:
    Feb 22, 2008
    6
    2
    0
    Location:
    toronto
    Vehicle:
    2011 Prius
    Model:
    One

    I'm trying to compile with arduino 1.0.6 and aim getting error:
    aacth:27: error: 'DigiPot' does not name a type
    anyone has any idea?
     
  13. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    I have not messed with this for a long time. I don't even use it. I actually still have the prototype in my breadboard. I've been busy with other projects. I use ccdisce's device and gave up on mine.

    Make sure the directory structure is correct with the DigiPot.h. I don't remember much about the arduino software but don't you have to import or place the .h and or the .cpp file in a directory that's located in your arduino directory?
     
  14. selg81

    selg81 Junior Member

    Joined:
    Feb 22, 2008
    6
    2
    0
    Location:
    toronto
    Vehicle:
    2011 Prius
    Model:
    One
    in the library - i know, i should have the digipot files in the library - also found universal mcp42xx library, but still getting the error,
    I'm using Arduino because i have 2 imiev chargers built on it.
     
  15. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    Just got home and installed the arduino IDE. I'm running kubuntu linux so your location might be different.

    DigiPot folder I put into /home/<username>/sketchbook/libraries/

    On a windows box I think that might be your documents folder/sketchbook/libraries or something like that.

    At least with the 1:1.0.5+dfsg2-2 version that I installed from the software center I had to make some changes to the DigiPot.cpp and DigiPot.h files.

    Replace

    Code:
    #include "WProgram.h"
    With

    Code:
    #include "Arduino.h"
    Thats the only change I made to get it to compile. I never did get your error. Your error sounds like the DigiPot folder is not in the right location.
     
    Meg&Bear likes this.
  16. selg81

    selg81 Junior Member

    Joined:
    Feb 22, 2008
    6
    2
    0
    Location:
    toronto
    Vehicle:
    2011 Prius
    Model:
    One
    that did the trick, i had it in libraries in were the program files are.
    it did compiled without errors - i'm going to connect it now to prius,
    Thanks a Lot!
     
    Meg&Bear likes this.
  17. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    You're welcome. Might want to test it with a multimeter and a variable power supply to make sure things work correctly. Thats how I tested it before I put it in the Prius. Or at least modify the code to simulate the temperatures. Just a small precaution to make sure everything is correct. Its better to short out the board than the Prius. :)

    Let me know how it goes. I kind of want to finish this up with the multi color LED in the dash.
     
    Meg&Bear likes this.
  18. selg81

    selg81 Junior Member

    Joined:
    Feb 22, 2008
    6
    2
    0
    Location:
    toronto
    Vehicle:
    2011 Prius
    Model:
    One
    I was using the resistor trick on gen1 but i couldn't implement this on gen2 it has 2 points of checking the temp - radiator coolant and the thermos. but gen3 is very forgiving in changing the resistance - but i always forget to turn it off on the highway - this will be great "plug it and forget it" gizmo
     
    Meg&Bear likes this.
  19. mindogas

    mindogas Junior Member

    Joined:
    Nov 7, 2014
    12
    8
    0
    Location:
    Kaunas
    Vehicle:
    2007 Prius
    Model:
    Two
    In case i have no problem with Arduino stuff i'm going to try to make this project.
    For start i made all the hardware on breadboard, tested on bench, and next day moved to the car.
    DSC_0776.jpg
    During tests in non running car everything seemed OK.
    DSC_0779.jpg
    Next morning at 10'C temperature i tried everything on the go. Started car, engine heated to 45'C and spoofing started. Everything was OK till the end of the journey. Her is the log of it:
    Clipboard01.jpg
    So i will continue to test how stuff works and will try to make standalone Arduino device of this hack. Right now breadboard version on the car are safe to handle i think.

    Thank you Force for making this project till here. Will see, maybe it still have potential.
     
    Meg&Bear likes this.
  20. TheForce

    TheForce Stop War! Lets Rave! Make Love!

    Joined:
    May 30, 2005
    3,461
    537
    0
    Location:
    Wheelersburg, Ohio
    Vehicle:
    2006 Prius
    Model:
    N/A
    Your welcome. I never got past the bread board stage but it did work from what I remember. I think the only issue I was having was a temperature issue with the transistor. Depending on the temperature of the transistor you get different values and I never did fix that. So you may want to get some canned air and play with the temperature of the transistor to see what it does. You might have to do some adjustments with an additional external temperature sensor or do a circuit redesign. I'm still using ccdisce's version in my car and never really wanted to mess with mine. I've been having some trouble with his not working but I have not had any issue from it for the past few months.

    Let me know how yours goes. I would still like to use mine with the multicolor LED just to let me know it working and what its doing. If I ever get time I would like to work on it again.
     
    Meg&Bear likes this.