From 2135e9dbef94304da225803f135ae3f107896b07 Mon Sep 17 00:00:00 2001 From: rdmueller Date: Wed, 18 Nov 2015 23:28:42 +0100 Subject: [PATCH] last initial translations to german --- src/de/overlay/rtk-000-001.md | 7 ++++--- src/de/overlay/sense-hat.md | 6 +++--- src/de/overlay/spi.md | 24 ++++-------------------- src/de/overlay/traffic-hat.md | 13 ++++++------- src/de/overlay/uart.md | 20 ++++++++++++-------- src/de/overlay/wiringpi.md | 29 +++++++++++------------------ src/de/settings.yaml | 16 ++++++++-------- 7 files changed, 48 insertions(+), 67 deletions(-) diff --git a/src/de/overlay/rtk-000-001.md b/src/de/overlay/rtk-000-001.md index c809dee..3803a16 100644 --- a/src/de/overlay/rtk-000-001.md +++ b/src/de/overlay/rtk-000-001.md @@ -1,6 +1,6 @@ -#Ryanteck Motor Controller Board +#Ryanteck Motorsteuerung ###Ein schneller und einfacher Weg um Motoren mit deinem Pi zu steuern. @@ -40,7 +40,8 @@ GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.OUT) GPIO.setup(18, GPIO.OUT) -#Jetzt wird jede Richtung für 5 Sekunden in einer Endlosschleife durchlaufen. +#Jetzt wird jede Richtung für 5 Sekunden in +#einer Endlosschleife durchlaufen. while (True): #Sleep 1 second then turn 17 on GPIO.output(18, 0) diff --git a/src/de/overlay/sense-hat.md b/src/de/overlay/sense-hat.md index 32aadac..b4667e9 100644 --- a/src/de/overlay/sense-hat.md +++ b/src/de/overlay/sense-hat.md @@ -3,7 +3,7 @@ name: "Sense HAT" manufacturer: Raspberry Pi Foundation url: https://www.raspberrypi.org/products/sense-hat/ -description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors +description: Erweiterungsmodul mit einer 8×8 RGB LED Matrix, 5-Tasten Joystick sowie jede menge Sensoren (Gyroskop, Beschleunigungsmesser, Magnetometer, Temperatur, Luftdruck und Luftfeuchtigkeit) install: 'devices': - 'i2c' @@ -37,5 +37,5 @@ pin: LED Matrix: LED2472G -> ATTINY88 -> SPI(8/9/10/11) Joystick: SKRHABE010 -> ATTINY88 -> GPIO23/24/25 Axis/IMU: LSM9DS1 -> i2c 0x1c(1e),0x6a(6b) (INT on MCU) -Pressure/Temp: LPS25H -> i2c 0x5c -Humidity/Temp: HTS221 -> i2c 0x5f \ No newline at end of file +Luftdruck/Temp: LPS25H -> i2c 0x5c +Luftfeuchtigkeit/Temp: HTS221 -> i2c 0x5f \ No newline at end of file diff --git a/src/de/overlay/spi.md b/src/de/overlay/spi.md index 2424228..33d1de3 100644 --- a/src/de/overlay/spi.md +++ b/src/de/overlay/spi.md @@ -1,7 +1,7 @@ -#SPI - Serial Peripheral Interface +#SPI - Serial Peripheral Interface - Serielle Schnittstelle für Erweiterungen -###Known as the four-wire serial bus, SPI lets you daisy-chain multiple compatible devices off a single set of pins by assigning them different chip-select pins. +###Bekannt als der 4-Draht serielle Bus, kannst Du mit SPI mehrere Erweiterungen and nur 4 Pins hintereinander schalten. -A useful example of an SPI peripheral is the MCP23S17 digital IO expander chip Note the S in place of the 0 found on the I2C version. +Ein gutes Beispiel für eine SPI-Erweiterung ist der MCP23S17 Baustein zur Erweiterung der digitalen Ein-/Ausgänge. Beachte das 'S' anstelle der '0' bei der I2C-Version. -To talk to an SPI device, you assert its corresponding chip-select pin. By default the Pi has CE0 and CE1. - -```python -import spidev - -spi = spidev.SpiDev() -spi.open(0, CHIP_SELECT_0_OR_1) -spi.max_speed_hz = 1000000 -spi.xfer([value_8bit]) -``` - -You can also use the SPI port to "Bit-Bang" an ATmega 328, loading Arduino sketches onto it with Gordon's modified version of AVRDude. - -Hook up you Pi's SPI port to that of your ATmega, and power the ATmega from the 3.3v pin on the Pi. Make sure you're not running any SPI device drivers, and run "avrdude -p m328p -c gpio" to verify the connection. - -See the individual pins to learn how to connect up your ATmega. \ No newline at end of file diff --git a/src/de/overlay/traffic-hat.md b/src/de/overlay/traffic-hat.md index 4fa0a03..3f07772 100644 --- a/src/de/overlay/traffic-hat.md +++ b/src/de/overlay/traffic-hat.md @@ -4,24 +4,23 @@ name: Traffic HAT manufacturer: Ryanteck LTD. url: http://www.ryanteck.uk/store/traffichat buy: http://www.ryanteck.uk/store/traffichat -description: A quick and easy way to learn the basics of GPIO on a budget. All in - a nice HAT. +description: Ein schneller und einfacher Weg um die grundlegenden Fähigkeiten der GPIO-Ports zu erkunden. pincount: 40 pin: '15': - name: LED1 / Green + name: LED1 / Grün direction: output active: high '16': - name: LED2 / Amber + name: LED2 / Orange direction: output active: high '18': - name: LED3 / Red + name: LED3 / Rot direction: output active: high '22': - name: Button + name: Taster direction: input active: high '29': @@ -31,7 +30,7 @@ pin: --> #Traffic HAT -###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. +###Ein schneller und einfacher Weg um die grundlegenden Fähigkeiten der GPIO-Ports zu erkunden. ```python import RPi.GPIO as IO diff --git a/src/de/overlay/uart.md b/src/de/overlay/uart.md index dde34a7..b841f03 100644 --- a/src/de/overlay/uart.md +++ b/src/de/overlay/uart.md @@ -1,26 +1,30 @@ -#UART - Universal Asynchronous Receiver/Transmitter +#UART - Universal Asynchronous Receiver/Transmitter (serielle Schnittstelle) -###The 2 UART pins in WiringPi are: 15, 16 +###Die beiden UART Anschlüsse sind in WiringPi 15 und 16 -UART is a handy, straight forward way to interface an Arduino ( or bootloaded ATmega ) with your Pi. You must, however, be careful with logic-levels between the two devices: the Pi is 3.3v and the Arduino is 5v. Connect the two and you might conjure up some magic blue smoke. +UART ist eine einfache und nützliche Schnittstelle um einen Arduino (oder vorbereiteten ATmega) mit Deinem Pi zu verbinden. +Allerdings solltest Du auf die Spannungspegel der Anschlüsse zwischen den beiden Chips achten: der Pi hat 3,3 Volt, der Arduino 5 Volt. +Verbinde beide und die wirst magischen blauen Rauch aufsteigen sehen... -Personally I'm a fan of building out a Arduino Bootloaded ATmega 328 circuit on a breadboard with a voltage regulator to take the Pi's 5v line and convert it to 3.3v. The ATmega 328 seems to run quite happily at 3.3v using a 16Mhz crystal and you'll then have an Arduino clone with 3.3v logic. +Persönlich baue nehme ich gerne einen ATmega 328 mit einem 3,3Volt Spannungsregulierer, der die 5 Volt Spannungsversorgung auf 3,3 Volt für den ATmega 328 +runter reguliert. Der ATmega 328 läuft ganz gut mit 3,3 Volt und einem 15Mhz Quarz und so bekommt man einen Arduino-Klone mir 3,3 Volt Logik. -Assuming you have WiringPi2-Python installed, the following python example opens the Pi's UART at 9600baud and puts 'hello world' +Wenn Du die WiringPi2-Python-Bibliothek installiert hast, dass öffnet das folgende Beispiel die serielle Schnittstelle mit +einer Übertragungsgeschwindigkeit von 9600baud und gibt 'hello world' aus: ```python import wiringpi2 as wiringpi diff --git a/src/de/overlay/wiringpi.md b/src/de/overlay/wiringpi.md index 1a2e5db..044ed37 100644 --- a/src/de/overlay/wiringpi.md +++ b/src/de/overlay/wiringpi.md @@ -1,6 +1,7 @@ -#Raspberry Pi WiringPi +#WiringPi Bibliothek -###WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi. +###WiringPi is der Versuch die Einfachheit der VErdrahtung des Arduino auf den Raspberry Pi zu bringen. -The goal is to have a single common platform and set of functions for accessing the Raspberry Pi GPIO across muliple languages. WiringPi is a C library at heart, but it's available to both Ruby and Python users who can "gem install wiringpi" or "pip install wiringpi2" respectively. +Das Ziel dieser Bibliothek ist es, eine einzige gemeinsame Plattform und Programmierschnistelle für den Zugriff auf die +GPIOs des Rapsberry Pi für verschiedene Programmiersprachen zur VErfügung zu stellen. +Im Kern ist WiringPi eine C-Bibliothek, aber sie steht auch in Ruby und Python per "gem install wiringpi" bzw. "pip install wiringpi2" zur Verfügung. -Python users note the 2 on the end, the WiringPi2-Python library finally brings a whole host of existing WiringPi functionality to Python including brand new features from WiringPi 2. +Bei Python muss man auf die "2" am Ende achten - das ist die WiringPi2-Python Bibliothek, die momentan die aktuelle Version ist. -For more information about WiringPi you should visit the official WiringPi website. +Mehr Informationen findest Du auf der offiziellen WiringPi-Webseite. -##Getting started with WiringPi +##Erste Schritte mit WiringPi -WiringPi uses its own pin numbering scheme, here you'll learn how WiringPi numbers your GPIO pins, what those pins do and how to do shiny things with them from within Python or Ruby. - -WiringPi, the Arduino-like GPIO library for the Pi, is available in C right from Gordon's git repository, Python, Ruby and even Perl and PHP to a lesser extent. - -Installing to Python couldn't be easier, just: - -```bash -sudo pip install wiringpi2 -``` - -Note the 2 on the end? That's the all new, shinier WiringPi! \ No newline at end of file +WiringPi benutzt seine eigene Nummerierung der Anschlüsse am Pi. Links siehst Du die entsprechende Nummerierung. diff --git a/src/de/settings.yaml b/src/de/settings.yaml index 3aba200..9b01173 100644 --- a/src/de/settings.yaml +++ b/src/de/settings.yaml @@ -10,19 +10,19 @@ url_suffix: urls: GND: masse_ground strings: -- made_by: 'Made by {manufacturer}' +- made_by: 'Hersteller: {manufacturer}' - type_hat: 'HAT form-factor' - type_classic: 'Classic form-factor' - pin_header: '{} pin header' -- uses_i2c: 'Uses I2C' -- uses_spi: 'Uses SPI' -- wiring_pi_pin: 'Wiring Pi pin {}' -- uses_n_gpio_pins: 'Uses {} GPIO pins' -- bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' +- uses_i2c: 'benutzt I2C' +- uses_spi: 'benutzt SPI' +- wiring_pi_pin: 'Wiring Pi Anschluss {}' +- uses_n_gpio_pins: 'benutzt {} GPIO Anschlüsse' +- bcm_pin_rev1_pi: 'BCM Anschluss {} auf dem Rev 1 ( sehr alter ) Pi' - physical_pin_n: 'Physical pin {}' -- more_information: 'More Information' +- more_information: 'Mehr Informationen' - github_repository: 'GitHub Repository' -- buy_now: 'Buy Now' +- buy_now: 'jetzt kaufen' overlays: - ground - spi