Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
/ Serial-Lab Public archive

Serial Lab is a Windows application (Written in C#) that reads, writes and plots data from/to serial port

Notifications You must be signed in to change notification settings

ahsayde/Serial-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial Lab is a Windows application (Written in C#) that reads, writes and plots data from/to serial port.

Youtube

https://www.youtube.com/watch?v=9CP6luC7eBs

Features

  • Read and write data to serial ports even under high traffic load without freezing.
  • Serial plotter for up to 5 different channels with useful options for curve fitting.
  • There are 3 different modes to write data to the serial port: Send word - Key capture - Write from file.
  • Displaying incoming data as String or Hex.
  • Data logger to save incoming data to a .txt or .csv file.

How to plot serial data?

In order for the data to be plotted, variables must be seperated by comma ( , ) and a newline ( \n ) character must be added at the end. ####Here an example code for Arduino platform

void setup()
{
	float var1, var2, var3;
	Serial.begin(9600);
}					

void loop()
{
	for(int i=0; i<360; i++)
	{
		var1 = 	sin(i* DEG_TO_RAD);
		var2 = -1*sin(i* DEG_TO_RAD);
		var3 = 	0.5*sin(i* DEG_TO_RAD);
		//send variables
		serial.print(var1);
		serial.print(",");
		serial.print(var2);
		serial.print(",");
		serial.print(var3);
		serial.println();
	}
}

so data must be in this form

var1,var2,var3\n

and the result will be as shown in the image below

Download

Available versions
SerialLabSetupV1.0.0.msi

Author

Ahmed El-Sayed
[email protected]

License

Licensed under the GNU GPLv3
Icon is designed by Freepik from Flaticon

About

Serial Lab is a Windows application (Written in C#) that reads, writes and plots data from/to serial port

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages