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 / interfacing adc 0804 with 89c51 simulation problem

interfacing adc 0804 with 89c51 simulation problem

|

Microcontroller › 8051 › interfacing adc 0804 with 89c51 simulation problem

  • This topic has 0 replies, 1 voice, and was last updated 13 years, 8 months ago by epple.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • November 6, 2011 at 8:03 am #4751
    epple
    Participant

    hi. i have a problem in simulation am using protues and have done coding in keil assembly language. adc is connected to p2 of 89c51 and i want to move the data from p2 to p3 ,as i change the value from variable resistor the values on data bits changes but am not getting output on p3. here is code and simulation jpeg. please help me :(

    ; ADC port using port 2
    ; WR ADC port 1.1
    ; RD ADC port 1.0
    ; CS ADC connect to ground
    ;=================================================

    org 00h
    mov p2, #0ffh
    ADC:
    clr P1.1
    nop
    nop
    nop
    setb P1.1
    eoc:
    jb P1.3,eoc
    clr P1.0
    mov A,P2
    mov p3,A
    setb P1.0
    sjmp ADC

    end

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

RSS Recent Posts

  • Faulty heat air gun (dc motor) - problem to locate fault due to Intermittent fault July 19, 2025
  • Fun with AI and swordfish basic July 19, 2025
  • Does US electric code allow branching ? July 19, 2025
  • Sump pit water alarm - Kicad 9 July 19, 2025
  • turbo jet fan - feedback appreciated. July 19, 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