Saturday, 29 November 2014

Comduino Terminal v 2.0


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 @TheRealEugbug I'm trying to reach 1000 followers by the end of this week!







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!
https://plus.google.com/u/0/b/109445555957535065389/communities/100607761975215871651

Tuesday, 4 February 2014

Ultrasonic range detector

Checkout this ultrasonic range detector on Dx.com. 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: http://eugbug.hubpages.com Pins, or tweets of articles would be much appreciated!


Tuesday, 12 November 2013

Mini Arduino Clone Microcontroller Board



Measuring just 4 x 1.8 cm, this Atmel microcontroller board is now selling on Dealextreme.com for the unbelievably low price of  $5.40, that's a 40% reduction on the normal price. It has 14 digital input/outputs, 8 analog inputs and 6 PWM ports.
You can order it here: http://dx.com/p/arduino-pro-mini-microcontroller-circuit-board-blue-5v-16mhz-178183?Utm_rid=55371787&Utm_source=affiliate

To communicate this device you need a USB to TTL level converter like this one which has an additional RTS line: http://dx.com/p/cp2102-stc-download-usb-to-ttl-module-w-dupont-cables-red-silver-202547?Utm_rid=55371787&Utm_source=affiliate

Tuesday, 16 July 2013

433 Mhz transmitter and receiver pair

433 Mhz transmitter and receiver pair. These devices are now available from Dealextreme for the unbelievably low price of £1.85 ($2.80). Ideal for a wireless link to a remote sensor.
http://dx.com/p/433mhz-rf-transmitter-module-receiver-module-link-kit-for-arduino-arm-mcu-wl-green-220194?Utm_rid=55371787&Utm_source=affiliate