Skip to product information
1 of 7

vendor-unknown

Make a Dice Game using 16*2 LCD and Tilt switch Module - KT615

Make a Dice Game using 16*2 LCD and Tilt switch Module - KT615

SKU:KT615

1000 in stock

Regular price Rs. 1,099.00
Regular price Sale price Rs. 1,099.00
Sale Sold out
Shipping calculated at checkout.

For refund/return/replacement, call us at +91 95995 94524 For bulk and B2B enquiries kindly mail us at support@rees52.com

View full details

Hardware required:


Introduction

In this project we have displayed values on LCD using Tilt switch module.

HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino IDE 1.8.5 (programmable platform for Arduino)

Click To Download:https://www.arduino.cc/en/Main/Software

SPECIFICATIONS

Mercury Tilt Switch Module

The mercury tilt switch module uses a small mercury ball that completes the circuit when you tilt the module. It consists of a mercury switch, a 680Ω resistor and a LED that will light up when tilt is detected. The mercury ball will open/close the circuit when the module is rotated.

  • Operating Voltage: 3.3V to 5.5V

Arduino Uno

CIRCUIT CONNECTION

  • Connect GND of Arduino Uno with Breadboard for further GND connections.
  • Connect Pin 5V of Arduino Uno with Breadboard for further 5V power supply connections.
  • Attach 1602 LCD and Potentiometer on Breadboard.
  • Connect Pin VSS of LCD with GND rail of Breadboard.
  • Connect Pin VDD of LCD with 5V rail of Breadboard.
  • Connect Pin V0 of LCD with Pin Signal of Potentiometer.
  • Connect Pin RS (Register Select) of LCD with Digital Pin 12 of Arduino Uno.
  • Connect Pin RW (Read/Write) of LCD with GND rail of Breadboard.
  • Connect Pin Enable of LCD with Digital Pin 11 of Arduino Uno.
  • Connect Data Pin 4 of LCD with Digital Pin 5 of Arduino Uno.
  • Connect Data Pin 5 of LCD with Digital Pin 4 of Arduino Uno.
  • Connect Data Pin 6 of LCD with Digital Pin 3 of Arduino Uno.
  • Connect Data Pin 7 of LCD with Digital Pin 2 of Arduino Uno.
  • Connect Pin A (LED positive) of LCD with 5V rail of Breadboard.
  • Connect Pin K (LED Negative) of LCD with GND rail of Breadboard.
  • Connect VCC of Potentiometer with 5V rail of Breadboard.
  • Connect GND of Potentiometer with GND rail of Breadboard.
  • Connect VCC of Tilt switch Module with Pin 3.3V of Arduino Uno.
  • Connect GND of Tilt switch Module with GND of Arduino Uno.
  • Connect Pin Signal of Tilt switch Module with Digital Pin 7 of Arduino Uno.

CODE

https://drive.google.com/open?id=1N6Uk1DUlIbYKXI-TccvmodCq9c8BFdkb

WORKING

Welcome to the Arduino Based Project which consists of 1602 LCD and Tilt switch module. The basic working of Tilt switch module is being described here. A Tilt Sensor switchis an electronic device that detects the orientation of an object and gives its output High or Low accordingly. Basically, it has a mercury ball inside it which moves and makes the circuit. So tilt sensor can turn on or off the circuit based on the orientation.

CASE 1: NOT TILTED

Initially, when it is in NOT tilted position as shown in the image below, it gives LOW output because of the liquid mercury complete the circuit by connecting the two electrodes. When the output is LOW on-board LED remain ON.

CASE 2: TILTED

When it is inclined in a particular direction or angle, the liquid mercury breaks the contact between the metal electrodes and the circuit gets open. Hence, we get HIGH output in this condition and the on board LED turns off.