ANAVI Miracle Controller

by Anavi Technology

An ESP8266-powered, open source, Wi-Fi dev board to control two 5 V or two 12 V LED strips

View all updates Jun 03, 2020

Flashing Firmware with Esptool

by ANAVI Technology

To get all new features it is highly recommended to run the latest stable version of the free and open source firmware for ANAVI Miracle Controller. In a previous update we explained how to build it from source and upload it through Arduino IDE. However, there is an easier way to flash the latest version with esptool!

Esptool is a free and open source ESP8266 and ESP32 serial bootloader command-line utility. The source code is available at GitHub under GPLv2 license. It is written in Python therefore it is universal and runs on Microsoft Windows, Mac OS and any GNU/Linux distribution (Ubuntu, Debian, Linux Mint, Fedora, CentOS, OpenSUSE, etc).

Installation

As of today, esptool works fine with Python 2.7 or Python 3. Python 2 has been deprecated since January 1, 2020 therefore it is recommended to use esptool with Python 3.

The easiest way to install the latest stable version of esptool is from pypi via pip. The pre-requirements are to have Python and pip installed. Open a terminal and execute the following command:

pip install esptool

Flashing Firmware

Using write_flash argument esptool flashes pre-compiled binary to devices with ESP8266 or ESP32. Here are the exact steps:

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 anavi-miracle-controller-sw-100-20200527.bin

NOTE: As of the moment the latest stable version is anavi-miracle-controller-sw-100-20200527.bin. Over the time other version may be released so please make sure you are using the latest and replace the file name accordingly in the command above!

Pretty much the same approach can be used to flash the pre-compiled firmware to any of our dev boards with ESP8266, like ANAVI Fume Extractor, ANAVI Thermometer, ANAVI Gas Detector, etc. Apart from flashing firmware to ESP8266 and ESP32 devices, esptool has a lot of other advanced features which I encourage you to explore. Have a look at the video tutorial and run esptool.py -h to learn more.

Last but not least, I would like to say huge thanks to the contributors of the open source firmware of ANAVI Miracle Controller: Per Cederqvist, CODeRUS and Daniel Landau!

If you find a bug or if you want to submit a new feature don’t hesitate to join our development efforts in GitHub through opening an issue or submitting a GitHub pull request.

Thanks,
Leon

About the Author

ANAVI Technology

AnaviTechnology  ·  AnaviTechnology  ·   Plovdiv, Bulgaria


$3,106 raised

of $1 goal

Funded! Order Below

Product Choices

$25

ANAVI Miracle Controller

Open source hardware Wi-Fi development board for controlling addressable LED strips. Includes one ANAVI Miracle Controller.


$39

Starter Kit

The perfect kit for getting started. Includes one ANAVI Miracle Controller, two addressable 5 V WS2812B LED strips with 10 LEDs each, and one USB-to-serial debug cable.


$49

Advanced Kit

Includes one ANAVI Miracle Controller, two addressable 5 V WS2812B LED strips with 10 LEDs each, one acrylic enclosure, one 0.96" OLED Display, one USB-to-serial debug cable, and one light sensor module.


$59

Developer Kit

Everything a developer needs! Includes one ANAVI Miracle Controller, two addressable WS2812B LED strips with 10 LEDs each, one acrylic enclosure, one 0.96" OLED Display, one USB-to-serial debug cable, and one of each sensor module: light, gestures & color recognition, temperature, and barometric pressure.

Credits

Anavi Technology

Open source hardware created and powered by free and open source software


ANAVI Technology


Olimex Ltd

hardware components

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: