EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / Hi Ayush8051 has two 16 bit

Hi Ayush8051 has two 16 bit

|

Hi Ayush8051 has two 16 bit

February 21, 2017 at 1:06 pm #14472
GANEEV SINGH
Participant

Hi Ayush

8051 has two 16 bit timers i.e. TH/L0 and TH/L1, here H/L corresponds to high/low byte of respective timers. Displaying their values on LCD is a not a difficult task, just make sure that they are transferred correclty; I mean they are 16 bit in length so you need to transfer them twice (one byte at a time). Also make sure that you first convert them into charachter type since LCDs need char input. You can make use of sprintf() of stdio.h file for the same. 

I am sharing with you link of a  project which involves how to interface LCD with 8051:

"engineersgarage.com/microcontroller/8051projects/display-text-LCD-AT89C51-circuit"

Hope this helps :)

RSS Recent Posts

  • volkswagen car stereo model rcd310 December 11, 2025
  • Dog fence help December 11, 2025
  • anyone recognizes this laser diode? December 10, 2025
  • How to power motors for lumbar support? December 10, 2025
  • EEPROM not being written or read on dsPIC30F2010 December 10, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise