tontec 7 raspberry pi lcd touch screen display made in china
Place the largest green board in front of you below the screen. The power plug, HDMI port, VGA port, and composite video port should face the bottom edge (nearest you). The "TTL OUT" port should be at the top edge (furthest from you). It will be upside-down. Connect the screen"s ribbon to the TTL OUT port, lining it up as is. (To connect, gently pull the 2 black tabs slightly out from the port, gently slide the ribbon"s edge into it, and gently squeeze the black tabs back into place.)
Place the touchscreen in front of you with the wire ribbon towards the bottom edge. It should be right-of-center. Using the 4 color wire cable, connect the smaller end into the touchscreen"s ribbon. The grooved side of the cable should be face-up to line up correctly with the touchscreen"s ribbon.
Good blog on getting this working on Raspberry Pi Model B under Linux: http://karuppuswamy.com/wordpress/2013/01/17/how-to-get-evtouch-touch-screen-kit-working-in-linux/
Other than that, great resolution, works out of the box (if you know how to install software on your raspberry pi) and the overall profile of this setup is pretty small.
Raspberry Pi OS provides touchscreen drivers with support for ten-finger touch and an on-screen keyboard, giving you full functionality without the need to connect a keyboard or mouse.
The 800 x 480 display connects to Raspberry Pi via an adapter board that handles power and signal conversion. Only two connections to your Raspberry Pi are required: power from the GPIO port, and a ribbon cable that connects to the DSI port on all Raspberry Pi computers except for the Raspberry Pi Zero line.
I recently got a Tontec 2.4-inch TFT LCD 240x320 RGB Pixels Touch Screen Display Monitor For Raspberry Pi from Amazon, and I have no idea how to get it set up. There were no directions included with the touchscreen when it arrived, and the directions given online at Amazon only tell you how to run the software (I think) and give no mention of hooking the display up itself. Any ideas? Should I just plug it in on top of the Pi"s GPIO pins and plug in a power cable in, or do I need to do something else? And can I just run the program, or do I have to do something else? I am fairly new to the Raspberry Pi. Thanks!
From the look of things it just plugs straight onto the Raspberry Pi"s GPIO pins. One of the reviews on the Amazon page says that no external power is required, so I would try that first.
Sorry I haven"t replied- I"ve been very busy. I have managed to get this working- I used an external power supply. The first time I looked, I couldn"t find one. I think the reason it didn"t work being powered via USB was because I haven"t been able to find a 2 amp USB power supply, and so I am using a 1 amp power supply, not enough to power the Pi and the touchscreen at the same time. The person on Amazon probably had a 2 amp USB power supply. However, the power supply I found for the touchscreen was 2 amps.
The next problem I have is how to get the touchscreen part working. It just doesn"t do anything when I touch it. And is there any way to add real-time clock capability to it?
Hitechcomputergeek wrote:Sorry I haven"t replied- I"ve been very busy. I have managed to get this working- I used an external power supply. The first time I looked, I couldn"t find one. I think the reason it didn"t work being powered via USB was because I haven"t been able to find a 2 amp USB power supply, and so I am using a 1 amp power supply, not enough to power the Pi and the touchscreen at the same time. The person on Amazon probably had a 2 amp USB power supply. However, the power supply I found for the touchscreen was 2 amps.
The next problem I have is how to get the touchscreen part working. It just doesn"t do anything when I touch it. And is there any way to add real-time clock capability to it?
The manual.txt in the zip file says that the TSC2003 driver (TSC2007) should be in the kernel. It is on the/an i2c bus. (http://www.ti.com/lit/ds/symlink/tsc2003.pdf is the chip handling the touch functionality)
It"s said the touchscreen using a tsc2003 chip could make use of this driver. However, when starting "make" it takes a whole day and night for the RPi for compiling all the modules. But at the end there"s no tsc2007.ko and no tsc_raspi.ko where it should be.
...unfortunately, I got some errors (after around 7 hours of compilation) ;vchi_
(*) I used to "export DISPLAY=myhost:0.0" on one side and "xhost +" on the other side but (it was too simple...) Ubuntu now launch "X" with a "-nolisten" option... (edit /etc/lightdm/lightdm.conf (+ xserver-allow-tcp=true ), ...or somewhere else)
It"s said the touchscreen using a tsc2003 chip could make use of this driver. However, when starting "make" it takes a whole day and night for the RPi for compiling all the modules. But at the end there"s no tsc2007.ko and no tsc_raspi.ko where it should be.
...unfortunately, I got some errors (after around 7 hours of compilation) ;vchi_
I just (checked "Misc devices" and) added "videocore VCHIQ" (BCM2708-VCHIQ) as hardlink (but maybe module is enough (?)) in the config (still using "make xconfig") and compilation went further (with no undefined symbols this time). I got a zImage and .ko files (including a tsc2007.ko).
(This post just to say that it is probably not necessary to use a bleeding edge kernel with some special pixie dust to have tsc2007/tsc2003 support. The "normal way" (if there is one) should do : get some sources->configure->build->install)
((In case tsc2007.ko doesn"t work (who knows?) http://osdir.com/ml/linux-kernel/2009-06/msg07628.html was trying to make a tsc2003 driver but it didn"t make its way to the kernel))
( http://kernelnewbies.org/Linux_3.10 -some-release is post jun 2013; the kernel running on 2014-01-07-wheezy-raspbian.zip is more recent; you can "git clone" the latest one if you dare)
(probably "export KERNEL_SRC=/usr/src/linux-source-
(it will copy the .ko files in /lib/modules/
So, recompiling the kernel is not so complicated nor dangerous after all (there are a lot of steps but it is not as complicated as described in http://elinux.org/RPi_Kernel_Compilation : just 1/ get the sources - 2/ configure - 3/ build - 4/ install - 5/ reboot ; however, the Devil may hide in the details...(?))
( http://kernelnewbies.org/Linux_3.10 -some-release is post jun 2013; the kernel running on 2014-01-07-wheezy-raspbian.zip is more recent; you can "git clone" the latest one if you dare)
(probably "export KERNEL_SRC=/usr/src/linux-source-
(it will copy the .ko files in /lib/modules/
So, recompiling the kernel is not so complicated nor dangerous after all (there are a lot of steps but it is not as complicated as described in http://elinux.org/RPi_Kernel_Compilation : just 1/ get the sources - 2/ configure - 3/ build - 4/ install - 5/ reboot ; however, the Devil may hide in the details...(?))
On 2014-01-07-wheezy-raspbian, apt-cache search linux-source offers 3.2, 3.6, 3.10 (...) kernel sources (but I did not find the running one... (?) - as I remember, linux-source is 3.2)
The building process takes around 7 hours on my machine (and not 10 as I wrote; it is a good idea to check it is still running from time to time; as I power my DHCP server down and the DHCP-lease is not long enough, sometimes, it takes time to recover the ssh link (ssh pi@pi); only the Raspberry Pi and my Ethernet switch/hub stays up, it is silent and low power; curiously I cannot power the switch/hub off without reseting the Raspberry Pi (?) - I don"t know the reason of this)
I have printed an excellent Tontec 7 inch LCD Panel Assembly (http://www.thingiverse.com/thing:721186) and designed pushbutton caps and spacers for the button PCB so buttons are kept at necessary distance for the enclosure. Here is my complete make...
I have printed an excellent Tontec 7 inch LCD Panel Assembly (http://www.thingiverse.com/thing:721186) and designed pushbutton caps and spacers for the button PCB so buttons are kept at necessary distance for the enclosure. Here is my complete make...
approx. ...6 hours total print time/ top piece or bezel screen holder with ribbon cable passage bottom hold 2 pcb boards Case to contain the 7" touch screen and 2 circuit boards Print Settings Printer: Prusa I2 Rafts: No Supports: No Resolution: 300
I intend to create a second case style to accommodate the daughter board on my own 7" panel for the switches and IR controller. Mine has the model PCB-800023 stamped on it and (compared to swehacker"s) a horrible design to accommodate with the...
UPDATE1: Fitted to actual screen from https://grabcad.com/library/innolux-7-tft-lcd-at070tn83v-1. Anyway i had to fix bezels and size. Mine is 100x165 mm.
UPDATE1: Fitted to actual screen from https://grabcad.com/library/innolux-7-tft-lcd-at070tn83v-1. Anyway i had to fix bezels and size. Mine is 100x165 mm.
LCD panel stand fitting 7-inch LCD panel. A lot of seller selling this type of LCD panel, without stand, bare package. (In Japan, aitendo.com ) Without stand, shortly flat cable or connecter will be easily broken by several tensions or movements.
This is just a modded top panel to fit a slightly different Chinese LCD, as well as some buttons that were missing from the original design, of which you will need 5. The Ribbon Cable fits really tightly with this, and I had trouble getting it to fit...
This is a case for a 7 inch LCD screen, this one right here: https://www.amazon.ca/gp/product/B071X8H5FB/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 There are other cases out there but I wanted something that used less material and didn"t take...
ER-TFTM070-5 is 7 inch lcd module w/capacitive touch screen panel,800x480,ra8875,i2c+parallel+spi serial,microsd card slot,font/flash chip for mcu,arduio.Souce from EastRising/buydisplay.com
1-7 inch keyboard https://ko.aliexpress.com/item/453497000.html 2-raspberry pi 4 3- LCD 7 inch raspberry pi 4-powerbank 20000 add solidwork files I make this case with split parts, because my printer is mini
7 inch LCD touch screen mount which holds a Raspberry pi in the base with a few small screws. If you are wanted to build the weather station, please see https://hackaday.io/project/6184/instructions. I followed these instructions and all kudos for...
The second model has had the lip removed so that you could use it on other types of lcd displays by using double-sided sticky tape from the back. This is the first 3d model I have uploaded onto Thingiverse.
This is for the: Tontec® 7 Inches Raspberry Pi LCD Display Screen TFT Monitor AT070TN90 with HDMI VGA Input Driver Board Controller I looked at some other models and although all very elegant I am in the development phase and wanted something open...
Touchscreen: https://www.ebay.com/itm/7-inch-Capacitive-Touch-Screen-LCD-Display-IPS-1024x600-HDMI-For-Raspberry-H8J3/253840256795?epid=7022283046&hash=item3b1a0eef1b:g:qq8AAOSw4axbh9kK See enclosure for Raspberry Pi and Solid State relays:...
Case to hold a 7 inch ElecLab LCD for an inside corner on 2020 extrusion. ...Deep enough to hold the LCD and a raspberry pi. I"m using it to hold the LCD and Pi in my large Ultimaker clone, running Klipper.
This is a case for UCTRONICS 7 Inch IPS Touch Screen for Raspberry Pi 4, 1024×600 Capacitive HDMI LCD Touchscreen Monitor Portable Display for Raspberry Pi 4 B, 3 B+. It features a stand that folds up flat. ...I designed it with the idea of using the...
approx. ...6 hours total print time/ top piece or bezel screen holder with ribbon cable passage bottom hold 2 pcb boards Case to contain the 7" touch screen and 2 circuit boards Print Settings Printer: Prusa I2 Rafts: No Supports: No Resolution: 300
UPDATE1: Fitted to actual screen from https://grabcad.com/library/innolux-7-tft-lcd-at070tn83v-1. Anyway i had to fix bezels and size. Mine is 100x165 mm.
UPDATE1: Fitted to actual screen from https://grabcad.com/library/innolux-7-tft-lcd-at070tn83v-1. Anyway i had to fix bezels and size. Mine is 100x165 mm.
I have printed an excellent Tontec 7 inch LCD Panel Assembly (http://www.thingiverse.com/thing:721186) and designed pushbutton caps and spacers for the button PCB so buttons are kept at necessary distance for the enclosure. Here is my complete make...
I have printed an excellent Tontec 7 inch LCD Panel Assembly (http://www.thingiverse.com/thing:721186) and designed pushbutton caps and spacers for the button PCB so buttons are kept at necessary distance for the enclosure. Here is my complete make...
A case for a 7" LCD display (destined for the trashcan) with a cheap (chinese) controller board. This started as a test whether the board actually worked with this type of display, and additionally if i could fit all parts in a minimal case. The...
This is a case for a 7 inch LCD screen, this one right here: https://www.amazon.ca/gp/product/B071X8H5FB/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 There are other cases out there but I wanted something that used less material and didn"t take...
A case for [7-inch HDMI/VGA LCD module](https://www.aliexpress.com/item/7-inch-N070ICG-L21-IPS-LCD-screen-display-Control-Driver-board-HDMI-VGA-2AV-1280x800-tablet/32338411917.html?spm=a2g0s.12269583.0.0.74037a7cQFkUGe) that can take up to 1920x1080...
(Update 3/8/2019) A new version is posted here (Update 1/21/2019) Added a desktop foot. A case for 7-inch HDMI/VGA LCD module that can take up to 1920x1080 resolution (with auto scaling - the native resolution is 1280x800). This case supports VESA...
Enclosure for Alomejor 7 inch LCD TFT Display 1024600 HDMI VGA Monitor Screen Kit for Raspberry Pi 3/2 https://www.amazon.com/gp/product/B07VSG29J2/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1 Should be compatible with Adafruit HDMI 4 Pi: 7"...
HDMI/VGA/2AV+Reversing Driver board + 7inch AT070TN90 800*480 lcd display for sale on ebay.http://www.ebay.com/itm/HDMI-VGA-2AV-Reversing-Driver-board-7inch-AT070TN90-800-480-lcd-display-/180974436891 My printer has a small envelope so I cut the...
this is a simple case for the commonly found 7" LCD screen with cutout for connections to controller for raspberry pi or similar single board computers.
1-7 inch keyboard https://ko.aliexpress.com/item/453497000.html 2-raspberry pi 4 3- LCD 7 inch raspberry pi 4-powerbank 20000 add solidwork files I make this case with split parts, because my printer is mini
Case, which was made for Waveshare 7" HDMI LCD with touchscreen (http://www.waveshare.com/7inch-HDMI-LCD-C.htm). Hope it will be useful not for me only )
This is a case for the HT1621, 7 segment LCD"s, Sold in the uk by Hoby Components for just £3.99. https://hobbycomponents.com/newproducts/1001-ht1621-6-digit-7-segment-lcd-module The hobby components web site has a forum with the arduino code on it...
CAUTION: Be careful when removing the LCD board from the black HC Maker 7 control box. There are live mains voltage terminals inside the box so please make sure you unplug the power lead from the wall before you open the box. IT IS NOT SUFFICIENT TO...
If you like the projects I work on check out my YouTube channel at: https://www.youtube.com/channel/UCgItLzb2PnHYKeNAFSx0jpA This is the 7" monitor case by swehacker. The standoffs were detached from the model, and that"s repaired in this remix. I...
Case for official LCD 7" with stand. You need to purchase a tape longer than that attached to the LCD (fits the standard tape from the Camera) Pin can normal connect or solid. ...
2) Log into the command line interface for Raspberry Pi(Initial user name: pi, Password: raspberry), Get the latest drive from GitHub (the raspberry pie needs to connect to the Internet), Execute the following commands:
Raspberry Pi touchscreens is used for designing projects that limit the use of external input devices like keyboard or mouse. They can be used to create systems in which the hardware is perfectly embedded within one device.
Today we cover some of the best Raspberry Pi touchscreens that are available in the market. Let us know your favourite raspberry pi touchscreens in the comments section.
This Raspberry Pi touchscreens comes with zero documentation, hence requires technical understanding for operation and as a result, greater headache. The unit also does not come pre-assembled. Good for hobbyists and DIY enthusiasts. Software is easy but the stand is wobbly and unstable.
The capacitive touch screen measures 7 inches and is able to sense 10 fingers simultaneously. The kit comes with an adapter, ribbon cable, screws and jumpers.
The pixels in width were larger than the length hence causing the objects to appear a little smashed. The resolution was small too. The bezel surrounding the screen was wide in width where otherwise it could have been made as thin as possible. Nothing bad in it. It just looks a bit untidy. The backlight timeout blanks the page until you touch it again.
3.5 inches LCD display that comes in a kit and includes a clear transparent cover case. Useable with Raspberry Pi model B (3,2). There is a tutorial page to setup and make the LCD work.
The problem of setting up the work screen prevails with nearly all the Raspberry Pi’s LCD’s. Hence they need to be patiently setup with required support from the customer service office if required. The LCD works ‘OK’ after the setup. Small screen with poor resistive touch with no easy setup. But beats in terms of price. Slow refresh rates with no instructions makes it challenging. After upgrading to “Jessie” OS, it worked faster with out of the box touch screen digitizer.
It has a 3.5 inches resistive touchscreen with Serial Peripheral Interface. Compatible with Raspberry Pi 3 B RPi 2B/B+/A+ /A/B/Zero. Heat sinks come with them.
Touch screen works fine and as long as you get/follow instructions from someone its fine. (Refer to the customer support/user reviews for help). The case comes a little cheap and fragile. Fairly many problems with the case and hardware interface.
Eletrow gives a high definition multimedia interface monitor with a 5 inches high definition display. The LCD is a thin film transistor for Raspberry Pi 2B,B+ and 3B. A good alternative for those seeking a bigger display. It has a faster response and full color display. And can be used as a portable monitor.
The power requirement is low and it is USB powered. The system needs some installation and setup to start working. For those facing problems, must refer to user reviews about installation. The screen is bright and crisp. The viewing angle might produce a little pixelation effect.
Kuman’s comes with a 3.5 inches LCD display and resistive touch screen (Pressure applied to the surface of the display by a finger causes the layers to touch each other which completes the electric circuit and tells the system where the user is touching).
The screen is sharp and clear with vibrant text. The touch screen works well and comes with touch pen for precise input. A few hand problem starting up the LCD display (Must refer to user reviews and customer support if you are facing this problem).
You can also make such purchases that fit the Pi right with the LCD screens. The touch screen also needs to be calibrated once you set up the system. The system also doesn’t comes with cables.
Display size is 3.5 inches.Compatible with Raspberry Pi 2 model B and Raspberry Pi B+. Resolution is480*320, 65K color, 16 bit.Transmits data through SPI.
Customers find this pretty great because of case which “is a nice companion to the screen as the screen also doubles as the top cover. The assembly was easy and the plastic and tape came off with no resistance.”
“Top notch display screen for your Raspberry Pi at a great price. Also it’s not just for you Pis, it could be used on any HDMI system. I plugged it into my Win 10 laptop as soon as I got it to check that it was running. Windows 10 recognized it immediately to include the touch abilities of this screen.” – Amazon
“I bought this to use with a Raspberry Pi. However, I tested it with a few other things, just to play around with it. It works fantastically. So far, I have not been able to find a case that I like for it yet, so you will see in the photos, I temporarily used the box it came in to make an enclosure for both the screen, and my rPi. It’s actually pretty nice, and convenient to use this way (for now).” – Amazon
Note:①After the test under the above reliability conditions, the specimen should be stored in a standard environment for 24 hours before the functional test is OK.②The reliability test should be performed with no D.C. power supplied and the touch panel stored on the flat plate.③The standard condition presents 25±10°C of the temperature, 55±30%of the relative humidity, and 96±10 kPa of the atmospheric pressure.④The reliability test should be performed on the touch panel by itself.
This 7 Inch Raspberry Pi Touchscreen is customized forRaspberry Pi, but it is not limited to the 7-inch HDMI display of Raspberry Pi, 1024x600 HD resolution, with capacitive touch screen. This product is also a universal HDMI display, users can use it on other mini PCs (drive support is required), or even use it as a computer monitor.
This assumes a basic familiarity with the Raspberry Pi and the Raspbian OS. First you must install Raspbian onto your microSD. See here for help - https://www.instructables.com/id/Install-Raspbian-... Make sure you"ve got a mouse keyboard and network connection and boot the Pi. (For the Pi zero you can either use a USB network adapter or you can set up the OS image on a Raspi 2 then boot to the zero later...)
In order to do that you need to know the model of your TFT. (i.e. - Adafruit 3.2 inches SPI). It may also help to know the driver IC number (usually the largest IC on the back PCB of the TFT). Once you have that you can look for your TFT here - https://github.com/raspberrypi/linux/blob/rpi-4.4...
On that page - search for the text "fbtft_device_display displays" and you will find a list of supported displays. In my case the display is a Tontec 3.5" TFT with an ili9486 IC. Looking in that page i find the display definition- [the portions in boldare what we"ll need to complete the set-up...]
The only things we need to know from this are the "name" (in this case - tontec35_9486) and the "modalias" setting which is the hardware module we need to load. We can see that this is fb_ili9486.So now we can edit /etc/modules -
We are almostdone with the driver. But in order for the framebuffer to load, we must also set the module options. (This is usually the nameof the device as it appears in https://github.com/raspberrypi/linux/blob/rpi-4.4... and the optionally the rotation.) These are set by creating a file in the /etc/modprobe.d directory (see photos)-
A user process (mztx06a) watches changes in the frame buffer and sends them through the SPI bus to the screen. The refresh rate is not intended to display video but is correct for classical GUI. The source code is available on GithubloadFrameBuffer_diff_320(); theimmc proposed the introduction of µsleeps in the loop
To test the touchscreen, commands like evtest (tests the Linux input driver mechanism) and xev (test the touchscreen in the "X" environment) are usefull. xinput-calibrator could be used to calibrate the touchscreen but the result does not seem correct when used with an TransformationMatrix option in /etc/X11/xorg.conf.d/99-calibration.conf.
The "handmade" quick and dirty "calibration" is not perfect but usable in the center of the screen (xinput-calibrator makes things worse; I"ll have to make it by hand, checking left/righ top/bottom and deduce some linear combination. The "TransformationMattrix" is for the original mztx06 code (like a "TV set" with the connectors below and on the left).
The simplest way (on Raspbian) to get some interaction is to launch a tcl/tk script at startup by adding a line to /etc/xdg/lxsession/LXDE/autostart . Something like :@wish /home/pi/menu.tcl
The shell scripts contain lines like " "/home/pi/bin/dump1090 > dump1090.`/usr/local/bin/now`" (now is "date "+%g%m%d.%H%M%S"" to give a time stamped suffix to the file); "pkill dump1090" and "sudo shutdown -h now".
It is probably easier to write a "user mode driver" like https://github.com/xofc/tsc2uinput : one reads the tsc2003"s xy(z) through i2c functions and writes "events" in /dev/uinput (you won"t need to care about kernel updates). And it is probably better to emulate a touchpad with relative events as pin-pointing small controls on a resistive tablet is not easy.
In the previous article, I described the steps needed to install an LCD touchscreen on the Raspberry Pi. In this article, I will show you how to adjust the screen rotation of the LCD to landscape mode, and will show you how to calibrate the touchscreen pointer for optimal accuracy. Just follow the steps below to compete the process of setting up your Raspberry Pi LCD touchscreen:
1. First we need to change the setting for screen rotation in the /boot/cmdline.txt file. This setting is called fbtft_device.rotate=X. By default, this is set to X=0, which results in a portrait mode screen orientation. In order to switch the orientation to landscape mode, change fbtft_device.rotate=0 to fbtft_device.rotate=90. Enter sudo nano /boot/cmdline.txt at the command prompt. There should only be one line in this file. Go to the end of it and you will find the fbtft_device.rotate=X setting. Change the value from 0 to 90:
However, if you try to touch the screen now, you will find that the pointer movement does not correspond to your finger movement. This is because the LCD screen driver and the touchscreen controller driver have separate settings for screen rotation. We need to change the rotation of the touchscreen controller driver to match the rotation of the LCD screen driver.
2. You probably noticed that dragging your finger to the right moves the pointer up, not to the right. This indicates that the x and y axes of the touchscreen are swapped. To correct this, we need to swap the x axis for the y axis. This can be done by changing the swap_xy=X parameter in /etc/modules.
Enter sudo nano /etc/modules at the command prompt to edit the file. Go to the line for the ads7846_device parameters and move the cursor to the right to find it:
Now if you drag your finger around the screen, you will notice that the y axis (up and down) is correctly aligned with the motion of your finger. However, the x axis (left and right) is still inverted. To fix this, we need to install two more kernel modules, xinput and evtest. xinput is a Linux utility that will allow us to configure input device settings for the touchscreen controller, and evtest is an input device event monitor and query tool.
After the Pi finishes rebooting, you should notice that when you move your finger across the touch screen, the pointer should follow correctly in both axes. If you are using the Raspberry Pi 2 Model B, you will need to complete the calibration steps below before the pointer follows your finger correctly (and make sure that you have enabled startx to load automatically – see step 6 in this article).
You can rotate the screen 90 degrees (as we did in this tutorial) and the power connector will be at the bottom of the screen, but you can also rotate it 270 degrees so that the power connector is at the top of the screen. To do this, simply enter fbtft_device.rotate=270 in the /boot/cmdline.txt file. Then change the DISPLAY=:0 xinput --set-prop "ADS7846 Touchscreen" "Evdev Axis Inversion" 0 1 line in the /etc/X11/xinit/xinitrc file to DISPLAY=:0 xinput --set-prop "ADS7846 Touchscreen" "Evdev Axis Inversion" 1 0. All you need to do is switch the values of the 0 and 1 at the end of this line.
Now that we have our LCD touchscreen up and running, the final step in the installation is the calibration of touch control. This will make the pointer much more accurate and easier to use.
2. Now we need to install the calibration tool we will be using, xinput_calibrator; and other filters for controlling the touchscreen response. Install the tslib library by entering aptitude install libts-bin:
4. Now we can use ts_calibrate. Enter ts_calibrate at the command prompt (make sure you are still in root mode) to run the ts_calibrate program. The program will consecutively display five crosses on different parts of the screen, which you need to touch with as much precision as possible:
Drag the cross around the screen and observe how closely it follows your finger or stylus to test the accuracy of the calibration. Now press the “Draw” button to enter the drawing mode:
This is kind of a long process, but it is well worth it if you want to get the LCD touchscreen set up properly. So if you have any trouble setting this up or have anything to say, please leave a comment below. Also, if you found this article useful, please share it with your friends!