8000 GitHub - aquacash5/WebServePi: Java Web Chat Server with Raspberry Pi 4 button add-on
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aquacash5/WebServePi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebServePi

Java Web Chat Server with soft-button functionality on Raspberry Pi 4B

Initial Copyright 2023 Chris Lukin

Class: WebServePi

Purpose

  • A multi-platform Java 17 Web Chat Server that is integrated with Raspberry Pi 4 B when ran from 64 bit OS.
  • When ran on Pi, provides a 3D soft-button in HTML, CSS, and Javascript with near real-time JSON messaging which controls and listens to the primary circuit hard-button. When setup correctly, the soft/hard-button will blink the LED.

Open-Source Credits and other references

Setup

Raspberry Pi

  1. Update the OS
sudo apt-get update
sudo apt-get upgrade
  1. Remove previous version of wiringpi. Retrieve, build, and install new wiringpi
sudo apt-get remove wiringpi -y
sudo apt-get --yes install git-core gcc make
cd ~
git clone https://github.com/WiringPi/WiringPi --branch master --single-branch wiringpi
cd ~/wiringpi
sudo ./build
  1. The user must update to at least Java version: java 17.0.6
java --version

Circuit

  1. Reference Project 2.1 Push Button Switch & LED

  2. The following changes:

    • wiringPi Pin 2, Hard Button - "pressed input pin"
    • wiringPi Pin 4, LED
    • wiringPi Pin 5, additional Soft Button output pin to Hard Button "pressed input pin"

Execute after download

java -jar WebServePi.jar

About

Java Web Chat Server with Raspberry Pi 4 button add-on

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 70.2%
  • JavaScript 15.1%
  • CSS 8.1%
  • HTML 6.6%
0