Access internet via USB without ethernet module?

Would it be possible to have my Arduino access the internet while its hooked up via USB only without using an ethernet module? :-?

If you mean via a PC that the Arduino is plugged into using USB then yes, sort of. You'd have to have some kind of proxy running on the PC - people have written them in Processing, Python, C#, all sorts. The proxy then communicates with the Arduino as normal via serial and with the internet via the language's network functions.

Andrew

Sounds perfect. I searched and found some info here on the website. Thanks!

I would say no. However, since your Arduino is connected to the computer, and the computer can access the internets :smiley: then you could write a program using Processing or your favorite language to interface with the Arduino via its serial interface. You could program the Arduino to listen to commands from the serial interface and perform the actions you wish.

hope this helps....

Andres

then you could write a program using Processing or your favorite language to interface with the Arduino via its serial interface.

Way beyond my current programming skills. Besides.. my favorite language is MOO :slight_smile: ha

You should be able to have the PC act as an IP router ("internet sharing") using a serial internet protocol like SLIP or PPP over the USB serial port. I'm not sure whether that's possible or easy with windows, but I'm pretty sure linux can do it. (whether you can find instructions to set it up in this broadband-era world is a separate question.)

Using SLIP/PPP on the arduino would require that you implement the whole TCP/IP stack (as if it were a bare ethernet chip), PLUS slip or PPP itself; it might end up bigger than an ethernet stack...