DFR0029-W

DFR0029-W Datasheet


DFRobot Digital Push Button SKU:DFR0029

Part Datasheet
DFR0029-W DFR0029-W DFR0029-W (pdf)
Related Parts Information
DFR0029-Y DFR0029-Y DFR0029-Y
DFR0029-B DFR0029-B DFR0029-B
PDF Datasheet Preview
DFRobot Digital Push Button SKU:DFR0029

Contents
• 1 Introduction
• 2 Improvement List
• 3 Specification
• 4 Connection Diagram
• 5 Sample Code

Introduction

This is a big button which gives the first touch of the physical world. Simply plug to IO expansion board to finish your first taste of Arduino.

Improvement List
• Wide voltage range from 3.3V to 5V
• Standard assembling structure two 3mm diameter holes with multiple of 5mm as distance from
center
• Easily recognitive interfaces of sensors "A" for analog and "D" for digital
• Icons to simplely illustrate sensor function
• High quality connector
• Immersion gold surface

Specification
• Supply Voltage 3.3V to 5V
• Indicator LED on board
• Easy to 'plug and play'
• Large button keypad and high-quality first-class hat
• Able to achieve very interesting and an interactive work
• Interface Digital
• Size:22x30mm

Connection Diagram
connection diagram

Sample Code
# Description:
# When you push the digital button, the Led 13 on the board will turn on. O therwise,the led turns off.
int ledPin = 13;
// choose the pin for the LED
int inputPin = 2;
// Connect sensor to input pin 3
void setup pinMode ledPin, OUTPUT pinMode inputPin, INPUT ;
// declare LED as output // declare pushbutton as input
void
int val = digitalRead inputPin // read input value
if val == HIGH
// check if the input is HIGH
digitalWrite ledPin, LOW // turn LED OFF
else
digitalWrite ledPin, HIGH // turn LED ON

Powered By DFRobot 2008-2017
More datasheets: ELVM07900 | ELVM07300 | ELVM03100 | CY2410SXC-5T | CY2410SXC-5 | 92354 | ASMT-UBB5-NS8Q2 | ASMT-UGB5-NV702 | 26200B-207 | A-2004-2-1-LP/S-R


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0029-W Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0029-W 508603