EB - Momentary Touch Sensor


  • Model: EB0100110M
  • Shipping Weight: 2gram
  • 9993 Units in Stock

Add to Cart:

Item specifics

Brand Name:Maker Studio

Product Description

Electronic Brick - Momentary Touch Button is a touch input module. When the button is being touched, the output signal is HIGH leave. Otherwise, it's LOW leave.



  • Working Voltage: 3.3V-5V
  • With Power Light and Signal Light
  • High sensitivity
  • With Makerduino Demo Code 
  • Compact size  
  • Weight:2g



  • Door Control





Use with Makerduino

The following steps show how to use EB - Momentary Touch Button with Makerduino.


  • Makerduino
  • Electronic Brick Shield
  • EB - Momentary Touch Button
  • A/B type USB cable
  • Female DuPont wires


1. Connect Electronic Brick Shield onto Makerduino to bring out all the Makerduino Pins.



2. Connect EB - Momentary Touch Button to Makerduino as following.



3. Connect the Makerduino to Computer by the USB cable.


4. Download the Makerduino demo code EB - Momentary Touch Button.zip. Unzip the code directly into the libraries folder.


5. Open Makerduino IDE, choose the right Board and Serial Port. Open the sketch EB_MomentaryTouchButton.ino and upload it to the Makerduino.

The following is the demo code for EB - Momentary Touch Button. (Note: It could be a little different from the code file downloaded. Please follow the downloaded file.)



  EB - Momentary Touch Sensor demo code


  Detect the state of a Touch Sensor and display the information on Serial Monitor

  When the sensor is touched, the instruction LED on the board will turn on.

  When takes the finger off the sensor, the light will turn off.




// constants won't change. They're used here to

// set pin numbers:

const int sensorPin = 2;     // Touch the sensor on the top side or the bottom side


int sensorState = LOW;

void setup() {

  // initialize the sensor pin as an input:

  pinMode(sensorPin, INPUT);    



void loop(){

  // read the state of the sensor value:

  sensorState = digitalRead(sensorPin);


  if(sensorState == HIGH){

        Serial.println("Sensor is being touched ");


        Serial.println("Sensor is not being touched ");





6. Check the Results. After the sketch is successfully uploaded, let's open the Serial Monitor. Touch the button, the terminal displays as left picture. Release your finger, the terminal displays as right picture.


aeProduct.getSubject()            aeProduct.getSubject()


Download information


Find EB - Momentary Touch Button Material.zip to download schematic and other material.



about us 02

This product was added to our catalog on Tuesday 11 February, 2014.

Your IP Address is:
Copyright © 2020 Maker Studio