¿ªÔÆÌåÓý

Locked LCD recommendations for JMRI on Raspberry Pi #rpi


 
Edited

All,

? ? Who has a running 3.5" LCD screen working on the raspberry pi with JMRI on it?? Any particular default setting in Appearance Tab That should be user?

? ? Installed a 3.5" LCD I got from China and Rasbian come up ok with it, but JMRI panels don't show anything but a white screen in each panel.? ?The vender only stated that if the OS doesn't have a driver, then try mirroring.
? ??
? ? I can use this one LCD screen for use with a camera, but would like one to use for JMRI and be able to shut it down.

Roger


 

I just received a 3.5" screen the other day but will not be able to install it until Tuesday night or next weekend. I'm not really concerned about seeing panels on it but I will check what appears. The main purpose of this Pi is to run signals and maybe as WiThrottle server.

Our plans for shutting down the Pi is to just kill the power and to have a backup SD card available in case of corruption.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


 

Peter,

? ? I'm just wanting to use it for signals also.? I was assuming I could see the last panel which has the shutdown button on it.

? ? This Pi 3B+ is pretty strong.? I did some test and it was able to running auto trains from the dispatcher panel.? Of course I was using my monitor for that.

Roger


 

I have an Elegoo 3.5" display. I had to install their driver, down loaded it onto a USB memory card and then installed it from their instructions (had to get those from the supplier as the normal way is straight from online).
The screen works after setting the Pi to use a small screen in appearance settings. I have Steve Todd's JMRI image running on it.
After trying several ways of setting up the touch screen I still haven't got it to work , it is always 90? out. I use a handheld wifi keyboard/touch panel to access it instead, probably more convenient anyway.

I use it for checking on connected phones, basic programming and shutting down. Also useful for setting up stuff in the Pi. Before that I used VNC from a laptop, which was how I installed the screen driver.

Mike Ruby


 

I use the shutdown from the main Pi menu. I have run panels from it, for controlling our modular group's storage yards via a tablet, at present it is used for withrottle and has a configuration file that starts on start up with all our turnouts and storage yard routes so the throttles can see the turnout and route names. I have my roster installed so throttles can select those locos. Occasionally I have edited the locos and routes from the Pi using the screen, not as easy as with a larger screen.

Mike Ruby


Robert Schworm
 

On youtube, check out drone bot workshop for programming these displays.

Bob s


 

Hi Mike,

After installing the LCD-show software, I can do a?

cd LCD-show/
sudo LCD35-show 90

to turn the screen 90 degrees (should also work with 180 and 270.)

I'm using the waveshare version from GitHub

git clone
but you need to use the version for your LCD

Hope this helps

Big thanks to Steve Todd for his advice and the excellent JMRI image for Pi and EngineDriver!


 

Waddy,

? ? I've got the same folder and can change to it with a "cd LCD-show".? But can not run that second line you have.? I get command not found.??

? ? I looked in the folder and there is a LCD35-show there.? Just for a test I clicked on it and gave the 'execute" command.? ?System went into to some sort of reboot sequence with it ending in a blank screen on monitor and the LCD display.? Back to reflashing my sd card.? Glad I saved a backup.

Roger


 

On Mon, Aug 26, 2019 at 04:08 PM, Waddy7 wrote:
sudo LCD35-show 90
Linux does not include the current directory in the path. so that command needs to include the path, as in:
sudo ./LCD35-show 90


 

Steve,

? ? That did the trick.? I turned mine around 180.? Trying now to turn down the brightness on the LCD display.

? ? Tried three different processes to the LCD display to show the JMRI panels.? Still get the white screen.? I can find the Shutdown RPI button on the last window, but I'm guessing it might be due to the mouse clicking on right area that JMRI thinks its at.

? ? Roger


 

Steve,

? ? ?Is it possible that my 320 x 480 LCD display is too low in resolution for JAVA to work with in JMRI?? I'm using a board mounted 3.5 LCD and not the HDMI hookup display.? I think the better HDMI lash up LCD would work better.

Roger


 

I think the waveshare driver does something more than the LCDWIKI and other versions I tried, and that solved my blank JMRI screen problems, maybe worth a try?? Mine is a board mounted LCD touchscreen

Apologies for the earlier gaff missing out the ./
thanks Steve for correcting that.


 

Waddy,

? ? The waveshare driver did the trick!? ?It shows the JMRI panels on the LCD display and on the monitor.? Great work!

? ? Notice the mouse pointer runs a little slow now.? Will have to do test to see what effect it has on running JMRI.

? ? We need to contact Steve next to tell others that have the white screen issue.

Roger


 

I had a lot of problems with the Waveshare LCD. It turned out the unit was defective and bought a slightly more expensive screen.

On Tuesday, August 27, 2019, 09:08:07 AM GMT-4, Roger Merritt <merritt_roger@...> wrote:


Waddy,

? ? The waveshare driver did the trick!? ?It shows the JMRI panels on the LCD display and on the monitor.? Great work!

? ? Notice the mouse pointer runs a little slow now.? Will have to do test to see what effect it has on running JMRI.

? ? We need to contact Steve next to tell others that have the white screen issue.

Roger


 

The LCD is the correct way up using LCD35-show, but the touch screen is 90? out. I think the problem is there more than one location where the data can be held, I've found two so far, altering the co-ordinates has no effect, so I think I haven't found them yet. I find using the wifi keyboard/touchpad is better anyway, so haven't looked further.

Mike


 

Mike,

? ? Can you fix the problem by running the following command to put back into correct position?

? ? sudo ./LCD35-show 0

Roger


 

Steve,

? ? I've downloaded two pics into the photos section under "Waveshare".? They show what I'm seeing on my display when you use the Waveshare driver.? Might order a better 3.5 LCD screen that plugs into the HDMI post next and use this pi for camera display.

? ?Manged to move and resize the last panel window for JMRI so I can shut down the pi now without the main monitor.? ?Tried to run Dispatcher ( which I did before using the monitor), but could not access the bottom section of the New Train window.? ?The WiFi throttle worked well, a bit slow though and the web server showed the panels in their proper resolution.

Roger


 

I can rotate the display but the touchscreen remains 90? out which means a horizontal move of the screen gives a vertical move of the mouse pointer.

Mike


 

Thanks Roger and others,

I was able to get my screen working with the waveshare driver. Still need to calibrate the touchscreen but that is just me getting off my butt to do it.
If time permits tomorrow, I might have it running the signals for the clubs op session tomorrow night.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -