🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
View All Posts
read
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi
#ARDUINO #BROWSER-BASED #DATA VISUALIZATION #ESP32 #MICROCONTROLLER #OPEN SOURCE #REAL-TIME PLOTTING #WEB SERIAL PLOTTER

I’ve built a web-based serial plotter that makes visualizing data from Arduino, ESP32, and other microcontroller projects much easier. No drivers, no installations - just open your browser and start plotting!

I’ve been messing aroumd with the Web Serial APIs for a while now and got to thinking - why don’t I make a better Serial Plotter?

You can try it out here: Web Serial Plotter

There are some limitations on some browsers, but it should work in Chrome, Edge, and Opera - you can checkout exact browser support here.

It should work the same was as the Arduino Serial Plotter, so you can just output your data in a comma separated list and it will plot it on the graph.

# Optional header defines series names
# time(ms), ax, ay, az
0, 0.01, 0.02, 0.98
10, 0.02, 0.01, 0.99
20, 0.03, 0.00, 1.01

I’ve added a simple signal generator to the plotter, so you can test it without any hardware.

The built-in signal generator lets you test the plotter without any hardware:

  1. Use the generator panel in the header
  2. Choose signal type: Sine (phased), Noise, or Ramp
  3. Adjust sample rate and click “Start”
  4. Data will appear as if from a real device

Open Source & Contributing

The Web Serial Plotter is open source under the GPL v3.0 license. The complete source code is available on GitHub, and I welcome contributions, issues, and feature requests.

#ARDUINO #BROWSER-BASED #DATA VISUALIZATION #ESP32 #MICROCONTROLLER #OPEN SOURCE #REAL-TIME PLOTTING #WEB SERIAL PLOTTER

Related Posts

This number does nothing - Ever wondered about the ubiquitous 'Serial.begin(115200);' in your Arduino projects? It turns out, with boards like the ESP32-S3 offering native USB support, this baud rate doesn't really matter when streaming data. My tests even showed surprising results with different speeds using Arduino and ESP-IDF, highlighting potential in USB full-speed capabilities. I dove into raw performance testing, and saw deviations from expected UART limits. Check out the full video and explore the results if you're curious about maximizing your data transfer speeds!
Self Organising WS2811 LEDs - I've successfully used addressable WS2811 LED strings and an ESP-CAM board to create an adjustable lighting system. The best part is that the image processing code can be duplicated in JavaScript which allows you to use a plain dev board to drive the LEDs instead of needing a camera on your ESP32 board. If you want to replicate this project, you'll need your own ESP32 dev board and some addressable LEDs. After figuring out the location of each LED in 2D space, it's easy to map from each LED's x and y location onto a pattern you want to show on the frame buffer. Desiring to keep it accessible, I've posted detailed instructions and my sample code on GitHub, making sure anyone with basic knowledge can undertake this fun technological DIY project!
Crowdfunding Success - Was it worth it? - I embarked on a thrilling adventure of turning a nifty idea into a tangible product — the ESP32 Rainbow, a Sinclair Spectrum-inspired gadget that merges retro vibes with modern tech. With the brains of an ESP32-S3, capacitive touch, a built-in display, and some snazzy UV silk screen printing, it's a little marvel that got crowdfunded successfully. But, oh boy, was the journey enlightening — from grappling with pricing conundrums and the bureaucracy of certifications to the harrowing odyssey of international shipping. While it didn't line my pockets with gold, seeing people enjoy something I created is worth all the sweat and jitters. Would I do it again? Well, maybe if lightning strikes twice with another great idea.
Augmented Reality In The Browser - This blog showcases the progress of my idea to create an augmented reality Sudoku solver using technology that enables us to solve puzzles in our browser rather than with dedicated apps. I have developed an AR Sudoku solver with a simple image processing pipeline. It identifies and extracts Sudoku puzzles from pictures, recognizes each cell's numbers, solves the puzzle, and renders the solution on top of the original image. This process is accomplished by converting the image to greyscale, conducting thresholding, OCR-processing, and puzzle-solving. I've also done parallel image location and extraction. It's a technical journey that's achieved some high-quality, low-drift results, visible in the video included. The full codebase is accessible on Github. Enjoy the joy of leveraging technology to efficiently solve Sudoku puzzles!
Decoding AVI Files for Fun and... - After some quality time with my ESP32 microcontroller, I've developed a version of the TinyTV and learned a lot about video and audio streaming along the way. Using Python and Wi-Fi technology, I was able to set up the streaming server with audio data, video frames, and metadata. I've can also explored the picture quality challenges of uncompressed image data and learned about MJPEG frames. Together with JPEGDEC for depth decoding, I've managed to effectively use ESP32's dual cores to achieve an inspiring 28 frames per second. Discussing audio sync, storage options and the intricacies of container file formats for video storage led me to the AVI format. The process of reading and processing AVI file headers and the listing subtype 'movi' allowed me to make significant headway in my project. All in all, I'm pretty chuffed with my portable battery powered video player. You can check out my code over on Github!

Related Videos

Forget the Arduino Serial Plotter - try this instead! - Hey everyone! So, you're probably familiar with the Arduino serial plotter, right? It's useful for basic stuff, but I wanted something better, more cross-platform, and runs right in the browser. Enter the web serial plotter, using the web serial API! It's super flexible with zoom, export options, and light/dark mode. You can even pan through history or switch to absolute time. Plus, it's all secure and runs locally. It's open source, and I'd love your contributions or bug reports on GitHub. It's still a work in progress, but I think you'll find it pretty handy!
ESP32 Remote Logging - Learn how to remotely monitor your Arduino devices by sending log messages to a central server using UDP and a paper trail. Get insights into how your hardware is performing, even when you can't physically access it.
Test Arduino & ESP32 Codes in Your Browser: WokWi Simulator Unveiled! - Discover WokWi, an online Arduino and ESP32 simulator with incredible functionality! Test your firmware, run Python code, and simulate various components in this powerful web-based tool.
Live GPIO Viewer - In my latest discovery, I found an incredibly efficient visualization tool from the last outpost workshop that upgrades how I check the status of the GPIO pins on my ESP32. It's super simple to use and allows me to monitor pin activities directly. I set up a couple of LEDs and a button on various GPIO pins to demonstrate its effectiveness and the results were fantastic. Although it currently supports only digital input and output and PWM, I'm optimistic it will expand with time. Thanks to the open-source community, you can find the setup instructions in a GitHub repo. This tool is a revelation and I highly recommend it.
ESP32 and GPS - Learn how to connect a GPS board to an ESP32 and parse location data using the Arduino framework while walking around. This tutorial also includes tips on troubleshooting serial connectivity with a USB to UART board and a terminal program.
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
Blog Logo

Chris Greening


Published

> Image

atomic14

A collection of slightly mad projects, instructive/educational videos, and generally interesting stuff. Building projects around the Arduino and ESP32 platforms - we'll be exploring AI, Computer Vision, Audio, 3D Printing - it may get a bit eclectic...

View All Posts