Saturday, 29 November 2014

Comduino Terminal v 2.0

This application is a test utility for reading and displaying states of digital and analog inputs, and setting states of outputs. Read post of Tuesday18th June, 2013 for a full explanation. 

This is a ClickOnce distribution so there is no fancy installer. Eventually I may get around to using a proper installation utility which will result in a single .exe or .msi setup file. For the moment I have uploaded the installation files to Google Drive as a zip archive. Download the zip file to your desktop and unzip it. This creates a folder called ComduinoTerminal on your desktop  (or a sub folder in the folder where you extracted the zip file). Run setup.exe in this folder to install the application. There is probably a better way of doing this.... any suggestions would be welcome.
This new version has a panel on the form with a series of buttons, one for each output allowing the state of outputs to be set.

 Download here:  Comduino Terminal v2.0

This application is specifically for the Leonardo board. If you want to use it with other boards, you need to modify the code, which basically involves changing #defines for number of channels in the sketch and the equivalent in the VB code. I have used the aliases which refer to pins e.g. A0, A1 etc as described in ..Program Files\Arduino\hardware\arduino\avr\variants so these may need to be extended.

The accompanying sketch for a Leonardo board is here: Comduino1_0.ino 

Please follow me on Twitter @EugenesDIYDen 

Monday, 7 April 2014

New Arduino Community

I've just setup a new Arduino community on Google+ - Arduino Users Ireland . While it's specifically for Irish users, users from other countries are more than welcome! The community is for users of Arduino boards where they can share info about their projects and discuss products. You can post promotional links, but please keep them on topic. Blatant spam will be deleted!

Tuesday, 4 February 2014

Ultrasonic range detector

Checkout this ultrasonic range detector on It has a range from 2 to 450 cm (although reviewers reckon it is accurate to 70cm). The signal op is  PWM and the pulse width indicates distance.

Ultrasonic Range Sensor

Comduino Terminal v2 coming up shortly....

In Comduino v2 , I will add an array of buttons for setting outputs high or low.
At present, two separate commands can be sent to an Arduino by clicking send buttons. In a later version (not v2), I will add a facility for reading a script file of commands which can then be sent to an Arduino board.

Friday, 24 January 2014

Comduino Terminal v 1.0

This Arduino test utility should have been called Leonardo Terminal v 2.0,  but I renamed it because it can  be used with all "flavours" of Arduino board, not specifically the Leonardo. The code is reasonably well documented so it shouldn't take much effort to change the relevant #defines and pin names to make it work with which ever version of Arduino board you are using.

These are the changes since Leonardo v1.0 (Read post of Tuesday18th June, 2013 first)

  • On the fly checking of connection/disconnection of USB cable. When a cable is connected, the new port is automatically added to the list of ports
  • A string of data can now be sent in single shot or repetitive mode
  • Added a facility for scanning all inputs and reporting their values/states. Each pin can be enabled/disabled and set as an analog or digital input. This can also be done globally for all pins by checking the boxes at the top of the table
  • Cleaned up the code for logging to an Excel file. All channels can now be logged

You can download the code here:

Comduino Terminal v1.0 for Windows 

It consists of 4 files. Just create a new project and save the 4 files in your project folder. Next add Form1.vb and the class module Pin.vb to your new project.

The accompanying Comduino sketch has support for extra Arduino language commands. See the start of the sketch for details. The 18 June 2013 post provides more info also about this project.

Comduino v1.0 can be downloaded here:

Comduino for Arduino 

Edit the sketch to suit your Arduino board:

I put together a quick YouTube video demo of  the application here (sorry no commentary yet)

Comduino video


If you found this free software useful, please take the time to visit my articles on HubPages here: Pins, or tweets of articles would be much appreciated!