洋天科技洋天科技
公司簡介訂購方式匯款確認檔案下載 聯絡我們保固說明訂單查詢討論區
電子郵件:

密碼:

忘記密碼
加入會員
  首頁 | 原廠 Arduino® | 特殊服務設計 | 轉接座及轉接板/麵包板 | 開發板/燒錄器/模擬器 | 相容 For Arudino® 週邊及配件 | OKdo系列 | Saleae 系列 | Adafruit 系列 | ArduCam 系列 | Camera 攝像頭 | ROCK 系列 | Debix系列開發板 | Raspberry Pi 樹莓派 | Banana Pi 香蕉派 | BeagleBone 狗骨頭 | M5Stack系列 | Micro:bit (BBC)系列 | NVIDIA Jetson Nano系列 | Pololu 系列 | Pycom 系列 | Seeed 系列 | Sparkfun 系列 | WeMos 系列 | 傳感器 | Cubieboard/CubieTruck系列 | Firefly 系列 | Microduino系列 | Orange Pi 香橙派 | PCB板 | PLC 系列 | Robot 機器人 | UDOO 系列 | RedBearLab 系列 | LattePanda系列 | LittleBits 系列 | Libelium 系列 | Luxonis 相機系列 | PCduino | RobotElectronics 系列 | MageDok 顯示屏 | LCD/LCM/TFT/LVDC | Dimension Engineer 系列 | 通訊模組 | 影音器材(含轉換器) | 線材/連結器/轉換器 | 測量儀器 | 馬達/馬逹控制器/電源模組 | 其他 | 焊接/維修工具 | IC零件 | LED燈-裝飾燈 | 工作站迷你電腦 mini PC | 擴大器 | 雕刻機 | 電池 | 電腦周邊 | 檢定考套件 | 停售商品
  首頁 » 商品目錄 » 相容 For Arudino® 週邊及配件 » 1721
商品搜尋 進階
 |  購物車內容  |  結帳   
商品分類
  For Arduino® book 書
  For Arduino® LCD 屏
  For Arduino® RGB LED模組
  For Arduino® SD卡模組
  For Arduino® 傳感器模塊
  For Arduino® 套件/套餐
  For Arduino® 學習套件
  For Arduino® 按鍵 按鈕模塊 搖桿
  For Arduino® 控制板
  For Arduino® 擴展板
  For Arduino® 繼電器
  For Arduino® 車
  For Arduino® 電機 馬達 驅動
  Makeblock mBot 系列
  MiCOKit 銀爾達
  NodeMcu Lua系列
  WRTnode系列
  電源模塊
  For Arduino® 外殼/壓克力板/麵包板/杜邦線/配件
Arduino
Pololu
Seeed
Sparkfun
robot-electronics
dimensionengineering
libelium
adafruit
udoo
redbearlab
Arducam
goembed
Saleae
okdo
服務台
公司簡介
退換貨服務
訂購方式
聯絡我們
匯款確認
[<< 前一頁]  瀏覽相同分類產品 39 / 437  [下一頁 >>]
DFR原廠 Shiftout Module 使用SPI通訊 (DFR072)For Arduino®
NT$179
運費NT$50
條碼1721
產品說明0

 

簡介

使用SPI通訊可將3個數字口擴展為8個數字口。當Arduino數字口不夠用時,使用這個模塊擴展是個理想的選擇。並且可同時以級聯多個模塊,也適用於51、AVR、PIC等單片機。
 

技術規格

  • 電壓:5V
  • 輸入接口:IDC6
  • 輸出接口:IDC6
  • 模塊尺寸:41×22mm 

配送清單

  • Shiftout Module     1個 

相關文檔

相關例程

//Pin connected to latch pin (ST_CP) of 74HC595
const int latchPin = 8;
//Pin connected to clock pin (SH_CP) of 74HC595
const int clockPin = 3;
////Pin connected to Data in (DS) of 74HC595
const int dataPin = 9;
byte Tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};
void setup() {
  //set pins to output because they are addressed in the main loop
  pinMode(latchPin, OUTPUT);
  pinMode(dataPin, OUTPUT);  
  pinMode(clockPin, OUTPUT);
  Serial.begin(9600);
  Serial.println("reset");
}
void loop() {
  if (Serial.available() > 0) {
    // ASCII '0' through '9' characters are
    // represented by the values 48 through 57.
    // so if the user types a number from 0 through 9 in ASCII, 
    // you can subtract 48 to get the actual value:
  int bitToSet = Serial.read() - 48;
  // write to the shift register with the correct bit set high:
  digitalWrite(latchPin, LOW);
  // shift the bits out:
  shiftOut(dataPin, clockPin, MSBFIRST, Tab[bitToSet]);
    // turn on the output so the LEDs can light up:
  digitalWrite(latchPin, HIGH);
  }
}

問與答

目前沒有任何商品問答!
本商品上架日期:2010-09-27.
評價
購物車 更多
空的...
查詢訂單狀態
 
請輸入您的訂單編號
商品通知狀態 更多
通知DFR原廠 Shiftout Module 使用SPI通訊 (DFR072)For Arduino®
更新時通知我
推薦給朋友
 
推薦這個商品給朋友

聯絡方式:手機:0933807110 或 0968222607
E-mail:i0104@ms13.hinet.net(主要信箱) & i03070309@yahoo.com.tw(次要) & a_te0307@hotmail.com & A9215017@mail.ntust.edu.tw & r94922042@ntu.edu.tw