Pages: [1]   Go Down
Author Topic: arduino networking on a budget, can it be done?  (Read 1552 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 44
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My project requires "some kind of remote communication to the PC" in order to work.  It doesn't have to be wireless, wired is fine.  The project is a desktop JAVA app that can either use the serial data, or use web data gotten via PUT and GET (see https://github.com/jjg/RESTduino)

I've just priced all the available options: Ethernet shields, WiFi sheilds, XBee (which I could make work I think)...and it's all really just too expensive.

I need to keep the price of the finished project super super cheap.

Is there another way to get this done?  I guess the short question is "what is the cheapest way to maintain comms between PC and the ardunio?"

I guess I could just use a super long USB cable and use the serial data?  That seems ghetto though...there's got to be a cheap way to do ethernet?
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9541
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My project requires "some kind of remote communication to the PC" in order to work.

Just use the USB cable. It fits well with the ghetto thinking and budget.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ethernet shield: $25. ArduServer.com

Maybe later... product not yet released: DCDWireless.com, if from-sensor-to-Arduino enough.

Or why not just a serial connection between them?

Level 4 of...

http://sheepdogguides.com/arduino/ahttoc.htm
« Last Edit: April 24, 2011, 02:16:02 am by tkbyd » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17293
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is from a recent posting. I've just ordered and going to try out bluetooth.

http://randytsuch-bluetooth.blogspot.com/

Lefty
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can't you can get an old - win95/98 - PC/ laptop from a digital scrapheap for free. Connect the Arduino to its serial port and use the PC's network card ...

It takes some tinkering (python/php/...) but it could be the cheapest solution -  not energy efficient although smiley-wink

-- update --
Maybe serproxy is an option - http://www.lspace.nildram.co.uk/freeware.html
« Last Edit: April 26, 2011, 06:27:22 am by robtillaart » Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Seattle, WA
Offline Offline
God Member
*****
Karma: 11
Posts: 673
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Usb serial is definitely the answer.  But if there is some prob with that, try an Ethernet module from mdfly.com for $16.  http://www.mdfly.com/index.php?main_page=product_info&cPath=9_41&products_id=484
« Last Edit: April 26, 2011, 03:31:39 pm by maniacbug » Logged


Rural Arizona
Offline Offline
Edison Member
*
Karma: 7
Posts: 1711
Incorrigible tinkerer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
some kind of remote communication to the PC

How "remote"?  You can do simple serial up to hundreds of meters using Cat5 with RS-422.

For shorter distances, you can use RS-232, with a serial-based Arduino to save cost.

For a "super super cheap" Arduino core (if you don't need shield compatibility),  be sure to check out the RBBB.

Logged

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
try an Ethernet module from mdfly.com...

... but if you go that route... and many other Ethernet i/f modules are like this... you will need a source of 3.3v for the Ethernet i/f. (Of course, if you are using a Mega, it has an onboard 3v3 generator.)

One of the advantages of following unit is that it only needs 5v (it has a 3v3 generating circuit onboard)...

http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=4

(About $20, (GBP 12.50))
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not try DMX (RS-485), unique addressing, 32 nodes per master, and there is an absolute wealth of pc->dmx devices out there, you can even use the arduino as an opendmx interface
Logged

Seattle, WA
Offline Offline
God Member
*****
Karma: 11
Posts: 673
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not try DMX (RS-485)

Fascinating.  Do you have a good reference for getting started?  Simple web search reveals lots of complex details, but nothing that really explains it from a high level, like with maybe some easy tutorials.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have a search of the old forum, there is a few threads going into it, like you when i started playing with I found next to nothing to get me started.

When I get time i'll dig out the code I used with an example.

Logged

Pages: [1]   Go Up
Jump to: