The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 59: | Line 59: | ||
[[File:Avrshift.png|300x300px|thumb|right]] | [[File:Avrshift.png|300x300px|thumb|right]] | ||
ATTiny2313 als Schieberegister mit twowire-Ansteuerung (An I²C angelehnt). Der oberste Anschluss (rotes Flachbandkabel) ist Nummer 1. Firmware rev [https://github.com/derf/dorfmap/tree/14576d858d50189a698bc9c13a1cad99f579fe00/avrshift 14576d858d50189a698bc9c13a1cad99f579fe00]. | |||
Hängt in der Ecke beim | Hängt in der Ecke beim LED-Streifen an der Wand. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 86: | Line 86: | ||
| 13 || ''frei'' | | 13 || ''frei'' | ||
|- | |- | ||
|} | |||
Die Input-Pins akzeptieren Spannungen von 3 bis 16 Volt und sind durch Optokoppler galvanisch von der restlichen Schaltung getrennt. | |||
Kommunikation: | |||
{| class="wikitable" | |||
! SCL !! SDA !! Aktion | |||
|- | |||
| ↑ || <tt>X</tt> || Bit <tt>X</tt> von rechts (als Least Significant Bit) ins Register schieben | |||
|- | |||
| ↓ || 1 || Aktuelle Registerwerte auf Ausgänge übernehmen | |||
|- | |||
| ↓ || 0 || ''Keine'' | |||
|} | |} |