From ddc4fccec91322549de6efcba868962fdc96751e Mon Sep 17 00:00:00 2001 From: RogueM Date: Wed, 27 Jul 2016 11:32:13 +0100 Subject: [PATCH] Prep for de --- src/de/404.md | 7 ++++ src/de/overlay/README.md | 41 ------------------- src/de/overlay/arduino-spi.md | 51 ------------------------ src/de/overlay/iface-dpi.md | 58 +++++++++++++++++++++++++++ src/de/overlay/iface-gpclk.md | 31 +++++++++++++++ src/de/overlay/iface-jtag.md | 33 ++++++++++++++++ src/de/overlay/iface-pcm.md | 19 +++++++++ src/de/overlay/iface-sd.md | 25 ++++++++++++ src/de/overlay/iqaudio-pi-dac.md | 50 ------------------------ src/de/overlay/piborg-ledborg.md | 49 ----------------------- src/de/overlay/piglow.md | 16 -------- src/de/settings.yaml | 20 ++++++---- src/de/template/boards.html | 67 ++++++++++++++++++++++++++++++++ src/de/template/layout-de.html | 66 +++++++++++++++++++++++++++++++ src/de/template/layout.html | 46 ++++++++++++---------- 15 files changed, 344 insertions(+), 235 deletions(-) create mode 100644 src/de/404.md delete mode 100644 src/de/overlay/README.md delete mode 100644 src/de/overlay/arduino-spi.md create mode 100644 src/de/overlay/iface-dpi.md create mode 100644 src/de/overlay/iface-gpclk.md create mode 100644 src/de/overlay/iface-jtag.md create mode 100644 src/de/overlay/iface-pcm.md create mode 100644 src/de/overlay/iface-sd.md delete mode 100644 src/de/overlay/iqaudio-pi-dac.md delete mode 100644 src/de/overlay/piborg-ledborg.md delete mode 100644 src/de/overlay/piglow.md create mode 100644 src/de/template/boards.html create mode 100644 src/de/template/layout-de.html mode change 100644 => 100755 src/de/template/layout.html diff --git a/src/de/404.md b/src/de/404.md new file mode 100644 index 0000000..c69c026 --- /dev/null +++ b/src/de/404.md @@ -0,0 +1,7 @@ +#404 - Oh dear! + +###Sorry, we couldn't find what you are looking for! + +Use the menu on the left to explore the pins and functions of the Raspberry Pi GPIO. + +Use the menu above to discover new boards, learn about interfaces and find GPIO connection guides. \ No newline at end of file diff --git a/src/de/overlay/README.md b/src/de/overlay/README.md deleted file mode 100644 index ab5f112..0000000 --- a/src/de/overlay/README.md +++ /dev/null @@ -1,41 +0,0 @@ -#Pinout Overlays - -A Pinout overlay describes the functions of the Raspberry Pi pins for a specific board. - -An overlay is constructed from a JSON file and, optionally, a markdown file containing an extended long-description. - -##JSON Format - -The JSON overlay file must include a name, manufacturer name, URL, description and a "pin" array defining all the -pins that the board uses. - -If a counterpart .md file is present in description/overlay it will be used for the long description. - -The pin array must list each pin by its *physical* location, and include at least a "name" describing the function -of that pin. - -Optionally each pin definition can include a "mode" flag, which defines the pin as an "input" or an "output". - -A pin can also have an "active" value, which defines it as "high" or active "low". - -I2C and SPI pins should be included if your board uses them, however they will generally be intepreted as being -shared and usable with muliple boards unless you explicitly define them as being an "input" or "output". - -Example: - -```json -{ - "name": "Explorer HAT", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/pibrella", - "description": "An all-in-one light, input and output add-on board.", - "pin": { - "7": { - "name": "Green LED" - }, - "11": { - "name": "Yellow LED" - } - } -} -``` diff --git a/src/de/overlay/arduino-spi.md b/src/de/overlay/arduino-spi.md deleted file mode 100644 index 8a85899..0000000 --- a/src/de/overlay/arduino-spi.md +++ /dev/null @@ -1,51 +0,0 @@ - -#ATmega 328p / Arduino over SPI - -###Did you know that your Pi could power and program an ATmega 328p/Arduino directly, with nothing but a few wires, a breadboard, a 16Mhz crystal oscillator and some 22pF capacitors? - -Read my [complete Pico PiDuino tutorial](http://pi.gadgetoid.com/article/building-the-pico-piduino) to get started for just over £5 - -You'll need to install [Gordon's modified AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Connect 8/CEO to your ATmega's Reset/RST pin, 9/MISO to its MISO pin (D12), 10 to its MOSI pin (D11) and 11/SCLK to its SCLK pin (D13). - -Power your ATmega with the 3.3v and GND pins from your Pi, and you're good to go. - -Make sure you have no rogue SPI device drivers running and check it's connected correctly using: - -```bash -avrdude -p m328p -c gpio -``` - -To get started compiling Arduino sketches from the command line, first: - -```bash -sudo apt-get install arduino arduino-mk -``` - -Then refer to this [article](http://pi.gadgetoid.com/article/programming-your-pico-piduino) for a complete run-through of the process! \ No newline at end of file diff --git a/src/de/overlay/iface-dpi.md b/src/de/overlay/iface-dpi.md new file mode 100644 index 0000000..e78c5d2 --- /dev/null +++ b/src/de/overlay/iface-dpi.md @@ -0,0 +1,58 @@ + +#DPI - Display Parallel Interface + +DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. The Pi uses a cut-down, 6-bit, 22 pin version omitting the least significant R, G and B colour bits. + +DPI, combined with a simple adaptor consisting of 20 resistors, allows you to add a VGA connector to the Pi which supports resolutions from 640 x 480 up to 1920 x 1024 at 60fps and 6bits per channel. \ No newline at end of file diff --git a/src/de/overlay/iface-gpclk.md b/src/de/overlay/iface-gpclk.md new file mode 100644 index 0000000..52eb5e6 --- /dev/null +++ b/src/de/overlay/iface-gpclk.md @@ -0,0 +1,31 @@ + +#GPCLK - General Purpose CLock + +General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. + +The following clock sources are available: + +``` +0 0 Hz Ground +1 19.2 MHz oscillator +2 0 Hz testdebug0 +3 0 Hz testdebug1 +4 0 Hz PLLA +5 1000 MHz PLLC (changes with overclock settings) +6 500 MHz PLLD +7 216 MHz HDMI auxiliary +8-15 0 Hz Ground +``` \ No newline at end of file diff --git a/src/de/overlay/iface-jtag.md b/src/de/overlay/iface-jtag.md new file mode 100644 index 0000000..073071d --- /dev/null +++ b/src/de/overlay/iface-jtag.md @@ -0,0 +1,33 @@ + +#JTAG - Joint Test Action Group + +JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi. \ No newline at end of file diff --git a/src/de/overlay/iface-pcm.md b/src/de/overlay/iface-pcm.md new file mode 100644 index 0000000..9c2636c --- /dev/null +++ b/src/de/overlay/iface-pcm.md @@ -0,0 +1,19 @@ + +#PCM - Pulse-code Modulation + +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file diff --git a/src/de/overlay/iface-sd.md b/src/de/overlay/iface-sd.md new file mode 100644 index 0000000..8edd097 --- /dev/null +++ b/src/de/overlay/iface-sd.md @@ -0,0 +1,25 @@ + +#SD - SD Card Interface + +SD is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. + +These pins are "SD host" on Alt0 and "eMMC" on Alt3. \ No newline at end of file diff --git a/src/de/overlay/iqaudio-pi-dac.md b/src/de/overlay/iqaudio-pi-dac.md deleted file mode 100644 index d2e0ffa..0000000 --- a/src/de/overlay/iqaudio-pi-dac.md +++ /dev/null @@ -1,50 +0,0 @@ - -#IQaudIO Pi-DAC+ - -The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the -onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume -control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the -Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via -the Pi-DAC+ 3.5mm audio jack. - -The Pi Dac uses GPIO22 to mute/unmute the Pi-AMP+. - -You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of -these parts are optional, but are broken out on the Pi-DAC+ for convenient access. - -Note: pins marked as optional can be used for general purpose if those add-ons are not enabled by software. diff --git a/src/de/overlay/piborg-ledborg.md b/src/de/overlay/piborg-ledborg.md deleted file mode 100644 index 826b3f3..0000000 --- a/src/de/overlay/piborg-ledborg.md +++ /dev/null @@ -1,49 +0,0 @@ - -###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. - -PiBorg has its own driver, so you don't need to drive it manually. - -If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows: - -WiringPi pin 0: Red LED -WiringPi pin 2: Green LED -WiringPi pin 3: Blue LED - -This is easy using WiringPi in Python: - - -```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() - -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) - -# Purple! -wiringpi.softPwmWrite(3,100) # Full Blue -wiringpi.softPwmWrite(0,100) # Full Red -wiringpi.softPWMWrite(2,0) # No Green -``` \ No newline at end of file diff --git a/src/de/overlay/piglow.md b/src/de/overlay/piglow.md deleted file mode 100644 index 09572be..0000000 --- a/src/de/overlay/piglow.md +++ /dev/null @@ -1,16 +0,0 @@ - -#PiGlow diff --git a/src/de/settings.yaml b/src/de/settings.yaml index 60c9fa7..545bb03 100644 --- a/src/de/settings.yaml +++ b/src/de/settings.yaml @@ -24,23 +24,29 @@ strings: - more_information: 'Mehr Informationen' - github_repository: 'GitHub Repository' - buy_now: 'jetzt kaufen' -overlays: -- ground -- uart +featured: - i2c - spi -- arduino-spi +- uart - wiringpi -- iqaudio-pi-dac +overlays: +- ground +- i2c +- spi +- uart +- wiringpi +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-pcm +- iface-sd - display-o-tron - display-o-tron-hat - dots - explorer-hat - explorer-hat-pro - piano-hat -- piborg-ledborg - pibrella -- piglow - rtk-000-001 - sense-hat - skywriter-hat diff --git a/src/de/template/boards.html b/src/de/template/boards.html new file mode 100644 index 0000000..36346ad --- /dev/null +++ b/src/de/template/boards.html @@ -0,0 +1,67 @@ + + + + + {{title}} + + + + + + + + {{hreflang}} + + + +
+

