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

My Duinomite Mega Canview V4 equivalent Project

Discussion in 'Prius PHEV Plug-In Modifications' started by lopezjm2001, Jul 19, 2012.

?
  1. Yes

    11 vote(s)
    100.0%
  2. Prefer to use Android Torque device

    0 vote(s)
    0.0%
  3. Prefer to use Scangauge

    0 vote(s)
    0.0%
  1. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Yeah, I was thinking the same sort of thing.
     
  2. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    From : YAPiP - recreating pEEf's approach | Page 8 | PriusChat

    038.B0.b6 = READY (is this the actual one and only READY signal or something else that is high all the time?)

    That's: Message ID 0x38, byte 0, bit number 6.

    BTW, strictly speaking in CAN terminology I don't think these are called PIDs. I think only the things you request are PIDs.
     
    lopezjm2001 likes this.
  3. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Thanks. I will have to check that this signal is not high during accessories 1 or 2 position. If so then it probably is the ready signal. Then maybe check that it goes low when a DTC is caused which causes the Prius to shutdown.
     
  4. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    A m also going to get it this week i hope
    I am thinking about different screens with large fullscreen voltage and soc display

    Also will it not speed things up to have readouts on different screens so less are read out at the same time?
    Or is it now speedy enough?

    where do i get that green contra connector for the canbus? is it included?

    -Htc Tapatalk ( sorry for auto spell correct )
     
  5. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    The results are in on the Prius READY signal.

    PID 038 byte 0

    = 192 or B 1100 0000 when ready
    = 128 or B 1000 0000 when in accessories 2 position.

    Canbus not running in accessories 1 position.

    EDITED
     
  6. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    so this canbus ready signal can be used to control the relay state for the EV contactors
    NICE!
    did you also set a DTC to see when ready going off the canbus id is no longer there?

    i hope to get my mega tomorrow..!!
    that green canbus connector what is the name for it? i need the contra or is there one provided with the mega?
     
  7. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    You can program whatever you like using mmbasic if you think you are better than a 12 y.o. Kid.

    I think it is speedy enough.

    It is included.
     
  8. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Due to also indicating the accessories position I am pretty confident it is the ready signal. I do not really want to cause a serious DTC, too much trouble to go to.
     
  9. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    disconnect the ICE ecu plug i think it wil not go into ready and nothing happens!
     
  10. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    The good thing about the ready signal is that when it is not ready you can load a sleep program i.e Sleep.BAS which just loops until it gets a ready signal and then load autorun.BAS. Maybe minimize Duinomite CPU power usage when sleeping and turn off relays. Send "Sleep mode" to VGA screen. Even machines need their sleep.
     
    NortTexSalv04Prius likes this.
  11. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    so what about that green connector
    what is it called and where to get it?
    or is the board provided with a male contra connector to plug in to the socket for the canbus wires on the board?
     
  12. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Yes, it's provided.
     
  13. jdh2550

    jdh2550 Co-Founder, Current Motor Company

    Joined:
    Nov 16, 2010
    317
    249
    0
    Location:
    Ann Arbor
    Vehicle:
    2005 Prius
    Model:
    N/A
    Sounds great.

    So do I!! Work's been kicking my butt over the last few days (and nights) - so I haven't been able to work on any of this. Once I'm out of the woods at work I'll get back to it...

    BTW, I did try the PID request but still couldn't make it work. Next step is to hook up the Atmel to log the bus and then have the DM send the PID request. Three possibilities: (1) DM is not sending it; (2) DM is sending it but wrong format; (3) DM is missing the response.

    Anyone want to guess which it is?
     
    lopezjm2001 likes this.
  14. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    I have not got around to sending PID requests yet. I will soon. I have been successfull in sending a PID 556 to the BMSplus to change the end voltage. Keep us posted on the PID requests. Thanks.
     

    Attached Files:

    NortTexSalv04Prius 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
    Did you upload the latest code?
    I am going to put it on my mega today i hope...

    -Htc Tapatalk ( sorry for auto spell correct )
     
  16. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Yes, latest code is always found in first post of this thread. It is also dated.
     
  17. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    115
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
    JDH
    I am not sure where you are with the Atmel setup ............FYI their are hardware bridges available to mate with duinomite mega......
     
  18. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    Shields are those called
    There is also a ethernet shield..

    -Htc Tapatalk ( sorry for auto spell correct )
     
  19. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    got the megaview but when i run the canview.bas then the screen blanks and then back to the prompt
    i have it on my desk so not in the car
    or if thats not the problem i am running basic version 2.7a 2011...

    edit

    i loaded MM3.2a ( can not find 3.2c ) and it did work only i got a error on the opencan command )
    then i loaded the 012-04-12-DMBasic-CAN.hex files but got the same problem again blank screen and back to prompt
    guessing i need the 3,2c firmware?!

    edit
    here it is
    MMBasic - BASIC Interpreter Downloads


    edit

    loaded 3,2c and the megaview is starting but still get the caopen 500000 unkown command error
    i dont have canbus connected but i would expect just a error not a unkown command!

    EDIT : new version idears
    use of the sound output of the duinomite mega to have a audiable message when something is going wrong! like to high voltage or to lo SOC or anything else where the attention is needed to the screen.
    also maybe have a timed EVcancel routine where if the voltage drops below ( lets say 205 ) 205 for more then 2 seconds the ev is canceled ( this because cells are pretty empty and can stil provide energy but not in the amps rate's wihtin EV mode is possible.

    edit
    time flys when your having fun.. made a canbus cable from a old elmscan usb adapter odb2 cable will try that out tomorrow..

    also found that with MMbasic you need to have autorun.bas instead of with mmbasic autoexec.bas to auto load your program on startup of device
    needs to be in root of sdcard

    also i got a 2gb micro sdcard because somehow i was thinking 2gb was the max but the device can read al sizes fat16 and fat32........

    edit: odb2 cable to megaview connection pinout

    http://www.obdstore.com/wp-content/uploads/2011/09/obd2_cable_pinout.png

    Pin 1 ground duinomite mega canbus connector to odb2 plug pin 5 signal ground ( not chassis ground )
    Pin 2 canbus low duinomite mega canbus connector to odb2 plug pin 14 canbbus Low
    Pin 3 canbus high duinomite mega canbus connector to odb2 plug pin 6 canbus High
     
  20. Flying White Dutchman

    Flying White Dutchman Senior Member

    Joined:
    Dec 29, 2007
    4,374
    313
    0
    Vehicle:
    Other Non-Hybrid
    Model:
    N/A
    So lopez whats the correct firmware to use?

    -Htc Tapatalk ( sorry for auto spell correct )