Hardware Assembly ================= This section covers wiring the electronics together. Gather the parts from the :doc:`../bill-of-materials` first. If you also want to print an enclosure, see :doc:`../3d-printing/index`. .. toctree:: :maxdepth: 1 wiring coin-acceptor Assembly order -------------- 1. Set the step-up converter's output voltage **before** connecting the coin acceptor (it runs on 12 V). See :doc:`coin-acceptor`. 2. Wire the e-paper display to the ESP32 — see the pin tables in :doc:`wiring`. 3. Connect the coin acceptor and its blocking MOSFET (:doc:`wiring`). 4. Connect the LED push button (:doc:`wiring`). 5. Cross-check everything against the circuit diagram for your board below. Circuit diagrams ---------------- There are two wiring options depending on which ESP32 / display-driver combination you use. **1. Standard ESP32 with a separate display / driver board** .. figure:: ../assets/schematics/offlineATM-xxxxxx.png :width: 100% :alt: Circuit diagram for a standard ESP32 Wiring for a standard ESP32 (the "Generic" board profile). **2. Waveshare ESP32 with an integrated driver board and a separate display** .. figure:: ../assets/schematics/offlineATM-WaveshareESP32-xxxxxx.png :width: 100% :alt: Circuit diagram for a Waveshare ESP32 Wiring for the Waveshare ESP32 driver board (the "Waveshare" board profile). .. note:: Higher-resolution and editable sources are in the repository: `standard ESP32 (SVG) `__, `Waveshare ESP32 (SVG) `__, and the editable `Visio source (.vsdx) `__. Construction photos ------------------- The following photos show a build using the Waveshare ESP32 driver board. .. figure:: ../assets/photos/WaveshareESP32_construction_001.jpg :width: 100% :alt: Waveshare ESP32 construction, view 1 .. figure:: ../assets/photos/WaveshareESP32_construction_002.jpg :width: 100% :alt: Waveshare ESP32 construction, view 2 .. figure:: ../assets/photos/WaveshareESP32_construction_003.jpg :width: 100% :alt: Waveshare ESP32 construction, view 3 .. figure:: ../assets/photos/WaveshareESP32_construction_004.jpg :width: 100% :alt: Waveshare ESP32 construction, view 4 .. figure:: ../assets/photos/WaveshareESP32_construction_005.jpg :width: 100% :alt: Waveshare ESP32 construction, view 5