特價

8.樹莓派 Raspberry Pi 4埠USB & SPI 23s17 x2 擴充板

NT$ 2,038 (含稅)

英國Pridopia公司設計製造

工廠直營,提供技術支援,保固3個月

適用樹莓派A/B

價格含稅,隨貨附發票

一次購買2個以上九折優待

歡迎來信選購或洽詢

已售完

貨號: rs-pi-4-hub-23s17-2 分類: , , 標籤: , , ,

描述

Print Friendly, PDF & Email

樹莓派 Raspberry Pi internal 4 Ports USB Hub & SPI 23s17 x2 (32 GPIO) Board

一、產品特色

1. U15 U16:SPI 23s17 16 GPIO x2 23s17 Datasheet

2. U2:USB 4 Ports HUB chipset

3. J1 (JP3):USB HUB upper port signal input from Rs-Pi

4. J13:Mini USB 5V input for USB Hub, you don’t need plug 5V , the USB Hub already use 5V from Raspberry Pi (P1 pin2), if your USB device need more power, then you can plug-in 5V in this port.

5. J11:RS-Pi V2 GPIO connector (got 4 more GPIO pin)

our new output test program    23s17-2port-s-v103.py   display all 32 GPIO status

二、Scratch驅動應用範例 Detail

U1 to U2 spi 23s17  address 40,42

40 –> 1  42 –> 2  44 –> 3  46  –> 4

48 –> 5  4a –> 6  4c –> 7  4e  –> 8

Command “sp“+ “address(1-8)” + “a” +”bit(1 to 8)” for Port A

Command “sp“+ “address(1-8)” + “b” +”bit(1 to 8)” for Port B

Command “bits“+ “address(1-8)” + “a” +”bit(8 to 1)” for Port A

Command “bits“+ “address(1-8)” + “b” +”bit(8 to 1)” for Port B                                                                                                                                                       sp2b7 –>  spi address 2 Port B bit 7 ON/OFF

sp3b4 –>  spi address 3 Port B bit 4 ON/OFF

bits2b01010101 –>  address 2 port B from bit 8 to 11

output  –> 01010101

bits2a01010101 –>  address 2 port A from bit 8 to 1

output  –> 01010101

bits2aoff  –> address 2 Port A all OFF/clear

bits2aclr  –> address 2 Port A all OFF/clear

、範例程式下載

23s17-cs0.py

23s17-cs1.py   

23s17-2.py

n23s17-cs0.py    

23s17-2port-v3.py

23s17-2port-s-v103.py

五、產品內容

1x Rs-Pi 4 USB HUB & SPI23s17 x2 board

1x USB to MINI USB hub input cable

1x Manual

商品評價

目前沒有評價。

搶先評價 “8.樹莓派 Raspberry Pi 4埠USB & SPI 23s17 x2 擴充板”