Editing Archiv:Donationprint

From Chaosdorf Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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=Raspbian 10 (buster)
|os=Arch Linux ARM
|location=Schleuse
|location=Schleuse
|purpose=Spendenterminal
|purpose=Spendenterminal
|disk=16GB
|disk=16GB SDHC
|ram=256MiB
|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
|static_ip=172.22.26.6
}}
}}
Steuert das [[Spendenterminal]] und Teile der [[Lichtsteuerung]]. Zieht [[Has power::4W]]. Hängt im Kabelsalat unter dem Holzvorsprung.
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
|-
| P1:24 (GPIO8) || [[blinkencontrol]] SDA
|-
| P1:25 (GND) || [[blinkencontrol]] GND
|-
| P1:26 (GPIO7) || [[blinkencontrol]] SCL
|-
|-
| microUSB (VCC) || 5V 700mA Micro-USB-Netzteil, Label "RPi"
| microUSB (VCC) || 5V 700mA Micro-USB-Netzteil, Label "RPi"
Line 55: Line 48:
|}
|}


== avrshift (0000) ==
== avrshift ==


[[File:Avrshift.png|300x300px|thumb|right]]
[[File:Avrshift.png|300x300px|framed|right]]


[[SI2C]] ATTiny2313. Der oberste Anschluss (rotes Flachbandkabel) ist Nummer 1.
ATTiny2313 als Schieberegister mit twowire-Ansteuerung (An I²C angelehnt). Der oberste Anschluss (rotes Flachbandkabel) ist Nummer 1.


Hängt in der Ecke beim Spendendrucker an der Wand.
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 im roten Taster bei der Tür
| 5 || 8 || Weiße Glühlampe beim roten Taster
|-
|-
| 6 || Rote Glühlampe neben Spendendrucker
| 6 || 9 || ''frei''
|-
|-
| 7 || ''frei''
| 7 || 10 || ''frei''
|-
|-
| 8 || Weiße Glühlampe beim roten Taster
| 8 || 11 || ''frei''
|-
|-
| 9 || ''frei''
| 9 || 12 || ''frei''
|-
|-
| 10 || ''frei''
| 10 || 13 || ''frei''
|-
|-
| 11 || Wasserpumpe
|}
 
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
|-
|-
| 12 || ''frei''
| || <tt>X</tt> || Bit <tt>X</tt> von rechts (als Least Significant Bit) ins Register schieben
|-
|-
| 13 || ''frei''
| || 1 || Aktuelle Registerwerte auf Ausgänge übernehmen
|-
|-
| ↓ || 0 || ''Keine''
|}
|}
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see Chaosdorf Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)