Affordable Toy Mall|Animal,Miniature&Inflatable Toys,Discounts
Affordable Toy Mall|Animal,Miniature&Inflatable Toys,Discounts Affordable Toy Mall|Animal,Miniature&Inflatable Toys,Discounts
Home Interactive Toys Simple Sensor Ball
Knock Hit Tap Sensor Module for Raspberry Pi Arduino New

Knock Hit Tap Sensor Module for Raspberry Pi Arduino New

$ 2.50

$ 0.00

Save: $

Unavailable
Please select combo product attributes
The combo subtotal is $,SAVE$

Product Details

Knock Hit Tap Sensor Module for Raspberry Pi Arduino New
 
Knock sensor module and a digital 13 interface, built-in LED build a simple circuit to produce percussion flasher. Interface comes with digital LED, will knock sensor connected digital 3 interface, when percussion sensor senses measure to percussive signals, LED flashing light.
Size: 30x18x6mm (approx)
Routines source code:
int Led = 13;// define LED Interface
int Shock = 3;// define the percussion Sensor Interface
int val;// define numeric variables val
void setup ()
{
pinMode (Led, OUTPUT) ;// define LED as output interface
pinMode (Shock, INPUT) ;// define knock sensor output interface
}
void loop ()
{
val = digitalRead (Shock) ;// read digital interface is assigned a value of 3 val
if (val == HIGH) // When the percussion when the sensor detects a signal, LED flashes
{
digitalWrite(Led, LOW);
}
else
{
digitalWrite(Led, HIGH);
}
}
 
 
Package content:
1 x Knock Sensor Module
 
 
 
Raspberry Pi is a Trademark of the Raspberry Pi Foundation
Product ID: EP00249

You May Also Like

SwitchEasy Origami 2024 Case for iPad Pro 11" Bundle with Anti-Blue Light SwitchPaper Screen Protector for 2024 iPad Pro 11"-Starlight White
SwitchEasy Origami 2024 Case for iPad Pro 11" Bundle with Anti-Blue Light SwitchPaper Screen Protector for 2024 iPad Pro 11"-Starlight White

$ 58.00

Save: $

Men's Right-Handed Golf Club Set, with Carbon Shafts, Titanium Alloy Woods, Includes Putter, Irons, and Ball Bag
Men's Right-Handed Golf Club Set, with Carbon Shafts, Titanium Alloy Woods, Includes Putter, Irons, and Ball Bag

$ 99.00

$ 2208.00

Save: $

UGG Women's Classic Maxi Toggle Fashion Boot
UGG Women's Classic Maxi Toggle Fashion Boot

$ 99.00

$ 120.00

Save: $

Gentle Foaming Face Cleanser For All Skin Type, K-Beauty
Gentle Foaming Face Cleanser For All Skin Type, K-Beauty

$ 18.00

$ 22.00

Save: $

Munipals New York City Subway Wooden Railway (B Division) J Train/Nassau Street Express–Child Safe and Tested Wood Toy Train
Munipals New York City Subway Wooden Railway (B Division) J Train/Nassau Street Express–Child Safe and Tested Wood Toy Train

$ 18.00

$ 23.00

Save: $

Rafaella Women's Plus Size Pull-on Bootcut Pants, Stretch Fabric, 32” Inseam, Classic Fit, Versatile Work Slacks
Rafaella Women's Plus Size Pull-on Bootcut Pants, Stretch Fabric, 32” Inseam, Classic Fit, Versatile Work Slacks

$ 28.00

$ 40.00

Save: $

Cutex Motor & Foot Control Pedal Compatible with Consew 75T Portable Blindstitch Sewing Machine
Cutex Motor & Foot Control Pedal Compatible with Consew 75T Portable Blindstitch Sewing Machine

$ 52.00

$ 74.00

Save: $

City Chic Women's Plus Size Ditsy Wrap Dress
City Chic Women's Plus Size Ditsy Wrap Dress

$ 18.00

$ 23.00

Save: $

Beautyflier Storage Carrying Bag for Little Tikes Story Dream Machine Books Starter Set, Portable Storage Container for Storytime Audio Play Real for Littles Character Collection (Bag Only)
Beautyflier Storage Carrying Bag for Little Tikes Story Dream Machine Books Starter Set, Portable Storage Container for Storytime Audio Play Real for Littles Character Collection (Bag Only)

$ 19.00

Save: $

PUMA Mayze Suede X Dua Lipa Puma Black/Blue Glow 9.5 B (M)
PUMA Mayze Suede X Dua Lipa Puma Black/Blue Glow 9.5 B (M)

$ 35.00

$ 50.00

Save: $

Cart
Affordable Toy Mall|Animal,Miniature&Inflatable Toys,Discounts
Your cart is currently empty.