<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Steve,<br>
    <br>
    Curious why he didn't use the regular OBDII connector under the
    driver's side dash?  +12v is about the only thing it provides that's
    useful.  I don't think it's switched off when the car sleeps, but
    could be wrong there.  <br>
    <br>
    Switching the OVMS external 12v is easy and pretty reliable with a
    pair of 1-line scripts for vehicle.on and vehicle.off events, if he
    wants to follow the car's key-on state.  <br>
    <blockquote>vfs append 'power ext12v on'
      /store/events/vehicle.on/myevent<br>
      vfs append 'power ext12v off' /store/events/vehicle.off/myevent<br>
    </blockquote>
    The Roadster doesn't seem to support vehicle.awake or vehicle.asleep
    events, however, so triggering the camera if someone were to open a
    door, for example, wouldn't work.<br>
    <br>
    Greg<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Mark Webb-Johnson wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:D4FACA53-1A60-4592-B2DD-36CE487CF3A4@webb-johnson.net">
      <blockquote type="cite">
        <pre wrap="">had to remove his OVMS because he
had installed a dashcam and needed to plug into the diagnostic
connector to get +12V.
</pre>
      </blockquote>
      <pre wrap="">
I suggest he “T" it. If he can wire up a plug for that weird Roadster DIAG port, he can wire up a socket as well. :-)

There are plenty of places in the roadster to tap into permanent 12v, but great care needs to be taken because drawing too much power constantly can trigger the switchpack to keep APS fully on all the time. People putting in audio head units commonly hit this issue.

</pre>
      <blockquote type="cite">
        <pre wrap="">Does the +12V Vehicle Power just come straight through from the
diagnostic port connection?
</pre>
      </blockquote>
      <pre wrap="">
No. It goes through a switched output so we can turn it on/off under program control. That might be useful to him. He could remotely turn on/off the dashcam power feed. OVMS v3 can also be configured to just switch it on automatically on boot.

Regards, Mark.

</pre>
      <blockquote type="cite">
        <pre wrap="">On 23 May 2018, at 2:55 PM, Stephen Casner <a class="moz-txt-link-rfc2396E" href="mailto:casner@acm.org"><casner@acm.org></a> wrote:

On the Roadster drive organized by spiderguy this past weekend, one of
the participants mentioned that he had to remove his OVMS because he
had installed a dashcam and needed to plug into the diagnostic
connector to get +12V.  I told him that OVMS v3 will have the ability
to present an OBDII connector, which is what the camera really wants.

Does the +12V Vehicle Power just come straight through from the
diagnostic port connection?

                                                       -- Steve

On Wed, 23 May 2018, Mark Webb-Johnson wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">
As discussed, the HUD cables have been produced and seem ok. I received a pair today, hot off the production line in China. Here is the specification:

OVMS v3 HUD/OBDII-F Cable

One end (DA26-M) connects to the OVMS v3 DIAG (expansion) connector. The other end provides an OBDII female (J1962-F) connector. Cable wiring is as follows:

J1962-F   DA26-M  Signal
4         8       Chassis/Power GND
5         8       Chassis/Power GND
6         16      CAN-H (primary CAN)
14        6       CAN-L (primary CAN)
16        18      +12V Vehicle Power
Cable includes a 120ohm resistor between DA26 pins 16 and 6.

This provides for an OBDII expansion port for OVMS v3 and allows devices such as OBDII dongles, Heads-up-Displays (HUDs), etc, to be connected to OVMS using the ‘obd2ecu’ firmware module.

They look really nice. Moulded, tough, and stubby. DA26 expansion connector to OVMS has screws to hold it in place, and they seem to work well. We had to make a MOQ (minimum order quantity) of 100, and they will go up on Fasttech over the next couple of days (along with stock replenishment for some other cables running low / out of stock). These are relatively expensive to make (moulded DA26 connectors, 120ohm resistor, etc), so will be US$14.50 each (including free shipping).

Regards, Mark.
</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>