Installation & Flashing Guide
Set up, wire, and flash a compatible ESP32 Multi Coin Slot for use with Ubiqon.
Requirements
Compatible ESP32-WROOM-32 development board used by the Ubiqon Multi Coin Slot.
Compatible coin acceptor with pulse output.
ESP32 5V DC power supply rated at 1A minimum.
Coin Slot 12V DC power supply rated at 2A minimum.
Required for the ESP32 flashing procedure.
Default Wiring
The default Ubiqon Multi Coin Slot firmware uses D15 for the coin-slot pulse input and D2 for the relay output.
| Function | ESP32 Pin |
|---|---|
| Coin Slot Pulse | D15 / GPIO15 |
| Coin Slot set pin, active high | D2 / GPIO2 |
| 12V Ground | GND |
Coin Slot Configuration
Configure the coin slot as:
Flashing the ESP32
Ubiqon Multi Coin Slot firmware is distributed as a .bin file. You can flash the firmware using NodeMCU PyFlasher, a simple Windows GUI based on Espressif's esptool.
1. Download the Ubiqon firmware
Download the latest Multi Coin Slot firmware from the Ubiqon download page.
Download Ubiqon Firmware2. Download NodeMCU PyFlasher
NodeMCU PyFlasher is a portable Windows application for flashing ESP firmware. No separate Python installation is required.
Download NodeMCU PyFlasherOfficial project download hosted on GitHub.
3. Connect the ESP32
Connect the ESP32 to your Windows PC using a USB cable. Make sure the USB cable supports data transfer.
4. Open NodeMCU PyFlasher
Run NodeMCU-PyFlasher.exe. The application is portable and does not require installation.
5. Select the COM port
Select the COM port assigned to your ESP32. You can find the COM port in Windows Device Manager under Ports (COM & LPT).
6. Select the Ubiqon firmware
In NodeMCU PyFlasher, select the downloaded
Ubiqon .bin firmware file.
7. Flash the firmware
Use the default settings unless a specific Ubiqon firmware release provides different instructions. Click Flash NodeMCU and wait for the flashing process to complete.
8. Restart the ESP32
After flashing completes successfully, disconnect and reconnect the ESP32 or restart the board.
After Flashing
- Restart the ESP32.
- Connect the coin slot pulse output to D15.
- Connect the coin slot set pin input to D2.
- Connect the required ground of esp32 to the 12v power supply ground.
- Configure the coin slot for High Pulse output and Active High set pin.
- Power the coin slot using the required 12V DC supply.
- Power the esp32 using the required 5V DC supply.
- Open Ubiqon and scan for the wireless coin slot.
- Add the detected device and enable it.
- Insert a coin and verify that the pulse is detected.
Troubleshooting
ESP32 does not appear in the flashing tool
- Check the USB cable.
- Check the Windows COM port.
- Make sure the ESP32 is in download mode.
- Check the USB/serial driver if necessary.
Coin is not detected
- Check the D15 connection.
- Check the common ground.
- Confirm the coin slot is configured for Active High.
- Verify the coin slot is receiving the correct power.