-8%

16. 樹莓派 Raspberry Pi 32 GPIO及步進馬達擴充模組(SPI)

NT$ 1,838 (含稅)

You Save: NT$ 151 (8%)

 

英國Pridopia公司設計製造

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

相容樹莓派A/B/A+/B+/2B/3B/3B+

售價含稅,隨貨附發票

歡迎來信選購或洽詢

已售完

描述

16. 樹莓派 Raspberry Pi 32 GPIO及步進馬達擴充模組(SPI)

商品說明:

    1.  U13 U14 SPI 23s17x2  32 GPIO
    2.  J16  Mini USB 5V input & J25  for GPIO power output with polyswitch fuse protect.
    3.  S1, S2, S3, S4 4 SMD Switch input
    4.  S5  4 DIP Switch input
    5.  U5, U15 ULN2803
    6.  J21 data, J23 Vcc, J24 GND  4 x motor output
    7.  J18 for RS-Pi V2 GPIO connector (got 4 more GPIO pin)
    8. Scratch指令及範例 Detail

U1 to U4 spi 23s17 address 40,42,44,46

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

Command “sp”+ “address(1-8)” + “a” +”in” for Port A
Command “sp”+ “address(1-8)” + “b” +”in” for Port B
command “sp1bin” initial address 40, Port B as input
broadcast “Update” in Sensing —> Slider ,
you will see “SPI1B-0 ~ SPI1B-7” in the list

相關資料:

23s17-cs0.py

23s17-cs1.py

23s17-2.py

23s17-2port-s-v103.py

23s17-2port-stepper-s-v100.py

23s17-2port-io-s-v101.py  

商品內容:

1x Rs-Pi  SPI 23s17-2 &2803-2  board

1x User manual

商品評價

目前沒有評價。

搶先評價 “16. 樹莓派 Raspberry Pi 32 GPIO及步進馬達擴充模組(SPI)”

您可能也喜歡…