All posts by end2end

Car Engine Model plot using cvsplot

csvplot – A command line script which uses Microsoft Excel to plot a graph from a Comma-separated values (CSV) file

Please note that csvplot source code is now moved to GitHub. Source code can be downloaded from the project’s GitHub page.

Purpose

I do software prototyping using a wide range of programming language. I often have to generate data that changes over time which is mostly displayed in a grid format. However, that’s not the best way to understand how the data changes over time compared to plotting the data to a graph.

Most programming language I know does not offer a native library for plotting data to a graph. It is not an easy task. Most programming language often require external libraries for implementing the process and each library does not work the same way.

Excel is a native platform for parsing Comma-separated values (CSV) files and can be scripted to plot the result into an image.

The purpose of this script is to allows any programming language which generates data to plot the data into an image by saving the raw data to a CSV file and then using the power of Excel to plot the result into an image.

Keep reading csvplot – A command line script which uses Microsoft Excel to plot a graph from a Comma-separated values (CSV) file ?

SoftTimers – A collection of software timers to easily compute elapsed time since an event occurred

Introduction

The following article is about my simplest library that I wrote for the arduino: SoftTimers. The SoftTimers arduino library allows one to properly time multiple events and know when each “timer” expires meaning that an action is required.

Keep reading SoftTimers – A collection of software timers to easily compute elapsed time since an event occurred ?

AnyRtttl arduino library

AnyRtttl – A feature rich arduino library for playing RTTTL melodies

Introduction

The following article is about yet another Arduino library that I have written. AnyRtttl is a feature rich arduino library for playing RTTTL melodies. The library offers much more interesting features than relying on the widely available void play_rtttl(char *p) function. The AnyRtttl is a feature rich library which supports all best RTTTL features.

Keep reading AnyRtttl – A feature rich arduino library for playing RTTTL melodies ?

Arduino-win32Arduino-library

win32Arduino: a win32 library that implements most arduino functions

Introduction

Please note that win32Arduino source code is now moved to GitHub. Source code can be downloaded from the project’s GitHub page.

After implementing many arduino library, I realized that unit testing a library is harder than I though. Most of the time, the library does not even require advanced arduino functionalities and could be tested outside of the arduino platform.

The win32Arduino is a solution to this issue.

Keep reading win32Arduino: a win32 library that implements most arduino functions ?

svnpropertylog v1.1.29 screenshot

svnpropertylog – A script which finds all revisions where a specific subversion property has changed

Purpose

The subversion application does not offer native support for identifying changes to subversion properties as easily as changes to files.

The purpose of this script is to allows a subversion user to find all revisions where a change to a specific property occurred. In other words, it’s a “show log for subversion properties“.

Keep reading svnpropertylog – A script which finds all revisions where a specific subversion property has changed ?

How to multiplex RC Transmitter switches into a single channel

How to multiplex RC Transmitter switches into a single channel

Introduction

In a personal project, I wanted to add 2 new devices to an existing quadcopter. The quadcopter was equipped with a 6-channel receiver meaning I only had 1 spare channel to control the 2 devices:
CH 1 : Throttle
CH 2 : Rudder
CH 3 : Ailerons
CH 4 : Elevator
CH 5 : Flight mode
CH 6 : ???
The following article explains how I manage to solve the issue: How can I control more than one device using a single channel.

Keep reading How to multiplex RC Transmitter switches into a single channel ?
Arduino RcReceiverSignal library

RcReceiverSignal: an arduino library for retrieving the RC Transmitter value from an RC Receiver pulse

Introduction

The following arduino library was written to use the findings found during the Mapping RC Transmitter PWM signal to actual transmitter values article. All results were wrapped into a library for ease of use.

The RcReceiverSignal is an arduino library that allows one to read a signal sent from a Remote Controlled (RC) receiver.

Keep reading RcReceiverSignal: an arduino library for retrieving the RC Transmitter value from an RC Receiver pulse ?

Mapping RC Transmitter PWM signal to actual transmitter values

Mapping RC Transmitter PWM signal to actual transmitter values

Introduction

If you ever need to use an RC Transmitter & receiver for a personal project, an easy way to retrieve the signal is to connect the receiver to a micro-controller.

However, decoding the signal to get actual transmitter values is not as easy as it sounds. You need to know the correct encoding and searching on the internet about the subject gives erratic results.

Here is the full article that explains how to correctly map an RC Transmitter PWM signal to actual transmitter values.

Keep reading Mapping RC Transmitter PWM signal to actual transmitter values ?