Merge branch 'Gadgetoid/master'
This commit is contained in:
commit
b2c2b2380f
34
README.md
34
README.md
@ -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>
|
<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>.
|
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.
|
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
|
#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.
|
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.
|
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:
|
Notable contributions:
|
||||||
|
|
||||||
* en - @lurch and @abelectronicsuk
|
* [en](http://pinout.xyz/) - [@lurch](https://github.com/lurch) and [@abelectronicsuk](https://github.com/abelectronicsuk)
|
||||||
* de - @rdmueller and @KojoePi
|
* [de](http://de.pinout.xyz/) - [@rdmueller](https://github.com/rdmueller) and [@KojoePi](https://github.com/KojoePi)
|
||||||
* es - @ResonantWave and @IkerGarcia
|
* [es](http://es.pinout.xyz/) - [@ResonantWave](https://github.com/ResonantWave) and [@IkerGarcia](https://github.com/IkerGarcia)
|
||||||
* fr - @RogueM
|
* [fr](http://fr.pinout.xyz/) - [@RogueM](https://github.com/RogueM)
|
||||||
* it - @LizardM4
|
* [it](http://it.pinout.xyz/) - [@LizardM4](https://github.com/LizardM4)
|
||||||
* pt - @Maslor
|
* [pt](http://pt.pinout.xyz/) - [@Maslor](https://github.com/Maslor)
|
||||||
* tr - @Ardakilic
|
* [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! ).
|
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.
|
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 *<languagecode>*.pinout.xyz subdomain :)
|
||||||
|
|
||||||
#Roadmap & wishlist
|
#Roadmap & wishlist
|
||||||
|
|
||||||
* Redesign HTML generation and unify HTML templates into a single, translatable file
|
* Redesign HTML generation and unify HTML templates into a single, translatable file
|
||||||
* Add functionality to compare two or more boards, to visualise pin compatibility
|
* Add functionality to compare two or more boards, to visualise pin compatibility
|
||||||
* Tool to convert WiringPi to GPIO to BCM and back
|
* 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!
|
||||||
|
53
draft/overlay/4tronix-pistep2d.md
Normal file
53
draft/overlay/4tronix-pistep2d.md
Normal 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
|
||||||
|
|
77
draft/overlay/4tronix-pistep2q.md
Normal file
77
draft/overlay/4tronix-pistep2q.md
Normal 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
|
||||||
|
|
@ -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
|
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
40
src/en/overlay/4tronix-picon-zero.md
Normal file
40
src/en/overlay/4tronix-picon-zero.md
Normal 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.
|
@ -50,15 +50,15 @@ lb = LedBorg()
|
|||||||
while True:
|
while True:
|
||||||
r, g, b = 0, 0, 0
|
r, g, b = 0, 0, 0
|
||||||
for i in range(100):
|
for i in range(100):
|
||||||
r = i / 100
|
r = i / 100.0
|
||||||
lb.value = (r, g, b)
|
lb.value = (r, g, b)
|
||||||
sleep(0.01)
|
sleep(0.01)
|
||||||
for i in range(100):
|
for i in range(100):
|
||||||
g = i / 100
|
g = i / 100.0
|
||||||
sleep(0.01)
|
sleep(0.01)
|
||||||
lb.value = (r, g, b)
|
lb.value = (r, g, b)
|
||||||
for i in range(100):
|
for i in range(100):
|
||||||
b = i / 100
|
b = i / 100.0
|
||||||
lb.value = (r, g, b)
|
lb.value = (r, g, b)
|
||||||
sleep(0.01)
|
sleep(0.01)
|
||||||
```
|
```
|
||||||
|
@ -32,7 +32,7 @@ strings:
|
|||||||
featured:
|
featured:
|
||||||
- pijack
|
- pijack
|
||||||
- ab-servo-pwm-pi-zero
|
- ab-servo-pwm-pi-zero
|
||||||
- microdot-phat
|
- 4tronix-picon-zero
|
||||||
- wifi-pants
|
- wifi-pants
|
||||||
overlays:
|
overlays:
|
||||||
- ground
|
- ground
|
||||||
@ -46,6 +46,7 @@ overlays:
|
|||||||
- spi
|
- spi
|
||||||
- uart
|
- uart
|
||||||
- wiringpi
|
- wiringpi
|
||||||
|
- 4tronix-picon-zero
|
||||||
- ab-1-wire-plus
|
- ab-1-wire-plus
|
||||||
- ab-1-wire-zero
|
- ab-1-wire-zero
|
||||||
- ab-adc-differential-pi
|
- ab-adc-differential-pi
|
||||||
|
Loading…
Reference in New Issue
Block a user