Tilt 3 Click Board™
Product Code: MIKROE-4779
How Does The Tilt 3 Click Board™ Work? The Tilt 3 Click Board™ as its foundation uses the DSBA1P, a PCB mount tilt switch sensor with ammonia-resistant terminals from NKK Switches. This switch is a non-contact switch with an embedded photo interrupter, which rather than contacts, ensures high reliability. It has sealed DSB construction for protection from environmental elements, including hydrogen sulfide, sulfur dioxide, and nitrogen hydroxide. These switch series are well suited to meet product safety concerns due to normally-closed (ON) status and can be used for many applications where orientation or inclination detection is crucial. This tilt sensor works by detecting changes in angle from a pre-set "zero" state. They are set with a maximum and minimum threshold in which the application will work (from ±30° to ±60°) or be safe to operate based on the specific application's needs. If the tilt or inclination exceeds these threshold values in either direction, a relay will be engaged, and the switch closed.
The Tilt 3 Click Board™ communicates with MCU using two GPIO pins. The Enable pin, labelled as EN and routed to the CS pin of the mikroBUS™ socket, optimizes power consumption and is used for power ON/OFF purposes (driver operation permission). It also has an additional LED for exceeded angle threshold indication. In that case, such a condition is indicated by a red LED marked as TILT, which is also connected to the interrupt INT pin through which the user can receive the information, which, in addition to a LED, indicates unsafe or non-working conditions.
The Tilt 3 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Specifications
Type
Motion
Applications
Can be used for many applications where orientation or inclination detection is a crucial factor
On-board modules
DSBA1P - PCB mount tilt switch sensor with ammonia-resistant terminals from NKK Switches
Key Features
Low power consumption, operation angle from ±30° to ±60°, 1 million operation minimum, very durable, sealed in the DSB construction for protection from environmental elements, possesses exceeded angle threshold indication, and more
Interface
GPIO
Compatibility
mikroBUS
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout Diagram
This table shows how the pinout on the Tilt 3 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
NC
1
AN
PWM
16
NC
NC
2
RST
INT
15
INT
Interrupt
Enable
EN
3
CS
RX
14
NC
NC
4
SCK
TX
13
NC
NC
5
MISO
SCL
12
NC
NC
6
MOSI
SDA
11
NC
Power Supply
3.3V
7
3.3V
5V
10
5V
Power Supply
Ground
GND
8
GND
GND
9
GND
Ground
Onboard settings and indicators
Label
Name
Default
Description
LD1
PWR
-
Power LED Indicator
LD2
TILT
-
Tilt LED Indicator
JP1
VCC SEL
Left
Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V
Tilt 3 Click electrical specifications
Description
Min
Typ
Max
Unit
Supply Voltage
3.3
-
5
V
Operating Angle Range
Visit the Debug Store website for more information on Tilt 3 Click Board™