Skip to content

This Web App plots Lissajous curves sent by an ESP32 microcontroller using the serial port.

Notifications You must be signed in to change notification settings

lvillasen/ESP32-Lissajous-Serial

Repository files navigation

ESP32 Lissajous Serial

This app plots and prints data received by a serial port from an ESP32 microcontroller. The ESP32 can be programmed with the Arduino IDE software to communicate with client browsers in a bidirectional way using the serial port.

Specifically, you can compile and upload the code provided to an ESP32, or to any microcontroller of your choice, to output two sinusoidal signals, with adjustable frequencies and phases, in columns separated by one space. In turn, this app plots these signals and their resulting Lissajous curve. This app also controls various parameters that can be changed on the ESP32 microcontroller.

This Web App can be easily modified to serve as the basis of a data acquisition system in projects where an ESP32, or any other microcontroller, feeds data into a computer by using the serial port.

Usage

  • This app requires an ESP32 microcontroller
  • Clone the repository
  • Program the ESP32 module with the ESP32_Lissajous_Serial.ino code using the Arduino IDE software.
  • Connect a serial port cable between the computer and a source device.
  • Open the file index.html with any web browser that supports the Web Serial API.
  • Select 230400 baud and click the Connect button.

Live Demo

https://ciiec.buap.mx/ESP32-Lissajous-Serial/

Credits

License

MIT

About

This Web App plots Lissajous curves sent by an ESP32 microcontroller using the serial port.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published