Go Down

Topic: Control Servo with Visual Basic (Read 884 times) previous topic - next topic

Feb 12, 2013, 10:16 pm Last Edit: Mar 28, 2013, 12:50 am by RuiSantos Reason: 1
Hi,
I'm not sure if this is the right place to post this project.
Anyway I'll share my latest project... Arduino with Visual Basic
You can check all the info (like all the code) on my website and see in the youtube video the circuit in action!

http://randomnerdtutorials.com/arduino-control-servo-with-visual-basic/

I don't know why but youtube cropped my video, the Last two buttons are "Rotate 180º Left" and "Rotate 180º right" .

http://www.youtube.com/watch?v=rza_ujeK398

thanks for reading, give me some feedback!
and any improvement to my code post on my website or something.
For some Awesome Arduino Projects  click -> www.randomnerdtutorials.com

tuxduino

I see two possible improvements:
- let the visual basic program specify an arbitrary angle instead of just a character which maps to a predefined set of angles;
- have a "set" command which the VB program would use to make the motor run to a specified angle, and a "get" which would return the angle of the last "set" command (in simpler words: "set" motor position, "get" current motor position).

Just my 2 cents... :)


I see two possible improvements:
- let the visual basic program specify an arbitrary angle instead of just a character which maps to a predefined set of angles;
- have a "set" command which the VB program would use to make the motor run to a specified angle, and a "get" which would return the angle of the last "set" command (in simpler words: "set" motor position, "get" current motor position).

Just my 2 cents... :)


yeah that can be easily done and it's a good idea, I might try do that soon or something similar as you said for a pan tilt with a camera. So I can control the camera to rotate for wherever I want.
currently I'm finishing 3 projects
I've also formatted windows 7 yesterday and installed ubuntu so i don't have visual basic at the moment.
Thanks again for your advice I really appreciate !
For some Awesome Arduino Projects  click -> www.randomnerdtutorials.com

Go Up