diff --git a/generate-html.py b/generate-html.py index 4f08ba8..cf40047 100755 --- a/generate-html.py +++ b/generate-html.py @@ -14,8 +14,6 @@ reload(sys) sys.setdefaultencoding('utf8') lang = "en-GB" -base_url = '/pinout/' -resource_url = '/resources/' if len(sys.argv) > 1: lang = sys.argv[1] @@ -24,6 +22,10 @@ pinout.load(lang) overlays = pinout.settings['overlays'] +base_url = pinout.get_setting('base_url','/pinout/') # '/pinout-tr/pinout/' +resource_url = pinout.get_setting('resource_url','/resources/') # '/pinout-tr/resources/' +url_suffix = pinout.get_setting('url_suffix','') # '.html' + template = open('src/{}/template/layout.html'.format(lang)).read() pages = {} @@ -305,6 +307,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/pinout.py b/pinout.py index e6f8992..3e9d02e 100644 --- a/pinout.py +++ b/pinout.py @@ -9,10 +9,10 @@ SETTINGS_FILE = 'settings.yaml' pins = None settings = None -def get_setting(setting): - if setting in settings: +def get_setting(setting, default = None): + if setting in settings and settings[setting] != None: return settings[setting] - return None + return default def render_html(*args, **kwargs): html = args[0] diff --git a/resources/print.css b/resources/print.css new file mode 100644 index 0000000..924849d --- /dev/null +++ b/resources/print.css @@ -0,0 +1,37 @@ +#content, +nav#gpio, +div#pinbasebplus, +div#pinbase {background:transparent;} +#article {padding:0px;} + +.main-nav, .overlay-container, .logo img {display:none;} + +ul.bottom a { + color:#000000; +} + +.logo, .logo a, .logo span.out, .logo span { + color:#000000; +} + +nav#gpio li.overlay-pin a, +nav#gpio ul.bottom li.overlay-pin a, +nav#gpio li.active a, +table th{ + background:transparent; +} + +* {color:#000000 !important;} + +ul.top a *, ul.bottom a * { + color:#999999 !important; +} + +nav#gpio li.overlay-pin a *, +nav#gpio ul.bottom li.overlay-pin a *, +nav#gpio li.active * { + color:#000000 !important; + font-weight:bold; +} + +.prettyprint.linenums, .prettyprint {box-shadow:none;-webkit-box-shadow:none;background:transparent;} \ No newline at end of file diff --git a/src/en-GB/overlay/traffic-hat.md b/src/en-GB/overlay/traffic-hat.md index 9d84f0e..4fa0a03 100644 --- a/src/en-GB/overlay/traffic-hat.md +++ b/src/en-GB/overlay/traffic-hat.md @@ -2,8 +2,8 @@ --- name: Traffic HAT manufacturer: Ryanteck LTD. -url: http://www.ryanteck.uk/ -buy: http://www.ryanteck.uk/ +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. pincount: 40 @@ -37,76 +37,16 @@ pin: import RPi.GPIO as IO from time import sleep - IO.setmode(IO.BCM) +#Lights IO.setup(22,IO.OUT) IO.setup(23,IO.OUT) IO.setup(24,IO.OUT) -#Buzz +#Buzzer IO.setup(5,IO.OUT) +#Button IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) - -while True: - IO.output(22,1) # Turn the Green LED On / 1 - sleep(0.11) #S1 - print("Green ON") - if(IO.input(25) == 0): - print("BUTTON PRESS") - IO.output(22,0) # Turn the Green LED Off / 0 - print("Green Off") - IO.output(23,1) # Turn the Yellow LED On / 1 - print("Yellow ON") - print("Sleep") - sleep(2) # Wait for 1 Second - print("Sleeped") - - IO.output(23,0) # Turn the Yellow LED Off / 0 - print("Yellow Off") - IO.output(24,1) # Turn the Red LED On / 1 - print("Red ON") - - print("Sleep") - sleep(2) # Wait for 1 Second - print("Sleeped") - - i = 0 # Set A Counter Variable - - while (i<10): # The Repeat Loop - print("Buzz") - IO.output(5,1) # Turn the Yellow LED On / 1 - - sleep(0.1) # Wait for 0.1 Seconds - - IO.output(5,0) # Turn the Yellow LED Off / 0 - - sleep(0.1) # Wait for 0.1 Seconds - - i = i+1 #We add 1 to the counter to keep track of the loop - - # We want to blink the Yellow LED 3 Times - print("Count Begin") - sleep(0.5) - i = 0 - while (i<3): # The Repeat Loop - print("Blink") - IO.output(23,1) # Turn the Yellow LED On / 1 - - sleep(0.5) # Wait for 0.1 Seconds - - IO.output(23,0) # Turn the Yellow LED Off / 0 - - sleep(0.5) # Wait for 0.1 Seconds - - i = i+1 #We add 1 to the counter to keep track of the loop - - - print("Red Off") - IO.output(24,0) # Turn the Red LED Off / 0 - print("Green ON") - IO.output(22,1) # Turn the Green LED On / 1 - sleep(2) - ``` \ No newline at end of file diff --git a/src/en-GB/settings.yaml b/src/en-GB/settings.yaml index 76a73ec..4a1f1c8 100644 --- a/src/en-GB/settings.yaml +++ b/src/en-GB/settings.yaml @@ -3,6 +3,9 @@ default_desc: The comprehensive Raspberry Pi GPIO Pinout guide for the original Pi, B+ and Pi 2 default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2 title_suffix: " at Raspberry Pi GPIO Pinout" +base_url: /pinout/ +resource_url: /resources/ +url_suffix: urls: GND: ground overlays: diff --git a/src/en-GB/template/layout.html b/src/en-GB/template/layout.html index c215b93..9035462 100644 --- a/src/en-GB/template/layout.html +++ b/src/en-GB/template/layout.html @@ -3,10 +3,11 @@ {{title}} - + + - + + 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/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/overlay/README.md b/src/tr-TR/overlay/README.md deleted file mode 100644 index f144f43..0000000 --- a/src/tr-TR/overlay/README.md +++ /dev/null @@ -1,38 +0,0 @@ -#Pinout Yardımcı Arayüzleri - -Pinout yardımcısı spesifik bir kart için Raspberry Pi fonksiyonlarını tanımlar. - -Bu yardımcı arayüzler bir JSON dosyasından oluşmakta, ve de opsiyonel olarak gelişmiş uzun açıklamasını bir markdown dosyası ile tanımlayabilmekte. - -##JSON Biçimi - -The JSON arayüz dosyası isim, üretici linki, ürün linki, açıklama, ve de kartın kullandığı "pin"leri barındıran bir array (dizi) barındırmalıdır. - -Eğer kart için isimde, description/overlay klasöründe aynı isimde bir .md dosyası varsa uzun açıklama için bu dosya kullanılacak. - -Pin dizisi her bir pin için *fiziksel* konumunu barındırmalıdır, ve de en azından fonksiyonunu barındıran bir "name" (isim) bulundurmalıdır. - -Opsiyonel olarak, her bir pin için "mode" isminde bir flah ile "input" veya "output" değerini vererek pinin giriş veya çıkış pini olduğunu da tanıtabilirsiniz. - -Ayrıca, bir pine "active" değeri tanıyarak standart hali ile "low" veya "high" olduğunu belirtebilirsiniz. - -Eğer kartınızda I2C ve/veya SPI pinleri de bulunuyorsa, bunları da belirtmelisiniz. Fakat spesifik olarak "input" veya "output" olarak belirtmediyseniz diğer kartlarla ortak olarak da kullanılabilir olarak tanımlanacaktırlar. - -Örnek: - -```json -{ - "name": "Örnek Kart", - "manufacturer": "Arda Kılıçdağı", - "url": "https://github.com/Ardakilic/Pinout2", - "description": "Arda Kılıçdağı'nın örnek kartı.", - "pin": { - "7": { - "name": "Yeşil LED" - }, - "11": { - "name": "Sarı LED" - } - } -} -``` diff --git a/src/tr-TR/overlay/arduino-spi.json b/src/tr-TR/overlay/arduino-spi.json deleted file mode 100644 index 1b2e75c..0000000 --- a/src/tr-TR/overlay/arduino-spi.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "Arduino SPI", - "description": "Raspberry Pi SPI ile Arduino programlama", - "pin": { - "19": { - "name": "MOSI", - "direction": "output", - "active": "high", - "description": "Master Out / Slave In" - }, - "21": { - "name": "MISO", - "direction": "input", - "active": "high", - "description": "Master In / Slave Out" - }, - "23": { - "name": "SCKL", - "direction": "output", - "active": "high", - "description": "Clock" - }, - "24": { - "name": "CE0", - "direction": "output", - "active": "high", - "description": "Arduino Reset" - } - } -} 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.json b/src/tr-TR/overlay/display-o-tron.json deleted file mode 100644 index cec1453..0000000 --- a/src/tr-TR/overlay/display-o-tron.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "Display-o-Tron 3000", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/dot3k", - "description": "3 satır destekleyen, RGB renkli arka plana sahip bir LCD ve joystick butonları", - "pincount": 40, - "pin": { - "3": { - "mode": "i2c" - }, - "5": { - "mode": "i2c" - }, - "19": { - "mode": "spi" - }, - "23": { - "mode": "spi" - }, - "22": { - "name": "LCD CMD/DATA", - "mode": "output", - "active": "high" - }, - "7": { - "name": "Joystick Button", - "mode": "input", - "active": "low" - }, - "11": { - "name": "Joystick Left", - "mode": "input", - "active": "low" - }, - "13": { - "name": "Joystick Up", - "mode": "input", - "active": "low" - }, - "15": { - "name": "Joystick Right", - "mode": "input", - "active": "low" - }, - "21": { - "name": "Joystick Down", - "mode": "input", - "active": "low" - } - } -} 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.json b/src/tr-TR/overlay/dots.json deleted file mode 100644 index df3739b..0000000 --- a/src/tr-TR/overlay/dots.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "Raspberry Pi Dots", - "description": "Noktaları birleştirerek bir devre oluşturun", - "url": "http://www.raspberrypi.org/dots/", - "github": "https://github.com/raspberrypilearning/dots", - "pin": { - "bcm0": {"name":"Color: Blue", "direction":"input"}, - "bcm1": {"name":"Dot 7", "direction":"input"}, - "bcm2": {"name":"Dot 22", "direction":"input"}, - "bcm3": {"name":"Dot 21", "direction":"input"}, - "bcm4": {"name":"Dot 2", "direction":"input"}, - "bcm5": {"name":"Dot 9", "direction":"input"}, - "bcm6": {"name":"Dot 14", "direction":"input"}, - "bcm7": {"name":"Dot 6", "direction":"input"}, - "bcm8": {"name":"Dot 18", "direction":"input"}, - "bcm9": {"name":"Dot 17", "direction":"input"}, - "bcm10": {"name":"Color: Green", "direction":"input"}, - "bcm11": {"name":"Dot 8", "direction":"input"}, - "bcm12": {"name":"Dot 10", "direction":"input"}, - "bcm13": {"name":"Cloud", "direction":"input"}, - "bcm14": {"name":"Dot 1", "direction":"input"}, - "bcm15": {"name":"Dot 3", "direction":"input"}, - "bcm16": {"name":"Dot 13", "direction":"input"}, - "bcm17": {"name":"Dot 4", "direction":"input"}, - "bcm18": {"name":"Dot 20", "direction":"input"}, - "bcm19": {"name":"Color: Orange", "direction":"input"}, - "bcm20": {"name":"Bear", "direction":"input"}, - "bcm21": {"name":"Dot 12", "direction":"input"}, - "bcm22": {"name":"Dot 15", "direction":"input"}, - "bcm23": {"name":"Dot 16", "direction":"input"}, - "bcm24": {"name":"Dot 19", "direction":"input"}, - "bcm25": {"name":"Dot 5", "direction":"input"}, - "bcm26": {"name":"Dot 11", "direction":"input"}, - "bcm27": {"name":"Color: Red", "direction":"input"} - } -} 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.json b/src/tr-TR/overlay/explorer-hat-pro.json deleted file mode 100644 index 148f0eb..0000000 --- a/src/tr-TR/overlay/explorer-hat-pro.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "name": "Explorer HAT Pro", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/explorer-hat", - "github": "https://github.com/pimoroni/explorer-hat", - "buy": "http://shop.pimoroni.com/products/explorer-hat", - "description": "Hepsi-bir-arada, hafif, hızlı, dokunma, giriş ve çıkış destekleyen eklenti kartı.", - "pincount": 40, - "i2c": { - "0x28": { - "name": "Cap Touch", - "device": "cap1208" - }, - "0x48": { - "name": "Analog Input", - "device": "ads1015" - } - }, - "pin": { - "3": {}, - "5": {}, - "8": {}, - "10": {}, - "12": {}, - "19": {}, - "21": {}, - "23": {}, - "24": {}, - "7": { - "name": "LED 1", - "mode": "output", - "active": "high" - }, - "11": { - "name": "LED 2", - "mode": "output", - "active": "high" - }, - "13": { - "name": "LED 3", - "mode": "output", - "active": "high" - }, - "29": { - "name": "LED 4", - "mode": "output", - "active": "high" - }, - "31": { - "name": "Output 1", - "mode": "output", - "active": "high" - }, - "32": { - "name": "Output 2", - "mode": "output", - "active": "high" - }, - "33": { - "name": "Output 3", - "mode": "output", - "active": "high" - }, - "36": { - "name": "Output 4", - "mode": "output", - "active": "high" - }, - "16": { - "name": "Input 1", - "mode": "input", - "active": "high" - }, - "15": { - "name": "Input 2", - "mode": "input", - "active": "high" - }, - "18": { - "name": "Input 3", - "mode": "input", - "active": "high" - }, - "22": { - "name": "Input 4", - "mode": "input", - "active": "high" - }, - "40": { - "name": "Motor 2 +", - "mode": "output", - "active": "high" - }, - "37": { - "name": "Motor 2 -", - "mode": "output", - "active": "high" - }, - "35": { - "name": "Motor 1 +", - "mode": "output", - "active": "high" - }, - "38": { - "name": "Motor 1 -", - "mode": "output", - "active": "high" - } - } -} 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.json b/src/tr-TR/overlay/explorer-hat.json deleted file mode 100644 index a9e8acf..0000000 --- a/src/tr-TR/overlay/explorer-hat.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "Explorer HAT", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/explorer-hat", - "github": "https://github.com/pimoroni/explorer-hat", - "buy": "http://shop.pimoroni.com/products/explorer-hat", - "description": "Hepsi-bir-arada, hafif, hızlı, dokunma, giriş ve çıkış destekleyen eklenti kartı.", - "pincount": 40, - "pin": { - "7": { - "name": "LED 1", - "mode": "output", - "active": "high" - }, - "11": { - "name": "LED 2", - "mode": "output", - "active": "high" - }, - "13": { - "name": "LED 3", - "mode": "output", - "active": "high" - }, - "29": { - "name": "LED 4", - "mode": "output", - "active": "high" - }, - "31": { - "name": "Output 1", - "mode": "output", - "active": "high" - }, - "32": { - "name": "Output 2", - "mode": "output", - "active": "high" - }, - "33": { - "name": "Output 3", - "mode": "output", - "active": "high" - }, - "36": { - "name": "Output 4", - "mode": "output", - "active": "high" - }, - "16": { - "name": "Input 1", - "mode": "input", - "active": "high" - }, - "15": { - "name": "Input 2", - "mode": "input", - "active": "high" - }, - "18": { - "name": "Input 3", - "mode": "input", - "active": "high" - }, - "22": { - "name": "Input 4", - "mode": "input", - "active": "high" - } - } -} 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/overlay/ground.json b/src/tr-TR/overlay/ground.json deleted file mode 100644 index 7bff50c..0000000 --- a/src/tr-TR/overlay/ground.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Ground (Toprak)", - "description": "Raspberry Pi Toprak Pinleri", - "pin": { - "6": {}, - "9": {}, - "14": {}, - "20": {}, - "25": {}, - "30": {}, - "34": {}, - "39": {} - } -} 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/overlay/i2c.json b/src/tr-TR/overlay/i2c.json deleted file mode 100644 index 39b982c..0000000 --- a/src/tr-TR/overlay/i2c.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "I2C", - "description": "Raspberry Pi i2c pinleri", - "pin": { - "3": { - "name": "Data", - "direction": "both", - "active": "high" - }, - "5": { - "name": "Clock", - "direction": "both", - "active": "high" - }, - "27": { - "name": "EEPROM Data", - "direction": "both", - "active": "high" - }, - "28": { - "name": "EEPROM Clock", - "direction": "both", - "active": "high" - } - } -} 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/overlay/piborg-ledborg.json b/src/tr-TR/overlay/piborg-ledborg.json deleted file mode 100644 index ca12b35..0000000 --- a/src/tr-TR/overlay/piborg-ledborg.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "PiBorg LEDBorg", - "description": "Raspberry Pi RGB ledlerine sahip bir kart", - "buy": "https://www.piborg.org/ledborg", - "pin": { - "11": { - "name": "Red LED", - "direction": "output", - "active": "high", - "description": "PiBorg Red LED" - }, - "13": { - "name": "Green LED", - "direction": "input", - "active": "high", - "description": "PiBorg Green LED" - }, - "15": { - "name": "Blue LED", - "direction": "output", - "active": "high", - "description": "PiBorg Blue LED" - } - } -} 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.json b/src/tr-TR/overlay/pibrella.json deleted file mode 100644 index e2abb8d..0000000 --- a/src/tr-TR/overlay/pibrella.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "name": "Pibrella", - "manufacturer": "Pimoroni Vs Cyntech", - "url": "https://github.com/pimoroni/pibrella", - "description": "Hepsi-bir-arada, hafif, ses, giriş ve çıkış destekleyen eklenti kartı.", - "pincount": 26, - "pin": { - "7": { - "name": "Green LED", - "direction": "output", - "active": "high" - }, - "11": { - "name": "Yellow LED", - "direction": "output", - "active": "high" - }, - "13": { - "name": "Red LED", - "direction": "output", - "active": "high" - }, - "15": { - "name": "Output A", - "direction": "output", - "active": "high" - }, - "19": { - "name": "Input D", - "direction": "output", - "active": "high" - }, - "21": { - "name": "Input A", - "direction": "input", - "active": "high" - }, - "23": { - "name": "Button", - "direction": "input", - "active": "high" - }, - "12": { - "name": "Buzzer", - "direction": "output", - "active": "high" - }, - "16": { - "name": "Output B", - "direction": "output", - "active": "high" - }, - "18": { - "name": "Output C", - "direction": "output", - "active": "high" - }, - "22": { - "name": "Output D", - "direction": "output", - "active": "high" - }, - "24": { - "name": "Input C", - "direction": "input", - "active": "high" - }, - "26": { - "name": "Input B", - "direction": "input", - "active": "high" - } - } -} 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/overlay/piglow.json b/src/tr-TR/overlay/piglow.json deleted file mode 100644 index db66761..0000000 --- a/src/tr-TR/overlay/piglow.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "PiGlow", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/piglow", - "github": "https://github.com/pimoroni/piglow", - "buy": "http://shop.pimoroni.com/products/piglow", - "description": "Spiral olarak 18 LED barındıran, ve de Python'dan kontrol edilebilen bir kart.", - "pincount": 26, - "pin": { - "1" : {}, - "2" : {}, - "3": { - "mode": "i2c" - }, - "5": { - "mode": "i2c" - }, - "14" : {}, - "17" : {} - } -} diff --git a/src/tr-TR/overlay/rtk-000-001.json b/src/tr-TR/overlay/rtk-000-001.json deleted file mode 100644 index e655e6f..0000000 --- a/src/tr-TR/overlay/rtk-000-001.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "Ryanteck Motor Kontrol Kartı", - "manufacturer": "Ryanteck", - "url": "http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board", - "buy": "http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board", - "description": "Hızlı başlangıç dökümanları da barındıran, ucuz bir motor kontrol kartı.", - "pincount": 26, - "pin": { - "11": { - "name": "Motor 1 A", - "direction": "output", - "active": "high" - }, - "12": { - "name": "Motor 1 B", - "direction": "output", - "active": "high" - }, - "15": { - "name": "Motor 2 A", - "direction": "output", - "active": "high" - }, - "16": { - "name": "Motor 2 B", - "direction": "output", - "active": "high" - } - } -} 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.json b/src/tr-TR/overlay/skywriter-hat.json deleted file mode 100644 index 8920f34..0000000 --- a/src/tr-TR/overlay/skywriter-hat.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "Skywriter HAT", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/skywriter-hat", - "github": "https://github.com/pimoroni/skywriter-hat", - "buy": "http://shop.pimoroni.com/products/skywriter-hat", - "description": "3 Boyutlu pozisyon ve hareket sensörü.", - "pincount": 40, - "pin": { - "3": { - "mode": "i2c" - }, - "5": { - "mode": "i2c" - }, - "11": { - "name": "Reset" - }, - "13": { - "name": "Transfer" - } - } -} 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/overlay/spi.json b/src/tr-TR/overlay/spi.json deleted file mode 100644 index 481f6ff..0000000 --- a/src/tr-TR/overlay/spi.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "SPI", - "description": "Raspberry Pi SPI pinleri", - "pincount": 5, - "pin": { - "19": { - "name": "SPI0 MOSI", - "direction": "output", - "active": "high", - "description": "Master Out / Slave In" - }, - "21": { - "name": "SPI0 MISO", - "direction": "input", - "active": "high", - "description": "Master In / Slave Out" - }, - "23": { - "name": "SPI0 SCLK", - "direction": "output", - "active": "high", - "description": "Clock" - }, - "24": { - "name": "SPI0 CE0", - "direction": "output", - "active": "high", - "description": "Chip Select 0" - }, - "26": { - "name": "SPI0 CE1", - "direction": "output", - "active": "high", - "description": "Chip Select 1" - }, - "35": { - "name": "SPI1 MISO" - }, - "38": { - "name": "SPI1 MOSI" - }, - "40": { - "name": "SPI1 SCLK" - }, - "36": { - "name": "SPI1 CE2" - }, - "11": { - "name": "SPI1 CE1" - }, - "12": { - "name": "SPI1 CE0" - } - } -} 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/overlay/uart.json b/src/tr-TR/overlay/uart.json deleted file mode 100644 index 044d5fe..0000000 --- a/src/tr-TR/overlay/uart.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "UART", - "description": "Raspberry Pi UART pinleri", - "pin": { - "8": { - "name": "TXD / Transmit", - "direction": "output", - "active": "high" - }, - "10": { - "name": "RXD / Receive", - "direction": "input", - "active": "high" - } - } -} 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/overlay/unicorn-hat.json b/src/tr-TR/overlay/unicorn-hat.json deleted file mode 100644 index 77a397d..0000000 --- a/src/tr-TR/overlay/unicorn-hat.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "Unicorn HAT", - "manufacturer": "Pimoroni", - "url": "http://shop.pimoroni.com/products/unicorn-hat", - "buy": "http://shop.pimoroni.com/products/unicorn-hat", - "description": "Tek bir HAT kart üzerinde 64 adet programlanabilir parlak led modülü.", - "github": "https://github.com/pimoroni/unicornhat", - "pincount": 40, - "pin": { - "12": { - "name": "Data", - "direction": "output", - "mode": "pwm", - "active": "high", - "description": "WS2812 Data" - } - } -} 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/overlay/wiringpi.json b/src/tr-TR/overlay/wiringpi.json deleted file mode 100644 index ad777e7..0000000 --- a/src/tr-TR/overlay/wiringpi.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "name": "WiringPi GPIO Pinleri", - "page_url": "wiringpi", - "pin":{ - "3":{ - "name":"WiringPi 8" - }, - "5":{ - "name":"WiringPi 9" - }, - "7":{ - "name":"WiringPi 7" - }, - "11":{ - "name":"WiringPi 0" - }, - "13":{ - "name":"WiringPi 2" - }, - "15":{ - "name":"WiringPi 3" - }, - "19":{ - "name":"WiringPi 12" - }, - "21":{ - "name":"WiringPi 13" - }, - "23":{ - "name":"WiringPi 14" - }, - "29":{ - "name":"WiringPi 21" - }, - "31":{ - "name":"WiringPi 22" - }, - "33":{ - "name":"WiringPi 23" - }, - "35":{ - "name":"WiringPi 24" - }, - "37":{ - "name":"WiringPi 25" - }, - "8":{ - "name":"WiringPi 15" - }, - "10":{ - "name":"WiringPi 16" - }, - "12":{ - "name":"WiringPi 1" - }, - "16":{ - "name":"WiringPi 4" - }, - "18":{ - "name":"WiringPi 5" - }, - "22":{ - "name":"WiringPi 6" - }, - "24":{ - "name":"WiringPi 10" - }, - "26":{ - "name":"WiringPi 11" - }, - "32":{ - "name":"WiringPi 26" - }, - "36":{ - "name":"WiringPi 27" - }, - "38":{ - "name":"WiringPi 28" - }, - "40":{ - "name":"WiringPi 29" - } - } -} \ No newline at end of file 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..0e288b5 --- /dev/null +++ b/src/tr-TR/settings.yaml @@ -0,0 +1,26 @@ +--- +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" +base_url: /pinout-tr/pinout/ +resource_url: /pinout-tr/resources/ +url_suffix: .html +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