Coder Social home page Coder Social logo

wwoofbum / python-serial-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adamwtow/python-serial-monitor

0.0 0.0 0.0 3 KB

Python Serial Monitor is a simple cross-platform serial monitor designed for speedy reconnect and instant character sending

Python 100.00%

python-serial-monitor's Introduction

Python Serial Monitor

Dependencies

To use Python Serial Monitor, you will need Python 2.7 and the pySerial library. Follow the steps below to install these dependencies for your platform.

Ubuntu

It is likely that the required pySerial library is already installed. If not, you can install by running the following commands.

sudo apt-get install python-pip
pip install pyserial

OSX

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install pyserial

You may need to run sudo python get-pip.py if you get a permission denied error.

Windows

At the moment, I haven't been able to get this to run inside of a Cygwin terminal. Use a standard windows Command Prompt.

If you don't have Python 2.7 installed, you will need to install it from https://www.python.org/downloads/. Run the exe to install Python 2.7.x and make sure to turn on the option to add Python to your path during the installation. If you miss this step, you will need to manually add Python to your path.

Download get-pip.py from https://bootstrap.pypa.io/get-pip.py. In a Command Prompt, navigate to the directory you downloaded get-pip.py to and run python get-pip.py.

Run pip install pyserial.

Use

After following the installation instructions, use Python Serial Monitor by running python python-serial-monitor.py in the directory that you downloaded the python script to. If your Teensy is connected and is running some code where serial communication has been setup, it should find the correct port and connect automatically. Pressing 'esc' should exit the program (ctrl+c or cmd+c won't work).

Note: Python Serial Monitor will search for the port at which your Teensy is connected. To do this, it trials the following options where 'n' is a number ranging from 0 to 64.

'/dev/ttyUSBn',
'/dev/ttyACMn',
'COMn',
'/dev/tty.usbmodem1234n'

If your Teensy is connected to a different port base name (specifically Mac OSX users), you will need to add the base name inside python-serial-monitor.py manually.

python-serial-monitor's People

Contributors

adam-tow-qut avatar adamwtow avatar hbosnjak 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.