Skip to content

Download Firmware Code for the First Time

Miguel Tomas Silva edited this page Aug 17, 2024 · 39 revisions

Navigation | AeonLabs Main Index >> Open Scientific Research >> Real-time validation of Experimental Data Origins: A Swarm of DAQ devices able to Deliver Unique Experimental Data using Blockchain-like Fingerprint ID to a Data Repository >> Wiki >> Setup & Configure SDAD >> Download Firmware Code for the First Time

Change Language
Last update: 17-08-2024


The most recent hardware revision has a built-in USB-C port, and this means it is not necessary for a USB to UART adapter. One still needs to install the device drivers first!

Hardware revisions below 03-2024

To do firmware download, a USB to UART TTL device. There's a purposely designed firmware burner on this repository. This device is able to do firmware download on any MCUs running at 3.0V or 5.0V. Features voltage selection: 3.0V 250mA/500mA or 5.0V 500mA and automatic reset and automatic boot. It can fit an enclosure with dimensions of 35x35x4 mm. Other devices are available and are compatible with the Smart DAQ.

if the reader opts for any of the ones above (or another), make sure the programmer has RTS and DTS lines. Another requirement is the Firmware connector clip. This clip has the dimensions of a SOIC 8. One can buy one on AliExpress (below) or elsewhere:


How to connect

The most recent hardware revision has a built-in USB-C port, and this means it is not necessary for a USB to UART adapter. One still needs to install the device drivers first!

Hardware revisions below 03-2024

This firmware programmer connects via USB-A to any USB port available on a computer. The connector clip is to be connected to the smart DAQ PCB where is available a 8 PIN: 4 on the top and 4 on the bottom of the PCB. A silkscreen marking indicates the 3V3 Pin. See the clamp pinout below.

ICSP UART Clamp pinout

TX   RX   GND   5V0   TOP

4     3     2         1

RST   DTR   -   3V3   Bottom

5       6       7       8


See the video below showing a firmware download with the programmer available here on GitHub


Firmware Programmer Serial Drivers

In order for the firmware programmer to be detected on Windows, installation of the corresponding chip IC driver. For chip ICs based on the CH340x has been tested on:

  • Windows 7/10
  • Mac OSX
    • v10.10.5 (Yosemite)
    • v10.11.6 (El Capitan)
    • v10.13.0 (High Sierra)
    • v10.14.5 (Mojave)
  • Linux
  • Raspbian Stretch (11-13-2018 release) for the Raspberry Pi
  • Raspbian Buster (2019-07-10 release) for the Raspberry Pi
  • Ubuntu v18.04.2, 64-bit

These operating systems have the CDC drivers pre-installed, which means you shouldn't need to install any extra software.

The CH340 is made by WCH. You can find the latest version of their drivers on their English-translated website.


Compatible Software Studio

The firmware code available can be opened on the following software studios

  • Arduino Studio
  • Visual Code
  • Platform IO

There are a plethora of tutorials on Google on how to do firmware downloads for each of the studios above.


Firmware download using a USB to UART TTL Burner


Q&A Free Discord Server

If you have any questions join the free Discord Server for a quicker response

There are useful answers on Stack Exchange about this topic I recommend reading. One is ESP-WROOM-32 layout USB-UART and ESP32 with FTDI programmer


Fully assembled ready to use Smart DAQ device

Alternatively, and if you do not want to build a PCB by yourself, you can buy here:

Clone this wiki locally