Giter Site home page Giter Site logo

aguhdz / serial-lab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahsayde/serial-lab

0.0 2.0 0.0 630 KB

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

License: GNU General Public License v3.0

C# 100.00%

serial-lab's Introduction

----

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

serial-lab's People

Contributors

ahmedelsayed93 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.