Skip to product information
1 of 5

vendor-unknown

Make a calculator with the help of 4*4 keypad membrane interfacing with Arduino uno - KT810

Make a calculator with the help of 4*4 keypad membrane interfacing with Arduino uno - KT810

SKU:KT810

1000 in stock

Regular price Rs. 750.00
Sale price Rs. 750.00 Regular price
Sold out
Shipping calculated at checkout.

Note: In case you receive a damaged or faulty product, please return it in the original box with all foam and packaging. Returns will not be accepted if further damage occurs due to improper packing.

If you order a product that is currently in Preorder, and the price of that item increases in the future, you will be required to pay the difference in price.

For refund/return/replacement, call us at +91 95995 94520 or email us at support@rees52.com

Delivery Time

  • Delivery time with the Express Shipping option is 2-3 working days, and with the Standard Shipping option is 5-6 working days. It varies based on location, reliant on courier services.

  • Delivery time if the order item is on Preorder Status is 15-20 working days.

COD (Cash on Delivery)

  • For COD you have to pay extra charges of Rs 350/- before the shipment. (We will share the company QR Code, UPI ID or Account details for the same)

The REES52 Promise

We want you to build, not worry. Here is exactly what happens if something goes wrong with your order.

Dead on arrival or defective? We replace it.

If your item is dead on arrival or has a manufacturing defect, tell us within 7 days of delivery. Email support@rees52.com with your order number and a short video or a couple of photos showing the problem. Our team will get back to you within 24 hours and arrange a free pickup from your doorstep - you never pay return shipping for a defective item. Once we verify the issue, your replacement ships out right away. If the item is out of stock, you get a full refund instead.

Refunds, with real timelines.

  • Approved refunds go back to your original payment method within 6-7 working days.
  • Missing item in your package? Tell us within 7 days with photos of what arrived and the parcel label. Once confirmed, the refund for the missing item reaches you in 2-3 working days - or we ship the missing piece free, your choice.
  • Every refund comes with a reference number by email or WhatsApp, so you can track it with your bank instead of chasing us.

Wrong item or not as described?

Email us your order number and a photo of what you received. We arrange the return pickup, and ship the correct item as soon as the return is on its way. Prefer your money back instead? That is fine too - full refund, same 6-7 working day timeline.

About lead times on some products.

A few items on rees52.com are sourced from our overseas partner warehouses and are not sitting on our shelf. Those products show a lead time of about 20-25 working days on the product page, before you pay. If you order one, we keep you posted as it moves. Changed your mind while waiting? You can cancel any time before dispatch and get a full refund within 6-7 working days. No cancellation fee, no questions.

Talk to a human.

Email support@rees52.com or call/WhatsApp +91 95995 94520, Monday to Saturday, 10:30 AM to 7:00 PM. Real people, order number in hand, actual answers.

View full details

KIT INCLUDES:


HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino IDE 1.8.5 (programmable platform for Arduino)

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

SPECIFICATIONS

4*4 KEYPAD MEMBRANE

  • Maximum Rating: 24 VDC, 30 mA
  • Interface: 8-pin access to 4x4 matrix
  • Operating temperature: 32 to 122 °F(0 to 50°C)
  • Dimensions: Keypad, 2.7 x 3.0 in (6.9 x 7.6 cm),Cable: 0.78 x 3.5 in (2.0 x 8.8 cm)



16*2 LCD DISPLAY

  • LCD Display Mode: STN, Positive, Transflective
  • Display Colour: Deep Blue/ Yellow Green
  • Viewing Angle: 6H
  • Driving Method: 1/16 duty, 1/5 bias
  • Back Light: Yellow-Green LED backlight
  • Outline Dimension: 803615.8 MAX

Note

  • Colour tone may slightly change by Temperature and Driving Condition.
  • The Colour is defined as the inactive/background colour



PIN DESCRIPTION

16*2 LCD DISPLAY

Symbol

External Connection

Function

VSS

Power Supply

Signal GROUND for lcm

