This instructable is something like a tutorial for new VB users. It shows how to create a parser base VB6 program to interact with Arduino circuit. Basically, interaction is in the form of serial communication via the USB port. This is my practice after learning VB6 for 2 weeks and hopefully this post can help other newbies in VB6 to see additional options of interfacing this program.

Step 1: Arduino

First of all, the process of coding should start from the lowest level programming platform and in this case, is the Arduino UNO.
We must make sure that the Arduino should be able to perform the task of lighting up the LEDs connected. I limited the outputs to six pins because i wanted use the PWM function. The schematic shown above is made from Fritzing Software (Autoroute Option Available)

I would like to compliment pwillard as i used some of this parse codes fromhttp://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1293046321 on his "Live For Speed" Racing Simulator. His string manipulation tactic is amazing and just what i needed. I have attached my Arduino Code and feel free to ask if there are any complications. I am also a new learner and just wanted to share what i have achieved so far with Arduino.

<p>Huge project that require long reading time .. great effort my friend!</p>
Thanks :)

About This Instructable




More by Daphne00Z:Barcode Reading using Roborealm (Output on Arduino LCD) Arduino & Visual Basic 6.0 (Continuous Servo Motor) Arduino & Visual Basic 6 (Light Controller) 
Add instructable to: