Astrobox Pi3 with Rpi LCD Touch

Hi Folks,
Can you use the Astrobox with a TFT touchscreen ?

Im testing AtroPrint for my family. I have already testerd Repetier Server, OctoPrint and now I’m working on AstroPrint.

I have a Pi3 setrup and working except for the display (I assume its missing drivers).
http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)

I just wanted to know if the astrobox will even work with the touch screen ? Since I have it already. It would be really nice for my kids to jog the printer as the setup their prints using the touchscreen.

Thanks for the help
Terry

2 Likes

Not yet @Terry_Tor, at the moment you can interact with the AstroBox via its WebUI using a browser on another device in the same network. We are however working on adding TouchScreen support.

Are there any news?
I also have a Waveshare Touchscreen but i cant install the driver.

We are focused on the Astrobox Touch these days :wink:

To answer your question, nope, not yet.

I saw it.
Is it a hardware projekt or a new touch software that will be come opensource like astroprint?

Hardware.

Fully plug and play with no assembly required.

Unlike the (original) Astrobox Gateway, you won’t be able to build (and flash software) on your own with the Astrobox Touch.

Well thats really pity that i cant install the Driver (+ for Octo).
I hope u can add this function soon.

Come on guys, give us the possibility to install display driver.

@Benedikt_Kleinmanns, dilanka is talking about the assembled AstroBox Touch, you can create your own if you’d like using the Raspberry Pi Kit.

I cant use a touch screen, cause it is not possible to install the display driver.
(only on astroprint, on rasbian and octoprint it works.)

Our image contains raspbian. Why can’t you install the driver?

I will make few screenshots tonight.

So, i get this error when i try to install it:

That’s because you’re missing dependecies. In this case the X11 system. We use the Jessie Lite raspbian as an start to our image.

This doesn’t mean we don’t let users install the drivers but simply that our image is optimized to be headless. There are multiple posts here explaining how to install a touch screen. If you do a search, you might find some clues

Ok, got it.
Now i just have to find away that the GUI fits in the Display.

Here is a tutorial i made for a 3d printer forum (in german).
Display was a Waveshare LCD35-B

Fangen wir ganz vorne an:
-Astroprint runterladen und auf SD-Karte ziehen
-Speicher erhöhen

Code:
sudo raspi-config
-7 Advanced Ptions
-A1 Expand Filesystem

-Locationsettings setzen (Location, Timezone, Wifi Country, Keyboard usw.)
-Updaten/Upgraden

Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo reboot now


Jetzt die GUI installieren

Code:
-sudo apt-get install --no-install-recommends xserver-xorg
-sudo apt-get install --no-install-recommends xinit
-sudo apt-get install lxde-core lxappearance


Loginmanager installieren

Code:
sudo apt-get install lightdm
sudo reboot now

In GUI Booten einstellen

Code:
sudo raspi-config
-3 Boot Options
-B1 Desktop / CLI
-B4 Desktop Autologin

   
Display Treiber installieren

Code:
-wget http://www.waveshare.com/w/upload/7/74/LCD-show-170309.tar.gz
-tar xvf LCD-show-170309.tar.gz
-cd LCD-show/
-chmod +x LCD35B-show
-./LCD35B-show
-sudo shutdown now


Jetzt muss noch das folgende aus der config.txt von der SD-Karte gelöscht werden
"dtoverlay=ads7846"

Wieder starten und der Touchscreen sollte funktionieren.

Rapberry direkt in GUI booten (über Chromium Kiosk mode)

Chromium installieren
Code:
sudo apt-get install chromium-browser
sudo apt-get install x11-xserver-utils unclutter

Autostart bearbeiten
Code:
cd .config/lxsession/LXDE-pi/                     (Kann auch /LXDE/ sein)
sudo nano autostart

Folgende Zeilen einfügen

Code:
@chromium-browser --noerrdialogs --kiosk --incognito https://Eure URL.de
@xset s off
@xset s noblank
@xset -dpms
@unclutter -idle 0.1 -root

Sleepmode abschalten
Code:
sudo nano /etc/lightdm/lightdm.conf


Und folgende Zeile so bearbeiten:
Code:
xserver-command= X -s 0 -dpms

Reboot und ihr solltet direkt in der Astroprint GUI sein.
2 Likes

Hi!

Did you find a solution to handle the login? I have git it working on a 7" TFT, but it starts in the login with no keyboard :wink:

Thanks

Hi…my 3.5-inch screen starts to work with touch capability. I think steps after this not necessary, as"sudo apt-get install evdev" not supported and commands which placed under /etc/xdg/lxsession/LXDE/autostart not getting executed whenever reboot happensBut screen X axis was reversed.
I found a fix with command
DISPLAY=:0 xinput --set-prop ‘ADS7846 Touchscreen’ “Coordinate Transformation Matrix” -1 0 1 0 1 0 0 0 1
I tried to make a cron job for above command for every reboot, placed in autostart but seems not working. now I have to run it manually for every reboot.

multilayer pcb

Thanks for this information I got the screen working but along the way It no longer boots into the desktop but always starts into the CLI, I re-rean the commands and raspi-config but doesn’t help, any ideas?.

Thanks again for the info.

i made an account to answer your question- you will have to change a config file on the rpi to boot it into init mode 5 to automatically start X11 instead of the cli

Hallo wie funktioniert das ganze dann mit dem
Waveshare SpotPear 3.2inch RPi LCD V4

Dankeschön für die Unterstützung.