Skip to content

How to flash

e2002 edited this page Jul 1, 2022 · 6 revisions

Preparing

  1. Install Arduino IDE
    [HowTo] Arduino IDE 1 Installation (Windows) https://docs.arduino.cc/software/ide-v1/tutorials/Windows
    [HowTo] Arduino IDE 1 Installation (Linux) https://docs.arduino.cc/software/ide-v1/tutorials/Linux

  2. Install the ESP32 core using Arduino IDE
    [HowTo] Installing using Arduino IDE https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide

  3. Install the ESP32 Filesystem Uploader in Arduino IDE
    [HowTo] Installing ESP32 Filesystem Uploader in Arduino IDE https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/

  4. Install the latest versions of required Libraries (ESPAsyncWebServer, AsyncTCP) from Github
    [HowTo] Downloading from GitHub https://sites.northwestern.edu/researchcomputing/resources/downloading-from-github/ [HowTo] Importing a .zip Library https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries#importing-a-zip-library

  5. Install the required libraries (https://github.com/e2002/yoradio#libraries), depending on your hardware usage using the Library Manager
    [HowTo] Installing Libraries Using the Library Manager https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries#using-the-library-manager

  6. Download the latest version of ёРадио and unpack it
    [HowTo] Downloading from GitHub https://sites.northwestern.edu/researchcomputing/resources/downloading-from-github/

Build & Flash

  1. Copy yoradio/exsamples/myoptions.h in to project root directory yoradio/yoRadio/

  2. Open yoradio/yoRadio/yoRadio.ino in Arduino IDE

  3. Uncomment the necessary settings in the myoptions.h file and change them according to the connected modules (display, DAC, encoder, etc.).

  4. Set up the ESP32 board according to the picture

  5. Upload Data to ESP32 via Tools > ESP32 Sketch Data Upload

  6. Upload Sketch to ESP32 via Sketch > Upload

  7. Reboot ESP32

Adjustment

  1. Connect to yoRadioAP acces point with password 12345987, go to http://192.168.4.1/ and configure wifi connections.

  2. After successful connection go to http://<yoipaddress>/ , add stations to playlist (or import WebStations.txt from KaRadio)

Clone this wiki locally