Show Posts
Pages: 1 ... 12 13 [14] 15 16 ... 18
196  Using Arduino / Networking, Protocols, and Devices / Re: Wifi and Android on: October 03, 2012, 08:37:56 pm
I initially attempted to make my own project work with a Liksprite CuHead, which is a Clone of the Asynclabs WiShield. I got it to work to some degree nut could not progress beyond a certain point, e.g using certain libraries with the CuHead.
Then I tried a Diysandbox.com Hydrogen. Nice and capable product, but in the end I came across the same problem. If you do go the WiFi shield route I'd recommend this one. I have no experience with the Arduino Wifi Shield, which I believe is certainly a very capable piece of hardware nut it will take some time until libraries for it are fully developed and debugged so the maturity of approaches that of the Ethernet Shield.

I finally decided to try using a little WiFi router ( TP-Link WR703n) connected to the Ethernet card and I can assure you that this is dead simple!

The reason is that the WiFi connection is transparent for the Arduino, so you can take advantage of the Full functionality of the Ethernet library and many other libraries that depend on the Ethernet library like DHCP/Bonjour or ArdOSC.

Further more , if someone else less technically inclined wants to reconfigure the network then they can simply reconfigure the little router through its Web interface. No need to hack around in Arduino code, no compilation and upload.
197  Using Arduino / Networking, Protocols, and Devices / Re: Who can make Cuhead wifishield work? Please share your experience on: October 03, 2012, 08:22:05 pm
If I remember it correctly the LED turns red when the shield successfully connects to a router.

As you hae allready discovered the CuHead is not the easiest shield to work with. The CuHead is a clone of the Asynclabs WiShield and the original sources and instructions are still online on the Asycnlabs site.

Perhaps posting some code would help ;-)
198  Using Arduino / Networking, Protocols, and Devices / Re: Moving from Ethernet to WiFi on: October 03, 2012, 08:10:40 pm
I second that statement. However, I'd like to point out that the 703 only comes with a Chinese web interface and there is no firmware available with a different language from the manufacturer.

You could install an OpenWrt on it though.

For sake of simplicity I'd suggest a 702 or a 3020 which in the US are sold with a English Web UI. The 3020 is similar in hardware to the 703 and also can be flashed with OpenWrt, the 702 cannot.

However, if you do get a 703 I've managed to translate the menu points necessary to reconfigure it with the help of Google translate. Not something I'd attempt for frequent reconfiguration ;-)
199  Using Arduino / Networking, Protocols, and Devices / Re: What contributes to the overall I2C Bus length? on: October 03, 2012, 11:35:35 am
Overall capacitance of the sytem, including the nodes. Each device has it's own capacitance, not only the cable.

As Nick already stated it is imortant to dimension the pull-up resistors correctly. the higher the bus speed (Clock Frequency) the more critical these things get.

here's a very nice articlke on the importance of the Pull-up resistors:
http://www.dsscircuits.com/articles/effects-of-varying-i2c-pull-up-resistors.html

Also, you can certainly experiment a lot, however, if you encounter problems, without an oscilloscope you won't really know what your problem is.

Search the forum for "I2C lenght" or "I2C distance". There's some good stuff posted.
200  Using Arduino / Networking, Protocols, and Devices / Re: Working DHCP Server Example (WIZnet/EtherMega) on: October 03, 2012, 11:25:10 am
Same her, please explain better what you want to achive. My suspicion is - given your own statement that you don't have networking experience - you are looking at this a bit backwards ;-)

The devices most commonly runnig DHCP servers are routers that sit somewhat in the middle of everything and route IP packets to their approproate destination. These destinations are usually End-devices (for lack of a better name) like an Arduino. There are libraries the implement DHCP clients on an Arduino.
201  Using Arduino / Networking, Protocols, and Devices / Re: Arduino ethernet shield w 5100 and wifi network on: October 03, 2012, 11:17:32 am
To control something as simple as Air Conditioning units you may want to use a different approach than WiFi.
Maybe X-Bee RF.
202  Using Arduino / Networking, Protocols, and Devices / Re: Arduino WiFi Shield UDP Support on: October 02, 2012, 11:29:55 am
@mamaretti

What OSC library are you going to use, or are you going to write one yourself ?
If you intend to use ArdOSC currently no WiFi shield supports this library out-of-the-box.

ArdOSC uses some low level functions of the Ethernet library that "talk" directly to teh Wiznet W5100c chip on the Arduino Ethernet card. You'd have to rewrite that portion and adaptit to the specific hardware your WiFi shield uses.

If you are interested in an alternative solution I'll PM you so we don't hijack this thread ;-)
203  Using Arduino / Networking, Protocols, and Devices / Re: W5100 ethernet shield on: October 02, 2012, 11:23:01 am
Yup, that works.

Or these:

http://www.saelig.com/BRD/ETH042.htm

http://www.saelig.com/BRD/BRD032.htm
204  Using Arduino / Networking, Protocols, and Devices / Re: Arduino ethernet shield w 5100 and wifi network on: October 02, 2012, 11:18:42 am
You could use a little WiFi router that you can cponnect directly to the Ethernet card that you already have.
Here in the US you ca get a TP-Link TL WR702n (or 702 or 3020......) viia a short Ethernet cable directly to the Ethenet card.
Then you can connect that in client (bridge) mode to the Modem-Router.

this is less expensive than buying a separate WiFi shieled and simple to set up without the need to re-write code.
205  Using Arduino / Networking, Protocols, and Devices / Re: Suggestion for a WiFi system on: September 30, 2012, 01:10:18 pm
The 703 and 702 use a standard USB wal wart, that accepts a standard USB cable. The output power is 5V, 1A.
That of course does not mean that this mini router is drawing one amp.

See this link http://wiki.openwrt.org/toh/tp-link/tl-wr703n

Looks like, in standard mode it uses around 100mA. BTW, Dude, that information took me less than a minute to find using google here from my iPad. Information at your finger tips ;-)
206  Using Arduino / Networking, Protocols, and Devices / Re: Suggestion for a WiFi system on: September 29, 2012, 01:06:18 pm
I have. That is how these routers are operated in my projects.
207  Using Arduino / Networking, Protocols, and Devices / Re: Suggestion for a WiFi system on: September 28, 2012, 09:18:30 pm
The reason I initially suggested these routers is that the are very small. Twice the thickness of an iPhone 4 but half the footprint. Also you can supply the routers power directly from the Arduino as these routers use USB power = 5V.

Also, here in the US the 702 ( not the 703) comes with an English interface. If you buy it through eBay and someone sends it from Hongkong then obviously the chances that you may have a Chinese interface on the 702 are higher.

Routers with external antennas tend to be bigger but really any router that has a bridge- like mode would work.

208  Using Arduino / Networking, Protocols, and Devices / Re: Soft I2C library compatability on: September 25, 2012, 05:51:11 am
Go get yourself a Digispark:

http://www.kickstarter.com/projects/digistump/digispark-the-tiny-arduino-enabled-usb-dev-board

http://digistump.com/#digispark

It employs a Attint85 and plugs into a USB cable.
209  Using Arduino / Networking, Protocols, and Devices / Re: Suggestion for a WiFi system on: September 25, 2012, 05:35:24 am
No. It is not necessary to install OpenWRT on the 703 at all. You can switch it into " bridge" mode with the installed FirmWare. TP-Link calls this " client" mode.

You don't have to set it into bridge mode, but that's the easiest way to integrate it into an existing home network. It comes configured as an AP ( access point).

What was suggested earlier is ,that you could possibly live without the Ethnet shield and connect the 703 witho a USB cable directly to the Arduino. I have not tried this but perhaps that's another route To nvestigate.

Also, these little TP- link routers have no external antenna. Their antenna is part of the PCB. I have walked across the street and can still remotely control my project with my iphone using either of these routers from any part of my house.
210  Using Arduino / Networking, Protocols, and Devices / Re: Suggestion for a WiFi system on: September 24, 2012, 11:38:33 am
Supplying power to the little router - and this works the same way for a TP- Link TP WR702n  or TP- Link TP WR703n. These get their power from a little USB powersupply and you can cu and connect the cord directly to the Arduino. I have both routers and this works flawless. Not sure what the power cnsumption is as my project is not pbattery powered.

Also, yes I've come across OpenWRT as well. If this is of interest, however, you cannot do that with the WR702n . It uses different (less powerful) hardwarw than the TP WR703n and does not have a USB port. The USB port on the 703 as it comes out-of-the box is meant to accept a 3G modem USB stick. With OpenWRT you can then repurpose the USB port as described above. A word of caution though. the configuration web interface on the 703 is completely in Chinese!

Then you need to consider the time it will take you to go this route. With an ethernet shield you will be up and runnig in no time. The 702 and 703 can both be configured to connect to WAP/WEP networks (I own both of them). Both offer a web interface for easy configuration.
Pages: 1 ... 12 13 [14] 15 16 ... 18