-
ARDUINO
- RASPBERRY
- MICRO:BIT
- KITS
-
COMPONENTES
-
Resistências Elétricas
- Kit de Resistências
- Resistências 1% 125mW
- Resistencias 1% 250mW
- Resistencias 1% 500mW
- Resistencias 1% 600mW
- Resistências 1% 1W
- Resistencias 1% 2W
- Resistências 5% 125mW
- Resistencias 5% 250mW
- Resistencias 5% 500mW
- Resistências 5% 1W
- Resistencias 5% 2W
- Resistencias 5% 3W
- Resistências Potência
- Resistências Várias
- Redes Resistencias
- Termistores
- Trimmers
- Trimmers 3296
- Joysticks
- Botões
- Potenciometro slider
- Potenciometros Rotativos
- Potenciometro Multivolta
- Potenciometros Motorizados
- MODULOS
- SENSORES
- ROBÓTICA
- IMPRESSÃO 3D
-
FERRAMENTAS
Ferramenta Eletronica
- Acessórios
- Analisador Logico
- Alicates para Eletronica
- Berbequins
- Caixas Arrumação
- Chaves de Precisão
- Chaves Ajuste
- Extensões
- Fita Isoladora
- Fonte de Alimentação
- kit Ferramentas
- Lupa Eletronica
- Aparelhos de Medida, Multímetros e Outros
- Osciloscopios
- Pinças para Eletrónica
- Pontas de Prova
- Material Soldadura
- Spray de Limpeza
- Tornos e Suportes
- PROMOÇÕES
- BLOG
Electronic Brick - Touch Sensor-Button Brick
Electronic Brick - Touch Sensor-Button Brick
This is a simple touch sensor / button brick. You can use it to replace a traditional push button. and add some cool element to your project.
Descrição
Electronic Brick - Touch Sensor-Button Brick
This is a simple touch sensor / button brick. You can use it to replace a traditional push button. and add some cool element to your project.
Overview
What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal boards and circuit modules assembled with various electronic components, electronic brick has standardized interfaces, plug and play, simplifying construction of prototype circuit on one’s own. There are many types of electronic bricks, and we provide more than twenty types with different functions including buttons, sensors, Bluetooth modules, etc, whose functions cover from sensor to motor drive, from Ethernet to wireless communication via Bluetooth, and so on. We will continue to add more types to meet the various needs of different projects.
Electronic brick of touch button switch is finger-sized, which can be connected to I/O port of main board or externally disconnected to check the switch state so as to control ON/OFF of LED lamp.
Features
1. Plug and play, easy to use. Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.
2. With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock.
Specifications
PCBsize | 38.0mmX24.0mmX1.6mm |
Workingvoltage | 3.3or5VDC |
Operatingvoltage | 3.3or5VDC |
Compatibleinterfaces | 2.543-pininterfaceand4-pinGroveinterface (1) |
Note 1: S for digital output port, N for not used pin, V and G for voltage at the common collector and ground respectively. When there is no operation, digital output is VDD; when the button is pressed down, the digital output is 0V.
Electrical characteristics
Electricalcharacteristics | Min. | Typical | Max. | Unit |
Supplyvoltage | 2 | 3 | 5.5 | VDC |
Workingcurrent(VCC=5V) | - | 18 | - | uA |
Digitaloutputvoltage(VCC=5V) | 0 | - | 5 | V |
Hardware
DEMO
Connect S port of electronic brick of touch button switch to D2 port of Arduino board, and we will use the following program to read its digital value. When the digital value read is low level, LED lamp will be ON; when the digital value read is high level, LED lamp will be OFF.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
int Button= 2 ; //connect button to D2 int LED= 13 ; void setup() { pinMode(LED, OUTPUT); pinMode(Button, INPUT); } void loop() { if (digitalRead(Button)==HIGH) //when the digital output value of button is high, turn on the LED. { digitalWrite(LED, LOW); } if (digitalRead(Button)==LOW) //when the digital output value of button is low, turn off the LED. { digitalWrite(LED, HIGH); } } |
Download