People, I want to developed a UAV, but first, I want understand and make same experience in ground of course... I want to move a servo in arduino by joystick. I know, we dont use Arduino, but is similar, so, I think thats ok to help me. I want to connect my arduino in PC and the Joystick USB connect in my PC. So, when I`ll move the joystick in my PC
for exemple, to the left, the servo in arduino will move to the left. I
want to do the same, like the example below:

Ok, but I want to do with Visual Basic or C# NOT in Pyton.
Anyone can I help me?
I searched in google but not sucess.... Cry

Thanks in advance!

Views: 4541

Reply to This

Replies to This Discussion

Reinaldo, I haven't looked in detail at your link in but it looks like you are trying to connect a joystick to a pc and send it to a serial based servo controller?

If this is a the case I have some sample visual basic code using directinput, All this version does in read the joystick and send it it out the serial port for use with an SSC. It's fairly generic and wasn't written for use with Arduino so you could modify the output for use with whatever servo controller you like, even so it will give you a good start. Your right about google, there seems very little on the subject and most what I found was very old (VB 6). i'll see if there is somewhere I can upload the project.

James Turner
Hi James!

Thanks for your reply!
You right, I want to try to connect a joystick to a pc and sento it to a serial.
Its hard to me find some information in google. Im beginner and spend a lot time to understand somethings...
But, finally I now how turn a led on and off by arduino serial in visual basic!
Belive me, I spent some days to do this...hahahahah

You can send to me visual basic code in my e-mail :

Thanks a lot man, I really apreciate!
No problem. I've emailed you the Visual Basic project.

Hi man, I received the files!

Im really apreciete, really thanks!
check out this off the shelf solution.
your welcome. Hope you can get some use of it.

Do you mind forwarding it to me as well im trying to do the same thing. chad.a.colson@ufl.edu
I am working on a similar project where I am having some problems with Visual Basic 2010. Would you be willing to send me the VB code as well? Thanks


Ben Mitchell
Hi guys,
I found this post during my google searches about the subject.
I would really appreciate it if someone could send me the VB code also.
Thanks a lot,

Avi - avg0@walla.com
Hi there!

I also found this post and I would really appreciate if any of you would send me the vb example.
I'm trying to control a CNC lathe with a joystick, and this could actually help me a lot.

email: pedro.m.b.cruz@gmail.com
Hello Mr. James!

I'll be working on a joystick controlled RC Heli...
Could you send the code to me at:

Thanks :))
im so happy that there are actually people having the same thoughts with me! is it possible if u send the code to me too? my email is platinum_weird91@hotmail.com . thank you in advance!

Reply to Discussion


© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service