VDD

POWER SUPPLY for logic lcm

V0

Contrast Adjust

RS

MPU

Register Select Signal

RW

MPU

Read/Write Select Signal

E

MPU

Operation Enable Signal

DB0~DB3

MPU

Four Low order bidirectional three state bus lines. Used for data transfer between the MPU and LCM. These four are not used between 4 Bit operations.

DB4~DB7

MPU

Four high order bidirectional Three state bus lines used for data transfer between the MPU

A

LED BKL power Supply

Power Supply for BKL

K



4*4 KEYPAD MEMBRANE

Matrix keypads use a combination of four rows and four columns to provide button states to the host device, typically a microcontroller. Underneath each key is a pushbutton, with one end connected to one row, and the other end connected to one column.



CIRCUIT CONNECTION

  • Keypad 1 to arduino D0
  • Keypad 2 to D1
  • Keypad 3 to D2
  • Keypad 4 to D3
  • Keypad 5 to D4
  • Keypad 6 to D5
  • Keypad 7 to D6
  • Keypad 8 to D7
  • Lcd pic 16 to negative rail and pin 15 to positive rail
  • Lcd pic D7 to D4 to arduino D13 to D10
  • Arduino 5V to positive rail and ground to negative rail
  • Arduino pin D8 to RS of lcd and D9 to pin 6 (E) of lcd
  • Lcd pin1 to ground, pin 2 to 5v , pin 3 to ground and pin 5 to ground

CODE

Programming is always fun and Arduino is a wonderful platform if you are just getting started with Embedded programming. In this, we will build our own calculator with Arduino. The values can be sent in through a keypad (4×4 keypad) and the result can be viewed on an LCD screen (16×2 Dot-matrix). This calculator could perform simple operations like Addition, Subtraction, Multiplication and Division with whole numbers.

The complete circuit diagram of this Arduino Calculator Project is given above. The +5V and ground connection shown in the circuit diagram can be obtained from the 5V and ground pin of the Arduino. The Arduino itself can be powered from your laptop or through the DC jack using a 12V adapter or 9V battery.

We are operating the LCD in 4-bit mode with Arduino so only the last four data bits of the LCD is connected to Arduino. The Keyboard will have 8 output pins which have to be connected from pin 0 to pin 7 as shown above. You can use the following connection to verify your connection with Arduino, you can also check 4x4 Keypad interfacing with Arduino.

"Some Arduino boards might show an error while uploading program if there is anything connected to pin 0 and pin1, so if you experience any just remove the keypad while uploading the program.

As told earlier we are going to interface an LCD and keypad with Arduino using libraries. So let’s add them to our Arduino IDE first. The library for LCD is already included in your Arduino by default so we need not worry about it. For Keypad library click on the link to download it from Github. You will get a ZIP file, then add this lib to Arduino by Sketch -> Include Library -> Add.ZIP file and point the location to this downloaded file. Once done we are all set for programming.

Even though we have used a library for using a keypad we have to mention few details (shown below) about the keypad to the Arduino. The variable ROWS and COLS will tell how many rows and columns our keypad has and the key map shows the order in which the keys are present on the keyboard

https://docs.google.com/document/d/e/2PACX-1vQIVFRbugqndpyFptAOfi3jq4QcujiIwD4UtCPS06Oz3mtt1HFbl9nZ2B642U1A8jrLpjQMi-OCs0ek/pub




WORKING

  • Make the connections as per circuit diagram and upload the code below. If it shows error make sure you have added the library as per the instruction is given below

Library Links:

https://www.arduino.cc/en/Reference/LiquidCrystal

https://github.com/Chris--A/Keypad

  • Arduino Calculator using 4x4 Keypad in action
  • Since the keypad used here does not have proper markings on it I have assumed the Alphabets to be operators as listed below.

Character on Keypad assumed to be

“D” Addition (+)

“A" Subtraction (-)

“B” Multiplication (*)

“C” Division (/)

“*” Clear (C)

“#” Equals (=)