กลับไปหน้ารวมไฟล์
input-text-into-your-arduino-code-using-5-key-keyboard-f1e6d6-en.md

This project will show you how a 5-key keyboard works. Also, we would use it to create a device to input text into your Arduino projects. Hope you would find it useful.

EXPANDED TECHNICAL DETAILS

User Interface Logic

Entering alphabetic text with only 5 buttons requires a "T9" or "List-based" selection logic.

  1. Vertical Navigation: Two buttons (Up/Down) cycle through the character set (A-Z, a-z, 0-9, and symbols).
  2. Horizontal Navigation: Two buttons (Left/Right) move the cursor within the string.
  3. Confirmation: The fifth button acts as "Enter" or "OK" to finalize the string.

Hardware & Protocol

  • Display: The SSD1306 OLED is an I2C-based display with 128x64 resolution. It is used to show a "virtual keyboard" or a scrollable character list alongside the currently typed string.
  • Button Debouncing: The 5-key keyboard is handled in the firmware to prevent phantom presses. It can be implemented using individual digital pins or as a single analog input with a resistor ladder (where each keypress produces a unique voltage level).

Use Cases

This hardware module is perfect for projects that require on-site configuration without a PC, such as:

  • Setting WiFi SSIDs and Passwords.
  • Entering filenames for data logging on an SD card.
  • Configuring timer durations or threshold values in standalone control systems.

The full tutorial can be found here:

If you like this content and you want to support me in creating similar videos go to my Patreon webpage

https://www.patreon.com/MariosIdeas

Or Paypal

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7PD67JWZ9S3EJ&source=url

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE 2.0 (beta)"
author: "Dziubym"
category: "Screens & Displays"
components:
  - "1x Arduino Nano R3"
  - "1x 5 key keyboard"
  - "1x OLED I2C SSD1306 Display"
description: "I will show you how to create device to enter text input into your arduino projects using 5 key keyboard and OLED display"
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX18wxuovnX3g2RxLrdhN5hFU0msbd/EMcyVCyr9tTIM+WEqiRCRk2MaQklWgijqoolWrU7aEfjYgK4buu4Cdtq6hkDQmu3+osnU="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/input-text-into-your-arduino-code-using-5-key-keyboard-f1e6d6_cover.jpg"
lang: "en"
likes: 0
passwordHash: "7f36065b141f1726b895b436b17ced59ef716a82aaf473a5aebb6d54ae7009fe"
price: 870
seoDescription: "Learn how to enter text input into your Arduino projects using a 5 key keyboard and OLED display."
tags:
  - "oled"
  - "text input"
  - "keyboard"
title: "Input text into your arduino code using 5 key keyboard`"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/tpUkqxKpRVE"
views: 1424