Skip to content

OrbisTerrarumProLiberi/WifiVendoMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WifiVendoMachine

Free Architecture for a Wifi Vending Machine

hardware needed:

  1. Raspberry pi 3 B / B+
  2. Ethernet Cable
  3. 16x2 LCD Screen
  4. Push button
  5. Coin acceptor
  6. 12V 1A Power Source
  7. Rasberry Pi Power Source

Hardware setup

Just follow the hardwareConfig.fzz file

it can be opened using fritzing(just google it)

Knowledge requirements

  • basic Database querying

  • Web Programming

  • Basic to Mid level understanding of Linux Commands and filesystem

  • Python Programming

  • basic to mid level in Electronic Components

Software Setup:

  1. fresh install raspbian on your raspberry pi 3 B/B+ and update it.

  2. next we will install the hotspot and the captive portal

(https://www.pihomeserver.fr/en/2016/09/15/transformer-raspberry-pi-hotspot-wi-fi-facilement-grace-a-script/)

  1. install git
apt-get install git
git clone https://github.com/pihomeserver/Pi-Hotspot.git

RUN THE SCRIPT

cd Pi-Hotspot
chmod +x pihotspot.sh
./pihotspot.sh
  1. setting up the codes

Put the python file "CoinSlot.py" and "autostart.sh" into the /home/pi directory. and and chmod +x

  1. clone the Adafruit_Python_CharLCD repository
sudo git clone https://github.com/adafruit/Adafruit_Python_CharLCD.git
  1. Install mysql cursors
sudo apt install python-pip  
sudo pip install PyMySQL  
  1. automate everything. Go to the directory
cd .config/lxsession/LXDE-pi
> sudo nano autostart
  1. add the following code at the end of the file
/home/pi/autostart.sh

Customizing your webpages

  1. Just locate the following directory
cd /usr/share/nginx/html/daloradius for the daloradius interface
cd /usr/share/nginx/portal/ && sudo leafpad index.html for the webpages

About

Free Architecture for a Wifi Vending Machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages