Pages: [1] 2   Go Down
Author Topic: Can I make a Wifi router with Arduino ?  (Read 1989 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I want to make some king of router (Wifi) so that I will be able to connect tohim with more that one computer.

is it possible?

Thanks!
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If all you really want is for your arduino project to be able to be connected to by more than one computer at a time, you can do that without it becoming a router. It "simply" needs to host a TCP (or UDP) service.
Logged

italy
Offline Offline
Full Member
***
Karma: 3
Posts: 223
Muuuuu
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you can, but why do you want to use wifi? I think it will be cheaper to connect computers and arduino with Xbees.
Logged

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

Thanks foe your answers,
I know its hard to make wifi router from scratch,
what I need is to connect 2-3 computer throw wifi that the can talk to each other, no mater of the speed.
I thought about Wifi solution because Rf seems to be much harder to communicate beetwin 2-3 computer simultaneously.

thanks again.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 626
Posts: 34152
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or you don't know that you can't communicate simultaneously over an RF link.
Logged

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

I want it to be small, thats all, router is too big.
I don't want the connection to be fast, I only asked if I can connect the wifi platform of the arduino and connect to it 2 or 3 computer at the same time.
if it cant connect more than 1 connection at time, so may be 2 wifi adapters will be the best solution? or maybe connect for a while and than disconnect and connect to the other device ?

hope I was clear,
Thanks again!
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 613
Posts: 49339
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I want it to be small, thats all, router is too big.
Why is size critical? Are you trying to hide it from someone?
Logged

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

ok, didn't know that,I thought it use different channels.

I'll try to be more clear.

I want the arduino to control some electricity , and the handler will be some computer that connect to him and talk with him.
it will be like a server thats couple of computer can connect to him and control it in the same time.

now, I want to know if it is possible at all.

Thanks
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I haven't seen anything in the requirements that call for the arduino to be a router. Seems to me all you want is for the arduino to be a server.
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is this big?
https://shop.fon.com/FonShop/shop/GB/ShopController?view=product&product=PRD-023

Do you know that you need some ram and some real processing power to be a real router..
Logged

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

Quote
How far away is Arduino "A" from computer/controller "B" from computer/controller "C"?
+-50 meter

Quote
What is the RF interference environment?  How likely is RF interference?
Principle should not be specific disorders, I believe that while there will be interference , range will be reduced ,so that's fine for me

Quote
How fast must it work?  Can you overcome temporary interference by sending the command several times?
Fast isn't an issue, The packets that I'll need to send will be from 5KB to 100KB, but most of the time small traffic.
I don't need to transfer big files .

Quote
Is there a need for status read-back?
what is it? , sorry.

Quote
How does computer/controller "B" know that Arduino "A" got the message?
I think he right after B send the info to A, A will send an approval to B.

Quote
How does computer/controller "C" know what Arduino "A" or computer/controller "B" is doing?
All adapters can read the traffic, and analyze it and check if its for them by ID.

Quote
How important is this "electricity control"?  Is this a Life/Safety issue?   is it secret so you can't tell us?
It isn't that important, I need to do it for someone , he asked me if it is possible, so I told him that I used to make small robots with arduino.
Thats why I thought the Arduino will be able to handle this.

Quote
Are Arduino "A" and computer/controller "B" and computer/controller "C" utility mains powered or battery powered?
only the Arduino (A) will be powered by battery, This is my biggest worry.
most of the time it will be in idle mode-no traffic at all.

Quote
What exactly is the size requirement?  We are going to get tired of the game if we keep suggesting things and you tell us "it is too big".
I did not mean to be secretive or missing information
Smaller as many good.


This should be a prototype,
So I prefer to be as close as possible to reality.

Many thanks again,
sorry for the ambiguity,

guy.
Logged

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

may be in the future I guess,

but if its too big so for start 500 bytes will be fine.

what do you think ?
Logged

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

ok, thanks, I understand the big picture.

I'll put another question if you please, regardless of size.

Does 2-3 Arduinos (with wifi adapter each) can talk to each other ?
I assume its possible for 2 adapters to talk each other, but if there is one more, is it able to make one of them temporary server or something? what will be the right way to handle it ?

What kind of battery should provide each of them so that one would hold a reasonable period of several hours load?

Thank you so much!  smiley-surprise
Logged

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

wow, first of all thank you.
Thats what I was looking for.

I found on EBay many RF link kits, and its seems very good.
waht do yo say about it:
http://cgi.ebay.com/433MHz-Superheterodyne-RF-Link-kits-Arduino-PIC-MCU-/160597775572?pt=LH_DefaultDomain_0&hash=item25645f94d4

About the battery question,
The device is supposed to Receive information  all the time and send an average of 15 broadcasts every hour(a short MSG like you said-500bytes).
How long do you think a 9V Batt should hang ?

Thanks again!
Logged

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

I know that you mean I have to program a modem that can encrypt and decode all the information,
and you're right, I really lack of time for this.
but it seems like they give me a ready lib that do all the oprations:
http://www.b2cqshop.com/best/VirtualWire.pdf

and for the power story, I think over one day will be more than satisfy for me.
Logged

Pages: [1] 2   Go Up
Jump to: