diff --git a/generate-html.py b/generate-html.py index 4f08ba8..6aa92ef 100755 --- a/generate-html.py +++ b/generate-html.py @@ -14,8 +14,9 @@ reload(sys) sys.setdefaultencoding('utf8') lang = "en-GB" -base_url = '/pinout/' -resource_url = '/resources/' +base_url = '/pinout-tr/pinout/' +resource_url = '/pinout-tr/resources/' +url_suffix = '.html' if len(sys.argv) > 1: lang = sys.argv[1] @@ -305,6 +306,9 @@ def render_pin(pin_num, selected_url, overlay=None): if pin_used: selected += ' overlay-pin' + + pin_url = pin_url + url_suffix + return '
  • {pin_num} {pin_name}
  • \n'.format( pin_num = pin_num, pin_type = ' '.join(map(cssify,pin_type)), diff --git a/src/en-GB/type/3v3.md b/src/en-GB/type/3v3.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/en-GB/type/5v.md b/src/en-GB/type/5v.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/en-GB/type/gpio.md b/src/en-GB/type/gpio.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/en-GB/type/i2c.md b/src/en-GB/type/i2c.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/en-GB/type/pwm.md b/src/en-GB/type/pwm.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/en-GB/type/spi.md b/src/en-GB/type/spi.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/en-GB/type/uart.md b/src/en-GB/type/uart.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/overlay/README.md b/src/tr-TR/description/json/README.md similarity index 100% rename from src/tr-TR/overlay/README.md rename to src/tr-TR/description/json/README.md diff --git a/src/tr-TR/overlay/arduino-spi.json b/src/tr-TR/description/json/arduino-spi.json similarity index 100% rename from src/tr-TR/overlay/arduino-spi.json rename to src/tr-TR/description/json/arduino-spi.json diff --git a/src/tr-TR/overlay/display-o-tron.json b/src/tr-TR/description/json/display-o-tron.json similarity index 100% rename from src/tr-TR/overlay/display-o-tron.json rename to src/tr-TR/description/json/display-o-tron.json diff --git a/src/tr-TR/overlay/dots.json b/src/tr-TR/description/json/dots.json similarity index 100% rename from src/tr-TR/overlay/dots.json rename to src/tr-TR/description/json/dots.json diff --git a/src/tr-TR/overlay/explorer-hat-pro.json b/src/tr-TR/description/json/explorer-hat-pro.json similarity index 100% rename from src/tr-TR/overlay/explorer-hat-pro.json rename to src/tr-TR/description/json/explorer-hat-pro.json diff --git a/src/tr-TR/overlay/explorer-hat.json b/src/tr-TR/description/json/explorer-hat.json similarity index 100% rename from src/tr-TR/overlay/explorer-hat.json rename to src/tr-TR/description/json/explorer-hat.json diff --git a/src/tr-TR/overlay/ground.json b/src/tr-TR/description/json/ground.json similarity index 100% rename from src/tr-TR/overlay/ground.json rename to src/tr-TR/description/json/ground.json diff --git a/src/tr-TR/overlay/i2c.json b/src/tr-TR/description/json/i2c.json similarity index 100% rename from src/tr-TR/overlay/i2c.json rename to src/tr-TR/description/json/i2c.json diff --git a/src/tr-TR/overlay/piborg-ledborg.json b/src/tr-TR/description/json/piborg-ledborg.json similarity index 100% rename from src/tr-TR/overlay/piborg-ledborg.json rename to src/tr-TR/description/json/piborg-ledborg.json diff --git a/src/tr-TR/overlay/pibrella.json b/src/tr-TR/description/json/pibrella.json similarity index 100% rename from src/tr-TR/overlay/pibrella.json rename to src/tr-TR/description/json/pibrella.json diff --git a/src/tr-TR/overlay/piglow.json b/src/tr-TR/description/json/piglow.json similarity index 100% rename from src/tr-TR/overlay/piglow.json rename to src/tr-TR/description/json/piglow.json diff --git a/src/tr-TR/overlay/rtk-000-001.json b/src/tr-TR/description/json/rtk-000-001.json similarity index 100% rename from src/tr-TR/overlay/rtk-000-001.json rename to src/tr-TR/description/json/rtk-000-001.json diff --git a/src/tr-TR/overlay/skywriter-hat.json b/src/tr-TR/description/json/skywriter-hat.json similarity index 100% rename from src/tr-TR/overlay/skywriter-hat.json rename to src/tr-TR/description/json/skywriter-hat.json diff --git a/src/tr-TR/overlay/spi.json b/src/tr-TR/description/json/spi.json similarity index 100% rename from src/tr-TR/overlay/spi.json rename to src/tr-TR/description/json/spi.json diff --git a/src/tr-TR/overlay/uart.json b/src/tr-TR/description/json/uart.json similarity index 100% rename from src/tr-TR/overlay/uart.json rename to src/tr-TR/description/json/uart.json diff --git a/src/tr-TR/overlay/unicorn-hat.json b/src/tr-TR/description/json/unicorn-hat.json similarity index 100% rename from src/tr-TR/overlay/unicorn-hat.json rename to src/tr-TR/description/json/unicorn-hat.json diff --git a/src/tr-TR/overlay/wiringpi.json b/src/tr-TR/description/json/wiringpi.json similarity index 100% rename from src/tr-TR/overlay/wiringpi.json rename to src/tr-TR/description/json/wiringpi.json diff --git a/src/tr-TR/description/overlay/display-o-tron.md b/src/tr-TR/description/overlay/display-o-tron.md deleted file mode 100644 index 6255f51..0000000 --- a/src/tr-TR/description/overlay/display-o-tron.md +++ /dev/null @@ -1,9 +0,0 @@ -#Display-o-Tron 3000 - -Aşağıdaki tek satır kodla Display-o-Tron 3000'u kurup kullanmaya başlayabilirsiniz. Yapmanız gereken tek şey terminalde şu komutu çalıştırmak, - -```bash -curl get.pimoroni.com/dot3k | bash -``` - -ve de karşınıza gelen yönergeleri takip etmek. \ No newline at end of file diff --git a/src/tr-TR/description/overlay/dots.md b/src/tr-TR/description/overlay/dots.md deleted file mode 100644 index 93f17fc..0000000 --- a/src/tr-TR/description/overlay/dots.md +++ /dev/null @@ -1,26 +0,0 @@ -#Raspberry Pi Dots - -###Dots, Raspberry Pi için Dot to Dot HAT (Noktadan-noktaya, Raspberry Pi üzerine tam bağlanıp oturabilen), uçları tanımlamak ve de birleştirmek için sadece bir iletken kalem boya kullanılamn bir devredir. - -Bu devre üzerindeki tüm noktalar "akıcı" bir metal olmakla birlikte toprağa bağlamak ve devreyi tamamlamak için sadece modülle gelen bir adet iletken boya ile (gazlı kaleme benziyor) toprağa bir çizgi çizilmesi yeterlidir. Bu sayede lehimle uğraşmadan kolaylıkla devreler tamamlanabilir. - -Bir *nokta*yı okuyabilmek için bağlandığı pin'i (örnekte `dot_pin`) INPUT (giriş) olarak tanımlamalısınız: - -```python -import RPi.GPIO as GPIO -GPIO.setmode(GPIO.BCM ) -GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) -state = GPIO.input(dot_pin) -``` - -Bu pin'i sadece okumak istediğinizde PULLUP konumuna getirmek iyi bir alışkanlık olacakıtr. Aşağıdaki yol pini okumak için önerilen bir yoldur: - -```python -def is_dot_connected(dot_pin): - GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) - state = GPIO.input( dot_pin ) - GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_OFF) - return state == 0 -``` - -Dots hakkında detaylı bilgi için [buraya](http://www.raspberrypi.org/dots/), HATS hakkında detaylı bilgi için de buraya [tıklayın](http://www.raspberrypi.org/introducing-raspberry-pi-hats/). \ No newline at end of file diff --git a/src/tr-TR/description/overlay/explorer-hat-pro.md b/src/tr-TR/description/overlay/explorer-hat-pro.md deleted file mode 100644 index fc61010..0000000 --- a/src/tr-TR/description/overlay/explorer-hat-pro.md +++ /dev/null @@ -1,15 +0,0 @@ -#Explorer HAT ve Explorer HAT Pro - -5V giriş ve çıkışları, dokunmatik paneli, LEDler, analog girişler ve bir H-Bridge motor ile Explorer HAT Pro, Raspberry Pi'de prototipleme için tam teşekkürlü bir araç olarak teşkil etmekte. - -```bash -sudo apt-get install python-pip -sudo pip install explorer-hat -``` - -Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz: - -```bash -import explorerhat -explorerhat.light.on() -``` \ No newline at end of file diff --git a/src/tr-TR/description/overlay/explorer-hat.md b/src/tr-TR/description/overlay/explorer-hat.md deleted file mode 120000 index b960cc9..0000000 --- a/src/tr-TR/description/overlay/explorer-hat.md +++ /dev/null @@ -1 +0,0 @@ -explorer-hat-pro.md \ No newline at end of file diff --git a/src/tr-TR/description/overlay/pibrella.md b/src/tr-TR/description/overlay/pibrella.md deleted file mode 100644 index b8bb82f..0000000 --- a/src/tr-TR/description/overlay/pibrella.md +++ /dev/null @@ -1,17 +0,0 @@ -#Pibrella - -Pibrella Pimoroni tarafından hazırlanmış hepsi-bir-arada, hafif, ses, giriş ve çıkış destekleyen bir eklenti kartı. Cyntech çok fazla IO pini kullanmakta, fakat hem Serial, hem de I2C pinleri boşta kalmakta. Bu sebeple eğer yaratıcı olursanız bu kartla birlikte eklenti kartları için pek çok yer kalmakta. - -Pibrella'yı kullanmak çok kolay. Öncelikle terminalden aşağıdaki komutları çalıştırıp kurulumu gerçekleştirin: - -```bash -sudo apt-get install python-pip -sudo pip install pibrella -``` - -Ardından Python kodunuzda aşağıdaki gibi modülü ekleyip kurcalamaya başlayabilirsiniz: - -```bash -import pibrella -pibrella.light.red.on() -``` diff --git a/src/tr-TR/description/overlay/skywriter-hat.md b/src/tr-TR/description/overlay/skywriter-hat.md deleted file mode 100644 index 394c76d..0000000 --- a/src/tr-TR/description/overlay/skywriter-hat.md +++ /dev/null @@ -1,5 +0,0 @@ -#Skywriter HAT - -Skywriter HAT X, Y ve Z ekseninde parmağınızın pozisyonunu algılamanızı, ve de bu değerleri Python Scriptinizde kullanmanızı sağlar. - -Ayrıca kaydırma (tıpkı telefonlardaki "swipe" hareketi gibi) gibi hareketleri de algılama yeteneğine sahiptir. \ No newline at end of file diff --git a/src/tr-TR/description/type/3v3.md b/src/tr-TR/description/type/3v3.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/type/5v.md b/src/tr-TR/description/type/5v.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/type/gpio.md b/src/tr-TR/description/type/gpio.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/type/i2c.md b/src/tr-TR/description/type/i2c.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/type/pwm.md b/src/tr-TR/description/type/pwm.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/type/spi.md b/src/tr-TR/description/type/spi.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/type/uart.md b/src/tr-TR/description/type/uart.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/tr-TR/description/index.md b/src/tr-TR/index.md similarity index 100% rename from src/tr-TR/description/index.md rename to src/tr-TR/index.md diff --git a/src/tr-TR/description/overlay/arduino-spi.md b/src/tr-TR/overlay/arduino-spi.md similarity index 78% rename from src/tr-TR/description/overlay/arduino-spi.md rename to src/tr-TR/overlay/arduino-spi.md index 54f326c..6ec339c 100644 --- a/src/tr-TR/description/overlay/arduino-spi.md +++ b/src/tr-TR/overlay/arduino-spi.md @@ -1,3 +1,29 @@ + #SPI üzerinden ATmega 328p / Arduino ###Raspberry pi'nizin doğrudan ATmega 328p/Arduino'yu besleyip onunla programlama yapmanıza olanak sağladığını biliyor muydunuz? Bunu sadece birkaç kablo, bir breadboard, bir 16MHZ kristal with nothing but a few wires, a breadboard, a 16Mhz crystal osilatör ve de birkaç 22pF kondansatör ile yapabilirsiniz! diff --git a/src/tr-TR/overlay/display-o-tron.md b/src/tr-TR/overlay/display-o-tron.md new file mode 100644 index 0000000..a81374b --- /dev/null +++ b/src/tr-TR/overlay/display-o-tron.md @@ -0,0 +1,51 @@ + +#Display-o-Tron 3000 + +Aşağıdaki tek satır kodla Display-o-Tron 3000'u kurup kullanmaya başlayabilirsiniz. Yapmanız gereken tek şey terminalde şu komutu çalıştırmak, + +```bash +curl get.pimoroni.com/dot3k | bash +``` + +ve de karşınıza gelen yönergeleri takip etmek. \ No newline at end of file diff --git a/src/tr-TR/overlay/dots.md b/src/tr-TR/overlay/dots.md new file mode 100644 index 0000000..b93da8e --- /dev/null +++ b/src/tr-TR/overlay/dots.md @@ -0,0 +1,118 @@ + +#Raspberry Pi Dots + +###Dots, Raspberry Pi için Dot to Dot HAT (Noktadan-noktaya, Raspberry Pi üzerine tam bağlanıp oturabilen), uçları tanımlamak ve de birleştirmek için sadece bir iletken kalem boya kullanılamn bir devredir. + +Bu devre üzerindeki tüm noktalar "akıcı" bir metal olmakla birlikte toprağa bağlamak ve devreyi tamamlamak için sadece modülle gelen bir adet iletken boya ile (gazlı kaleme benziyor) toprağa bir çizgi çizilmesi yeterlidir. Bu sayede lehimle uğraşmadan kolaylıkla devreler tamamlanabilir. + +Bir *nokta*yı okuyabilmek için bağlandığı pin'i (örnekte `dot_pin`) INPUT (giriş) olarak tanımlamalısınız: + +```python +import RPi.GPIO as GPIO +GPIO.setmode(GPIO.BCM ) +GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) +state = GPIO.input(dot_pin) +``` + +Bu pin'i sadece okumak istediğinizde PULLUP konumuna getirmek iyi bir alışkanlık olacakıtr. Aşağıdaki yol pini okumak için önerilen bir yoldur: + +```python +def is_dot_connected(dot_pin): + GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) + state = GPIO.input( dot_pin ) + GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_OFF) + return state == 0 +``` + +Dots hakkında detaylı bilgi için [buraya](http://www.raspberrypi.org/dots/), HATS hakkında detaylı bilgi için de buraya [tıklayın](http://www.raspberrypi.org/introducing-raspberry-pi-hats/). \ No newline at end of file diff --git a/src/tr-TR/overlay/explorer-hat-pro.md b/src/tr-TR/overlay/explorer-hat-pro.md new file mode 100644 index 0000000..edddb69 --- /dev/null +++ b/src/tr-TR/overlay/explorer-hat-pro.md @@ -0,0 +1,107 @@ + +#Explorer HAT ve Explorer HAT Pro + +5V giriş ve çıkışları, dokunmatik paneli, LEDler, analog girişler ve bir H-Bridge motor ile Explorer HAT Pro, Raspberry Pi'de prototipleme için tam teşekkürlü bir araç olarak teşkil etmekte. + +```bash +sudo apt-get install python-pip +sudo pip install explorer-hat +``` + +Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz: + +```bash +import explorerhat +explorerhat.light.on() +``` \ No newline at end of file diff --git a/src/tr-TR/overlay/explorer-hat.md b/src/tr-TR/overlay/explorer-hat.md new file mode 100644 index 0000000..5b5a13b --- /dev/null +++ b/src/tr-TR/overlay/explorer-hat.md @@ -0,0 +1,75 @@ + +#Explorer HAT ve Explorer HAT Pro + +5V giriş ve çıkışları, dokunmatik paneli, LEDler, analog girişler ve bir H-Bridge motor ile Explorer HAT Pro, Raspberry Pi'de prototipleme için tam teşekkürlü bir araç olarak teşkil etmekte. + +```bash +sudo apt-get install python-pip +sudo pip install explorer-hat +``` + +Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz: + +```bash +import explorerhat +explorerhat.light.on() +``` \ No newline at end of file diff --git a/src/tr-TR/description/overlay/ground.md b/src/tr-TR/overlay/ground.md similarity index 72% rename from src/tr-TR/description/overlay/ground.md rename to src/tr-TR/overlay/ground.md index fc4908f..a3ca013 100644 --- a/src/tr-TR/description/overlay/ground.md +++ b/src/tr-TR/overlay/ground.md @@ -1,3 +1,17 @@ + #Ground (Toprak) Raspberry Pi'deki GND pinlerinin hepsi birbiri ile bağlantılıdır, bu yüzden hangi pine toprağı verdiğinizin bir önemi yok. diff --git a/src/tr-TR/description/overlay/i2c.md b/src/tr-TR/overlay/i2c.md similarity index 66% rename from src/tr-TR/description/overlay/i2c.md rename to src/tr-TR/overlay/i2c.md index 2044677..caf422e 100644 --- a/src/tr-TR/description/overlay/i2c.md +++ b/src/tr-TR/overlay/i2c.md @@ -1,3 +1,25 @@ + #I2C - Inter Integrated Circuit Raspberry Pi'nin I2C pinleri eğer pek çok harici bileşen ile çalışıyorsanız oldukça işinize yarayacaktır. diff --git a/src/tr-TR/description/overlay/piborg-ledborg.md b/src/tr-TR/overlay/piborg-ledborg.md similarity index 65% rename from src/tr-TR/description/overlay/piborg-ledborg.md rename to src/tr-TR/overlay/piborg-ledborg.md index 3a8b38d..d68f83e 100644 --- a/src/tr-TR/description/overlay/piborg-ledborg.md +++ b/src/tr-TR/overlay/piborg-ledborg.md @@ -1,3 +1,25 @@ + ###PiBorg LedBorg RGB LED Board [PiBorg LedBorg](http://www.piborg.org/ledborg/), Raspberry Pi için oldukça hafif bir RGB LED board'udur. Bu board kendisine ait bir sürücü barındırır, bu yüzden ayrıca bir sürücü kurmanıza gerek yok. diff --git a/src/tr-TR/overlay/pibrella.md b/src/tr-TR/overlay/pibrella.md new file mode 100644 index 0000000..da895c5 --- /dev/null +++ b/src/tr-TR/overlay/pibrella.md @@ -0,0 +1,78 @@ + +#Pibrella + +Pibrella Pimoroni tarafından hazırlanmış hepsi-bir-arada, hafif, ses, giriş ve çıkış destekleyen bir eklenti kartı. Cyntech çok fazla IO pini kullanmakta, fakat hem Serial, hem de I2C pinleri boşta kalmakta. Bu sebeple eğer yaratıcı olursanız bu kartla birlikte eklenti kartları için pek çok yer kalmakta. + +Pibrella'yı kullanmak çok kolay. Öncelikle terminalden aşağıdaki komutları çalıştırıp kurulumu gerçekleştirin: + +```bash +sudo apt-get install python-pip +sudo pip install pibrella +``` + +Ardından Python kodunuzda aşağıdaki gibi modülü ekleyip kurcalamaya başlayabilirsiniz: + +```bash +import pibrella +pibrella.light.red.on() +``` diff --git a/src/tr-TR/description/overlay/rtk-000-001.md b/src/tr-TR/overlay/rtk-000-001.md similarity index 57% rename from src/tr-TR/description/overlay/rtk-000-001.md rename to src/tr-TR/overlay/rtk-000-001.md index 97e13f7..1531561 100644 --- a/src/tr-TR/description/overlay/rtk-000-001.md +++ b/src/tr-TR/overlay/rtk-000-001.md @@ -1,3 +1,29 @@ + #Ryanteck Motor Kontrol Kartı ###Bu kart, Raspberry Pi'nizde motor sürmek için hızlı ve de kolay bir yol sağlamakta. diff --git a/src/tr-TR/overlay/skywriter-hat.md b/src/tr-TR/overlay/skywriter-hat.md new file mode 100644 index 0000000..c4bd63d --- /dev/null +++ b/src/tr-TR/overlay/skywriter-hat.md @@ -0,0 +1,24 @@ + +#Skywriter HAT + +Skywriter HAT X, Y ve Z ekseninde parmağınızın pozisyonunu algılamanızı, ve de bu değerleri Python Scriptinizde kullanmanızı sağlar. + +Ayrıca kaydırma (tıpkı telefonlardaki "swipe" hareketi gibi) gibi hareketleri de algılama yeteneğine sahiptir. \ No newline at end of file diff --git a/src/tr-TR/description/overlay/spi.md b/src/tr-TR/overlay/spi.md similarity index 61% rename from src/tr-TR/description/overlay/spi.md rename to src/tr-TR/overlay/spi.md index 3e0d3e4..e10df57 100644 --- a/src/tr-TR/description/overlay/spi.md +++ b/src/tr-TR/overlay/spi.md @@ -1,3 +1,47 @@ + #SPI - Serial Peripheral Interface ###four-wire serial bus olarak da bilinen SPI, bir pin setinden birden fazla adresteki birden fazla uygun cihazı [papatya zinciri](https://tr.wikipedia.org/wiki/Papatya_zinciri) yapıp yönetmenizi sağlar. diff --git a/src/tr-TR/description/overlay/uart.md b/src/tr-TR/overlay/uart.md similarity index 81% rename from src/tr-TR/description/overlay/uart.md rename to src/tr-TR/overlay/uart.md index 74d0906..0395d21 100644 --- a/src/tr-TR/description/overlay/uart.md +++ b/src/tr-TR/overlay/uart.md @@ -1,3 +1,17 @@ + #UART - Universal Asenkron Verici/Alcı ###WiringPi'deki 2 UART pini Pin 15 ve 16'dır diff --git a/src/tr-TR/description/overlay/unicorn-hat.md b/src/tr-TR/overlay/unicorn-hat.md similarity index 62% rename from src/tr-TR/description/overlay/unicorn-hat.md rename to src/tr-TR/overlay/unicorn-hat.md index 29f7fdc..ee1ce4d 100644 --- a/src/tr-TR/description/overlay/unicorn-hat.md +++ b/src/tr-TR/overlay/unicorn-hat.md @@ -1,3 +1,20 @@ + #Unicorn HAT 64 adet parlak LEDe sahip bu HAT kart'ı bir C kütüphanesi ile çok hızlı çalışacak bir şekilde yönetebilir, LEDlerin daha parlak veya sönük yanmasını sağlayabilirsiniz. diff --git a/src/tr-TR/description/overlay/wiringpi.md b/src/tr-TR/overlay/wiringpi.md similarity index 69% rename from src/tr-TR/description/overlay/wiringpi.md rename to src/tr-TR/overlay/wiringpi.md index 51637f4..150ffac 100644 --- a/src/tr-TR/description/overlay/wiringpi.md +++ b/src/tr-TR/overlay/wiringpi.md @@ -1,3 +1,61 @@ + #Raspberry Pi WiringPi ###WiringPi, Arduino benzeri bir kablolama basitliğini Raspberry Pi'ye getirmeyi amaçlayan bir projedir. diff --git a/src/tr-TR/pi-pinout.json b/src/tr-TR/pi-pinout.json deleted file mode 100644 index 708f9e4..0000000 --- a/src/tr-TR/pi-pinout.json +++ /dev/null @@ -1,466 +0,0 @@ -{ - "name": "Raspberry Pi GPIO Pinleri", - "pins":{ - "1":{ - "name": "3v3 Güç", - "type": "+3v3" - }, - "3":{ - "name": "SDA", - "description": "I2C Veri", - "type": "GPIO/I2C", - "scheme": { - "wiringpi": 8, - "bcm": 2, - "bcmAlt": 0 - }, - "functions": { - "alt0": "SDA1", - "alt1": "SA3" - } - }, - "5":{ - "name": "SCL", - "description": "I2C Çarpanı", - "type": "GPIO/I2C", - "scheme": { - "wiringpi": 9, - "bcm": 3, - "bcmAlt": 1 - }, - "functions": { - "alt0": "SCL1", - "alt1": "SA2" - } - }, - "7":{ - "name": "GPCLK0", - "type": "GPIO", - "scheme": { - "wiringpi": 7, - "bcm": 4 - }, - "functions": { - "alt0": "GPCLK0", - "alt1": "SA1", - "alt5": "ARM_TDI" - } - }, - "9":{ - "name": "Toprak", - "type": "GND" - }, - "11":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 0, - "bcm": 17 - }, - "functions": { - "alt0": "Reserved", - "alt1": "SD9", - "alt2": "Reserved", - "alt3": "RTS0", - "alt4": "SPI1_CE1_N", - "alt5": "RTS1" - } - }, - "13":{ - "name": "PCM_D", - "type": "GPIO", - "scheme": { - "wiringpi": 2, - "bcm": 27, - "bcmAlt": 21 - }, - "functions": { - "alt0": "Reserved", - "alt1": "Reserved", - "alt2": "Reserved", - "alt3": "SD1_DAT3", - "alt4": "ARM_TMS" - } - }, - "15":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 3, - "bcm": 22 - }, - "functions": { - "alt0": "Reserved", - "alt1": "SD14", - "alt2": "Reserved", - "alt3": "SD1_CLK", - "alt4": "ARM_TRST" - } - }, - "17":{ - "name": "3v3 Güç", - "type": "+3v3" - }, - "19":{ - "name": "MOSI", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 12, - "bcm": 10 - }, - "functions": { - "alt0": "SPI0_MOSI", - "alt1": "SD2", - "alt2": "Reserved" - } - }, - "21":{ - "name": "MISO", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 13, - "bcm": 9 - }, - "functions": { - "alt0": "SPI0_MISO", - "alt1": "SD1", - "alt2": "Reserved" - } - }, - "23":{ - "name": "SCLK", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 14, - "bcm": 11 - }, - "functions": { - "alt0": "SPI0_SCLK", - "alt1": "SD3", - "alt2": "Reserved" - } - }, - "25":{ - "name": "Ground", - "type": "GND" - }, - "27":{ - "name": "ID_SD", - "description": "HAT EEPROM i2c Data", - "type": "GPIO/I2C", - "scheme": { - "wiringpi": 30, - "bcm": 0 - }, - "functions": { - "alt0": "SDA0", - "alt1": "SA5", - "alt2": "Reserved" - } - }, - "29":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 21, - "bcm": 5 - }, - "functions": { - "alt0": "GPCLK1", - "alt1": "SA0", - "alt2": "Reserved", - "alt5": "ARM_TDO" - } - }, - "31":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 22, - "bcm": 6 - }, - "functions": { - "alt0": "GPCLK2", - "alt1": "SOE_N / SE", - "alt2": "Reserved", - "alt5": "ARM_RTCK" - } - }, - "33":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 23, - "bcm": 13 - }, - "functions": { - "alt0": "PWM1", - "alt1": "SD5", - "alt2": "Reserved", - "alt5": "ARM_TCK" - } - }, - "35":{ - "name": "MISO", - "description": "SPI Master-In", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 24, - "bcm": 19 - }, - "functions": { - "alt0": "PCM_FS", - "alt1": "SD11", - "alt2": "Reserved", - "alt3": "BSCSL SCL / SCLK", - "alt4": "SPI1_MISO", - "alt5": "PWM1" - } - }, - "37":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 25, - "bcm": 26 - }, - "functions": { - "alt0": "Reserved", - "alt1": "Reserved", - "alt2": "Reserved", - "alt3": "SD1_DAT2", - "alt4": "ARM_TDI" - } - }, - "39":{ - "name": "Ground", - "type": "GND" - }, - "2":{ - "name": "5v Güç", - "type": "+5v" - }, - "4":{ - "name": "5v Güç", - "type": "+5v" - }, - "6":{ - "name": "Toprak", - "type": "GND" - }, - "8":{ - "name": "TXD", - "description": "UART Transmit", - "type": "GPIO/UART", - "scheme": { - "wiringpi": 15, - "bcm": 14 - }, - "functions": { - "alt0": "TXD0", - "alt1": "SD6", - "alt2": "Reserved", - "alt5": "TXD1" - } - }, - "10":{ - "name": "RXD", - "description": "UART Alış", - "type": "GPIO/UART", - "scheme": { - "wiringpi": 16, - "bcm": 15 - }, - "functions": { - "alt0": "RXD0", - "alt1": "SD7", - "alt2": "Reserved", - "alt5": "RXD1" - } - }, - "12":{ - "name": "PCM_C", - "description": "PCM Clock", - "type": "GPIO", - "scheme": { - "wiringpi": 1, - "bcm": 18 - }, - "functions": { - "alt0": "PCM_CLK", - "alt1": "SD10", - "alt2": "Reserved", - "alt3": "BSCSL SDA / MOSI", - "alt4": "SPI1_CE0_N", - "alt5": "PWM0" - } - }, - "14":{ - "name": "Ground", - "type": "GND" - }, - "16":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 4, - "bcm": 23 - }, - "functions": { - "alt0": "Reserved", - "alt1": "SD15", - "alt2": "Reserved", - "alt3": "SD1_CMD", - "alt4": "ARM_RTCK" - } - }, - "18":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 5, - "bcm": 24 - }, - "functions": { - "alt0": "Reserved", - "alt1": "SD16", - "alt2": "Reserved", - "alt3": "SD1_DAT0", - "alt4": "ARM_TDO" - } - }, - "20":{ - "name": "Toprak", - "type": "GND" - }, - "22":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 6, - "bcm": 25 - }, - "functions": { - "alt0": "Reserved", - "alt1": "SD17", - "alt2": "Reserved", - "alt3": "SD1_DAT1", - "alt4": "ARM_TCK" - } - }, - "24":{ - "name": "CE0", - "description": "SPI Chip Select 0", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 10, - "bcm": 8 - }, - "functions": { - "alt0": "SPI0_CE0_N", - "alt1": "SD0", - "alt2": "Reserved" - } - }, - "26":{ - "name": "CE1", - "description": "SPI Chip Select 1", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 11, - "bcm": 7 - }, - "functions": { - "alt0": "SPI0_CE1_N", - "alt1": "SWE_N / SRW_N", - "alt2": "Reserved" - } - }, - "28":{ - "name": "ID_SC", - "description": "HAT EEPROM i2c Clock", - "type": "GPIO/I2C", - "scheme": { - "wiringpi": 31, - "bcm": 1 - }, - "functions": { - "alt0": "SCL0", - "alt1": "SA4", - "alt2": "Reserved" - } - }, - "30":{ - "name": "Ground", - "type": "GND" - }, - "32":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 26, - "bcm": 12 - }, - "functions": { - "alt0": "PWM0", - "alt1": "SD4", - "alt2": "Reserved", - "alt5": "ARM_TMS" - } - }, - "34":{ - "name": "Ground", - "type": "GND" - }, - "36":{ - "name": "", - "type": "GPIO", - "scheme": { - "wiringpi": 27, - "bcm": 16 - }, - "functions": { - "alt0": "Reserved", - "alt1": "SD8", - "alt2": "Reserved", - "alt3": "CTS0", - "alt4": "SPI1_CE2_N", - "alt5": "CTS1" - } - }, - "38":{ - "name": "MOSI", - "description": "SPI Master-Out", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 28, - "bcm": 20 - }, - "functions": { - "alt0": "PCM_DIN", - "alt1": "SD12", - "alt2": "Reserved", - "alt3": "BSCSL / MISO", - "alt4": "SPI1_MOSI", - "alt5": "CPCLK0" - } - }, - "40":{ - "name": "SCLK", - "description": "SPI Çarpanı", - "type": "GPIO/SPI", - "scheme": { - "wiringpi": 29, - "bcm": 21 - }, - "functions": { - "alt0": "PCM_DOUT", - "alt1": "SD13", - "alt2": "Reserved", - "alt3": "BSCSL / CE_N", - "alt4": "SPI1_SCLK", - "alt5": "GPCLK1" - } - } - } -} diff --git a/src/tr-TR/pi-pinout.yaml b/src/tr-TR/pi-pinout.yaml new file mode 100644 index 0000000..c0378a4 --- /dev/null +++ b/src/tr-TR/pi-pinout.yaml @@ -0,0 +1,368 @@ +--- +name: Raspberry Pi GPIO Pinleri +pins: + '1': + name: 3v3 Güç + type: "+3v3" + '2': + name: 5v Güç + type: "+5v" + '3': + name: SDA + description: I2C Veri + type: GPIO/I2C + scheme: + wiringpi: 8 + bcm: 2 + bcmAlt: 0 + functions: + alt0: SDA1 + alt1: SA3 + '4': + name: 5v Güç + type: "+5v" + '5': + name: SCL + description: I2C Çarpanı + type: GPIO/I2C + scheme: + wiringpi: 9 + bcm: 3 + bcmAlt: 1 + functions: + alt0: SCL1 + alt1: SA2 + '6': + name: Toprak + type: GND + '7': + name: GPCLK0 + type: GPIO + scheme: + wiringpi: 7 + bcm: 4 + functions: + alt0: GPCLK0 + alt1: SA1 + alt5: ARM_TDI + '8': + name: TXD + description: UART Transmit + type: GPIO/UART + scheme: + wiringpi: 15 + bcm: 14 + functions: + alt0: TXD0 + alt1: SD6 + alt2: Reserved + alt5: TXD1 + '9': + name: Toprak + type: GND + '10': + name: RXD + description: UART Alış + type: GPIO/UART + scheme: + wiringpi: 16 + bcm: 15 + functions: + alt0: RXD0 + alt1: SD7 + alt2: Reserved + alt5: RXD1 + '11': + name: '' + type: GPIO + scheme: + wiringpi: 0 + bcm: 17 + functions: + alt0: Reserved + alt1: SD9 + alt2: Reserved + alt3: RTS0 + alt4: SPI1_CE1_N + alt5: RTS1 + '12': + name: PCM_C + description: PCM Clock + type: GPIO + scheme: + wiringpi: 1 + bcm: 18 + functions: + alt0: PCM_CLK + alt1: SD10 + alt2: Reserved + alt3: BSCSL SDA / MOSI + alt4: SPI1_CE0_N + alt5: PWM0 + '13': + name: PCM_D + type: GPIO + scheme: + wiringpi: 2 + bcm: 27 + bcmAlt: 21 + functions: + alt0: Reserved + alt1: Reserved + alt2: Reserved + alt3: SD1_DAT3 + alt4: ARM_TMS + '14': + name: Toprak + type: GND + '15': + name: '' + type: GPIO + scheme: + wiringpi: 3 + bcm: 22 + functions: + alt0: Reserved + alt1: SD14 + alt2: Reserved + alt3: SD1_CLK + alt4: ARM_TRST + '16': + name: '' + type: GPIO + scheme: + wiringpi: 4 + bcm: 23 + functions: + alt0: Reserved + alt1: SD15 + alt2: Reserved + alt3: SD1_CMD + alt4: ARM_RTCK + '17': + name: 3v3 Güç + type: "+3v3" + '18': + name: '' + type: GPIO + scheme: + wiringpi: 5 + bcm: 24 + functions: + alt0: Reserved + alt1: SD16 + alt2: Reserved + alt3: SD1_DAT0 + alt4: ARM_TDO + '19': + name: MOSI + type: GPIO/SPI + scheme: + wiringpi: 12 + bcm: 10 + functions: + alt0: SPI0_MOSI + alt1: SD2 + alt2: Reserved + '20': + name: Toprak + type: GND + '21': + name: MISO + type: GPIO/SPI + scheme: + wiringpi: 13 + bcm: 9 + functions: + alt0: SPI0_MISO + alt1: SD1 + alt2: Reserved + '22': + name: '' + type: GPIO + scheme: + wiringpi: 6 + bcm: 25 + functions: + alt0: Reserved + alt1: SD17 + alt2: Reserved + alt3: SD1_DAT1 + alt4: ARM_TCK + '23': + name: SCLK + type: GPIO/SPI + scheme: + wiringpi: 14 + bcm: 11 + functions: + alt0: SPI0_SCLK + alt1: SD3 + alt2: Reserved + '24': + name: CE0 + description: SPI Chip Select 0 + type: GPIO/SPI + scheme: + wiringpi: 10 + bcm: 8 + functions: + alt0: SPI0_CE0_N + alt1: SD0 + alt2: Reserved + '25': + name: Toprak + type: GND + '26': + name: CE1 + description: SPI Chip Select 1 + type: GPIO/SPI + scheme: + wiringpi: 11 + bcm: 7 + functions: + alt0: SPI0_CE1_N + alt1: SWE_N / SRW_N + alt2: Reserved + '27': + name: ID_SD + description: HAT EEPROM i2c Data + type: GPIO/I2C + scheme: + wiringpi: 30 + bcm: 0 + functions: + alt0: SDA0 + alt1: SA5 + alt2: Reserved + '28': + name: ID_SC + description: HAT EEPROM i2c Clock + type: GPIO/I2C + scheme: + wiringpi: 31 + bcm: 1 + functions: + alt0: SCL0 + alt1: SA4 + alt2: Reserved + '29': + name: '' + type: GPIO + scheme: + wiringpi: 21 + bcm: 5 + functions: + alt0: GPCLK1 + alt1: SA0 + alt2: Reserved + alt5: ARM_TDO + '30': + name: Toprak + type: GND + '31': + name: '' + type: GPIO + scheme: + wiringpi: 22 + bcm: 6 + functions: + alt0: GPCLK2 + alt1: SOE_N / SE + alt2: Reserved + alt5: ARM_RTCK + '32': + name: '' + type: GPIO + scheme: + wiringpi: 26 + bcm: 12 + functions: + alt0: PWM0 + alt1: SD4 + alt2: Reserved + alt5: ARM_TMS + '33': + name: '' + type: GPIO + scheme: + wiringpi: 23 + bcm: 13 + functions: + alt0: PWM1 + alt1: SD5 + alt2: Reserved + alt5: ARM_TCK + '34': + name: Toprak + type: GND + '35': + name: MISO + description: SPI Master-In + type: GPIO/SPI + scheme: + wiringpi: 24 + bcm: 19 + functions: + alt0: PCM_FS + alt1: SD11 + alt2: Reserved + alt3: BSCSL SCL / SCLK + alt4: SPI1_MISO + alt5: PWM1 + '36': + name: '' + type: GPIO + scheme: + wiringpi: 27 + bcm: 16 + functions: + alt0: Reserved + alt1: SD8 + alt2: Reserved + alt3: CTS0 + alt4: SPI1_CE2_N + alt5: CTS1 + '37': + name: '' + type: GPIO + scheme: + wiringpi: 25 + bcm: 26 + functions: + alt0: Reserved + alt1: Reserved + alt2: Reserved + alt3: SD1_DAT2 + alt4: ARM_TDI + '38': + name: MOSI + description: SPI Master-Out + type: GPIO/SPI + scheme: + wiringpi: 28 + bcm: 20 + functions: + alt0: PCM_DIN + alt1: SD12 + alt2: Reserved + alt3: BSCSL / MISO + alt4: SPI1_MOSI + alt5: CPCLK0 + '39': + name: Toprak + type: GND + '40': + name: SCLK + description: SPI Çarpanı + type: GPIO/SPI + scheme: + wiringpi: 29 + bcm: 21 + functions: + alt0: PCM_DOUT + alt1: SD13 + alt2: Reserved + alt3: BSCSL / CE_N + alt4: SPI1_SCLK + alt5: GPCLK1 diff --git a/src/tr-TR/description/pins/pin-1.md b/src/tr-TR/pin/pin-1.md similarity index 100% rename from src/tr-TR/description/pins/pin-1.md rename to src/tr-TR/pin/pin-1.md diff --git a/src/tr-TR/description/pins/pin-10.md b/src/tr-TR/pin/pin-10.md similarity index 100% rename from src/tr-TR/description/pins/pin-10.md rename to src/tr-TR/pin/pin-10.md diff --git a/src/tr-TR/description/pins/pin-12.md b/src/tr-TR/pin/pin-12.md similarity index 100% rename from src/tr-TR/description/pins/pin-12.md rename to src/tr-TR/pin/pin-12.md diff --git a/src/tr-TR/description/pins/pin-14.md b/src/tr-TR/pin/pin-14.md similarity index 100% rename from src/tr-TR/description/pins/pin-14.md rename to src/tr-TR/pin/pin-14.md diff --git a/src/tr-TR/description/pins/pin-2.md b/src/tr-TR/pin/pin-2.md similarity index 100% rename from src/tr-TR/description/pins/pin-2.md rename to src/tr-TR/pin/pin-2.md diff --git a/src/tr-TR/description/pins/pin-20.md b/src/tr-TR/pin/pin-20.md similarity index 100% rename from src/tr-TR/description/pins/pin-20.md rename to src/tr-TR/pin/pin-20.md diff --git a/src/tr-TR/description/pins/pin-25.md b/src/tr-TR/pin/pin-25.md similarity index 100% rename from src/tr-TR/description/pins/pin-25.md rename to src/tr-TR/pin/pin-25.md diff --git a/src/tr-TR/description/pins/pin-27.md b/src/tr-TR/pin/pin-27.md similarity index 100% rename from src/tr-TR/description/pins/pin-27.md rename to src/tr-TR/pin/pin-27.md diff --git a/src/tr-TR/description/pins/pin-28.md b/src/tr-TR/pin/pin-28.md similarity index 100% rename from src/tr-TR/description/pins/pin-28.md rename to src/tr-TR/pin/pin-28.md diff --git a/src/tr-TR/description/pins/pin-3.md b/src/tr-TR/pin/pin-3.md similarity index 100% rename from src/tr-TR/description/pins/pin-3.md rename to src/tr-TR/pin/pin-3.md diff --git a/src/tr-TR/description/pins/pin-30.md b/src/tr-TR/pin/pin-30.md similarity index 100% rename from src/tr-TR/description/pins/pin-30.md rename to src/tr-TR/pin/pin-30.md diff --git a/src/tr-TR/description/pins/pin-34.md b/src/tr-TR/pin/pin-34.md similarity index 100% rename from src/tr-TR/description/pins/pin-34.md rename to src/tr-TR/pin/pin-34.md diff --git a/src/tr-TR/description/pins/pin-39.md b/src/tr-TR/pin/pin-39.md similarity index 100% rename from src/tr-TR/description/pins/pin-39.md rename to src/tr-TR/pin/pin-39.md diff --git a/src/tr-TR/description/pins/pin-4.md b/src/tr-TR/pin/pin-4.md similarity index 100% rename from src/tr-TR/description/pins/pin-4.md rename to src/tr-TR/pin/pin-4.md diff --git a/src/tr-TR/description/pins/pin-5.md b/src/tr-TR/pin/pin-5.md similarity index 100% rename from src/tr-TR/description/pins/pin-5.md rename to src/tr-TR/pin/pin-5.md diff --git a/src/tr-TR/description/pins/pin-6.md b/src/tr-TR/pin/pin-6.md similarity index 100% rename from src/tr-TR/description/pins/pin-6.md rename to src/tr-TR/pin/pin-6.md diff --git a/src/tr-TR/description/pins/pin-8.md b/src/tr-TR/pin/pin-8.md similarity index 100% rename from src/tr-TR/description/pins/pin-8.md rename to src/tr-TR/pin/pin-8.md diff --git a/src/tr-TR/description/pins/pin-9.md b/src/tr-TR/pin/pin-9.md similarity index 100% rename from src/tr-TR/description/pins/pin-9.md rename to src/tr-TR/pin/pin-9.md diff --git a/src/tr-TR/settings.json b/src/tr-TR/settings.json deleted file mode 100644 index 57e6a0a..0000000 --- a/src/tr-TR/settings.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "default_desc":"Raspberry Pi, B+ ve Pi 2 için Pin şematiği", - "default_title":"Raspberry Pi GPIO Pinleri - Pi 1, B+, Pi 2", - "title_suffix":" - Raspberry Pi Pinleri", - "overlays": [ - "ground", - "spi", - "uart", - "i2c", - "wiringpi", - "arduino-spi", - "rtk-000-001", - "piborg-ledborg", - "piglow", - "pibrella", - "unicorn-hat", - "skywriter-hat", - "explorer-hat-pro", - "explorer-hat", - "display-o-tron", - "dots" - ] -} \ No newline at end of file diff --git a/src/tr-TR/settings.yaml b/src/tr-TR/settings.yaml new file mode 100644 index 0000000..f8fd630 --- /dev/null +++ b/src/tr-TR/settings.yaml @@ -0,0 +1,23 @@ +--- +default_desc: Raspberry Pi, B+ ve Pi 2 için Pin şematiği +default_title: Raspberry Pi GPIO Pinleri - Pi 1, B+, Pi 2 +title_suffix: " - Raspberry Pi Pinleri" +urls: + GND: ground_toprak +overlays: +- ground +- spi +- uart +- i2c +- wiringpi +- arduino-spi +- rtk-000-001 +- piborg-ledborg +- piglow +- pibrella +- unicorn-hat +- skywriter-hat +- explorer-hat-pro +- explorer-hat +- display-o-tron +- dots \ No newline at end of file diff --git a/src/tr-TR/template/layout.html b/src/tr-TR/template/layout.html index 04c4724..64bd6ee 100644 --- a/src/tr-TR/template/layout.html +++ b/src/tr-TR/template/layout.html @@ -1,7 +1,8 @@ - + {{title}} + @@ -19,7 +20,7 @@
  • @Gadgetoid
  • Destekleyin
  • -

    Raspberry Pinout

    +

    Raspberry Pinout

    Raspberry Pi Eklenti kartları ve özellikleri