<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2013/9/10 Mark Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div style="word-wrap:break-word"><div><br></div>That is a neat idea, and I've seen some battery-backup circuits work this way.</div></blockquote><div> </div><div style>Thank you. As a bonus, this will also prevent polarity inversion.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The circuit comes down to 1xLP2992 for 3.3V power, 2xSN65HVD235 for CAN, 1xMCU(3.3V), DB9 & USB connectors, ICSP pins (for emergency), expansion pins (arranged for optional bluetooth module), and a few passives. That is neat.</div>

</div></blockquote><div><br></div><div style>I'm a bit paranoid, so I would add a TVS diode and a fuse, and two ferrite filters on the supply input, but none of them are strictly necessary...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div style="word-wrap:break-word"><div>Now, what would be truly amazing is if we could fit an SD-CARD in this, <br></div><div></div></div></blockquote><div><br></div><div style>I was going to ask that too, but since the goal was to reduce the costs, I just asked for the expansion headers! :)</div>

<div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>

Anything else?</div></div></blockquote><div><br></div><div style>I still prefer the ARM over the PIC, especially if you are going for the SD car slot! :) MBED FAT libraries are awesome.</div><div style><br></div><div style>

<div>SDFileSystem sd(p5, p6, p7, p8, "sd");</div><div>...</div><div>int main() {</div><div>    FILE *fp = fopen("/sd/sdtest.txt", "w");<br></div><div>    fprintf(fp, "12345678");    </div>

<div>    fclose(fp); <br></div></div><div style>}</div><div style><br></div><div style>Regards</div><div style>MG</div></div></div></div>