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 27: | Line 26: | ||
|- | |- | ||
| USB || Magnetkartenleser | | USB || Magnetkartenleser | ||
|- | |- | ||
| P1:14 (GND) || avrshift GND | | P1:14 (GND) || avrshift GND | ||
Line 43: | Line 32: | ||
|- | |- | ||
| 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 38: | ||
|} | |} | ||
== 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 | ||
|- | |- | ||
| 4 || | | 1 || 4 || RGB-LED-Leiste, Lounge | ||
|- | |- | ||
| 5 || | | 2 || 5 || ''frei'' | ||
|- | |- | ||
| 6 || | | 3 || 6 || ''frei'' | ||
|- | |- | ||
| 7 || ''frei'' | | 4 || 7 || ''frei'' | ||
|- | |- | ||
| 8 || | | 5 || 8 || ''frei'' | ||
|- | |- | ||
| 9 || ''frei'' | | 6 || 9 || ''frei'' | ||
|- | |- | ||
| 10 || ''frei'' | | 7 || 10 || ''frei'' | ||
|- | |- | ||
| 11 || | | 8 || 11 || ''frei'' | ||
|- | |||
| 9 || 12 || ''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'' | |||
|} | |} |