Download Firmware Code for the First Time - aeonSolutions/openScience-Smart-DAQ-to-Upload-Live-Experimental-Data-to-a-Data-Repository GitHub Wiki
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!
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:
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!
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.
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
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.
- Windows (EXE) -- Driver executable
- Windows (ZIP) : Driver v3.4 (2016-09-27)
- Mac (ZIP) : Driver v1.5 (2018-07-04)
- Linux (ZIP) : Driver v1.5 (2018-03-18)
The CH340 is made by WCH. You can find the latest version of their drivers on their English-translated website.
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.
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
Alternatively, and if you do not want to build a PCB by yourself, you can buy here:

