0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
DFR0028

DFR0028

  • 厂商:

    DFROBOT

  • 封装:

    -

  • 描述:

    GRAVITY:DIGITALTILTSENSORFOR

  • 数据手册
  • 价格&库存
DFR0028 数据手册
    Digital Tilt Sensor SKU:DFR0028  Contents    1 Introduction  2 Specification  3 Connection Diagram   o 3.1 Sample Code  Introduction The DFRobot Tilt Sensor is a digital tilt switch. It could be used as a simple tilt sensor. Simple plug to our IO/Sensor Expansion board, you can make amazing interactive projects. The dedicated sensor expansion boards with the Arduino, in combination, can achieve very interesting and an interactive work. Specification    Supply Voltage: 3.3V to 5V  Interface: Digital  Size:22x30mm  Connection Diagram        Sample Code int ledPin = 13; // Connect LED to pin 13 int switcher = 3; // Connect Tilt sensor to Pin3 void setup() { pinMode(ledPin, OUTPUT); // Set digital pin 13 to output mode pinMode(switcher, INPUT); // Set digital pin 3 to input mode } void loop() { if (digitalRead(switcher) == HIGH) //Read sensor value digitalWrite(ledPin, HIGH); // Turn on LED when the sensor is tilted else digitalWrite(ledPin, LOW); gered // Turn off LED when the sensor is not trig }                 Powered By DFRobot © 2008-2017
DFR0028 价格&库存

很抱歉,暂时无法提供与“DFR0028”相匹配的价格&库存,您可以联系我们找货

免费人工找货
DFR0028
  •  国内价格 香港价格
  • 1+19.858801+2.37300
  • 3+17.494663+2.09050

库存:7

DFR0028
  •  国内价格
  • 1+18.44612
  • 3+16.26612
  • 18+16.11041

库存:7