WB SH 3.5: GPIO List/en: различия между версиями
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу WB SH 3.5: Список GPIO/en в WB SH 3.5: GPIO List/en без оставления перенаправления: Часть переводимой страницы WB SH 3.5: Список GPIO.) |
(Новая страница: «=== GPIOs for internal use ===») |
||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 169: | Строка 169: | ||
См. также [[Работа с GPIO]] |
Версия 19:45, 1 августа 2019
<languages>
RS-485 ports execution
"'Controller"' | "'Linux port name'" | "'Connector on controller'" | Note |
Wiren Board Smart Home 3.5/en | "/dev/ttyNSC0" | Green terminal pair | half-Duplex ports. Transceivers are connected to the chip SC16IS752/en. terminators between lines A and B are installed On the Board, they can be turned off by unsoldering the jumpers (by default they are soldered) - see photos |
"/dev/ttyNSC1" | Blue pair of terminals |
GPIOs for FETs (open-drain outputs)
terminal block | function | GPIO # | SoM pin | comments |
ADC1 terminal block | FET/ADC | 52 | 26 @ CON1 | open collector output; ADC channel 0 |
ADC2 terminal block | FET/ADC | 50 | 25 @ CON1 | Open collector output; ADC channel 1 |
FET/ADC | 57 | 22 @ CON1 | Open collector output; ADC channel 2 | |
ADC4 terminal block | FET/ADC | 54 | 21 @ CON1 | open collector output; ADC channel 3 |
GPIO output to terminals
terminal block | function | GPIO | olinuxino output | comments |
Terminal strip R1 | GPIO, resistive sensor input | 16 | 19 @ CON1 | ADC channel 4 |
Terminal strip R2 | GPIO, resistive sensor input | 7 | 18 @ CON1 | ADC channel 6, pullup can be activated |
Terminal strip R3 | GPIO, resistive sensor input | 6 | 17 @ CON1 | ADC channel 7, pullup can be activated |
Terminal strip R4 | GPIO, resistive sensor input | 5 | 16 @ CON1 | ADC channel 5, pullup can be activated |
Terminal strip W1 | GPIO/1-wire | 4 | 15 @ CON1 | built-in hardware pullup |
Terminal strip W2 | GPIO/1-wire | 2 | 13 @ CON1 | built-in hardware pullup |
Terminal strip W3 | GPIO/1-wire | 1 | 12 @ CON1 | built-in hardware pullup |
GPIOs on terminals
UEXT1
Linux GPIO | UEXT pin | ||
38 | 9 @ CON1 | UEXT SPI CS | 10 |
55 | 7 @ CON2 | UEXT I2C SCL | 5 |
56 | 8 @ CON2 | UEXT I2C SDA | 6 |
UEXT2
Linux GPIO | UEXT pin | ||
122 | CDB@SC16IS752 | UEXT I2C SCL | 5 |
123 | RIB@SC16IS752 | UEXT I2C SDA | 6 |
120 | DSRB@SC16IS752 | UEXT SPI MISO | 7 |
121 | DTRB@SC16IS752 | UEXT SPI MOSI | 8 |
GPIOs on relays
Linux GPIO | ||
246 | GPIO4 @ LAN951x | Relay 2 |
247 | GPIO5 @ LAN951x | Relay 1 |
GPIOs for internal use
Linux GPIO | ||
34 | 3 @ CON1 | ADC MUX A |
33 | 4 @ CON1 | ADC MUX B |
32 | 5 @ CON1 | ADC MUX C |
39 | 10@ CON1 | 3.3V rail shutdown |
3 | 12 @ CON2 | sc16is752 chip select |
17 | 20 @ CON1 | IRQ sc16is752 |
36 | 7@ CON1 | RFM69H IRQ |
51 | 27@ CON1 | RFM69H chip select |
53 | 14@ CON1 | RFM69H DIO2 (raw i/o) |
35 | 6@ CON1 | NRF24L01 chip select |
37 | 8@ CON1 | NRF24L01 enable |
92 | 24@ CON2 | MCP2515 IRQ |
91 | 25@ CON2 | MCP2515 chip select |
23 | 26@ CON2 | RTC I2C SCL |
25 | 27@ CON2 | RTC I2C SDA |
245 | GPIO3 @ LAN951x | SIM900R power FET |
248 | GPIO6 @ LAN951x | SIM900R power KEY |
249 | GPIO7 @ LAN951x | SIM900R power status (input) |
См. также Работа с GPIO