Same problem I had with the BeagleBone. All of the *bone's pins are 3.3v. I based a couple of level shifters off of a <a href="http://www.sparkfun.com/products/8745">Sparkfun design</a>. Basically it is a transistor for the TX line and a resistor for the RX line. The elegance of this design is it is 4 resistors and one transistor.<div>
<br></div><div>William<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 7:27 PM, Mark Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>For the hardware guys - Michael Stegen, Brian, William - anyone :-)</div><div><br>
</div>On the v1 board, we have:<div><br><blockquote type="cite"><p class="MsoNormal"><span lang="EN-US"></span></p></blockquote></div></div><br><div style="word-wrap:break-word"><div><blockquote type="cite"><p class="MsoNormal">
<span lang="EN-US"></span></p></blockquote></div><div><br></div><div><div>The MAX942 chip is used for the SIMCOM TX -> PIC RX line, to convert the 3.3v SIMCOM async communication to 5v TTL for the PIC.</div><div><br></div>
<div>My understanding of this is that the SIMCOM chip, while expecting 3.3v can accept 5v (TX from PIC, RX to SIMCOM) - and a diode is used on the circuit for this. But on the line from the SIMCOM to the PIC (TX from SIMCOM, RX to PIC), the SIMCOM only gives out 3.3v, but the PIC requires 5v TTL levels. One half of the MAX942 is used for that, and the other half is unused.</div>
<div><br></div><div>I've seen some reference designs for such conversion, but all required both 5v and 3.3v power to handle it. In the original design (two separate boards), we had no 3.3v power on the PIC board, so could only do it the MAX942 way.</div>
<div><br></div><div>Now, in the new v2 design, we have both 5v and 3.3v power lines on the same board, so perhaps we can do it a simpler way. The MAX942 chip is (relatively) expensive.</div></div><div><br></div><div>The China guys are asking what we want to do with this, and suggesting using resistors to handle the 3.3v->5v conversion now. I guess some sort of voltage divider.</div>
<div><br></div><div>Has anyone done anything similar?</div><div><br></div><div>Regards, Mark.</div><div><br></div></div><br>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div><br></div>