<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Sure.<br>
    <br>
    You need to route an EGPIO line to the DA26 port. For a first test
    you can add a simple jumper on expansion port pins 10/12 to route
    EGPIO_8 to GEP_7 (= pin 21 on DA26).<br>
    <br>
    You should then be able to use the "egpio" command to test your LED.
    EGPIO_1 … _8 labels correspond to MAX7317 ports 2 … 9, so to control
    EGPIO_8, do:<br>
    <blockquote><tt>OVMS# egpio output 9 1  # EGPIO_8 on</tt><br>
      <tt><tt>OVMS# </tt>
        egpio output 9 0  # EGPIO_8 off</tt><br>
    </blockquote>
    (correct me if I'm wrong, Mark)<br>
    <br>
    I wasn't aware there are other cars in need of something like this.
    I'll think about adding the logic as an option to the vehicle
    framework, but I can send you some patch to test this on your
    i-MiEV/clone first.<br>
    <br>
    Regards,<br>
    Michael<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 19.04.19 um 09:24 schrieb Tamás
      Kovács:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGpaXUuD1EG7+voJdem_WCFzb99yog8y7Y6ho-TKPcve4etfDw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I can add for testing a simple led (with resistor)
        , same as SimpleConsole (twizy OVMS V2), to show car is
        recuperating, connected to DA26 external expansion port?</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Michael Balzer <<a
            href="mailto:dexter@expeedo.de" moz-do-not-send="true">dexter@expeedo.de</a>>
          ezt írta (időpont: 2019. ápr. 19., P, 9:17):<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF"> As the Mitsubishi code also reads
            battery current/power level from CAN, it would be trivial to
            add the same logic there.<br>
            <br>
            <br>
            <div class="gmail-m_-4710357977456663205moz-cite-prefix">Am
              19.04.19 um 06:52 schrieb Tamás Kovács:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div dir="ltr">The Trio (Mitsubishi I-Miev and clones)
                  does not activate the brake light on recuperation on
                  2105 and older models, if this is work is very
                  impressive.</div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">Michael Balzer <<a
                    href="mailto:dexter@expeedo.de" target="_blank"
                    moz-do-not-send="true">dexter@expeedo.de</a>> ezt
                  írta (időpont: 2019. ápr. 18., Cs, 23:08):<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF"> Mark,<br>
                    <br>
                    that looks very good. Not sure about general demand,
                    but I think we should have this to enable simple
                    custom hardware I/O extensions.<br>
                    <br>
                    For the Twizy, I was thinking about adding logic to
                    control the brake light from the module. The Twizy
                    does not activate the brake light on recuperation,
                    as that's normally (untuned) not very strong. But a
                    tuned Twizy allows one pedal driving, so needs this.<br>
                    <br>
                    Looking at our case I also think one custom
                    extension board should fit on top of the modem.<br>
                    <br>
                    Regards,<br>
                    Michael<br>
                    <br>
                    <br>
                    <div
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-cite-prefix">Am
                      18.04.19 um 02:36 schrieb Mark Webb-Johnson:<br>
                    </div>
                    <blockquote type="cite"> It seems the attachments
                      were messed up, so attaching again…
                      <div><br>
                      </div>
                      <div>Regards, Mark.</div>
                      <div><br>
                      </div>
                      <br>
                      <fieldset
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159mimeAttachmentHeader"></fieldset>
                      <br>
                      <fieldset
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159mimeAttachmentHeader"></fieldset>
                      <div><br>
                        <div><br>
                          <blockquote type="cite">
                            <div>On 17 Apr 2019, at 10:07 PM, Mark
                              Webb-Johnson <<a
                                href="mailto:mark@webb-johnson.net"
                                target="_blank" moz-do-not-send="true">mark@webb-johnson.net</a>>
                              wrote:</div>
                            <br
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159Apple-interchange-newline">
                            <div>
                              <div dir="auto">
                                <div dir="ltr">
                                  <div>
                                    <blockquote
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159ntes-pcmail-quote"
style="margin:0px;padding:0px;font-family:微软雅黑"><br>
                                    </blockquote>
                                    <blockquote
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159ntes-pcmail-quote"
style="margin:0px;padding:0px;font-family:微软雅黑">Design layout. Looks
                                      good to me, but open to
                                      suggestions...</blockquote>
                                    <blockquote
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159ntes-pcmail-quote"
style="margin:0px;padding:0px;font-family:微软雅黑"><br>
                                    </blockquote>
                                    <blockquote
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159ntes-pcmail-quote"
style="margin:0px;padding:0px;font-family:微软雅黑">We can make in sets of
                                      three PCBs, to keep prices down.</blockquote>
                                    <blockquote
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159ntes-pcmail-quote"
style="margin:0px;padding:0px;font-family:微软雅黑"><br>
                                    </blockquote>
                                    <blockquote
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159ntes-pcmail-quote"
style="margin:0px;padding:0px;font-family:微软雅黑">Regards, Mark<br>
                                      <br>
                                    </blockquote>
                                  </div>
                                </div>
                                <div dir="ltr"><br>
                                  On 8 Apr 2019, at 12:05 PM, Mark
                                  Webb-Johnson <<a
                                    href="mailto:mark@webb-johnson.net"
                                    target="_blank"
                                    moz-do-not-send="true">mark@webb-johnson.net</a>>
                                  wrote:<br>
                                  <br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr">
                                    <div><br>
                                    </div>
                                    A kit of 5 PCBs + SIP edge
                                    connectors + mounting hardware,
                                    unsoldered, would be about US$15 +
                                    shipping. About US$3/board set. With
                                    shipping I don’t think this is worth
                                    doing with less than 3 or 5 boards
                                    per kit.
                                    <div><br>
                                    </div>
                                    <div>Would this be useful?</div>
                                    <div><br>
                                    </div>
                                    <div>Regards, Mark.<br>
                                      <div><br>
                                        <blockquote type="cite">
                                          <div>On 7 Apr 2019, at 9:08
                                            PM, Mark Webb-Johnson <<a
href="mailto:mark@webb-johnson.net" target="_blank"
                                              moz-do-not-send="true">mark@webb-johnson.net</a>>
                                            wrote:</div>
                                          <br
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159Apple-interchange-newline">
                                          <div>
                                            <div dir="auto">
                                              <div dir="ltr">This is the
                                                closest we have today:</div>
                                              <div dir="ltr"><br>
                                              </div>
                                              <div dir="ltr"><span
id="gmail-m_-4710357977456663205gmail-m_-7334428458932344159cid:FB5D7C10-7B69-4ECC-98AF-C500BB6C39A3"><image1.jpeg></span></div>
                                              <div dir="ltr"><br>
                                              </div>
                                              <div dir="ltr">That is a
                                                bare modem board, with
                                                just the sip connectors.
                                                The prototype above is a
                                                K-line transceiver.</div>
                                              <div dir="ltr"><br>
                                              </div>
                                              <div dir="ltr">I think it
                                                would be trivial, and
                                                cheap, to make up what
                                                you show. Perhaps just
                                                solder ready pads at
                                                0.1” pitch, then the
                                                side sip connectors
                                                wired to the first row
                                                of pads at each edge.
                                                Perhaps 5 PCBs in a kit,
                                                with sip edge
                                                connectors, unsoldered,
                                                in a simple plastic bag.</div>
                                              <div dir="ltr"><br>
                                              </div>
                                              <div dir="ltr">Does that
                                                sound like something
                                                useful? If so, I can ask
                                                the China guys for some
                                                idea of pricing. If it
                                                is just the unsoldered
                                                pcbs + parts, I don’t
                                                think it will be
                                                expensive.</div>
                                              <div dir="ltr"><br>
                                              </div>
                                              <div dir="ltr">Regards,
                                                Mark</div>
                                              <div dir="ltr"><br>
                                                On 7 Apr 2019, at 4:38
                                                PM, Michael Balzer <<a
href="mailto:dexter@expeedo.de" target="_blank" moz-do-not-send="true">dexter@expeedo.de</a>>
                                                wrote:<br>
                                                <br>
                                              </div>
                                              <blockquote type="cite">
                                                <div dir="ltr"> Mark,<br>
                                                  <br>
                                                  do you know of some
                                                  kind of prototyping
                                                  board available that
                                                  fits to our piggy back
                                                  expansion layout?<br>
                                                  <br>
                                                  Something like this: <a
href="https://www.robotshop.com/de/de/cytron-arduino-proto-schild.html"
                                                    target="_blank"
                                                    moz-do-not-send="true">https://www.robotshop.com/de/de/cytron-arduino-proto-schild.html</a><br>
                                                  <br>
                                                  Regards,<br>
                                                  Michael<br>
                                                  <br>
                                                  <br>
                                                  <div
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-cite-prefix">Am
                                                    03.04.19 um 06:48
                                                    schrieb Mark
                                                    Webb-Johnson:<br>
                                                  </div>
                                                  <blockquote
                                                    type="cite">
                                                    <div><br>
                                                    </div>
                                                    <div>If you have
                                                      work to do on this
                                                      DA26 expansion
                                                      ports, this is
                                                      pretty cool and
                                                      well built:</div>
                                                    <div><br>
                                                    </div>
                                                    <blockquote
                                                      style="margin:0px
                                                      0px 0px
                                                      40px;border:none;padding:0px">
                                                      <div><a
href="https://www.aliexpress.com/item/26-Pin-D-SUB-DB26-3-Rows-Serial-Parallel-Port-Serial-Shellless-Male-And-Female-Connector/32886738786.html?spm=a2g0s.9042311.0.0.20924c4dg34EEU"
target="_blank" moz-do-not-send="true">https://www.aliexpress.com/item/26-Pin-D-SUB-DB26-3-Rows-Serial-Parallel-Port-Serial-Shellless-Male-And-Female-Connector/32886738786.html?spm=a2g0s.9042311.0.0.20924c4dg34EEU</a></div>
                                                    </blockquote>
                                                    <div><br>
                                                    </div>
                                                    <br>
                                                    <fieldset
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159mimeAttachmentHeader"></fieldset>
                                                    <br>
                                                    <fieldset
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159mimeAttachmentHeader"></fieldset>
                                                    <div><br>
                                                    </div>
                                                    <br>
                                                    <fieldset
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159mimeAttachmentHeader"></fieldset>
                                                    <pre class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-quote-pre">_______________________________________________
OvmsDev mailing list
<a class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
                                                  </blockquote>
                                                  <br>
                                                  <pre class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                                                </div>
                                              </blockquote>
                                              <blockquote type="cite">
                                                <div dir="ltr"><span>_______________________________________________</span><br>
                                                  <span>OvmsDev mailing
                                                    list</span><br>
                                                  <span><a
                                                      href="mailto:OvmsDev@lists.openvehicles.com"
                                                      target="_blank"
                                                      moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a></span><br>
                                                  <span><a
                                                      href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                                                      target="_blank"
                                                      moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></span><br>
                                                </div>
                                              </blockquote>
                                            </div>
_______________________________________________<br>
                                            OvmsDev mailing list<br>
                                            <a
                                              href="mailto:OvmsDev@lists.openvehicles.com"
                                              target="_blank"
                                              moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
                                            <a
                                              href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                                              target="_blank"
                                              moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
                                          </div>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
                                </blockquote>
                                <blockquote type="cite">
                                  <div dir="ltr"><span>_______________________________________________</span><br>
                                    <span>OvmsDev mailing list</span><br>
                                    <span><a
                                        href="mailto:OvmsDev@lists.openvehicles.com"
                                        target="_blank"
                                        moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a></span><br>
                                    <span><a
                                        href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                                        target="_blank"
                                        moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></span><br>
                                  </div>
                                </blockquote>
                              </div>
_______________________________________________<br>
                              OvmsDev mailing list<br>
                              <a
                                href="mailto:OvmsDev@lists.openvehicles.com"
                                target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
                              <a
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-txt-link-freetext"
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                                target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      <br>
                      <fieldset
class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159mimeAttachmentHeader"></fieldset>
                      <pre class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-quote-pre">_______________________________________________
OvmsDev mailing list
<a class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
                    </blockquote>
                    <br>
                    <pre class="gmail-m_-4710357977456663205gmail-m_-7334428458932344159moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                  </div>
                  _______________________________________________<br>
                  OvmsDev mailing list<br>
                  <a href="mailto:OvmsDev@lists.openvehicles.com"
                    target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
                  <a
                    href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
                </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr"
                class="gmail-m_-4710357977456663205gmail_signature">Üdvözlettel:<br>
                Kovács Tamás</div>
              <br>
              <fieldset
                class="gmail-m_-4710357977456663205mimeAttachmentHeader"></fieldset>
              <pre class="gmail-m_-4710357977456663205moz-quote-pre">_______________________________________________
OvmsDev mailing list
<a class="gmail-m_-4710357977456663205moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a class="gmail-m_-4710357977456663205moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
            </blockquote>
            <br>
            <pre class="gmail-m_-4710357977456663205moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
          </div>
          _______________________________________________<br>
          OvmsDev mailing list<br>
          <a href="mailto:OvmsDev@lists.openvehicles.com"
            target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
          <a
            href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">Üdvözlettel:<br>
        Kovács Tamás</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>
    <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
  </body>
</html>