Raspberry Pinout

+
+ +
+
+
+

Raspberry Pi HATs, pHATs & Add-ons

+

Click on a HAT, pHAT or add-on for more details and to see which pins it uses!

+
+
    {{content}}
+
+
+
    + {{lang_links}} +
+
+
+ +
+ + + + + + + + + diff --git a/src/de/template/layout-de.html b/src/de/template/layout-de.html new file mode 100644 index 0000000..f833e27 --- /dev/null +++ b/src/de/template/layout-de.html @@ -0,0 +1,66 @@ + + + + + {{title}} + + + + + + + + {{hreflang}} + + + +
+ +

Raspberry Pinout

+
+ Infos zu den Pins und Erweiterungen des Pi + +
+ +
+
+ {{content}} +
+
+ +
+ + + + + + + + + diff --git a/src/de/template/layout.html b/src/de/template/layout.html old mode 100644 new mode 100755 index f833e27..a158642 --- a/src/de/template/layout.html +++ b/src/de/template/layout.html @@ -4,7 +4,7 @@ {{title}} - + @@ -17,42 +17,47 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); - ga('create', 'UA-69846516-4', 'auto'); + ga('create', 'UA-69846516-1', 'auto'); ga('send', 'pageview');
- -

Raspberry Pinout

-
- Infos zu den Pins und Erweiterungen des Pi - -
+

Raspberry Pinout

+
+
+ +
+
    + {{nav_html_interface}} +
+
{{content}}
+
+
    + {{lang_links}} +
+
@@ -60,7 +65,6 @@ -