データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

DFR0604 データシート(PDF) 7 Page - DFROBOT

部品番号 DFR0604
部品情報  IO Expansion HAT for Pi Zero/Zero W
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  DFROBOT [DFROBOT]
ホームページ  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0604 データシート(HTML) 7 Page - DFROBOT

Back Button DFR0604 Datasheet HTML 3Page - DFROBOT DFR0604 Datasheet HTML 4Page - DFROBOT DFR0604 Datasheet HTML 5Page - DFROBOT DFR0604 Datasheet HTML 6Page - DFROBOT DFR0604 Datasheet HTML 7Page - DFROBOT DFR0604 Datasheet HTML 8Page - DFROBOT DFR0604 Datasheet HTML 9Page - DFROBOT DFR0604 Datasheet HTML 10Page - DFROBOT DFR0604 Datasheet HTML 11Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 13 page
background image
Tutorial
Connection
Plug the IO expansion board into Raspberry Pi.
Download the Driver library
To use the analog and PWM ports in the board, download the driver library first.
Press Ctrl+Alt+T to open the terminal, input the following command and hit Enter.
git clone https://github.com/DFRobot/DFRobot_RaspberryPi_Expansion_Board.git
Download the library and unzip the file. Input the following command into the terminal:
tar -xvzf DFRobot_RaspberryPi_Expansion_Board
Enter the directory of the uncompressed files:
cd DFRobot_RaspberryPi_Expansion_Board/raspberry/
Extended Ports Usage
•
PWM: connect a servo to PWM P0. Create a file via the command of nano:
sudo nano servoTest.py
Add the following content:
# -*- coding:utf-8 -*-
# servoTest.py
import time
from DFRobot_RaspberryPi_Expansion_Board import DFRobot_Expansion_Board_IIC as Board
from DFRobot_RaspberryPi_Expansion_Board import DFRobot_Expansion_Board_Servo as
Servo
board = Board(1, 0x10)
# Select i2c bus 1, set address to 0x10



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com