How to use DT070BTFT-PTS1Touch Display with any SBC

Hi:
Any one using this DT070BTFT-PTS1 with any SBC ? In my mind for HMI in PLC world, it is rather very simple.
For the above brand, it provided some header files, which are kind of hard to comprehend. In my mind that display should be out of the way and let user spend more time in coding. Any one use that touch screen and please share your experience and way to deal with it.

Thanks

Hi @simon.ongsk ,

Looking at the data sheet:

I would add an entry into panel-simple.c

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/panel/panel-simple.c

The touchscreen should be supported by:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/edt-ft5x06.c

Regards,

Hi @RobertCNelson:
May i know firstly , are you doing a lot of BeagleBone stuff ? I read a lot of BBB in forum on Qt cross compiling BBB, are you the RobertNelson :grinning:?

                            I would add an entry into panel-simple.c

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/panel/panel-simple.c

The touchscreen should be supported by:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/edt-ft5x06.c

That look like driver to me, am i right? Need to compile? If the SBC is loaded with Yocto, that 2 drivers need to be included?

Hi @simon.ongsk , Yeap, you found me! :wink:

Correct, both those are driver’s you’ll need to enable in your Yocto Kernel config (and add your lcd to the panel driver)… You’ll also need to setup the pinmux for your device in the device tree, along with enabling those two drivers…

Regards,

Hi @RoberCNelson:
Great to “see” you again!

Correct, both those are driver’s you’ll need to enable in your Yocto Kernel config (and add your lcd to the panel driver)… You’ll also need to setup the pinmux for your device in the device tree, along with enabling those two drivers…

that hard for me to gasp. I know some basic, but to do all this really is non productive at all… :rofl: but what is say i just use a converter example ILITEK Touch Screen Driver Controller | Green Touch Malaysia
or https://www.3gi.com.tw/touch-panel-controller-rs232-ps2-usb-i2c.htm
or something similar, I should be able to escape from the above nightmare, correct?

Simon

Hi @simon.ongsk , the ‘touchscreen’ part of that display is actually pretty easy, you’ll need to setup a i2c node like this:

The video part is a little more complex (on am335x)

Just note, depending on your architecture, the video section will be different…

Regards,

The above setup is only for BBB or it is a standard setup in general for all?
Are you with DigiKey ? I would like to have some “serious” and professional :sunglasses: recommendation from you. Here it goes:

I need a production grade SBC (not raspiBBB) : the requirement are simple
a) 2 RS232 + 1 Rs485 or 3 RS232 (I may need a converter from 232 to 485), i have budget for a good one
if possible without using shifter.
b) 7" Capacitive Touch Screen ( DT070BTFT-PTS1)
c) if possible industrial grade as units will be running 24/7
d) minimum 2 USB host.
e) HDMI port
f) Yocto with Qt

Now: One more question about USB Host :grinning: In theory it should behave like usual USB Host, If plug in a USB device with driver installed , it should work like magic. correct ? But not for Yocto, do you ever try with a USB to RS232 or RS485 converter with SBC with Yocto?

The touch screen i2c syntax would work for most other SBC’s. The Video section is tied to the am335x video, other SBC’s would have something similar, but slightly different.

Do you want to build/design a board around a SOM, or just something industrial ready to go?

For a SOM, this would be a nice base:

It’s just missing HDMI.

Otherwise for an out of box solution, we have so many boards now! :wink:

https://www.digikey.com/short/b81br3f2

Do you have a form size perference?

Yocto usually does a very minimal kernel build, just make sure you have the driver enabled for your usb to rs232 module.

Regards,

Do you have a form size perference? No, but of course 3.5" will be ideal. Do you have any specific brand in your mind beside Digi?

Thanks

Do you want to build/design a board around a SOM, or just something industrial ready to go?
SOM should be good. well even the commercial temperature of 0 to 60 or 70 will be good enough. Another thing about SBC , making cabling with the tiny molex connectors will be extremely delicate :sweat_smile:

Regards