pd2kplus10

I'm interested in sending serial data from an arduino to my PC and have it displayed on either VB,VC++ or Java program. I'm not sure which one would be easiest to do. I would like to be able to make a simple program rather quickly ... nothing too fancy. I just need to display a reading from one sensor.

thanks,Phil

hotcarrier

You might try Processing at http://processing.org/. It uses much the same IDE as the Arduino and is similar in many other respects. There are many examples on the Forum and elsewhere to provide the capability you are seeking.

pd2kplus10

Thanks guys for the help. I think for now I'm going to start with Processing. It seems to be a lot easier to work with. I would like to play around with some VB & C++ , but I don't think I'm ready for it at the moment.

Thanks for the code Plastbox. That was very helpful. The only thing is ... I don't have VB 6.0 .. I have the free VB 2008 Express. I don't think it has MS Comm. It does have SerialPort.

thanks,Phil

PlastBox

Aaah, ok. I just assumed VB6 as it is by far the most easy windows environment and language to get started with. Also, people whine constantly about the performance and such of programs made with VB6. Up yours, people! When one is talking about small utility-applications and stuff like that, performance doesn't even come into play.

pd2kplus10

Yeah ... I don't know why people complain about VB. I don't care about performance differences. It's not like I'm programming a 3D shooter or anything. Besides... I was reading that most programmers aren't even good enough to code in C++ to make it any faster than if it were in VB. I definitely know that I'm not good enough.

I'm more of a hardware guy than a programmer. I would just like to make some quick and easy windows apps that are functional.

MikMo

I just realized the the VB program is on a computer that i stuffed under my bed to make room for a major party.

I will have it back in place again in a couple of days. My code is based on a small VB sample app. i found somewhere on the internet. It was something like a small two way chat program using a serial line to ceooent two PC's.

pd2kplus10

I'm messing around with Processing right now ... not as easy as I initially thought it would be. I figured out last night how to print my data to a window using text(); ... still trying to figure out how to refresh it without overlapping the previous value.

I guess I should still look into using VB. Is that code for the 2 way chat program? If so ... how easy would it be for me to use this for one-way communication (Arduino to VB) ?

thanks,Phil

reak_dk

Are there anybody that has a VB 2008 Express program running to control the Arduino.maby someone can make a toturical on switching a led on and off from VB,and reading a bottom press in VB from Arduino input.