<div dir="ltr">Thumbs up from me.... but now i'm the scared cat up in the tree wondering how to fit that on an opentrv board.... </div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-03 20:03 GMT+02:00 Damon Hart-Davis <span dir="ltr"><<a href="mailto:dhd@exnet.com" target="_blank">dhd@exnet.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
Aim:<br>
<br>
Trying to develop a simple I/O extension/shield system for OpenTRV to add more sensors (etc) easily.<br>
<br>
Also this should allow an easy bridge to other systems such as RPi / BB / etc.<br>
<br>
This must be simple and small and cheap enough to use in hobby / dev / prod environments and allow (in priority order):<br>
<br>
1) I2C expansion.<br>
2) In-Circuit Programming of AVR.<br>
3) One-Wire expansion.<br>
4) Serial off-take, eg for CLI interaction.<br>
<br>
The connection should ideally be keyable or at least not cause instant destruction if reversed for example.<br>
<br>
<br>
Suggestion:<br>
<br>
12-way (2x6) pin stackable (pins or socket on board, suggestions please, RPi is pins).<br>
<br>
0.1” pitch to be easy for DIY shields, eg with Veroboard as I just did for my RPi.<br>
<br>
Following pin pattern:<br>
<br>
MISO * .. * 3V3 (Vcc)<br>
SCK * .. * MOSI<br>
nRST * .. * GND<br>
SCL * .. * SDA<br>
RX * .. * TX<br>
N/C * .. * DQ<br>
<br>
a) N/C means No Contact and can be used to key the connector.<br>
b) RX and TX are protected by 10k series resistors from AVR.<br>
c) nRST is active low and is pulled up to 3V3/Vcc with 10K series resistor at AVR.<br>
d) SCL and SDA are pulled up at AVR with 4K7 resistors to 3V3/Vcc.<br>
e) 3V3 can be anywhere from 1V8 to 3V6 absolute; 2V to 3V6 operating.<br>
<br>
Features:<br>
<br>
1) Top 6 pins can be used directly with 6-pin AVR programmer.<br>
2) Rest of pins carry I2C (SDA, SCL), OneWire (DQ) and serial (RX, TX, protected by 10k series resistors)<br>
3) If entire connector rotated boards unlikely to be destroyed instantly.<br>
<br>
Bit more on (3): RX and TX are safe to short to GND or 3V3 or anything else, nRST safe to short to either rail, DQ/SCA/SCL safe to short to GND.<br>
<br>
Rgds<br>
<span class="HOEnZb"><font color="#888888"><br>
Damon</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><pre><pre><span style="white-space:pre-wrap"> |||||
@(~Ô^Ô~)@
-------------oOo---U---oOo-------------
| |
| Bo Herrmannsen |
| |
| |
| "blessed are the "cracked", |
| for its they who let in the light" |
| Ooo |
|_________________ooO____( )________|
( ) ) /
\ ( (_/
\_)
</span></pre></pre><pre style="white-space:pre-wrap"><br></pre></div>
</div>