next batch of translations: overlays
This commit is contained in:
parent
ec1b57e422
commit
f84805fb7d
@ -1,12 +1,12 @@
|
||||
<!--
|
||||
---
|
||||
name: Raspberry Pi Dots
|
||||
description: Join the dots to make a circuit
|
||||
description: verbinde die Punkte um eine Schaltung zu erstellen
|
||||
url: http://www.raspberrypi.org/dots/
|
||||
github: https://github.com/raspberrypilearning/dots
|
||||
pin:
|
||||
bcm0:
|
||||
name: 'Color: Blue'
|
||||
name: 'Farbe: Blau'
|
||||
direction: input
|
||||
bcm1:
|
||||
name: Dot 7
|
||||
@ -36,7 +36,7 @@ pin:
|
||||
name: Dot 17
|
||||
direction: input
|
||||
bcm10:
|
||||
name: 'Color: Green'
|
||||
name: 'Farbe: Grün'
|
||||
direction: input
|
||||
bcm11:
|
||||
name: Dot 8
|
||||
@ -63,7 +63,7 @@ pin:
|
||||
name: Dot 20
|
||||
direction: input
|
||||
bcm19:
|
||||
name: 'Color: Orange'
|
||||
name: 'Farbe: Orange'
|
||||
direction: input
|
||||
bcm20:
|
||||
name: Bear
|
||||
@ -87,16 +87,18 @@ pin:
|
||||
name: Dot 11
|
||||
direction: input
|
||||
bcm27:
|
||||
name: 'Color: Red'
|
||||
name: 'Farbe: Rot'
|
||||
direction: input
|
||||
-->
|
||||
#Raspberry Pi Dots
|
||||
|
||||
###Dots is a Dot to Dot HAT board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint!
|
||||
###Dots ist eine verbinde die Punkte HAT Platine für den Raspberry Pi, auf dem Du Punkte mit leitender Farbe verbindest!
|
||||
|
||||
Every Dot on the Dots board is a "floating" metal contact just waiting to be pulled down to ground with a dab of paint.
|
||||
Jeder Punkt auf der Dots-Platine ist ein offener Metallkontakt der darauf wartet mit der Farbe kontaktiert zu werden.
|
||||
|
||||
|
||||
Um einen Punkt auszulesen setze den dazugehörigen Anschluss als Eingang und checke, ob der Kontakt hergestellt ist:
|
||||
|
||||
To read a Dot you should set its corresponding pin as an INPUT and make sure it's pulled up like so:
|
||||
|
||||
```python
|
||||
import RPi.GPIO as GPIO
|
||||
@ -105,8 +107,8 @@ GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP)
|
||||
state = GPIO.input(dot_pin)
|
||||
```
|
||||
|
||||
It's good practise to only turn on the PULLUP when you actually want to read the Dot, so a method like
|
||||
this is recommended for reading:
|
||||
Es ist gute Praxis den Eingang nur auf PULLUP zu schalten, wenn Du den Kontakt auch lesen möchtest.
|
||||
Somit ist folgender Code empfohlen:
|
||||
|
||||
```python
|
||||
def is_dot_connected(dot_pin):
|
||||
|
@ -108,7 +108,7 @@ sudo apt-get install python-pip
|
||||
sudo pip install explorer-hat
|
||||
```
|
||||
|
||||
Anschliessend die Libraries in Dein Python-Skript importieren und basteln:
|
||||
Anschliessend die Libraries in Dein Python-Skript importieren und anfangen zu basteln:
|
||||
|
||||
```bash
|
||||
import explorerhat
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!--
|
||||
---
|
||||
name: I2C
|
||||
description: Raspberry Pi i2c pins
|
||||
description: Raspberry Pi I2C Anschlüsse
|
||||
pin:
|
||||
'3':
|
||||
name: Data
|
||||
@ -23,22 +23,23 @@ pin:
|
||||
-->
|
||||
#I2C - Inter Integrated Circuit
|
||||
|
||||
The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega.
|
||||
Der I2C-Bus des Raspberry Pi ist sehr praktisch um mit vielen unterschiedlichen Bausteinen
|
||||
zu kommunizieren - egal ob z.B. ein MCP23017 als digitale I/O-Erweiterung oder sogar ein ATmega.
|
||||
|
||||
You can verify the address of connected I2C peripherals with a simple one-liner:
|
||||
Die Adresse einen angeschlossenen I2C-Bausteins kann mit einem einfachen Einzeiler überprüft werden:
|
||||
|
||||
```bash
|
||||
sudo apt-get install i2c-tools
|
||||
sudo i2cdetect -y 1
|
||||
```
|
||||
|
||||
You can access i2c from Python using the smbus library:
|
||||
Den I2C-Bus kann man von Python aus über die smbus-Library ansteuern:
|
||||
|
||||
```bash
|
||||
sudo apt-get install python-smbus
|
||||
```
|
||||
|
||||
And then in Python:
|
||||
...und dann in Python:
|
||||
|
||||
```python
|
||||
import smbus
|
||||
|
@ -3,7 +3,7 @@
|
||||
name: Pibrella
|
||||
manufacturer: Pimoroni Vs Cyntech
|
||||
url: https://github.com/pimoroni/pibrella
|
||||
description: An all-in-one light, sound, input and output add-on board.
|
||||
description: eine "Alles-in-Einem" Licht, Ton, Ein- und Ausgabe Erweiterungsplatine.
|
||||
pincount: 26
|
||||
pin:
|
||||
'7':
|
||||
@ -61,16 +61,17 @@ pin:
|
||||
-->
|
||||
#Pibrella
|
||||
|
||||
The all-in-one light, sound, input and output add-on board from Pimoroni vs Cyntech uses lots of IO on the Pi but leaves both Serial and I2C free leaving plenty of room for expansion if you get creative.
|
||||
Die "Alles-in-Einem" Licht, Ton, Ein- und Ausgabe Erweiterungsplatine von Pimoroni vs Cyntech
|
||||
benutzt jede Menge I/O Anschlüsse des Pi aber lässt die serielle Schnittstelle und den I2C-Bus noch frei und somit viel Raum für creative Erweiterungen!
|
||||
|
||||
Pibrella is easy to use, first you should install the module using LXTerminal/Command Line:
|
||||
Pibrella is einfach zu benutzen - einfach das entsprechende Modul über die Kommandozeile installieren:
|
||||
|
||||
```bash
|
||||
sudo apt-get install python-pip
|
||||
sudo pip install pibrella
|
||||
```
|
||||
|
||||
Then import it into your Python script and start tinkering:
|
||||
... dann die Library in Dein Python-Skript importieren und anfangen zu basteln:
|
||||
|
||||
```bash
|
||||
import pibrella
|
||||
|
@ -5,7 +5,7 @@ manufacturer: Pimoroni
|
||||
url: https://github.com/pimoroni/piglow
|
||||
github: https://github.com/pimoroni/piglow
|
||||
buy: http://shop.pimoroni.com/products/piglow
|
||||
description: Simply 18 LEDs in a spiral pattern controllable in Python.
|
||||
description: 18 einfache LEDs als Spirale angeordnet und über Python ansteuerbar.
|
||||
pincount: 26
|
||||
pin:
|
||||
'1': {}
|
||||
|
@ -4,7 +4,7 @@ name: Unicorn HAT
|
||||
manufacturer: Pimoroni
|
||||
url: http://shop.pimoroni.com/products/unicorn-hat
|
||||
buy: http://shop.pimoroni.com/products/unicorn-hat
|
||||
description: 64 blindingly bright RGB LEDs on a single HAT
|
||||
description: 64 blendend helle RGB LEDs auf einem HAT
|
||||
github: https://github.com/pimoroni/unicornhat
|
||||
install:
|
||||
'apt':
|
||||
@ -26,19 +26,19 @@ pin:
|
||||
-->
|
||||
#Unicorn HAT
|
||||
|
||||
64 blindingly bright LEDs packed into a HAT and driven with an ultra-fast, C library that you can talk to
|
||||
from Python make Unicorn HAT PiGlow's bigger, brighter brother.
|
||||
64 blendend helle LEDs auf einem HAT, die über eine super schnelle C-Library angesteuert werden.
|
||||
Die C-Library lässt sich auch über Python ansteuern. Der Unicorn HAT ist quasi der grössere und hellere Bruder der PiGlow.
|
||||
|
||||
Note: Unicorn HAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound
|
||||
through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||
Hinweis: der Unicorn HAT trickst ein wenig mit dem PWM-Ausgang - der gleichen Hardware, mit der Dein Pi Sounds über den
|
||||
analogen Audio-Ausgang erzeugen kann. Somit kannst Du nicht beides gleichzeitig nutzen!
|
||||
|
||||
Setup is easy, just:
|
||||
Die Einrichtung des HATs ist einfach:
|
||||
|
||||
```bash
|
||||
curl get.pimoroni.com/unicornhat | bash
|
||||
```
|
||||
|
||||
Then import it into your Python script and start tinkering:
|
||||
Dann musst Du die Library nur noch in Dein Python-Skript importieren und kannst anfangen zu experimentieren:
|
||||
|
||||
```bash
|
||||
import unicornhat
|
||||
|
Loading…
Reference in New Issue
Block a user