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. SynEco@eVehicle.co.nz

    Joined:
    Jan 9, 2007
    139
    19
    0
    Vehicle:
    2004 Prius
    Model:
    II
    :eek: ..........

    o_O hhmmppfff

    :confused: thought as much ..... :rolleyes:

    :)
    Made some code changes today .. mainly to the f3() routine ...
    seems to fixed most of the crashes and future proofs the subroutine for
    anticipated additional display Pages.

    There is at lest one or two possible highly intermittent crashes
    yet to be fixed.. "Out of Memory" was one :(

    We will send you the Code changes shortly ..... :whistle:

    :cool: But we now require (based on your comments above)
    that you agree to put an acknowledgment for us in the "ReadMe" file as the ....

    >>>>>>>>>>>>>>>>>>>>>>
    Official DuinoMite Mega CanView
    0 Contributor,
    o Trouble Shooter,
    o Quality Manager, and
    o Systems Integrator

    :p :D

    Let me know if I have your agreement ? (y)
    And the our full report and Code changes will be forth coming

    :whistle: ...... :coffee:
     
  2. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    I guess you will just have to make your own changes. Good luck..
     
  3. SynEco@eVehicle.co.nz

    Joined:
    Jan 9, 2007
    139
    19
    0
    Vehicle:
    2004 Prius
    Model:
    II
    Upto you ..

    I'm Happy to do whatever You require .. to co-operate and get this application as robust and as use-able as possible.

    Could develop a automated stress tester application that would press all the buttons and capture error messages Automagically. :)
     
    #483 [email protected], Oct 16, 2014
    Last edited: Oct 16, 2014
  4. SynEco@eVehicle.co.nz

    Joined:
    Jan 9, 2007
    139
    19
    0
    Vehicle:
    2004 Prius
    Model:
    II
    DuinoMite CANVIEW being now controlled from ANDROID Smartphone Touch Screen Interface
    First Drive test of DuinoMite Mega CANview today WITHOUT a PS/2 keyboard ..... :)
    (after fixing a few keyboard interface bugs with the latest version)

    DuinoMite CANVIEW software is now being controlled from ANDROID Smartphone Touch Screen GUI via BlueTooth serial Interface to MMbasic on Duinomite..

    Went well and very pleased so far ... :)
     
    #484 [email protected], Oct 16, 2014
    Last edited: Oct 16, 2014
  5. SynEco@eVehicle.co.nz

    Joined:
    Jan 9, 2007
    139
    19
    0
    Vehicle:
    2004 Prius
    Model:
    II
    Have added two new features ..

    1. CANview is setting the MMbasic clock now, MMbasic clock is set via requesting Date and Time (at startup) from Android OS over the BlueTooth Serial link

    2. CANview can output in Speech on Android device via the BlueTooth link.

    Uses the MMbasic Print Output over serial to send the "speech commands"

    Any Print output to the serial link beginning with the "say" command ....

    PRINT #6, "say ...... message to be spoken here ....."

    Will be spoken by the Android device (with FuLL colour GUI /Touch screech / Voice and speech enabled interface)
    e.g.
    If ForcedEV=1 Then
    Print #6, "say Forced EV mode detected. Engine is now disabled. DTC fault will now be cleared"
    F12() : Pause 50 : F12 : Pause 50 : F12 'This clears (Forced EV) DTC code at start up.
    Print #6, "say DTC forced EV fault code has now been logged and cleared. now activating Battery depletion warning"
    F2() 'enable battery depletion warning
    EndIf

    These speech output commands are also use full for debugging
    ( still one annoying legacy "out of memory" crash yet to be resolved. )

    BTIcomm: 'RS232 BTI comms via Bluetooth on ANDROID Device (set as master at 9600 baud, 1 stop bit, no parity and no flow control
    print #6, "echo btiactive" : pause 1000 'Check if RS232 BT link to BT interface on Android is connected
    k$=Input$(12,#6)
    If k$="btinterface" then bti=1 : print #6, "say receive btinterface BlueTooth Android Interface initialiseation detected" ;
    If k$="btiactive" then bti=1 : print #6, "say BlueTooth Android Interface already active. Blue Tooth interface = 1";
    IF bti=0 then PRINT #6,"say BlueTooth Android Interface NOT detected" : PRINT "BlueTooth Android Interface NOT detected"
    IF bti=1 then Pause 1000 : Return

    Messages can also be displayed in "pop up text bubbles" that display for a few seconds on the Android display.

    It is also possible now to send remote data to the DuinoMite CANview serial BT interface via SMS Text message if the Android Device
    is a Smart Phone with SIM installed.
    This can also be used to send "spoken" SMS text messages to the Vehicles occupants.

    Data can also be logged to the Android device if required.

    ...more to come ......watch this space ........ ;)
     
    lopezjm2001, dave77 and planetaire like this.
  6. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Hi Jonas,
    You can only get colour when using with the Colour Maximite(by Geoff) or the CGcolormax2(by CircuitGizmos).
    You do not mention which device you are using so I am assuming you are using a Duinomite Mega which is not capable of colour. I am currently using the CGcolormax2 which uses colour. Hope this helps.
     
  7. Jonas Andersson

    Jonas Andersson Junior Member

    Joined:
    Jul 25, 2015
    3
    0
    0
    Location:
    Sweden, Stockholm (norrort)
    Vehicle:
    2005 Prius
    Model:
    II
    Thanks for the reply. You are spot on, I'm using the Duinomite Mega.

    I did the cabling to power the Duinomite Mega as described in your first post, but this results in the board being constantly powered since pin 16 in the OBD2 connector always has battery voltage.

    Is this the way you are running your board? No risk of AUX battery draining?
     
  8. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    You can see how much power is drawn by the Duinomite Mega at this post My Duinomite Mega Canview V4 equivalent Project | Page 21 | PriusChat

    I have a 12V battery charger installed at the rear so that when my PHEV 224Vdc battery is being charged so is my 12v AUX battery. Not much chance of my 12V AUX battery becoming flat along as my Prius is plugged in. This way you can leave your Prius parked for months without driving it and not worry about your AUX battery becoming flat and thus extend it's 12V battery life.
     
    #489 lopezjm2001, Sep 19, 2015
    Last edited: Sep 19, 2015
  9. SynEco@eVehicle.co.nz

    Joined:
    Jan 9, 2007
    139
    19
    0
    Vehicle:
    2004 Prius
    Model:
    II
    Not doing much on this now as have upgraded to Zero Emisions Nissan LEAF .. Daugther mainly uses the PRIUS now
     
  10. EngMarc

    EngMarc Member

    Joined:
    Jun 8, 2016
    61
    42
    0
    Location:
    Pittsburgh, PA
    Vehicle:
    2013 Prius
    Model:
    Five
    Ok, can someone give me a 'recipe' to get CanView started on my 2013 Prius? I''ve read and read and read and it seems an every evolving organic being these days. I'm a Mac guy so understand I may have to break down and buy a cheap linux or windows laptop - not a problem at all. What is a problem is know what to go out and purchase and how to put it all together to get started. I will definitely contribute once I get up and doing stuff and hopefully due to my engineering background, I will make some interesting progress.

    So, maybe Lopezjm or someone else will kindly post a recipe for success when building up a CANView setup from scratch?
     
  11. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Hi Engmark and welcome to the forum,
    Use an OBD2 splitter cable, a Duinomite Mega with CANbus and a mini-VCI. Use the Duinomite Mega to spy on what Canbus messages leave the mini-VCI and what returns from the Prius's ECUs. Kind of what programmers call a sniffer. You will be the first to do a Gen3 Prius.
    Record the results on a Excel spreadsheet and post it on this thread. Should be a walk in the park for an Engineer.
    Good luck.
     
  12. EngMarc

    EngMarc Member

    Joined:
    Jun 8, 2016
    61
    42
    0
    Location:
    Pittsburgh, PA
    Vehicle:
    2013 Prius
    Model:
    Five
    So this may sound dumb, how do I put on and type on the Duinomite Mega? It seems to be a tiny computer (reminds me of my TI-99/4a if anyone remembers those days). I was reading Vass' site and he used Linux compiled with USB support and then displayed stuff in charts. That looked cool too and I'm an old Linux geek.
     
  13. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    The Duinomite Mega is a cheap and small PC (mini-PC) using old technology. Use a PS2 keyboard with a VGA monitor.
    I use simple mmbasic as it allows any user to make their own changes. Being an Engineer you could use any of the newer and faster hardware using a low level programming language to achieve the same.
    Vass did it the hard way, recorded the raw data of unsolicited CANbus messages and reversed engineered. I doubt that at the time a cheap mini-VCI was available which allowed you to spy on solicited CANbus messages.
     
    #494 lopezjm2001, Jun 12, 2016
    Last edited: Jun 12, 2016
  14. lopezjm2001

    lopezjm2001 Senior Member

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

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    It was so cold this morning in Sydney. It got down to 1 degree Celsius in the morning.
    Prius 1.jpg
    I saw this image on the dashboard for the first time ever. Warning me there may be snow on the road? But there wasn't. Maybe it was warning me that I should stay at home in bed.
    Prius 2.jpg

    Prius 3.jpg
     
    NortTexSalv04Prius likes this.
  16. mrbigh

    mrbigh Prius Absolutum Dominium

    Joined:
    Sep 6, 2005
    3,686
    699
    2
    Location:
    Long Island, NY
    Vehicle:
    Other Electric Vehicle
    Yay....
     
  17. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    SFO likes this.
  18. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    115
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
    Lopez are you still run with a enginer phev kit
     
  19. lopezjm2001

    lopezjm2001 Senior Member

    Joined:
    Apr 14, 2009
    1,146
    407
    5
    Location:
    Sydney Australia
    Vehicle:
    Other Electric Vehicle
    Model:
    N/A
    Not for my Prius. I now use my Enginer Kit as an off-grid battery to power my bouse. Minus it's BMS using a PIP4048MS inverter instead of thé DC Converter. The DC Converter does not last in the hot conditions of the Australian summer.
     
    #500 lopezjm2001, Apr 15, 2018
    Last edited: Apr 15, 2018
    SFO and NortTexSalv04Prius like this.