Wiren Board 4: GPIO List/en: различия между версиями
(Новая страница: «{| border="1" |Linux GPIO # ||SoM pin || comments |- | 33 || 4@CON1 || Relay 2 |- | 34 || 5@CON1 || Relay 1 |- |}») |
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Wiren Board 4:Список GPIO/en в Wiren Board 4: GPIO List/en без оставления перенаправления: Часть переводимой страницы Wiren Board 4:Список GPIO.) |
||
(не показано 20 промежуточных версий 2 участников) | |||
Строка 4: | Строка 4: | ||
{| border="1" | {| border="1" | ||
| | | terminal block || function || GPIO # || SoM pin || comments | ||
|- | |- | ||
Строка 24: | Строка 24: | ||
|- | |- | ||
| D1 terminal block (out) || '''FET'''/DI || 248 || GPIO6@ [[Special:MyLanguage/LAN9514|LAN9514]] | | D1 terminal block (out) || '''FET'''/DI || 248 || GPIO6@ [[Special:MyLanguage/LAN9514|LAN9514]] | ||
||open-drain output; "dry contact" input | |||
|- | |||
| D2 terminal block (out) || '''FET'''/DI || 247 || GPIO5@ [[Special:MyLanguage/LAN9514|LAN9514]] ||open-drain output; "dry contact" input|- | | D2 terminal block (out) || '''FET'''/DI || 247 || GPIO5@ [[Special:MyLanguage/LAN9514|LAN9514]] | ||
||open-drain output; "dry contact" input | |||
|- | |||
| D3 terminal block (out) '''FET'''/DI || 246 || GPIO4@ [[Special:MyLanguage/LAN9514|LAN9514]] ||open-drain output; "dry contact" input|- | | D3 terminal block (out) || '''FET'''/DI || 246 || GPIO4@ [[Special:MyLanguage/LAN9514|LAN9514]] | ||
||open-drain output; "dry contact" input | |||
|- | |||
| | | D4 terminal block (out) || '''FET'''/DI || 245 || GPIO3@ [[Special:MyLanguage/LAN9514|LAN9514]] | ||
||open-drain output; dry contact input | |||
|- | |- | ||
|} | |} | ||
Строка 40: | Строка 47: | ||
{| border="1" | {| border="1" | ||
| | | terminal block || function || GPIO # || SoM pin || comments | ||
|- | |- | ||
Строка 65: | Строка 72: | ||
=== GPIOs on | === GPIOs on dry contact inputs === | ||
{| border="1" | {| border="1" | ||
| | | terminal block || function || GPIO # || SoM pin || comments | ||
|- | |- | ||
Строка 100: | Строка 107: | ||
=== | === GPIOs for internal use === | ||
{| border="1" | {| border="1" | ||
Строка 161: | Строка 168: | ||
=== | === GPIOs on extension slot === | ||
[[Файл:Shield2.png|300px|thumb|right|[[Wiren Board 4 |Wiren Board 4 ]]]] | [[Файл:Shield2.png|300px|thumb|right|[[Wiren Board 4 |Wiren Board 4 ]]]] | ||
Строка 168: | Строка 175: | ||
|Linux GPIO || || || | |Linux GPIO || || || | ||
|- | |- | ||
|55 || 7 @ CON2 || CE || i2c scl, | |55 || 7 @ CON2 || CE || i2c scl, 3.3V pull-up | ||
|- | |- | ||
|56 || 8 @ CON2 || CSN || i2c sda, | |56 || 8 @ CON2 || CSN || i2c sda, 3.3V pull-up | ||
|- | |- | ||
| 23 || 26 @ CON2 || IRQ || | | 23 || 26 @ CON2 || IRQ || | ||
Строка 178: | Строка 185: | ||
|} | |} | ||
See also [[Special:MyLanguage/Работа с GPIO|GPIO Howto]] |
Текущая версия на 10:35, 6 сентября 2022
GPIOs for FETs (open-drain outputs)
terminal block | function | GPIO # | SoM pin | comments |
ADC1 terminal block | FET/ADC | 17 | 20 @ CON1 | Open-drain output; ADC channel 3 |
ADC2 terminal block | FET/ADC | 7 | 18 @ CON1 | open-drain output; ADC channel 4 |
ADC3 terminal block | FET/ADC | 5 | 16 @ CON1 | open-drain output; ADC channel 6 |
ADC4 terminal block (out) | FET/ADC/DI | 53 | 14 @ CON1 | open-drain output; ADC channel 0; digital input |
ADC5 terminal block (out) | FET/ADC/DI | 2 | 13 @ CON1 | open-drain output; ADC channel 1; digital input |
D1 terminal block (out) | FET/DI | 248 | GPIO6@ LAN9514 | open-drain output; "dry contact" input |
D2 terminal block (out) | FET/DI | 247 | GPIO5@ LAN9514 | open-drain output; "dry contact" input |
D3 terminal block (out) | FET/DI | 246 | GPIO4@ LAN9514 | open-drain output; "dry contact" input |
D4 terminal block (out) | FET/DI | 245 | GPIO3@ LAN9514 | open-drain output; dry contact input |
GPIOs on terminal blocks
terminal block | function | GPIO # | SoM pin | comments |
ADC4 terminal block (in) | FET/ADC/DI | 123 | GPIO3 @ SC16IS752 | open-drain output; ADC channel 0; digital input |
ADC5 terminal block (in) | FET/ADC/DI | 1 | 12@CON1 | open-drain output; ADC channel 1; digital input |
R1 terminal block | GPIO, resistive sensors input | 16 | 19 @ CON1 | ADC channel 7 |
R2 terminal block | GPIO, resistive sensors input | 6 | 17 @ CON1 | ADC channel 5 (3.3V pull-up (how?)) |
W1 terminal block | 1-wire/GPIO | 52 | 26 @ CON1 | internal pull-up, 1-wire by default |
W2 terminal block | 1-wire/GPIO | 50 | 25 @ CON1 | internal pull-up, 1-wire by default |
GPIOs on dry contact inputs
terminal block | function | GPIO # | SoM pin | comments | |
D1 terminal block (in) | FET/DI | 36 | 7 @ CON1 | open drain output; "dry contact" input | |
D2 terminal block (in) | FET/DI | 37 | 8 @ CON1 | open drain output; "dry contact" input | |
D3 terminal block (in) | FET/DI | 38 | 9 @ CON1 | open drain output; "dry contact" input | |
D4 terminal block (in) | FET/DI | 39 | 10 @ CON1 | open drain output; "dry contact" input |
GPIOs on relays
Linux GPIO # | SoM pin | comments |
33 | 4@CON1 | Relay 2 |
34 | 5@CON1 | Relay 1 |
GPIOs for internal use
Linux GPIO | ||
51 | 27 @ CON1 | ADC MUX A |
57 | 22 @ CON1 | ADC MUX B |
54 | 21 @ CON1 | ADC MUX C |
35 | 6 @ CON1 | 3.3V rail shutdown |
3 | 12@CON2 | sc16is752 chip select |
25 | 27@CON2 | IRQ sc16is752 |
92 | 24 @ CON2 | RFM69H IRQ |
4 | 15 @ CON1 | RFM69H chip select |
91 | 25 @ CON2 | RFM69H _DIO2 |
NRF24L01 chip select | ||
NRF24L01 enable | ||
120 | GPIO0 @ SC16IS752 | RS-485 isolated supply enable |
124 | GPIO4 @ SC16IS752 | SIM900R power FET |
125 | GPIO5 @ SC16IS752 | SIM900R power KEY |
249 | GPIO7 @ LAN951x | SIM900R power status (input) |
32 | 3@CON1 | watchdog output |
60 / PWM2 | 28@CON2 | Buzzer |
126 | GPIO6 @ SC16IS752 | Red LED |
127 | GPIO7 @ SC16IS752 | Green LED |
GPIOs on extension slot
Linux GPIO | |||
55 | 7 @ CON2 | CE | i2c scl, 3.3V pull-up |
56 | 8 @ CON2 | CSN | i2c sda, 3.3V pull-up |
23 | 26 @ CON2 | IRQ |
See also GPIO Howto