Pages: [1]   Go Down
Author Topic: Access internet via USB without ethernet module?  (Read 1705 times)
0 Members and 1 Guest are viewing this topic.
Lancaster, PA
Offline Offline
Newbie
*
Karma: 0
Posts: 14
CzArduino ..?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

UK
Offline Offline
Sr. Member
****
Karma: 1
Posts: 491
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: May 18, 2009, 04:54:42 pm by Andrew » Logged

Lancaster, PA
Offline Offline
Newbie
*
Karma: 0
Posts: 14
CzArduino ..?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

South Florida
Offline Offline
Newbie
*
Karma: 0
Posts: 39
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would say no. However, since your Arduino is connected to the computer, and the computer can access the internets  smiley-grin 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
Logged

Lancaster, PA
Offline Offline
Newbie
*
Karma: 0
Posts: 14
CzArduino ..?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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 smiley ha
Logged

SF Bay Area (USA)
Online Online
Tesla Member
***
Karma: 106
Posts: 6378
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: