Skip to main content

How To Create WiFi Vending Machine Using Raspberry Pi

Create a coin-operated WiFi vending machine with few simple steps. You can also download the guide in PDF format.

Step 1: Prepare the materials needed

If you don't have the coin acceptor yet, you can still proceed to install the software and configure your wifi vending machine as long as you have a raspberry pi,power supply(for raspberry pi) and a micro SD card. You won't be able to test the payment functionality though.

Raspberry Pi 3 Model B or B+

Raspberry Pi Power Supply

Universal Coinslot / Multi-coin Acceptor


12V DC at least 1A output power supply.
This is used to power the coin acceptor. You must identify the positive and ground terminal using voltmeter.
12 Volts DC Power Supply

Others
  • 4GB (or higher) Micro SD Card - class 6 or 10 (important)
  • Micro SD Card Reader
Important: The micro SD card must be of high quality. Use Sandisk Ultra or Samsung Evo

Step 2: Software Installation


Needed softwares:

After downloading the needed softwares, we need to flash the installer into the midro SD card using Etcher. To do so, unzip the contents ofadopisowifi.zip
Insert the micro SD card into the your computer using a card reader.
Open Etcher and click Select Image.



Then select adopisowifi-(version).img from the zip file.


How To Make WiFi Vending Machine


Make sure to select your micro SD card


How To Make WiFi Vending Machine



Click the Flash! button and wait for the process to finish.
NOTE:
If you encounter prompts about formatting your sd card, just click Cancel.

Step 3: Configure The Machine


IMPORTANT:
Make sure you do the following before turning on the raspberry:
  • Insert the SD card into the raspberry sd slot.
  • Insert the LAN cable into the ethernet port of raspberry pi and make sure it is connected to internet
Note: You don't have to insert a monitor to the HDMI port.
Turn on the raspberry pi and wait for the AdoPisoWifi WiFi network to appear, it may take a couple of minutes.
Connect to the wifi network using your laptop or smartphone. Once connected, open a browser and go to http://10.0.0.1/admin
username:admin
password:admin
(The machine is also accessible in your ethernet using its WAN IP.)
After successful login, go to Timer Settings and at the bottom of the page, set Coinslot Sensor to version 2.

How To Make WiFi Vending Machine


Step 4: Connecting All Components


Connect all the connections base on the circuit diagram. Make sure to check the positive ang negative terminal of the 12V DC power supply for the coinslot to work properly.

How To Make WiFi Vending Machine

Step 5: Update the Software

Software is constantly being improved, you need to update the software after installation to get the latest features. To update the software, go to the admin settings and navigate to Device section. Then click the Check For Updates button at the bottom of the page. Then click for Install Updates button.
Note:
Raspberry will use it's built-in wifi module to broadcast the SSID. But its signal is very weak and recommended only for testing purposes. It is best to upgrade the antenna usingexternal access point / CPE antenna to extend the wifi range and speed of your wifi vending machine.
Source: AdoPisoWifi

Comments