Pic Basic TouchScreen? How?


Closed Thread
Results 1 to 19 of 19
  1. #1
    Join Date
    Mar 2008
    Posts
    43

    Lightbulb Pic Basic TouchScreen? How?

    Hey.
    I want to ask if some of you guys know anything to control a TouchScreen without using a ADC Chip, just the PIC A/D Inputs (I'm using PIC2550)

    Hope you can help me out with my 4 wire TouchScreen

    Best Regards
    Thomas Jespersen

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yes........
    more details=more chance to have help. resistive, capacitive, UFO driven or what? Any model/brand ?

    I got some from CircuitEd.
    Last edited by mister_e; - 12th April 2008 at 10:48.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    I don't want to buy it form CircuitED as the freight cost is so expensive as i live in Europe
    But if it was cheaper (the freight) then i would like to buy the RGB GLCD With TouchScreen!

    But i've found this instead, and it's from a shop in Europe, so it's perfect

    This is the datasheet for the TouchScreen: http://www.mikroe.com/pdf/touch_scre...cification.pdf
    And if you look at nearly the bottom of this page, you see
    Graphic LCD 128x64 with TouchScreen | $24.00USD

    Thank You

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Seems to be the same i have.. It's a Resistive one, the GLCD controller is this Grandpa KS0108.

    The following could give you few hints...
    http://www.hitachi-displays-eu.com/d...Technology.pdf
    http://www.eetindia.co.in/ARTICLES/2...URCES=DOWNLOAD
    http://www.monolitic.com/esp/Notas/t..._resistivo.pdf
    http://www.sfcompiler.co.uk/wiki/pmw...er.TouchScreen
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking I want some precision, but with POT or RCTime commands ...

    Hi, Thomas

    you,ve the "official" scheme on the MkE Databook for EasyPic boards...

    Alain
    Last edited by Acetronics2; - 13th April 2008 at 09:49.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Thumbs down

    Yes but you really don't need all of those extra transistors, resistors, capacitors stuff...

    If you carefully read and understand the documents above, you'll see how easy it is.

    I think SteveB already post a code snip for that last year or so. I Haven't compared mine with his one yet.

    One more
    http://electronix.ru/forum/index.php...=post&id=18229

    Another one? Why not
    http://www.circuitcellar.com/avr2004...86abstract.pdf
    Last edited by mister_e; - 13th April 2008 at 10:04.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking

    Hi, Steve ...

    When it works fine ... I consider the solution as GOOD !!!

    No extra brain twist required ... LOL !

    May be ... just have a better-than-genuine data acquisition ( just move stylus quickly, and you'll understand what I mean ... hé,hé ! )
    May be ... also some better linearity enhancements ???

    Alain
    Last edited by Acetronics2; - 13th April 2008 at 10:16.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Talking

    yeah but where's the fun using copy/paste ?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #9
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking

    No need to re-build the world ... just enhance it gives enough work for everyone ... !!!

    Alain
    Last edited by Acetronics2; - 13th April 2008 at 10:16.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  10. #10
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    The last one is the only with a code snippet, but it isn't in PBP!
    but i will try and read all the documents, but i am not good at ADC in PBP ;-)

  11. #11
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default TouchScreen Controller

    What does this do, and would it be easier to use a touchscreen if i buy this:
    http://www.mikroe.com/en/tools/touchcont/

  12. #12
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    It's exactly the same draver as Alain's EasyPIC 5 board.

    It may help.. but i stand to tell you don't need it.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  13. #13
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    It's exactly the same draver as Alain's EasyPIC 5 board.

    It may help.. but i stand to tell you don't need it.
    But if i don't buy that, i would need to make a circuit who are correcting the Touch Values into the 0-5V range, right?
    But do you have a PBP Example, because you sounds like you know alot, as i don't!

  14. #14
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Begin with the following...

    http://www.picbasic.co.uk/forum/show...44&postcount=7

    Then send your results to your PC or any LCD, then try to understand what happen.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  15. #15
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Begin with the following...

    http://www.picbasic.co.uk/forum/show...44&postcount=7

    Then send your results to your PC or any LCD, then try to understand what happen.
    Then what if i use that touchscreen controller, then i shouldn't High any ports, should i?

  16. #16
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yes, you'll still need to play with high/low, ADC conversion etc etc... hence why i told you that you don't need it.. even your new compiler haven't it built-in
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  17. #17
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Yes, you'll still need to play with high/low, ADC conversion etc etc... hence why i told you that you don't need it.. even your new compiler haven't it built-in
    New Compiler?
    But could you please look at this datasheet, and tell me what ports that should go to what (X+, X-, Y-, X- as there is in the PBP code, but this have some others)
    http://www.mikroe.com/pdf/touchpanel...matic_v102.pdf

  18. #18
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    But could you please look at this datasheet, and tell me what ports that should go to what
    ??????

  19. #19
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    But could you please look at this datasheet, and tell me what ports that should go to what
    See your other thread of endless how-to posts...

Similar Threads

  1. Sending Commands from Visual Basic about IR to Pic
    By tne_de in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th April 2009, 06:09
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. using AND as an IF statement
    By dw_pic in forum mel PIC BASIC
    Replies: 27
    Last Post: - 8th June 2006, 18:05
  4. vb6 to pic basic
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th December 2005, 01:56
  5. The Ultimate PIC Basic
    By picnaut in forum PBP Wish List
    Replies: 4
    Last Post: - 9th November 2004, 22:10

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts