Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.41 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.41 KB

Server and Voter firmware

Compile and upload

  1. Download Python3, install PySerial and EspTool:

    py -m pip install pyserial
    py -m pip install esptool
  2. Download Arduino IDE, install ESP8266 board:

  3. Open this sketchbook in Arduino IDE and export the server and voter sketches as compiled binaries.

  4. Edit upload_server.py и upload_voter.py to specify the COM port and Wi-Fi settings.

    (Optional) You may also want to edit common.py, for instance, to modify timeouts.

  5. Run upload_server.py and upload_voter.py.

    To upload firmware to the voter, press its middle button on startup. That is required to put it in configuration mode.

  6. To ensure that the firmware and the settings were written correctly, run check_settings.py.

Scheme

All schemes were made in Easy EDA.

The exported voter PCB file is scheme/pcb/Gerber.zip. You can open it in most Gerber viewers, for example in altium.com/viewer.

On the PCB you can find a power switch and a UART shield for firmware upload and configuration.

voter connection