Giter Club home page Giter Club logo

dms-codes / arduino2uiss Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6 KB

Serial Data Logger Arduino to UISS software This Python script is a simple serial data logger that reads data from a serial port, processes it, and logs it to a text file. It's designed to work with a device connected to a serial port (e.g., an Arduino) that sends data in a specific format.

Home Page: https://github.com/dms-codes/arduino2uiss

Python 63.08% C++ 36.92%
aprs datalogger python radioamateur serial uiss

arduino2uiss's Introduction

Serial Data Logger Arduino to UISS software

This Python script is a simple serial data logger that reads data from a serial port, processes it, and logs it to a text file. It's designed to work with a device connected to a serial port (e.g., an Arduino) that sends data in a specific format. The application here is to read wx data from Arduino, save to file to be used by UISS APRS software.

Requirements

Before you begin, make sure you have the following:

  • Python installed on your system.

  • A device (e.g., Arduino) connected to a serial port (COM6 in this example).

  • The device should send data in a specific format (temperature and humidity values).

  • You may need to install the pyserial library if it's not already installed. You can install it using the following command:

    pip install pyserial

Usage

  1. Clone this repository or download the script.

  2. Open the script and modify the serial port and baud rate settings as needed. In this example, the serial port is set to 'COM6' and the baud rate is 9600.

  3. Run the script using the following command:

    python serial_data_logger.py
  4. The script will continuously read data from the specified serial port, extract temperature and humidity values, and create a formatted result string.

  5. The result string is logged to a text file named "data.txt" in the same directory as the script.

Example

Here's an example of what the script's output might look like in "data.txt":

!0619.80S/10648.25E_000/000g000t025h059DMS
!0619.80S/10648.25E_000/000g000t026h060DMS
!0619.80S/10648.25E_000/000g000t026h061DMS

Note

  • Ensure that the connected device is sending data in the expected format (temperature and humidity values).
  • This script continuously logs data, so be cautious about running it for extended periods as it will keep appending data to "data.txt."

Feel free to customize and extend the script to meet your specific requirements or integrate it into other projects as necessary.

arduino2uiss's People

Contributors

dms-codes 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.