MORLOCK mk3

By Curt

[ Community Forums ] [ Products ] [ Docs ] [ Downloads ] [ History ]


Programming As An Arduino

The Morlock board can be programmed as an ESP-32-C6 module with the Arduino IDE, to configure it:
  • Download and install the latest version of the Arduino dev environment, as of now that's 2.3.2
  • Also get the Morlock project files
  • Unzip it anywhere and load main.ino
  • Enter the preferences menu so it can locate the Morlock project definitions, and add https://dl.espressif.com/dl/package_esp32_index.json to the download prefs:

  • install the 'esp32' board package important to install version 3.0.0+ !

  • now you need to select the following:
    1 Configure the esp32-c6 dev module
    2 USB CDC On Boot: "Disabled", if this is "enabled" then the arduino debug console talks out of the COM port the USB is hooked up to, with it off it uses the built-in serial port. That serial port is connected to on the bottom of the board with these two pins:
    3 Partition scheme needs to be minimal so the BLE implementation fits, and allows for the over-the-air reprogramming

  • Last thing to do is install the libraries required by the Morlock firmware, they are all availble from "Manage Libraries" (say yes to all dependancies)

    • Adafruit SSD1306
    • Adafruit GFX Library
    • ESP32-OTA
    • ESP Telnet
  • The board programs directly over its USB port without needing anything in-between, the IDE should just recognize it

Also the Rx/Dx pins of the ESP-C6 are broken out below, they are 3.3v level, you will need a translation board, here it is hooked up to my Adafruit FTDI