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 / joystick poling and interfacing

joystick poling and interfacing

|

Microcontroller › 8051 › joystick poling and interfacing

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 4 months ago by Ashutosh Bhatt.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 29, 2014 at 12:38 pm #3131
    Darpan
    Participant

    hey everyone,

    im trying to interface joystick with P89v51rd2..im using an ADC 0808 to convert the analog joystick voltage into digital.

    For each x and y axis it requires a separate adc input channel. My question is how am i suppose to poll two simultaenous lines of ADC to accordingly activate a single channel..kindly help. IM STUCK HERE. Thankyou

    June 30, 2014 at 9:58 am #11866
    Ashutosh Bhatt
    Participant

    it is simple. you have to do multiplexing. TDM.

    first select channel 1 of ADC.

    do conversion

    save value as x

    now select channel 2

    again do same conversion

    save value as y

     

    do it so rapid (5 to 10 samples/sec) that it will treat the process as continuous.

    you can do even more faster.

  • 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

  • Measuring controller current output with a meter November 18, 2025
  • need help in photodetection TIA circuit November 18, 2025
  • Anyone In The US Ordered From AliExpress Recently? November 17, 2025
  • Can a small solar panel safely trickle-charge old NiMH AA batteries? November 17, 2025
  • Have a ultrasonic washer but not knowing what detergent for cleaning soot November 17, 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