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 / ofcourse data received is

ofcourse data received is

|

Microcontroller › 8051 › how to display a 4-digit numeric data on 7-seg displays with variable data at receiver › ofcourse data received is

March 4, 2012 at 6:20 am #7226
Snehal
Participant

ofcourse data received is from LSB.

 

Herein,first of all i hav to communicate with dial guage through rs-232. the reading on dial guage is received at Rxd which is supposed to be stored at sbuf. As received data is ASCII.first convert it to HEx by anding with 0x7Fh & comparing fo carriage return i.e CJNE 0x0D& store it at some memoy location.

later division is to be carried out so as to separate each digit by dividing d 4-digit data with 1000,100,10 respectivly.after evry DIV opration data in A is sent to disp being selcted by transistor selection & the remainder stored in B is carried to next DIV instruction by sending it to Acc.

i hav also stoed a look-up table at dptr with 0-9 hex values. 

n virtual terminal connected is supposed to be dial guage just to carry out simulation

RSS Recent Posts

  • Can I make two inputs from one?? June 21, 2025
  • using a RTC in SF basic June 21, 2025
  • Help with finding unique wire lug(s) June 21, 2025
  • Simple LED Analog Clock Idea June 21, 2025
  • Kawai KDP 80 Electronic Piano Dead June 21, 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