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

"De"-nginer

Discussion in 'Gen 2 Prius Technical Discussion' started by Bruce Meacham, Jul 3, 2012.

?
  1. Sure, why not

    87.5%
  2. You are high

    0 vote(s)
    0.0%
  3. Did you think about...

    12.5%
  1. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    They are probably the byte number, i.e. A = byte 0, B = byte 1 and so on. Probably how the Torque uses the byte addressing.
     
  2. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    "02" tells how many bytes of data to follow, and "21 c3" is two bytes.
     
    planetaire and lopezjm2001 like this.
  3. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    Yes. There may be some offset (or may not) but it's easy to figure out once you get some data and take a look.
     
    lopezjm2001 likes this.
  4. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Thanks.

    What is the significance of "07" in 07E2? does it mean PID request?
     
  5. 2009Prius

    2009Prius A Wimpy DIYer

    Joined:
    Mar 25, 2009
    2,705
    510
    63
    Location:
    USA
    Vehicle:
    2009 Prius
    I don't really know all the details of CAN specification but I think "7E2" as a whole is an address. For your project it's probably worthwhile to study the CAN specification a bit.
     
  6. Bruce Meacham

    Bruce Meacham 2005 Prius/Enginer 4kwh and BMW EV conversion

    Joined:
    Jun 17, 2012
    45
    8
    0
    Location:
    Kansas
    Vehicle:
    2005 Prius
    Model:
    N/A
    I wrote a .net PoC to en/decode the messages from the wrapper. It's pretty simple.
     
  7. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Ooh, thems fightin' words mister! But yeah, you're right I can probably manage to screw that up. However, the CAN commands didn't appear to be working on the eMega either.

    I got my Mega today and the CAN works on this one. Plus, I've managed to integrate the CAN commands into MMBasic 3.2C. I'm off to TBS forum to post my results and then I'll also send email to Geoff (MMBasic) & Frank (CAN files) to see if it can be rolled into the official release by Geoff...
     
    lopezjm2001 likes this.
  8. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Great. I hope to use mmbasic 3.2C soon. Let us know when it is available. Thanks.
     
  9. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Hi JDH,

    I cannot get my PID requests to work with my Duinomite Mega using DMbasic. Let me know if you can. Thanks.

     
  10. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Thanks. I have done some searching and cannot find anything specific to 07. It is probably Toyota intellectual property. The only significance I can find is that being a 11 bit identifier it is the highest number you can use hence it has the lowest priority and if the Canbus is too busy it has to wait. 07 is probably specific use for a Toyota technician OBD2 plug device tool like a Mongoose cable.
     
    2009Prius likes this.
  11. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Yup - it's next on my list...
     
  12. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    114
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
    Lopez ,jdh, and Bruce

    I have a question or inquiry.In order to get myself started. I would need a emega duniomite aka arduino, obd y split cable, green canbus adapter. I realize some of the cable may be custom. The 4 relay module/led this required why.
     
  13. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    At least one relay is needed to drive a PHEV contactor to connect my A123 lithium pack to my OEM HV battery. In which case you also need a BMSplus or a BMS2. I use other relays to drive my two Enginer kits and a HV battery fan cooling modification so fan keeps OEM HV battery cool in summer. All this applies to a PHEV using the contactor method.

    This thread is about using a device to replace the OEM battery ECU and OEM battery pack which is relatively new. Both methods are very different.
     
    NortTexSalv04Prius likes this.
  14. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    114
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
  15. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    This part is not right - you don't want the eMega.

    You need the DuinoMite Mega.

    (1) you DO NOT want the eMega version
    (2) this is NOT the same as an arduino (it just happens to be compatible with some aspects of the arduino but you won't be using those compatibility features)
     
    NortTexSalv04Prius likes this.
  16. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    Wy no emega?
    It the same with added stuff like ethernet.
    You can have it send a email to you when charging is compleet ;-)

    -Htc Tapatalk ( sorry for auto spell correct )
     
  17. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Because I couldn't get CAN working on the eMega - but it works just fine on the Mega. Plus, as far as I know there's no email client written for the eMega, and you'd want wi-fi not wired ethernet....
     
  18. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    JHD,

    You forgot to mention to FWD that the eMega uses a stereo plug for a Canbus port which was giving you DTCs. When you plug in the stereo plug bad connections are made which causes the Prius to throw a DTC. A stereo plug is just not meant for a Canbus port. I would stay away from the eMega until they change the Canbus port and actually has a Canbus that works.
     
    NortTexSalv04Prius likes this.
  19. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    A ok
    In that case i hardwire it to the board
    And i like it all wires dont like WiFi
    Your plugged in anyway

    -Htc Tapatalk ( sorry for auto spell correct )
     
  20. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Remember it wasn't just the physical connection - I couldn't actually get the eMega connected to CAN - it simply hangs in the canopen command. The upside of Olimex is that they're prolific, they're feature rich, they're open and they're excellent value for money. The downside is, apparently, not everything works right out the box. But, for my money the upside far outweighs the downside.

    You'll need a mighty long CAT5 patch cable to have your Prius email you when it's finished charging at a public charging station...