Skip to main content

How to use Wokwi Simulator with Espressif-IDE

·2 mins·
2.9.0 Espressif Ide ESP-IDF Wokwi Espressif
Author
Kondal Kolipaka
Building IDE’s for Espressif ESP-IDF developers

The Espressif IDE version 2.9.0 has recently been released, introducing a new feature for the Espressif community who want to use the Wokwi simulator directly from within the IDE.

What is Wokwi?

Wokwi is an online electronics simulator that allows users to simulate various boards, parts, and sensors, including the ESP32. With a browser-based interface, Wokwi offers a simple and intuitive way to start coding your next IoT project within seconds.

How does the integration work between Wokwi and Espressif-IDE?

Espressif-IDE provides a development environment for building IoT applications using ESP-IDF with various Espressif boards. While you can build, flash, monitor, and debug your applications within the IDE, visualizing the serial output requires an esp32-based development board. This is where the Wokwi simulator comes in.

Espressif-IDE provides a Wokwi integration plugin that allows the IDE to communicate with the Wokwi Server over a websocket, enabling the flashing of the .bin file of the project built in the IDE. Based on the chip target and project ID provided by the IDE, the Wokwi server launches the simulator in the system browser for the specified target. As a result, users can view the serial monitor output in the IDE console while communicating with the simulator.

To use the Wokwi simulator from the Espressif-IDE, you need to follow these simple steps:

Conclusion

In summary, the integration of the Wokwi simulator into Espressif-IDE provides a seamless experience for users to build and test their IoT projects without the need for a physical development board. This integration opens up new possibilities for developers looking to streamline their workflow and experiment with new ideas in a cost-effective manner.

Related

What’s New in Espressif-IDE 2.8.0 and a Way Forward
·4 mins
Espressif-IDE 2.8.0 Espresif-IDE bug fixes Espressif Ide ESP-IDF Espressif Eclipse
Espressif-IDE 2.8.0 was released recently, featuring a Partition table editor NVS Partition Editor along with enhancements in the Debugger Configuration and many more bug fixes to stabilize and improve the overall quality of the plugin.
Espressif IDE and What’s new in v2.4.0 — Part 1
·6 mins
v2.4.0 v2.4.1 Espressif Ide Idf Eclipse Plugin ESP-IDF Espressif Eclipse
Espressif IDE is an Integrated Development Environment(IDE) based on Eclipse CDT for developing IoT Applications from end to end using the ESP-IDF(IoT Development Framework).
Espressif IDE and What’s new in v2.4.0 — Part 2
·3 mins
Espressif Ide Idf Eclipse Plugin ESP-IDF Espressif Eclipse
This section will talk about Espressif IDE installation options that are available and platforms supported.