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 interfacing with 8051uc

ADC interfacing with 8051uc

|

Microcontroller › 8051 › ADC interfacing with 8051uc

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 1 month ago by Ashutosh Bhatt.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 1, 2014 at 6:32 am #3005
    Dhvanil shah
    Participant

    hi

    I am doing the project of water level conroller.If i am doing only adc then i will get the answer.

    In water level i have maintain the lowest and highest level.for that lowest level my adc pattern is 15h and the highest level my adc pattern is 0ffh.

    As a final control element i will use the relay.

    I willm get the only one answer that is 15h.when i cahange the dloat position i will not getthe change in adc while connectn with the 8051.My program is

    org 0000h

    mov p1,#0ffh

    acall adc

    mov a,p1

    l3:cjne a,#15h,l2

    setb p3.3

    l2:cjne a,#0ffh,l3

    clr p3.3

    adc: setb rd

    setb intr

    clr wr

    here: jb intr,here

    clr rd

    end

     

    April 1, 2014 at 2:39 pm #11440
    AJISH ALFRED
    Participant

    Ok. So what is your question actually ?

    Please make it more understandable for others, so that they can help you better.

    April 1, 2014 at 4:09 pm #11442
    Dhvanil shah
    Participant

    my question is when i am connect 8051uc with my data cannot change.My data is only 15h which is my lowest float position.with the change in float position my data remain 15h.

    April 2, 2014 at 9:15 am #11445
    Ashutosh Bhatt
    Participant

    my friend you dont need ADC at all.

    float gives only two values 0-low or 1-high. you can directly detect this level change through micro controller pin.  but if your float is somewhat different read its manual, to understand its operation

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

RSS Recent Posts

  • Assistance locating a 'trail' camera gadget, please ? May 16, 2026
  • reviving old swordfish program but? 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