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 3: | Line 3: | ||
|description=Raspberry Pi Model B | |description=Raspberry Pi Model B | ||
|image=Raspberrypi.jpg | |image=Raspberrypi.jpg | ||
|os= | |os=Arch Linux ARM | ||
|location=Schleuse | |location=Schleuse | ||
|purpose=Spendenterminal | |purpose=Spendenterminal | ||
|disk=16GB | |disk=16GB SDHC | ||
|ram= | |ram=256MB | ||
|admin_toolkit=No | |admin_toolkit=No | ||
|ssh_root_keys=~/.ssh/authorized_keys | |ssh_root_keys=~/.ssh/authorized_keys | ||
Line 15: | Line 15: | ||
|contactnick=fibre | |contactnick=fibre | ||
|use=ask | |use=ask | ||
|admins=derf | |admins=derf, muzy | ||
|mac=b8:27:eb:23:47:c2 | |mac=b8:27:eb:23:47:c2 | ||
}} | }} | ||
Steuert das [[Spendenterminal | Steuert das [[Spendenterminal]]. Zieht [[Has power::3W]]. Hängt im Kabelsalat unter dem Holzvorsprung. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 43: | Line 42: | ||
|- | |- | ||
| P1:16 (GPIO23) || avrshift SCL | | P1:16 (GPIO23) || avrshift SCL | ||
|- | |- | ||
| microUSB (VCC) || 5V 700mA Micro-USB-Netzteil, Label "RPi" | | microUSB (VCC) || 5V 700mA Micro-USB-Netzteil, Label "RPi" | ||
Line 55: | Line 48: | ||
|} | |} | ||
== avrshift | == avrshift == | ||
[[File:Avrshift.png|300x300px| | [[File:Avrshift.png|300x300px|framed|right]] | ||
ATTiny2313 als Schieberegister mit twowire-Ansteuerung (An I²C angelehnt). Der oberste Anschluss (rotes Flachbandkabel) ist Nummer 1. | |||
Hängt in der Ecke beim | Hängt in der Ecke beim LED-Streifen an der Wand. | ||
{| class="wikitable" | {| class="wikitable" | ||
! Bit !! Gerät | ! Anschluss !! Bit !! Gerät | ||
|- | |||
| 1 || 4 || RGB-LED-Leiste, Lounge | |||
|- | |||
| 2 || 5 || Glühlampe im roten Taster bei der Tür | |||
|- | |||
| 3 || 6 || Rote Glühlampe neben Spendendrucker | |||
|- | |- | ||
| 4 || ''frei'' | | 4 || 7 || ''frei'' | ||
|- | |- | ||
| 5 || Glühlampe | | 5 || 8 || Weiße Glühlampe beim roten Taster | ||
|- | |- | ||
| 6 || | | 6 || 9 || ''frei'' | ||
|- | |- | ||
| 7 || ''frei'' | | 7 || 10 || ''frei'' | ||
|- | |- | ||
| 8 || | | 8 || 11 || ''frei'' | ||
|- | |- | ||
| 9 || ''frei'' | | 9 || 12 || ''frei'' | ||
|- | |- | ||
| 10 || ''frei'' | | 10 || 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'' | |||
|} | |} |