Difference between revisions of "Translations:RASPBERRY PI Arduino Shield ADD-ON/9/zh-cn"

From ITEAD Wiki
Jump to: navigation, search
(Created page with "==使用说明== *将RpiArduinoShieldAddon插到RPI V2上面,将SHT10通过电子积木4pin连线接到IIC电子积木接口上,上电。 *从https://github.com/iteadsw/SD...")
(No difference)

Revision as of 09:46, 17 July 2014

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (RASPBERRY PI Arduino Shield ADD-ON)
==Instruction==
*Plug Rpi Arduino [[Shield]] Add-on into RPI V2, connect SHT10 to IIC interface through 4-pin wires. Power Raspberry Pi V2.
*[[Download]] the SDK from this link: https://github.com/iteadsw/SDK and then install it.
*Modify the file ReadSHT1xValues.ino
: modified codes as below:
::define dataPin 3
::define clockPin 5
*Enter into the directory '''libraries/itead_SHT1x/examples/ReadSHT1xValues''', compile and run the file '''ReadSHT1xValues.ino'''
:Command as below to compile ReadSHT1xValues.ino
::$ iteadcompile ReadSHT1xValues ReadSHT1xValues.ino
:Command to run this program
::$ sudo ./ ReadSHT1xValues
*When the compilation is done, you can read the temperature and humidity data from the terminal.
Translation==使用说明==
*将RpiArduinoShieldAddon插到RPI V2上面,将SHT10通过电子积木4pin连线接到IIC电子积木接口上,上电。
*从https://github.com/iteadsw/SDK 下载SDK并安装。
*修改文件 ReadSHT1xValues.ino
: 修改后的编码如下:
::define dataPin 3
::define clockPin 5
*进入目录 '''libraries/itead_SHT1x/examples/ReadSHT1xValues''', 编译运行 '''ReadSHT1xValues.ino'''
:编译ReadSHT1xValues.ino的指令如下
::$ iteadcompile ReadSHT1xValues ReadSHT1xValues.ino
:运行指令如下
::$ sudo ./ ReadSHT1xValues
*最后可以从终端上读到传感器传回的温湿度值

使用说明

  • 将RpiArduinoShieldAddon插到RPI V2上面,将SHT10通过电子积木4pin连线接到IIC电子积木接口上,上电。
  • 从https://github.com/iteadsw/SDK 下载SDK并安装。
  • 修改文件 ReadSHT1xValues.ino
修改后的编码如下:
define dataPin 3
define clockPin 5
  • 进入目录 libraries/itead_SHT1x/examples/ReadSHT1xValues, 编译运行 ReadSHT1xValues.ino
编译ReadSHT1xValues.ino的指令如下
$ iteadcompile ReadSHT1xValues ReadSHT1xValues.ino
运行指令如下
$ sudo ./ ReadSHT1xValues
  • 最后可以从终端上读到传感器传回的温湿度值