Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Projects
  3. ›Queue token display

Display & LED projects

"Now serving" queue display on a 128x64 graphic LCD

A big token number for a clinic, canteen or office counter: press Next and a chime sounds.

By Geekobot Learning Team

Beginner
Difficulty
2 hours
Build time
₹9,029
Parts cost
13
Parts
Arduino
Platform
Add all parts · ₹9,029Start building
  • Workshop & industry
  • Learning & classroom
23.5°C 61%STATUS OKUNO
Tap a part to see what it does
OverviewPartsWiringBuildCodeTroubleshootFAQIdeas

What you'll build

A 128x64 graphic LCD (ST7920) can draw large digits that are readable across a room. The Uno talks to it over three wires in serial mode with the U8g2 library. Two buttons step the token forward or back, and a buzzer chimes. A DWIN or Nextion touch screen, or a receipt printer for tokens, can be added later.

What you'll learn

  • Driving an ST7920 graphic LCD in serial mode
  • Big fonts with U8g2
  • Debouncing buttons
Safety

Mount the display and wires so people cannot pull them at the counter.

  1. InputNext and Back buttons
  2. ThinkUno counts the token
  3. ActGraphic LCD and a chime

Parts list

Tick anything you already have and the total updates.

PartQtyPrice
  • UNO
    Uno R3 CH340G ATmega328p Compatible Development Board
    GB-SBCD-0329Guide

    Runs the display

    × 1₹204₹204
  • 128×64 Graphic LCD (ST7920 / KS0108)
    GB-DISP-0023Guide

    128x64 graphic LCD (ST7920)

    × 1₹450₹450
  • DFRobot Gravity Digital Push Button Green – 3.3V/5V Digital Interface
    GB-SENS-2957

    Push buttons for Next and Back

    × 2₹418₹418
  • Passive Piezo Buzzer, 5V
    GB-AUDO-0023

    Passive buzzer for the chime

    × 1₹9₹9
  • 16mm Rotary Potentiometer (Linear)
    GB-PASV-0003Guide

    Contrast adjustment (if your board has no trimmer)

    × 1₹14₹14
  • 128x64 FSTN Graphic LCD Module (ST7565R)
    GB-DISP-0134

    128x64 ST7565 graphic LCD, a thinner alternative

    × 1₹458₹458
  • Nokia 5110 LCD Module (84x48)
    GB-DISP-0004Guide

    Nokia 5110 screen for a desk-size version

    × 1₹269₹269
  • DWIN 3.5" HMI Smart Display
    GB-DISP-0009Guide

    DWIN 3.5 inch HMI touch screen for a counter panel

    × 1₹849₹849
  • Nextion HMI Touch Display
    GB-DISP-0032

    Nextion HMI touch display

    × 1₹2,697₹2,697
  • Elecrow CrowPanel ESP32 HMI Display
    GB-DISP-0030

    ESP32 HMI display that can show the queue over Wi-Fi

    × 1₹2,079₹2,079
  • Rongta RP203 58mm Thermal Receipt Printer with Case
    GB-DISP-0141

    58 mm receipt printer for paper tokens; check its interface before connecting

    × 1₹1,515₹1,515
  • Solderless Breadboard
    GB-PROT-0001Guide

    Holds the parts without soldering

    × 1₹18₹18
  • Dupont Jumper Wires (40 pcs)
    GB-WIRE-0001Guide

    Connects the parts

    × 1₹49₹49

Complete kit

13 of 13 parts in one tap

₹9,029

GST included

3% off these parts while the whole kit stays in your cart

Parts you still need

₹9,029

13 of 13 parts. Tick anything you already have.

About ₹2,70,870 before bulk pricing for 30 kits.

Request bulk quote

Learn the parts

  • Atal Tinkering Lab (ATL)
  • Monochrome Graphic LCD Modules
  • 16x2 LCD with I2C
  • Nokia 5110 LCD
  • Nextion and DWIN HMI Touch Displays
  • Arduino Uno

Calculators for this build

  • Voltage divider calculator
  • Standard resistor value finder (E-series)
  • ADC resolution and voltage calculator

Wiring

Follow the colours: red is power, dark grey is ground, blue is a signal.

PartPinConnect toNote
ST7920 LCDVSS / VDDGND / 5V
ST7920 LCDRS (CS) / R/W (data) / E (clock)D10 / D11 / D13
ST7920 LCDPSBGNDLow selects serial mode
ST7920 LCDBLA / BLK5V / GNDBacklight; some boards need a resistor
ButtonsNext / BackD2 / D3Other side to GND; INPUT_PULLUP
Buzzer+ / −D8 / GND
  • ST7920 LCDVSS / VDD → GND / 5V
  • ST7920 LCDRS (CS) / R/W (data) / E (clock) → D10 / D11 / D13
  • ST7920 LCDPSB → GNDLow selects serial mode
  • ST7920 LCDBLA / BLK → 5V / GNDBacklight; some boards need a resistor
  • ButtonsNext / Back → D2 / D3Other side to GND; INPUT_PULLUP
  • Buzzer+ / − → D8 / GND
