Sending data from web page to Raspberry Pi

Joined
Nov 26, 2022
Messages
1
Reaction score
0
Hi all.

I'm pretty much a NOOB to this, but I have dabbled in C++ and HTML/CSS and I've also programmed some Arduino projects. This project, however, is larger than my experience, but I believe I can get through this if I just take one step at a time. To explain my project as simply as possible here is the goal:

-- There is going to be an equipment "Control Panel" on a screen used to control the equipment and give readouts to the user
-- Inputs from the user on the Control Panel will be sent to a Raspberry Pi (which is hosting the web page/Control Panel)
-- The Pi will then signals to one of two different Arduinos that will actually control the equipment
-- Simultaneously, the Arduinos will be sending sensor and mechanical information to the Pi
-- The Pi will then "post" those readings on the web page/Control Panel


This is what I've accomplished so far:

-- The Arduinos are programmed and operate the machinery perfectly.
-- I have used HTML/CSS to make a web page to act as a Control Panel
-- I've got a Raspberry Pi installed with an OS (set up in Kiosk mode), Apache2, and mySQL
-- The web page has been successfully loaded onto the Raspberry Pi and displays properly
-- Using JavaScript and HTML/CSS, I have all of the buttons working as far as indicating whether they have been selected/pushed


So I guess my next step and question is: How do I get the signal that the button has been pushed to Raspberry Pi? I suppose I'll also have to know: How do I put this signal or command into a variable to be stored and retrieved on the Pi?

Any assistance will be appreciated.
Ron.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,057
Messages
2,570,443
Members
47,115
Latest member
DorothyLus

Latest Threads

Top