Code Monkey home page Code Monkey logo

stim300's Introduction

STIM300 - Serial Communication with GUI

This Python project provides a graphical user interface for serial communication. It includes features for reading and displaying serial data, running test sequences, and more.

Table of Contents

Environment Setup

1. Install Python and Virtual Environment

sudo apt update
sudo apt install python3 python3-venv

2. Install a Virtual Modem Emulator

To emulate serial communication between two ports, install any virtual modem emulator and establish serial communication with 'full handshake' between both selected COM ports. Virtual Null Modem (Trial version) is recommended. In this code, Serial Read is set as 'COM2' and Serial Write is set as 'COM1'. This can be set according to your needs in the code.

Virtual Null Modem Download

Running the Code

1. Clone Repository to your machine

git clone https://github.com/angelinath21/STIM300
cd STIM300

2. Activate virtual env

python3 -m venv venv
source venv/bin/activate

4. Setup and launch with launch script

chmod +x launch.sh
./launch.sh run

System Overview

The Serial Communication GUI consists of a graphical interface for interacting with serial devices. It includes features such as reading and displaying serial data, running test sequences, and more.

Usage Instructions

1. Sample Frequency:

Enter the desired sample frequency (in Hz) in the provided input field. Click the "Enter" button to set the sample frequency.

2. Enter Test Sequence:

Click "Test Auto," "Test Normal," or "Test Serial" to add corresponding test sequences to the display. If a wrong test is added, clear test sequence and re-input test sequence.

3. Run Test:

Click the "Run Test" button to start the serial communication based on the defined sample frequency and test sequences.

4. Start Serial:

Serial data received will be displayed in the "Serial Read Display" section. Click "Start Serial" to initiate serial communication. This will also open an external terminal that sends

5. Status Box:

The "Status Box" provides information about the system's current status.

stim300's People

Contributors

angelinath21 avatar

Watchers

 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.