Difference between revisions of "Sensor-Touch Button"

From Microduino Wiki
Jump to: navigation, search
(Document)
Line 1: Line 1:
{{Language|Microduino-TOUCH}}
+
{{Language|Sensor-Touch Button}}
 
{| style="width: 1000px;"
 
{| style="width: 1000px;"
 
|-
 
|-
Line 5: Line 5:
 
[[File: Microduino-TOUCH-v1.jpg|400px|thumb|right| Microduino-TOUCH]]
 
[[File: Microduino-TOUCH-v1.jpg|400px|thumb|right| Microduino-TOUCH]]
  
The product number of Microduino-TOUCH is: '''MSDS21'''
+
The product number of Sensor-Touch Button is: '''MSDS21'''
  
Microduino-TOUCH is capacitive touch detection sensor module.  
+
Sensor-Touch Button is capacitive touch button sensor module.  
  
After the human body touch the two ends of the capacitance, the touch sensor can conduct electricity via the human body tissues and fluids, so the two ends of it change into low level.
 
 
Breaking the touch, the capacitor starts charging in an instant, until the rated capacity of the capacitor,  and at this time, the two ends of the capacitor is equivalent to open circuit, and the two ends of the touch sensor change into high level.
 
  
 
==Introduction of Sensor Pin==
 
==Introduction of Sensor Pin==
Line 21: Line 18:
  
 
==Features==
 
==Features==
*With wide working voltage;
+
*With small size which is easy to install;  
*With small size, which makes it easy to install;
+
*With capacitive sensing and high sensitivity.
*With capacitive sensing, and high sensitivity;
+
*With long power consumption, long service life and good stability.  
*With low power consumption, long service life, and good stability;
 
*With optional output locking and non-locking mode, which makes it convenient to use.
 
  
 
==Specification==
 
==Specification==
*Voltage of the sensor
+
*Sensor voltage
**3.3V~5V working voltage
+
**3.3V~5V working voltage  
 
 
 
*Size of the sensor
 
*Size of the sensor
 
**Size of the board: 23.5mm*13mm
 
**Size of the board: 23.5mm*13mm
**1.27mm-spacing 4Pin interface connected with sensorhub
+
**1.27mm-spacing 4Pin interface connected with sensorhub.
 
**CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
 
**CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
  
 
*Function description
 
*Function description
**After touching the sensor, the digital output changes from 1 to 0.  
+
**The static signal of the sensor is HIGH. After being touched, the signal changes into LOW.  
  
 
*Connection
 
*Connection
**This sensor can be connected to the following interfaces of the core: '''D2~D13'''
+
**This sensor can be connected to the following interfaces of the core: '''D2~D13''','''A0~A7'''
  
==Document==
+
==Documents==
*Schematic diagram: '''[[File: Microduino_Touch Button.Zip]]'''
+
*Schematic diagram: '''[[File: Sensor-Touch Button.Zip]]'''
*Touch Button datasheet:'''[[File: Microduino_Sensor-Touch Button datasheet.pdf]]'''
+
*Main sensor: '''[[File: TTP223-Preliminary.pdf]]'''
  
 
==Development==
 
==Development==
 
===Program Download===
 
===Program Download===
*Download and unzip the program '''[[File:Microduino_Sensor-Touch Button_Test.zip]]'''
+
*Download and unzip the program: '''[[File:Sensor_Touch Button_Test.zip]]'''
  
 
===Programming===
 
===Programming===
Line 55: Line 49:
 
|nameB=[[Microduino-USBTTL]]
 
|nameB=[[Microduino-USBTTL]]
 
|boardName=Microduino/mCookie-Core(328p), Atmega328P@16M,5V
 
|boardName=Microduino/mCookie-Core(328p), Atmega328P@16M,5V
|fileName=Microduino_Sensor-Touch Button_Test.ino
+
|fileName=Sensor_Touch Button_Test.ino
 
}}
 
}}
  
 
===Hardware Setup===
 
===Hardware Setup===
*Referring to the following picture, connect Sensor-Crash to the digital port D6 of '''[[Microduino-Sensorhub]]'''.
+
*Referring to the following diagram, connect the Sensor-Touch Button to the digital port of '''[[Microduino-Sensorhub]]'''.  
 
<br>
 
<br>
 
[[file:Microduino-sensorhub_Crash.JPG|thumb|400px|left]]
 
[[file:Microduino-sensorhub_Crash.JPG|thumb|400px|left]]
Line 66: Line 60:
 
===Result===
 
===Result===
 
*After download, open the serial monitor.  
 
*After download, open the serial monitor.  
*After the sensor is presses down, the digital output changes from 1 to 0.
+
*The static signal of the senor is HIGH. After being touched, the signal changes into LOW.
 +
 
 
==Application==
 
==Application==
*Touch button switch
+
*Touching key switch
  
===Projects===
+
===Project===
*Touching rainbow lamp
+
*'''[[Open Source Smart Rainbow Music Touch Lamp]]'''
==Purchase==
 
  
 
==History==
 
==History==

Revision as of 03:31, 18 September 2016

Language: English  • 中文
Microduino-TOUCH

The product number of Sensor-Touch Button is: MSDS21

Sensor-Touch Button is capacitive touch button sensor module.


Introduction of Sensor Pin

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Touch Button sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Digital signal input
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.

Features

  • With small size which is easy to install;
  • With capacitive sensing and high sensitivity.
  • With long power consumption, long service life and good stability.

Specification

  • Sensor voltage
    • 3.3V~5V working voltage
  • Size of the sensor
    • Size of the board: 23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub.
    • CAD drawing of the sensor: File:Sensor CAD.zip
  • Function description
    • The static signal of the sensor is HIGH. After being touched, the signal changes into LOW.
  • Connection
    • This sensor can be connected to the following interfaces of the core: D2~D13A0~A7

Documents

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Sensor_Touch Button_Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the Sensor-Touch Button to the digital port of Microduino-Sensorhub.


Microduino-sensorhub Crash.JPG


Result

  • After download, open the serial monitor.
  • The static signal of the senor is HIGH. After being touched, the signal changes into LOW.

Application

  • Touching key switch

Project

History

Gallery

File:MicroduinoTouch Button-F.JPG
mCookie-Touch Button-Front
File:MicroduinoTouch Button-b.JPG
mCookie-Touch Button-Back