Creating a VB Interface for Arduino Tutorial Website Update!

4When I put up the “Interfacing Arduino with Visual Basic Tutorial” website, there was a lot of pressure from people to put up information on this topic so I didn’t put a lot of effort into the website itself. After some thought, I decided to give the website a makeover that would make it both nicer looking and easier to learn from. You can check it out at Let’s take a look at what’s new.

New Name. New Colors. New Layout.

2A lot of small changes have added up to a great redesign. The tutorial name has changed to “Creating a VB Interface for Arduino”. The new website feels a lot warmer with a blue and white color scheme, with a little gray too. I’m using Google Code Prettify to display the snippets of code on the website, instead of the screenshots of the IDE from before. The tutorial is now split up into pages so that there are less large walls of overwhelming text.

The Menu

1The menu gracefully slides out to display an index of all of the pages on the website. As you’ll see, it’s a lot easier to find certain concepts used in the program. The idea is that, if you’re not willing to go through the entire tutorial, you can easily find a certain concept that you’re looking for to implement in your project.


3I’m really excited to add a couple special features to the website. Some of the tutorial pages have quizzes at the end of them that ask questions that can be answered from what was talked about in the code descriptions. I hope you have fun with it.


The other special feature is Bookmark. Basically, if you plan on going through the entire tutorial but can’t do it in one sitting, with the Bookmark feature enabled, all you have to do is bookmark the homepage of the website instead of bookmarking the page you’re on. When you revisit the homepage next time, you’ll get a little notification letting you know where you left off.

I was thinking of other options to add to the website, but I think this one feature is enough for a site like this.


Please let me know what you think! Leave a comment or send me a message!

Thanks for visiting!

Visual Basic: Line Chart Example

I recently got an email asking for help setting up a line chart in Visual Basic, something similar to the chart in my Arduino Temperature & Humidity Monitor program.linechart

I am making the Visual Studio 2013 files available for download so everyone can take a look. It’s very minimal but I think that’s a good thing. If you have any questions or suggestions for things to add to it, let me know.

You can get it here from Dropbox.

To give credit where it’s due, I got the code from this Microsoft support post and made a few modifications to (hopefully) make it easier to understand. I commented on every line in the code so I hope people will get it.

On a related note, I was thinking of revisiting my Interfacing Arduino with Visual Basic Tutorial. I understand that it’s not the easiest tutorial to follow, both because of the content and the way it’s laid out, so I have some changes already in mind on how to make it better. I’ll get around to it.

Thanks for visiting the blog!

Interfacing Arduino with Visual Basic

I wrote a tutorial on how to interface a Visual Basic program with Arduino. It includes downloads you can open in Visual Studio and the Arduino IDE. The executable is also available if you just want to play with the example program. The example program lets you send a pin number and delay value so that an LED on the selected pin will blink with a delay that is determined by the value you send it. It also receives a success/error flag from the Arduino.

Check out the two Arduino project videos I posted that uses serial communication with a Visual Basic program: