SSD1289 touch TFT screen?


  • Mod

    Has anyone used a SSD1289 TFT screen with MySensors? If so, with what Arduino and what libraries? Looks like it needs a lot of io pins, so connecting the screen and a nrf24l01+ at the same time seems tricky.
    http://www.ebay.com/itm/3-2-TFT-LCD-Module-Touch-Panel-240-x-320-Dots-37pins-SSD1289Z-/171067156573

    According to http://www.geeetech.com/wiki/index.php/3.2TFT_LCD it can be used with the 14 digital pins available on the Uno, but that leaves zero pins for the radio. A Leonardo might do, or a Mega.

    Are there any other cheap touch screens available?


  • Hardware Contributor

    @mfalkvidd: hi.

    sorry I can't help you with this screen. I don't have one.

    But I have played a little with Nextion hmi screen. https://www.itead.cc/display/nextion.html
    for my job, I needed a gui to set and monitor process. And it has boosted my dev. I was able to focus on the sketch part instead of spending time to coding my gui, managing everything in sketch...

    Nextion is more expensive, but not too much I think. it depends..

    • rs232 serial. Lib hard or soft.
    • a gui generator software available which, even if it rather basic, has lot of feature to boost the dev and you can focus coding your sketch functionality 😉
    • easy to use when you have understood how it works. not difficult.

    How it works basically:

    • you use a software to create the gui, then you can upload it via serial or put the gui file on a sdcard (there is a sdcard reader onboard). Then the gui part is stored onboard mcu.
    • On Arduino side. you create objects related to the name of your gui controls (buttons/sliders/fields...)
    • another nice small thing too, if for instance, you want to change pictures, or others things which doesn't involve your arduino sketch, you can reupload just the gui with sdcard in the tft.
    • of course, gui generator is not perfect...but there is one.
    • ...

    I remember when I used tactile screen years ago, and had to make guis on my own. Finally, I ended up by making my own generator. and now it's so easy with this tft 😃
    I have not tested with mysensors yet. I don't know It should work, I don't see why not. maybe memory footprint of your application.

    Just my thought...a good ref to know 😉


  • Mod

    Thanks for recommending the Nextion @scalz. It looks interesting.

    Update:
    The SSD1289 screen arrived last week and today I got the touch functions working. I am using the UTouch library.

    I haven't tried to get the screen showing anything yet (I am using the touch only) because the screen requires too many pins to be controlled from a Pro Mini. (Full functionality of this screen will require a whopping 29 IO pins!) Have ordered a Leonardo and will probably have to wait for it to arrive.

    Staying within the 32k flash limit is also really hard.


  • Hardware Contributor

    @mfalkvidd: hi. about pin number it is strange..It's a uart screen. It only needs TX, RX, 5V.
    I use it HardwareSerial or SofwareSerial. With iteadlib or nextionlib from ide/libs.
    For flash limit you are right... but you can do things as all pics and ui are stored on the screen board. Maybe, this would need an arm mcu, esp... for more memory.

    Then, you can design your ui wallpaper/screen/button with photoshop, powerpoint....use the itead gui generator to import it, place some buttons...button/objects names in ui are related to the code in sketch. And in sketch a polling function listen for incoming serial and you use callback for each events...


  • Mod

    @scalz sorry for confusing you. The SSD12890 arrived. I have not ordered Nextion (yet). I have edited my post to clarify which screen I'm using.


  • Mod

    New update:
    It turns out that the screen that was called SSD1289 really isn't a SSD1289. It is a 16-bit ILI9341. I modified the UFTF library according to the instructions in https://forum.arduino.cc/index.php?topic=325106.0 and it works!

    I am able to run the screen using an Arduino Pro mini, utilizing all controllable pins (including the pins otherwise used for the serial port, so no debugging). My breadboard now has 70 wires❗

    Demo: https://www.youtube.com/watch?v=XRL6oWHUSMg&feature=youtu.be


Log in to reply
 

Suggested Topics

  • 87
  • 2
  • 6
  • 8
  • 3
  • 7

74
Online

11.4k
Users

11.1k
Topics

112.7k
Posts