Built it? Check your wiring before you power up.Pick the pin each wire went to and we'll point out swapped pins, power mistakes and pins that clash.

Step-by-step build

0 of 5 done

Code

queue_display.inoVerify & upload in Electrolark
#include <U8g2lib.h>
U8G2_ST7920_128X64_F_SW_SPI lcd(U8G2_R0, 13, 11, 10, U8X8_PIN_NONE);   // clock, data, CS
const int NEXT = 2, BACK = 3, BUZ = 8;
int token = 1;

void show() {
  lcd.clearBuffer();
  lcd.setFont(u8g2_font_6x12_tr);
  lcd.drawStr(28, 10, "NOW SERVING");
  lcd.setFont(u8g2_font_logisoso42_tn);
  char s[5]; sprintf(s, "%d", token);
  int w = lcd.getStrWidth(s);
  lcd.drawStr((128 - w) / 2, 60, s);
  lcd.sendBuffer();
}

void chime() { tone(BUZ, 880, 150); delay(180); tone(BUZ, 660, 250); }

void setup() {
  pinMode(NEXT, INPUT_PULLUP); pinMode(BACK, INPUT_PULLUP);
  lcd.begin();
  show();
}

void loop() {
  if (digitalRead(NEXT) == LOW) { token = token % 999 + 1; show(); chime(); while (digitalRead(NEXT) == LOW) delay(10); delay(50); }
  if (digitalRead(BACK) == LOW && token > 1) { token--; show(); while (digitalRead(BACK) == LOW) delay(10); delay(50); }
}

Run it: what this code does

The sketch above runs here on a simulated Arduino Uno. Move the sliders for the sensors and buttons it reads, and watch the Serial monitor, display and outputs change.

Troubleshooting

Screen lights but stays blank+

Turn the contrast trimmer slowly through its whole range; check PSB is tied to GND.

Random dots on the screen+

Keep the data wires short and add a 100 nF capacitor across VDD and VSS.

Number jumps by two+

The button bounces; the code waits for release, so check the button is wired to GND, not 5 V.

FAQ

Can a KS0108 screen run this code?+

Not as is: it uses a parallel bus. U8g2 supports it with a different constructor and more wires.

Can two counters share one display?+

Yes, with an extra pair of buttons and a counter number on screen.

Can it announce numbers by voice?+

Add a DFPlayer Mini with recorded numbers for a spoken call.

What parts do I need to build the "Now serving" queue display on a 128x64 graphic LCD?+

13 parts: Uno R3 CH340G ATmega328p Compatible Development Board, 128×64 Graphic LCD (ST7920 / KS0108), 2 × DFRobot Gravity Digital Push Button Green – 3.3V/5V Digital Interface, Passive Piezo Buzzer, 5V, 16mm Rotary Potentiometer (Linear), 128x64 FSTN Graphic LCD Module (ST7565R), Nokia 5110 LCD Module (84x48), DWIN 3.5" HMI Smart Display, Nextion HMI Touch Display, Elecrow CrowPanel ESP32 HMI Display, plus 3 more. On this page you can tick the parts you already have and add only the rest to your cart.

How hard is it and how long does it take?+

It is a beginner project and takes about 2 hours. The build on this page has 5 steps.

Can I see what the code does before I build it?+

Yes. The Run it panel under the code runs this exact sketch on a simulated board. Move the sliders or press the buttons for the sensors it reads, and the Serial monitor, display and outputs react as they will on the real build. It is a simulation, so real readings depend on your parts and wiring.

How much does the "Now serving" queue display on a 128x64 graphic LCD cost to build?+

About ₹9,029 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.

What will I learn from this project?+

Driving an ST7920 graphic LCD in serial mode; Big fonts with U8g2; Debouncing buttons.

Is it safe to build?+

Mount the display and wires so people cannot pull them at the counter.

What can I build next with these parts?+

Ideas that reuse this build: Conveyor box counter. They are listed under Take it further on this page.

Take it further

  • Conveyor box counter

Related projects

  • NANO
    Display & LED
    Beginner· 1 hour

    Remote-controlled RGB mood light

    Warm, cool, rainbow or breathing: cycle lighting moods from your sofa.

    ₹375 · 6 partsArduino
  • UNO
    Display & LED
    Beginner· 1 hour

    Electronic dice on an LED matrix

    Press to roll: the pips tumble and slow down before landing on a number.

    ₹413 · 6 partsArduino
  • NANO12:30
    Display & LED
    Beginner· 1 hour

    Reaction timer game

    Wait for the light, hit the button: how many milliseconds can you beat?

    ₹362 · 7 partsArduino
  • NANO12:30
    Display & LED
    Beginner· 1 hour

    Digital clock with real-time clock

    A bright 4-digit clock that keeps time through power cuts.

    ₹432 · 5 partsArduino

Learning project. Check every circuit and the datasheet of each part before you power it up.

Run itChange the inputs and watch the output
NOW SERVING

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question Share your build