Go Down

Topic: Interfacing via USB using libusb to arduino (Read 4 times) previous topic - next topic

kg4wsv

The arduino is a serial device that just happens to have its own USB/RS232 adapter built in.  Ignore the USB thing, and write your code to talk to a serial (aka COM) port.

-j

Ardni

Yes I am using an arduino duemilanova with an FDTI chip. Please if you have time explain to me a little regarding what drivers I need to use and what language etc. I am using windows xp.

I was reading the section about interfacing with software http://www.arduino.cc/playground/Main/InterfacingWithSoftware but I ended up with more questions after reading it. I am bit knew to this side of things.

I´d be very grateful if some one could just point me in the right direction. I am more than happy to begin studying something if I know it´s possible to use the method. It´s just that now with my limited knowledge I find it difficult to get stuck into a certain topic when I don´t understand the basics of it.

kg4wsv

Quote
Please if you have time explain to me a little regarding what drivers I need to use and what language etc. I am using windows xp.

Have you installed the "arduino" drivers, and can you download a program to the arduino?

If so, you are done - all the drivers are present and accounted for.

Sorry, but I can't offer any advice on Windows code to talk to a serial port - I don't do windows.  I can guarantee it will be easier than trying to interface a usb device with libusb, though.

-j

Ardni

Thank you for the responses.
Yes I have downloaded the drivers and installed them from the ftdi site. I can download and run programs on the board without problems.

Quote
If so, you are done - all the drivers are present and accounted for.


You make it sound easy!
I'd be very grateful if someone could give me some advice on the next step from here using windows. In the meantime I am going to dig out some old serial port code I had and see what I can do.

Thanks

kg4wsv

Quote
I'd be very grateful if someone could give me some advice on the next step from here using windows.

Which language/toolset are you using on windows?  There are several options. The page you linked has examples for several languages (maybe too many :) ).

If you have done serial port interfacing in the past, maybe looking at your old code is the best place to start.

-j

Go Up