View: 11177|Reply: 10

How do you install the latest version of octoprint with LCD TOUCH?

[Copy link]

1

threads

8

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2017-6-29 20:46:34 | Show all floors |Read mode
Hi everyone, I'm a novice and I want to install the latest version of octoprint with 3.5 inch LCD touch
My board is an Opi Pc Plus
So far I have only managed to run Octoprint 0.12 without having to run LCD
Is there anyone who can help me ???
P.Š.
The display on the raspberry works with these drivers https://github.com/Elecrow-keen/Elecrow-LCD35


0

threads

1

posts

6

credits

Novice

Rank: 1

credits
6
Published in 2017-6-30 00:54:15 | Show all floors
This is also something i would like to know.
Would love to have some advice in installing Octoprint with a touch display.

1

threads

8

posts

103

credits

Registered member

Rank: 2

credits
103
 Author| Published in 2017-7-2 17:03:33 | Show all floors

I was able to install octopi 1.3.4 !!! Now I'm left to run the touch screen ... is there anybody can help me ??

1

threads

8

posts

103

credits

Registered member

Rank: 2

credits
103
 Author| Published in 2017-7-4 01:26:09 | Show all floors
This and the answer I received on the facebook page to run the display
I have not yet tested it

1) LegacyKERNEL
[Only for LCD Display, no touch]
modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset:2,dc:71 txbuflen=32768

modprobe flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0x55,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x00,0x00,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0x36,0x28,-1,0x11,-1,0x29,-3

con2fbmap 1 8

2) MAINLINE KERNEL
Make sure that you are using nightlies [Kernel 4.0++]

-----------LCD-------------
nano /boot/armbianEnv.txt
overlays=spi-spidev spi-add-cs1
param_spidev_spi_bus=0
param_spidev_spi_cs=1

nano /etc/modules-load.d/fbtft.conf
fbtft
flexfb
fbtft_device

nano /etc/modprobe.d/fbtft.conf
options fbtft_device rotate=90 name=piscreen speed=16000000 gpios=reset:2,dc:71 txbuflen=32768 fps=25

nano /etc/rc.local
con2fbmap 1 1
-----END OF LCD-------

----------TOUCH-------------
mkdir ds7846
cd ds7846
wget https://sourceforge.net/.../input/touchscreen/ads7846.c...
mv ads7846.c?format=raw ads7846.c
nano Makefile

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The make file below is wrong. I don't know what is wrong with it, thus we manually create it.
=========
obj-m := ads7846.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

all(MAKE) -C $(KDIR) M=$(PWD) modules

clean(MAKE) -C $(KDIR) M=$(PWD) clean

install(MAKE) -C $(KDIR) M=$(PWD) modules_install
=========

MANUAL CREATION
make -C /lib/modules/4.11.3-sun8i/build M=/root/ds7846 modules
make -C /lib/modules/4.11.3-sun8i/build M=/root/ds7846 modules_install

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

depmod
cd ..
git clone https://github.com/notro/fbtft_tools/
git clone https://github.com/.../fbtft.../tree/master/ads7846_device

cd fbtft_tools/ads7846_device
make
make install
depmod

nano /etc/modprobe.d/ads7846_device.conf
options ads7846_device model=7846 cs=1 gpio_pendown=1 keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900

nano /etc/modules-load.d/ads7846.conf
ads7846
ads7846_device

do a evtest after that to check if touch works.
---------- END OF TOUCH-------------

1

threads

5

posts

27

credits

Novice

Rank: 1

credits
27
Published in 2018-3-1 02:51:11 | Show all floors
I have made a working in progress guide to install OctoPrint+TouchUI to OrangePi plus with 7" waveshare touch screen. It is not 100% noob friendly yet, but should not be that hard with someone with some basic knowledge of Linux command line. It should work for other OrangePi's than plus as long as Armbian works. Find it here.
Published in 2025-2-23 16:16:00 | Show all floors
Want an unforgettable night? Choose premium call girl services for ultimate satisfaction!        book luxury bangalorecall girls
Published in 2025-2-25 20:54:52 | Show all floors
Beneficial Write-up, My business is an enormous believer with placing reviews with web-sites to help allow blog site internet writers are aware that they’ve added in anything effective to help online!        Personal trainer Winter Park FL
Published in 2025-2-25 21:02:34 | Show all floors
A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post.        Arabic Qaida
Published in 2025-2-26 22:13:30 | Show all floors
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained!        agen slot online
Published in 2025-3-5 13:47:36 | Show all floors
This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.        fintechzoom.com silver
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list