Pages: [1]   Go Down
Author Topic: Control Servo with Visual Basic  (Read 794 times)
0 Members and 1 Guest are viewing this topic.
Porto
Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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" .



thanks for reading, give me some feedback!
and any improvement to my code post on my website or something.
« Last Edit: March 27, 2013, 06:50:46 pm by RuiSantos » Logged

For some Awesome Arduino Projects  click -> www.randomnerdtutorials.com

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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... smiley
Logged

Porto
Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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... smiley

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 !
Logged

For some Awesome Arduino Projects  click -> www.randomnerdtutorials.com

Pages: [1]   Go Up
Jump to: