1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

touch screen based wheel chair using 89c52

Discussion in '8051/8951' started by PARMAR DEEPAK, Mar 3, 2015.

  1. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    Dear,
    how to read the coordinate of touch screen?That is 4 wire resitive touch screen.
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
  3. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    but how to interface 4 wire resistive touch screen with ADC0808?
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK

    You need two ADC channels one to read the X and Z values and one to read the Y values... You also need to switch in a positive to each plate... The ADC has eight channels but no way of swapping the positive supply.... Go to MikroElectronica and look at this book... The last example has a simple switching circuit.. http://www.mikroe.com/chapters/view/17/chapter-4-examples/
     
    • Like Like x 1
  6. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    dear,
    how will supply be given to touch screen.And how will ADC0808 give the digital output.
     
  7. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
    I drew up a circuit using a 4053... with a single ADC connected to a 8052 micro..

    When A,B & C on the 4053 are low... You will be reading the X axis... When all three are high you will read the Y axis.

    Unfortunately, you won't be able to read the z axis, as I cannot swap a Ground for a positive... It could be done if you supply a positive to the X axis whilst the 4053 is switched away from the ground...
     

    Attached Files:

    • Like Like x 2
  8. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    Dear
    tell me about this pot.I don't know how to connect it.
     

    Attached Files:

  9. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
    I would imagine that A is the wiper.... All you need to do is check it with a multimeter.. Its a 50k trimmer so from B ~ C that will be the resistance... A will vary from one to the other!!
     
  10. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    dear how to make own touch screen panel
     
  11. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
    ?????.. No idea... Its resistive clear plates... I can't imagine making one...
     
  12. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    Dear how can i make my own ROM burner kit hardware for AT89s52.I wanna burn code using keil software.please tell me the ckt diagram for ROM burner kit
     
  13. Tony Stewart

    Tony Stewart Well-Known Member Most Helpful Member

    Joined:
    Aug 31, 2012
    Messages:
    3,151
    Likes:
    281
    Location:
    Richmond Hill , ON Canada near Toronto
  14. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
    Honestly... The easiest way is to use P89c52RD2 from phillips... You can use the internal bootloader..

    The at89s52 can be programmed serially with a home brew circuit.. One of which looks like this. http://ece.jagansindia.in/2012/01/isp-programming-kit-for-at89s952-and-avr-seires/

    I have found that its best to use the circuit that the burner software recommends.. So if you look on Keil's web site you should find such schematic..
     
    • Like Like x 1
  15. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    how microcontroler will know that the touch screen is touched.
     
  16. Tony Stewart

    Tony Stewart Well-Known Member Most Helpful Member

    Joined:
    Aug 31, 2012
    Messages:
    3,151
    Likes:
    281
    Location:
    Richmond Hill , ON Canada near Toronto
    • Like Like x 1
  17. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    but i am using 89s52 uc.how this will work with touch screen
     
  18. Tony Stewart

    Tony Stewart Well-Known Member Most Helpful Member

    Joined:
    Aug 31, 2012
    Messages:
    3,151
    Likes:
    281
    Location:
    Richmond Hill , ON Canada near Toronto
  19. Tony Stewart

    Tony Stewart Well-Known Member Most Helpful Member

    Joined:
    Aug 31, 2012
    Messages:
    3,151
    Likes:
    281
    Location:
    Richmond Hill , ON Canada near Toronto
    Last edited: Mar 17, 2015
  20. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,157
    Likes:
    907
    Location:
    Rochdale UK
  21. PARMAR DEEPAK

    PARMAR DEEPAK New Member

    Joined:
    Mar 3, 2015
    Messages:
    9
    Likes:
    0
    yes i m using resistive touch and using 4053 i am able to read the coordinate but how will 89s52 take decision. pls help me in coding
     

Share This Page