Tuesday, April 16, 2013

The best serial command library for Arduino boards

Whenever I need to communicate with an Arduino board there is a library I come to rely on. It was written by Steven Cogswell and can be found on his page here. The link to the repository is about 3/4ths down the page (I don't want to direct link because I don't want to siphon off his traffic). It is a bit older so there are two modifications you will have to perform in order for it to work with the new Arduino IDE. In both the SerialCommand.cpp and the SerialCommand.h file replace all references to wprogram.h to arduino.h. After doing that the libraries should work just fine. If you don't want to bother with patching those files you can download the modified libraries and extended documentation in my Serial Communication Interface Program.

Monday, April 15, 2013

Found a fix for "the 'microsoft.ace.oledb.12.0' provider is not registered"

To anyone writing a program in Visual Studio (on a 64 bit computer) and trying to link to a MS Access database, you may encounter this error message. "the 'microsoft.ace.oledb.12.0' provider is not registered" It frustrated the hell out of me but I dug around a found a solution on how to fix it.
1. Download and install this 2007 Office patch for the MS Database Engine
     http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734
2. If that alone does not fix your issue then change your project build in visual studio to an x86 build by going to build>configuration manager>active solution platform>new>x86
3. If that does not fix your issue, tell me what does when you figure it out. Sorry.

Sunday, April 14, 2013

Serial Communication Interface 1.0

So this is the project that inspired me to create this blog. Mostly because it is the first program I wrote that I thought others may find useful. This program is a simple GUI to communicate with microcontrollers over a COM port. I wrote this program to help me in the early stages of my many projects development. I have also written clear documentation for it and clean code. I did so because when I learned how to communicate with  a microcontroller I had to take bits of information from all over the internet to make it happen and it bugged me that there was no centralized reference for that task. So here it is, the first package I have ever put out to the public: https://sourceforge.net/projects/serialinterface/  If you have any questions or suggestions I would love to hear them. westonforbes@gmail.com

Introductory Post

I am migrating my technical blog over from another blog provider due to the inability to customize with them. This blog will contain many of my projects and ideas.