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 / Topics / ADC 0804 interfacing with 89c51

ADC 0804 interfacing with 89c51

|

Microcontroller › 8051 › ADC 0804 interfacing with 89c51

  • This topic has 1 reply, 2 voices, and was last updated 14 years, 7 months ago by jani jigar.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 4, 2011 at 5:21 pm #1295
    Tushar Desai
    Participant

    Im unable to interface adc 0804 with 89c51….plz help….can sum1 upload a valid code.

    October 5, 2011 at 7:48 am #6671
    jani jigar
    Participant

    Hi tushar.. Here I am giving u simple codes, Hope that it’ll b useful 2 u.

     

    RD BIT P2.5

    WR BIT P2.6

    INTR BIT P2.7

    MYDATA EQU P1

    MOV P1,#0FFH

    SETB INTR

    BACK: CLR WR

                 SETB WR

    HERE: JB INTR,HERE

               CLR RD

               MOV A,MYDATA

               ACALL CONVERSION  ; u have to make a conversion subroutine for hex to ascii conversion.

               ACALL DISPLAY             ; likewise … for display

               SETB RD

               SJMP BACK

     

     

     

    Repl me whether it works or not.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • reviving old swordfish program but? May 17, 2026
  • Assistance locating a 'trail' camera gadget, please ? May 16, 2026
  • Analog multiplexer has gone obselete May 16, 2026
  • Difference between TTL, RS232 and RS485 May 16, 2026
  • Smart Buoy project May 16, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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