ELECTRONIC BRICK - TILT SENSOR/SWITCH BRICK (Itead IM120710019)
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 tilt switch can be connected to analog I/O port and used in tilt sensor for smart car or robot. When the sensor is in the horizontal position, the output is high level; when the sensor rotates counterclockwise to form an angle of more than 15 ° with the horizontal line, the output is low level.
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.
|PCB size||24.0mm X 21.0mm X 1.6mm|
|Working voltage||3.3 or 5V DC|
|Operating voltage||3.3 or 5V DC|
|Compatible interfaces||2.54 3-pin interface and 4-pin Grove interface(1)|
|Digital output voltage（VCC=5V）||0||-||5||V|
Connect S port of electronic brick of tilt 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 high level, LED lamp will be ON; when the digital value read is low level, LED lamp will be OFF.