Dylanli
Posts: 28
Joined: Mon May 24, 2021 6:03 am

Raspberry Pi 4 and sensors and display

Tue Jun 29, 2021 9:27 am

Suppose I have a Raspberry Pi 4, a sensor, and an LCD touch screen display (with a WiFi module). Can I tap some buttons on the display to read the sensor information recorded by the Raspberry Pi 4 on the network every period of time?

User avatar
davidcoton
Posts: 6764
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Raspberry Pi 4 and sensors and display

Tue Jun 29, 2021 10:50 am

Yes, as long as your skills are up to it. Not particularly difficult.
The WiFi seems irrelevant?
Location: 345th cell on the right of the 210th row of L2 cache

Dylanli
Posts: 28
Joined: Mon May 24, 2021 6:03 am

Re: Raspberry Pi 4 and sensors and display

Wed Jun 30, 2021 7:33 am

davidcoton wrote:
Tue Jun 29, 2021 10:50 am
Yes, as long as your skills are up to it. Not particularly difficult.
The WiFi seems irrelevant?
Since I had previously read an online article describing the phone with Raspberry Pi 4 and servo motors, I thought I could replace the phone with the display. The need for wifi is because I want to implement storing information on the network and being able to extract the information stored at any time and display it anywhere, anytime.

User avatar
davidcoton
Posts: 6764
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Raspberry Pi 4 and sensors and display

Wed Jun 30, 2021 9:00 am

Well, that adds a significant extra layer of difficulty, not least in ensuring that your network connection is secure. But still, nothing im[possible there.
Location: 345th cell on the right of the 210th row of L2 cache

User avatar
Gavinmc42
Posts: 6693
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi 4 and sensors and display

Wed Jun 30, 2021 10:11 am

Places to start.
Waveshare LCD, Python based Guizero.
https://www.waveshare.com/product/raspb ... splays.htm
https://lawsie.github.io/guizero/

WiFi is a pain, I prefer wired Ethernet.
Less work to figure out and get working.
Get used to Wired Ethernet before going to Wireless.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Dylanli
Posts: 28
Joined: Mon May 24, 2021 6:03 am

Re: Raspberry Pi 4 and sensors and display

Thu Jul 01, 2021 9:36 am

Gavinmc42 wrote:
Wed Jun 30, 2021 10:11 am
Places to start.
Waveshare LCD, Python based Guizero.
https://www.waveshare.com/product/raspb ... splays.htm
https://lawsie.github.io/guizero/

WiFi is a pain, I prefer wired Ethernet.
Less work to figure out and get working.
Get used to Wired Ethernet before going to Wireless.
Thanks for the suggestion, but I see that there seems to be a place on my LCD to connect to the network port as well, as shown in the picture.
Image

User avatar
B.Goode
Posts: 13949
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspberry Pi 4 and sensors and display

Thu Jul 01, 2021 9:45 am

" I see that there seems to be a place on my LCD to connect to the network port "


The physical connector does not necessarily map to a particular technology.

rj45 connectors can be used for other technologies apart from 802.3 10/100BaseT Ethernet. They can transmit many different types of signals; such as data, voice, serial, and audio.


I suggest checking your documentation to determine the purpose of that JN400 connector.

User avatar
rpdom
Posts: 20205
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Raspberry Pi 4 and sensors and display

Thu Jul 01, 2021 10:47 am

B.Goode wrote:
Thu Jul 01, 2021 9:45 am
" I see that there seems to be a place on my LCD to connect to the network port "


The physical connector does not necessarily map to a particular technology.

rj45 connectors can be used for other technologies apart from 802.3 10/100BaseT Ethernet. They can transmit many different types of signals; such as data, voice, serial, and audio.


I suggest checking your documentation to determine the purpose of that JN400 connector.
You are right to question the use of the connector, but I see that it is populated with LEDs and there is a transformer just behind it, which would make it quite likely (but not certain) that it is for an Ethernet connection.
Unreadable squiggle

User avatar
Gavinmc42
Posts: 6693
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi 4 and sensors and display

Fri Jul 02, 2021 12:52 am

Looks like that is a Smart Display.
I am familiar with the 4D System Displays.
These probably have a comms protocol too.
There is also a downloadable design software called STONE TOOLBox. This is a completely free GUI design software you can use to create responsive digital module-ready user interfaces.
Not much Pi stuff needed?
Use the Pi to read the sensors and update the smart display.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “General programming discussion”