Tags

Python

  • 2009-10-21

    A quick serial logging application

    Recently when debugging a device connected to a rs485 bus, I needed a simple application to dump the raw data coming over the rs485 bus.  Minicom does all kinds of weird terminal stuff, plus it will not display binary data, so that was out.…

  • 2009-01-09

    Tips for reading a serial data stream in Python

    Interfacing with a RS232 serial device is a common task when using Python in embedded applications.  The easiest way to get python talking to serial ports is use the pyserial project found at  http://pyserial.sourceforge.net/.  This module …

  • 2009-01-09

    How to Optimize Python reads for general data

    The Python file object read() function acts a little differently than the standard read() found in C.  This article describes some of these differences and how to optimize reads for general continuous data streams such as reading data from …

  • 2009-01-09

    How to Implement a Web Application Framework in an Embedded Linux System

    As devices are increasingly more networked, an embedded web server is becoming a standard way for users to interact with and configure an embedded device using a standard web browser. As an example, most pieces of networking equipment (suc…