Merge branch 'Gadgetoid/master'

This commit is contained in:
smileyn64 2016-10-20 08:25:15 +07:00
commit b2c2b2380f
8 changed files with 192 additions and 60 deletions

View File

@ -2,7 +2,7 @@
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
Pinout.xyz is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout
[Pinout.xyz](http://pinout.xyz/) is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout
To support translation efforts, and allow people to build tools with the data in this repository, Pinout.xyz is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
@ -12,11 +12,11 @@ This license excludes the file pinout-graphic-horizontal.ai, which is provided u
This project aims to build a consistent workflow behind the Pinout.xyz front-end, gather useful information about the Raspberry Pi GPIO interface and add-on boards, and invite board manufacturers to produce their own "overlay" files which describe which pins their Pi add-ons use.
We hope that by making this project open and extensible I will invite not only contributions of board pinouts, but translations too.
We hope that by making this project open and extensible we will invite not only contributions of board pinouts, but translations too.
#Contributing
If you have a board you'd like to contribute, raise an issue and we'll consider it!
If you have a board you'd like to contribute, raise an [issue](https://github.com/Gadgetoid/Pinout.xyz/issues) and we'll consider it!
If you've spotted an error, ommission or have a suggestion then you're welcome to do the same.
@ -24,21 +24,21 @@ If you've spotted an error, ommission or have a suggestion then you're welcome t
The contents of this GitHub repository are used to build http://pinout.xyz and its translated subdomains.
Maintainers: @gadgetoid and @RogueM
Maintainers: [@Gadgetoid](https://github.com/Gadgetoid) and [@RogueM](https://github.com/RogueM)
GPUI code examples by: @bennuttall
GPIO Zero code examples by: [@bennuttall](https://github.com/bennuttall)
Notable contributions:
* en - @lurch and @abelectronicsuk
* de - @rdmueller and @KojoePi
* es - @ResonantWave and @IkerGarcia
* fr - @RogueM
* it - @LizardM4
* pt - @Maslor
* tr - @Ardakilic
* [en](http://pinout.xyz/) - [@lurch](https://github.com/lurch) and [@abelectronicsuk](https://github.com/abelectronicsuk)
* [de](http://de.pinout.xyz/) - [@rdmueller](https://github.com/rdmueller) and [@KojoePi](https://github.com/KojoePi)
* [es](http://es.pinout.xyz/) - [@ResonantWave](https://github.com/ResonantWave) and [@IkerGarcia](https://github.com/IkerGarcia)
* [fr](http://fr.pinout.xyz/) - [@RogueM](https://github.com/RogueM)
* [it](http://it.pinout.xyz/) - [@LizardM4](https://github.com/LizardM4)
* [pt](http://pt.pinout.xyz/) - [@Maslor](https://github.com/Maslor)
* [tr](http://tr.pinout.xyz/) - [@Ardakilic](https://github.com/Ardakilic)
If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate culture. For example if you want to create a German translation you would create the folder `src/de`.
If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate language-code. For example, if you want to create a German translation you would create the folder `src/de`.
There are no plans to support cultures (it would just get out of hand!), so you can't have `src/fr-CA` ( sorry! ).
@ -52,13 +52,13 @@ And then open: http://127.0.0.1:5000 in your browser.
Please do not attempt to translate the `/resources` folder, this is shared between sites on the server and should be generic.
Feel free to modify the template with links relevent to your country, and your Twitter handle but don't fiddle with the structure!
Feel free to modify the template with links relevant to your country, and / or your Twitter handle, but don't fiddle with the structure!
Submit your finished translation as a pull request and we'll get it live on its own pinout.xyz subdomain :)
Submit your finished translation as a [pull request](https://github.com/Gadgetoid/Pinout.xyz/pulls) and we'll get it live on its own *&lt;languagecode&gt;*.pinout.xyz subdomain :)
#Roadmap & wishlist
#Roadmap &amp; wishlist
* Redesign HTML generation and unify HTML templates into a single, translatable file
* Add functionality to compare two or more boards, to visualise pin compatibility
* Tool to convert WiringPi to GPIO to BCM and back
* Add as many boards as possible!
* Add as many [boards](http://pinout.xyz/boards) as possible!

View File

@ -0,0 +1,53 @@
<!--
---
name: PiStep2 Dual
class: board
type: Stepper Motor Driver
formfactor: pHAT
manufacturer: 4tronix
description: A Dual Stepper Motor Driver for
url: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
github:
buy: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
image: 'pistep2d.png'
pincount: 40
eeprom: no
power:
'2':
'17':
ground:
'30':
'34':
'39':
pin:
'11':
name: A0
mode: output
'12':
name: A1
mode: output
'13':
name: A2
mode: output
'15':
name: A3
mode: output
'16':
name: B0
mode: output
'18':
name: B1
mode: output
'22':
name: B2
mode: output
'7':
name: B3
mode: output
-->
# PiStep2 Dual
Drive 2 uni-polar stepper motors using a single control board.
Uses a ULN2803 Darlington driver chip to drive the motors.
Ideal for use with 28BYJ48 stepper motors
Supported in Scratch GPIO as well as in Python

View File

@ -0,0 +1,77 @@
<!--
---
name: PiStep2 Quad
class: board
type: Stepper Motor Driver
formfactor: pHAT
manufacturer: 4tronix
description: A Quad Stepper Motor Driver for
url: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
github:
buy: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=554
image: 'pistep2q.png'
pincount: 40
eeprom: no
power:
'2':
'17':
ground:
'30':
'34':
'39':
pin:
'11':
name: A0
mode: output
'12':
name: A1
mode: output
'13':
name: A2
mode: output
'15':
name: A3
mode: output
'16':
name: B0
mode: output
'18':
name: B1
mode: output
'22':
name: B2
mode: output
'7':
name: B3
mode: output
'33':
name: C0
mode: output
'32':
name: C1
mode: output
'31':
name: C2
mode: output
'29':
name: C3
mode: output
'38':
name: D0
mode: output
'37':
name: D1
mode: output
'36':
name: D2
mode: output
'35':
name: D3
mode: output
-->
# PiStep2 Quad
Drive 4 uni-polar stepper motors using a single control board.
Uses ULN2803 Darlington driver chips to drive the motors.
Ideal for use with 28BYJ48 stepper motors
Supported in Scratch GPIO as well as in Python

View File

@ -1,39 +0,0 @@
<!--
---
name: Picon Zero
class: board
type: motor
formfactor: pHAT
image: 'picon-zero.png'
manufacturer: 4tronix
description: An add-on board for the Raspberry Pi
url: https://my-addon-board.com
github: https://github.com/my-addon-board-repo.com
buy: http://buy-my-addon-board.com
pincount: 40
eeprom: no
power:
'1':
'2':
ground:
'6':
'9':
'14':
'20':
'25':
'30':
'34':
'39':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x00':
name: device display name
device: chip name
-->
#Picon Zero
TBA

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -0,0 +1,40 @@
<!--
---
name: Picon Zero
class: board
type: motor
formfactor: pHAT
image: '4tronix-picon-zero.png'
manufacturer: 4tronix
description: A robot controller board for the Raspberry Pi
url: http://4tronix.co.uk/piconzero/
buy: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=552
pincount: 40
eeprom: no
power:
'1':
'2':
ground:
'6':
'9':
'14':
'20':
'25':
'30':
'34':
'39':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x22':
name: PiconZero
device: ATMega328
-->
#Picon Zero
The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector.
As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit.

View File

@ -50,15 +50,15 @@ lb = LedBorg()
while True:
r, g, b = 0, 0, 0
for i in range(100):
r = i / 100
r = i / 100.0
lb.value = (r, g, b)
sleep(0.01)
for i in range(100):
g = i / 100
g = i / 100.0
sleep(0.01)
lb.value = (r, g, b)
for i in range(100):
b = i / 100
b = i / 100.0
lb.value = (r, g, b)
sleep(0.01)
```

View File

@ -32,7 +32,7 @@ strings:
featured:
- pijack
- ab-servo-pwm-pi-zero
- microdot-phat
- 4tronix-picon-zero
- wifi-pants
overlays:
- ground
@ -46,6 +46,7 @@ overlays:
- spi
- uart
- wiringpi
- 4tronix-picon-zero
- ab-1-wire-plus
- ab-1-wire-zero
- ab-adc-differential-pi