This open-source app modified how I means ESP32 initiatives

pxl 20260412 061009492 raw 01 mp cover large.jpg


DIY ESP32 initiatives is usually a cost-effective option to construct your dream good house, particularly in case you are searching for one thing distinctive that does not exist in retail shape. Sadly, making plans and researching a undertaking will also be time-consuming and tedious. This is the place Velxio is available in.

Creating ESP32 initiatives takes time

Making plans is the entirety

An ESP32 development board mounted to a breadboard with jumper wires connecting another breadboard. Credit score: Patrick Campanale / How-To Geek

Each and every one in every of my ESP32 initiatives required the similar first step: exhaustive making plans.

The very first thing I all the time do is work out precisely what I will want to make a undertaking paintings. What board is the very best to make use of? What sensors or libraries are vital? Are there particular libraries to be had that make this undertaking more straightforward? Do the libraries in truth paintings with the entire elements concerned?

This is a ton of labor and extremely theoretical—on occasion issues simply do not paintings for one explanation why or any other. Now and again it’s obtrusive, different occasions it calls for in depth debugging.

Truth has an effective way of turning my heavily-researched plan right into a undertaking that calls for 3 revisions (now not together with code tweaks) ahead of it really works as it should be.

Velxio is a neighborhood ESP32 simulator

Probably the most treasured software I have began the usage of not too long ago is an open-source ESP32 simulator, Velxio.

Velxio lets in me to simulate the conduct of an ESP32 board. If you happen to’ve used Wokwi ahead of, the guidelines are very equivalent. The most important distinction is that Velxio runs in the community in a Docker container, both for your PC or server.

I do like the truth that my designs keep on my PC and that I am not depending on a third-party carrier. If I am touring, I will simply connect with my house community to make use of Velxio, or set up it on my pc, if I would not have an web connection in any respect.

Write code before you purchase a board

One of the crucial time-consuming portions of any undertaking involving a microcontroller is programming. Although you set up to discover a undertaking that does what you need, there’s a just right likelihood you can want to make changes, small updates, or customizations to make it are compatible what you had in thoughts.

An ESP32 development board mounted to a breadboard with jumper wires connecting another breadboard.

Why my subsequent microcontroller can be an ESP32, now not a Raspberry Pi Pico

The ESP32 does the entirety a Pi Pico does, however prices much less and lasts 100x longer on batteries

Velxio lets you get started writing code, checking out libraries, and experimenting with other open-source initiatives ahead of any of your bodily portions arrive within the mail.

Take a look at a whole undertaking before you purchase anything else

Velxio is not restricted to coding, both. You’ll additionally use it to simulate your {hardware} prematurely.

That turns out to be useful in two alternative ways. First, it lets you tinker with a spread of various designs ahead of you in truth order your portions. Remodeling a design digitally is so much much less time-consuming (and more economical) than remodeling a design with bodily elements.

2nd, it lets you make certain that your design in truth works. You’ll iron out wiring schematics, take a look at your code with simulated {hardware}, or even make your undertaking “run” as though it had been receiving enter from the actual international.

It is not a ensure, since no simulation can ever account for each and every situation or quirk completely, however it’s nonetheless a significantly better option to paintings.

It has additionally given me a freedom to only check out issues on a whim that you do not truly have when you wish to have to shop for the entirety. I’ve no real interest in some ESP32 initiatives in truth as a result of I do not truly have a use for them, however they are nonetheless fascinating sufficient to load right into a simulator and mess with.

Putting in Velxio

You simplest desire a easy PC

Installing Velxio only takes a single command.

Velxio is unbelievably simple to arrange. It has two necessities:

  • Docker will have to be put in for your device
  • You will have to have an web connection to obtain Velxio

If you are operating Home windows, you wish to have to put in Docker Desktop. If you are operating Linux, apply the Docker set up directions on your particular distro.

As soon as this is completed, run the next command within the Terminal on any running device:

docker run -d -p 3080:80 ghcr.io/davidmonterocrespo24/velxio:grasp

It will take a little bit to obtain and set up, however as soon as it’s completed, open http://localhost:3080/ on your browser. If you are web hosting it on a server for your native community as an alternative of your PC, change localhost with the correct native IP cope with.


Velxio turns out to be useful for extra than simply ESP32 initiatives

I have basically experimented with Velxio within the context of ESP32 initiatives, nevertheless it helps 19 overall forums with a complete of five other CPU architectures.

  • Arduino — Uno, Nano, Mega 2560
  • Raspberry Pi — Pico, Pico W, Raspberry Pi 3B
  • ESP32 — ESP32-C3, ESP32-S3, ESP32-CAM, and others.

And it’s below lively building, so we are more likely to see further microcontrollers added through the years. I have shifted maximum of my Pi MCU initiatives to the RP2350. I would love to peer that incorporated someday sooner or later.


Leave a Comment

Your email address will not be published. Required fields are marked *