User Tools

Site Tools


4.0.0:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
4.0.0:index [2020/09/28 11:27]
admin [Wireless Coinslot]
4.0.0:index [2024/02/04 01:20] (current)
Line 5: Line 5:
 There are two ways you can install AdoPiSoft System into your machine: There are two ways you can install AdoPiSoft System into your machine:
   - **[[4.0.0:index#1._image_flashing| Image Flashing (Orange Pi, Raspberry Pi, Newifi)]]**   - **[[4.0.0:index#1._image_flashing| Image Flashing (Orange Pi, Raspberry Pi, Newifi)]]**
-  - **[[4.0.0:index#2._command-line| Command Line (Ubuntu Server)]]**+  - **[[4.0.0:index#2._command-line| Command Line (Ubuntu Server 16.04/18.04 or Armbian)]]**
  
  
Line 37: Line 37:
  
  
-Command line installation is used when software image is not available for your board/machine. First, you need to have access to the command line of your board/machine. In this guide, we will use **Raspbian** as an example. But this guide is also applicable to any debian-based OS like [[https://www.armbian.com/download/ | Armbian ]] and [[https://ubuntu.com/download/server | Ubuntu Server]] 16.04/18.04 (for virtual machines). For Orange PI boards, you can download the [[http://www.orangepi.org/downloadresources | OPI image here]]. Just follow the corresponding board type and their supported OS.+Command line installation is used when software image is not available for your board/machine. First, you need to have access to the command line of your board/machine. In this guide, we will use **Raspbian** as an example. But this guide is also applicable to any debian-based OS like [[https://www.armbian.com/download/ | Armbian ]] and [[https://ubuntu.com/download/server | Ubuntu Server]] 16.04/18.04 . For Orange PI boards, you can download the [[http://www.orangepi.org/downloadresources | OPI image here]]. Just follow the corresponding board type and their supported OS.
  
 **NOTE:** **NOTE:**
-//Make sure to install a command-line OS only. OS's with desktop environment is not supported. For Raspberry Pi, this means the Raspbian Lite image. For Ubuntu, choose the Ubuntu Server ISO. Armbian is almost always command-line only.//+//Make sure to install a command-line OS only. OS's with desktop environment is not supported. For Raspberry Pi, this means the Raspbian Lite image. For Ubuntu, choose the Ubuntu Server ISO(16.04/18.04). Armbian is almost always command-line only.//
  
 Connect your **LAN cable**, **keyboard**, **monitor** and **USB to LAN adapter**(optional) to your board. Then power on your board and wait for the login screen to appear.  The default user for Raspbian is **pi** with password **raspberry**. Connect your **LAN cable**, **keyboard**, **monitor** and **USB to LAN adapter**(optional) to your board. Then power on your board and wait for the login screen to appear.  The default user for Raspbian is **pi** with password **raspberry**.
Line 60: Line 60:
      
 For Raspberry Pi 3 & 4, OrangePi Zero/One/PC (armhf architecture): For Raspberry Pi 3 & 4, OrangePi Zero/One/PC (armhf architecture):
-  wget https://github.com/AdoPiSoft/Releases/releases/download/4.0.3/adopisoft-4.0.3-armhf-node-v12.16.1.deb +  wget https://github.com/AdoPiSoft/Releases/releases/download/4.1.2/adopisoft-4.1.2-release-armhf-node-v12.16.1.deb 
-  sudo apt-get install ./adopisoft-4.0.3-armhf-node-v12.16.1.deb+  sudo apt-get install ./adopisoft-4.1.2-release-armhf-node-v12.16.1.deb
  
  
 For x64 machines - VM's/Server (amd64 architecture): For x64 machines - VM's/Server (amd64 architecture):
-  wget https://github.com/AdoPiSoft/Releases/releases/download/4.0.3/adopisoft-4.0.3-amd64-node-v12.16.1.deb +  wget https://github.com/AdoPiSoft/Releases/releases/download/4.1.2/adopisoft-4.1.2-release-amd64-node-v12.18.3.deb 
-  sudo apt-get install ./adopisoft-4.0.3-amd64-node-v12.16.1.deb+  sudo apt-get install ./adopisoft-4.1.2-release-amd64-node-v12.18.3.deb
      
 For RaspberryPi, you have to unblock wifi: For RaspberryPi, you have to unblock wifi:
Line 93: Line 93:
   sudo chmod a+x ./ado-psql-script.sh   sudo chmod a+x ./ado-psql-script.sh
   sudo ./ado-psql-script.sh   sudo ./ado-psql-script.sh
 +  --- if the above command failed, try the following: ---
 +  bash ./ado-psql-script.sh
  
 Then in the admin "Security -> Database Connection" settings, change the config to: Then in the admin "Security -> Database Connection" settings, change the config to:
Line 224: Line 226:
   - Select **GPIO** coinslot type   - Select **GPIO** coinslot type
   - Set alias //(ex. Frontyard Coin Slot)//   - Set alias //(ex. Frontyard Coin Slot)//
-  - Set **GPIO Pin for Coin Acceptor** to **3** (or any [[ 4.0.0-beta.1:gpio_numbering | GPIO pin ]] you prefer)+  - Set **GPIO Pin for Coin Acceptor** to **3** (or any [[4.0.0:gpio_numbering| GPIO pin ]] you prefer)
   - Set **GPIO Pin for Bill Acceptor** //(if you have bill acceptor)//   - Set **GPIO Pin for Bill Acceptor** //(if you have bill acceptor)//
   - Set the relay settings if you have a relay setup for inhibit pin //(opotional)//. Please refer to [[4.0.0-beta.1:relay_setup]] for more information.   - Set the relay settings if you have a relay setup for inhibit pin //(opotional)//. Please refer to [[4.0.0-beta.1:relay_setup]] for more information.
Line 238: Line 240:
  
 === GPIO Numbering === === GPIO Numbering ===
-Please refer to [[4.0.0-beta.1:gpio_numbering]] page.+Please refer to [[4.0.0:gpio_numbering]] page.
  
 ==== Serial Coinslot ==== ==== Serial Coinslot ====
Line 245: Line 247:
 === Flash Arduino === === Flash Arduino ===
 2 ways to flash arduino 2 ways to flash arduino
-  - **[[4.0.0-beta.1:arduino_serial_flashing_using_phone| Using Android Phone with OTG support]]** +  - **[[:arduino_serial_flashing_using_phone| Using Android Phone with OTG support]]** 
-  - **[[4.0.0-beta.1:arduino_serial_flashing_using_pc| Using PC]]**+  - **[[:arduino_serial_flashing_using_pc| Using PC]]**
  
 === Configuration === === Configuration ===
Line 280: Line 282:
   - Set **SECURITY TOKEN** //(This should match with the ESP8266's token)//   - Set **SECURITY TOKEN** //(This should match with the ESP8266's token)//
   - Flash your ESP8266 board. Please refer to [[4.0.0:wireless_coinslot_flashing| ESP8266 Flashing guide]] for more information.   - Flash your ESP8266 board. Please refer to [[4.0.0:wireless_coinslot_flashing| ESP8266 Flashing guide]] for more information.
-  - Configure your ESP8266. Please refer to [[4.0.0:esp8266_configuration_guide]] for more information.+  - Configure your ESP8266. Please refer to [[:esp8266_configuration_guide| ESP8266 Config guide]] for more information.
  
  
Line 313: Line 315:
 For a **Reset Button**, connect to 3V on button press. When pin D8 is HIGH, payment que session will be cancelled same as clicking "Cancel" on the captive portal payment que. For a **Reset Button**, connect to 3V on button press. When pin D8 is HIGH, payment que session will be cancelled same as clicking "Cancel" on the captive portal payment que.
  
-For a **Buzzer**, it usually has 3 wires 2 for power(+/-) and 1 for input which is PIN D8. Please refer to {{ :4.0.0-beta.1:buzzer-module | Buzzer module guide}}+For a **Buzzer**, it usually has 3 wires 2 for power(+/-) and 1 for input which is PIN D8. Please refer to [[4.0.0:buzzer-module| Buzzer module guide]]
  
 ---- ----
4.0.0/index.1601292441.txt.gz · Last modified: 2024/02/04 01:27 (external edit)