Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 21 of 21

Thread: Touch screen advice

  1. #1
    Senior Member
    Join Date
    Apr 2019
    Posts
    119

    Touch screen advice

    I am looking for a touchscreen and a bluetooth solution to build a touchpad/controller

    Has anyone used the nextion screens ?

    Ideally a screen and enclosure solution

    Any suggestions greatly appreciated

  2. #2
    Junior Member
    Join Date
    Oct 2017
    Location
    Roskilde, Denmark
    Posts
    3
    I have used the Nextion in the past, i used the 7 inch model with capacitive touch.

    1) I was not pleased with the editor, strange issues, sporadic loss of elements on the screen.
    2) The fonts look really bad, ugly spacing between char's, no antialising.

    Br Gigabyte

  3. #3
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,316
    @gadget999 - Not me,

    Might help to have an idea of which type ones you are looking at, I see some from banggood for maybe $21 and others from $200-$300 which are probably very different.

  4. #4
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    https://www.adafruit.com/product/802

    Lots of choice over at adafruit

  5. #5

  6. #6

  7. #7

  8. #8
    Senior Member
    Join Date
    Apr 2017
    Posts
    180
    I use the heck out of the 2.4" and 2.8" inch TFT's (ILI9341) and HX8357 (3.5 inch units). I use all aspects such as graphics, SD usage and touch. I wish there were larger more affordable units. I use a combimation of adafruit buttons, my own libs, pauls font libs, etc. Not sure how i can help other than i've had very good luck with these units

    Here are 2 examples of what I use these displays for
    https://www.youtube.com/watch?v=tCUUaf6nYE8
    https://www.youtube.com/watch?v=A9F1ezGgaC4

  9. #9
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    Hi KrisKasprzak - thank you for the information

    some neat projects there esp liking the thermal camera !


    what do you use for enclosures ? 3d printing ?

    Regards

    G.

  10. #10
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,316
    Again not sure what all your requirements are. As mentioned we have done a lot of work on the ili9341 library and touch screen that PJRC sells.

    Also recently some of us have done some work on making sure the RA8875 displays work on the T3.x and T4...
    As you can see in the thread: https://forum.pjrc.com/threads/57280...rom-Buydisplay

  11. #11
    Senior Member
    Join Date
    Apr 2017
    Posts
    180
    The 3D printer I use is a makerbot we have at work. There are several online printing services that are very affordable. The software I use is Solid Edge and you can get a free download (student edition) at https://www.plm.automation.siemens.c...ftware/student. Disclaimer I work at the company that develops this software.

  12. #12
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    it looks like PJRC sell a screen !

    https://www.pjrc.com/store/display_ili9341_touch.html

    I can see some images of it with fonts - but does it do graphics like buttons etc ?

  13. #13
    Senior Member
    Join Date
    Apr 2017
    Posts
    180
    that looks like the same ones I use. drawing buttons is more dependent on the library and not the display. The library used is ili9341_t3. optimized for the teensy and supports Adafruit_GFX operations. Buttons are part of that lib. Using this lib I can create graphics, buttons, sliders, etc. jsut like what I show in my vids. I've also found a display that supports the getPixel function and I found a screen capture utility that will take a snapshot of the screen and save the image to an sd card.

  14. #14
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    Hi Kris - I have ordered one up hope to be playing with it soon

  15. #15
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    The screen arrived and i have wired it up to test the dmeo program using a nano

    the screen does not seem to work

    I originally wired it up with no resistors - have I killed it ?




    http://www.electronoobs.com/eng_arduino_tut58.php

  16. #16
    Senior Member
    Join Date
    Apr 2017
    Posts
    180
    I seriously doubt you fried your display. Send info on you pin connection and code.

    the link shows an UNO that pumps out 5 volts, the display in the link may not be 5 volt tolerant. I use the heck out of these https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

    They have resistors built in but still work. There are inline resistors to the SD card and i have to close them. and a jumper needs to get close to bypass the onboard 3v3 regulator. These units have full touch and work well.

    Note the units in my link have black headers and for soem reason this unit supports getPixel() meaning i have a screen capture function to create an image of the screen. other units with yellow headers seem to not support the getPixel()...weird.

  17. #17
    I'm using Nextion 4.3 Enhanced screens in a project. The screens work well. The Ide takes some getting used to (to put it mildly ). The latest version of the Ide has much better fonts. The support forum is hosted by several abysmal jerks.

  18. #18
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    i used a nano and wired it the same as in this link - http://www.electronoobs.com/eng_arduino_tut58.php
    the code is the same also

    i have ordered a new tft and will connect it to a T3.2 when it arrives

    is there an example wiring diagram and code for a T3.2 ?

    Regards

  19. #19
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,166
    With the picture you posted, it uses 5v from an Arduino UNO type board. The Teensy 4.0/3.x/LC all run at 3.3v. Many displays can run at either 5v or 3.3v, but you need to check what the display actually does. You likely need to feed it 5v for the power, but usually you don't have to convert the data pins to 5v. For inputs from the display (like touch screen), you need to make sure the display never returns anything over 3.3v or you might fry your Teensy LC, 3.6, or 4.0 (the 3.2 and 3.5 are tolerant of 5v on digital inputs).

    PJRC.com sells its own ILI9341 TFT display and there are optimized libraries for it. I would imagine the same pinout would be used on your display, but the pins may be in a different order.:


    I have seen complaints that a lot of the random displays that you buy on ebay, amazon, or at buydisplay.com just don't work. So you need to test them.

  20. #20
    Junior Member
    Join Date
    Aug 2019
    Location
    Melbourne Australia
    Posts
    9
    Users might like to check out intelligent touch screens offered here:- https://4dsystems.com.au/products/featured-products

    More expensive than the Nextions so I guess you'd weigh up $ per hour in time spent hair-tearing versus a few more $ invested for what looks like a well supported range of products..

  21. #21
    Senior Member
    Join Date
    Apr 2019
    Posts
    119
    Quote Originally Posted by MatrixRat View Post
    Users might like to check out intelligent touch screens offered here:- https://4dsystems.com.au/products/featured-products

    More expensive than the Nextions so I guess you'd weigh up $ per hour in time spent hair-tearing versus a few more $ invested for what looks like a well supported range of products..
    wow they look really neat and come with built in wifi !

Posting Permissions

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