Standalone URF Tx Unit

I've been working on a standalone piece of hardware that allows you to put a URF Tx unit directly onto your network without being tethered to your livebox.  Part of my push to isolate all this hardware as standalone things which allows us to move the backend software separately to new platforms.  I have URF and Relays separated now.

Member for

13 years 11 months

AndrewJ

12 years 11 months ago

Hi Brett,

 

Sounds interesting.... i like your thinking, would be great if we could we could enable for wifi use for those of us who dont have CAT5 running around the house :)

 

Cheers

 

Andrew

Member for

16 years 10 months

brett

12 years 11 months ago

Wifi would be good and it should be a short step to go from wires to wireless.  Its all a matter of cost.  I'm trying to keep a lid on that, that and I don't have a wifi shield for my arduino.

Brett

Member for

14 years 6 months

magill

12 years 10 months ago

Do you know which model Argos are selling 702, 703 ?

John

Member for

15 years 1 month

allanayr

12 years 10 months ago

It's the TL-WR702N, so I think it cannot be used with just the USB connector; it has to be plugged into the device with a patch cable. I haven't got the ethernet shield yet so I can't say for sure that this works but the nano router works well in client mode for connecting computers to my wireless network so I've no reason to think that it won't work with the arduino shield.

Member for

15 years 1 month

allanayr

12 years 8 months ago

Thought I'd have a go at this but it seems unable to get an IP address via DHCP.

My shield does work and I use:

#include <Ethernet.h>  (rather than EtherCard.h)

while (Ethernet.begin(mac) != 1)
{
Serial.println("Error getting IP address via DHCP, trying again...");
delay(15000);
}

in other sketches to get my board connected to my network.

What am I missing?

Member for

13 years 11 months

AndrewJ

12 years 8 months ago

Wouldnt mind giving this a go with the ENC28J60 unit if the RFM can be connected...

it appears to have an SPI interface which is whats required

Member for

16 years 10 months

brett

12 years 8 months ago

Alan / Andrew,

I'm not sure what you are missing.  I take it you are using the official WIZNET chip?
I tend to use the cheaper ENC28J60's on my arduino as they are a dime a dozen, its not that much more coding with the EtherCard.h library which does all the low level SPI stuff for you.  You don't need an RFM module the 433 Mhz RF Tx  is a big banger, the only issue is one of power.   Ideally you would want push 12v into it for maximum range, however 5v does work.

Andrew that module you sited on ebay is the same one that we use on the EthRelay unit.   http://www.dbzoo.com/livebox/ethrelay

In fact you could probably use this pcb as a base and plug in the RF tx unit into it, along with the ENC28J60 and get what you need working.  It was an idea I was floating in my head too.  I thought Derek had listed those in the shop (perhaps not).   I know he has a few pcb's kicking around.

Brett

Member for

15 years 1 month

allanayr

12 years 8 months ago

Brett

The shield I bought was said to be:

"Network Ethernet Lan Shield Module Board W5100"

and I thought that the W at the beginning meant that it was the wiznet chip set.

As I said above, the board works fine when I connect to my network using the  Ethernet.h and SPI.h include files.

I'll play around a bit more and see what I can find out.

Thanks for looking.

Member for

15 years 1 month

allanayr

12 years ago

 

At the risk of showing my ignorance, I've been trying to use and arduino on and off for several months to put some data on my HAH xAP network.

All the examples for interfacing with the xAP network use the Ethercard libraries which don't seem to work for my sheild.

The shield is capable of connecting using the SPI & Ethernet library combination but not the Ethercard one.

Has anyone successfully used a Wiznet based shield to work with the SPI, Ethernet and xAP libraries?

 

Member for

16 years 10 months

brett

12 years ago

You will need to modify the xAP library to use the ethernet library that drives the WizNet shield.
I've never owned a WizNet shield due to it being a bit more pricey, that and I'm a cheap skate.

I have based the xAP classes around the Ethercard library which drives the cheaper enc28j60 unit.
You can pick these up these days for a couple of quid.  google: enc28j60 ebay

Brett

Member for

15 years 1 month

allanayr

12 years ago

Brett

Thanks for clarifying that. I'll have a think about how best to tackle it.

Member for

15 years 1 month

allanayr

12 years ago

This may be of no interest to anyone else but in the end I used a workaround.

I use the ethernet libraries with the wiznet shield and generate a udp datagram. I then use the example lua script on the HAH to translate the udp message to an xAP which gives me the required data on my xAP network.

Sorted!

Member for

13 years 7 months

bobonline19

12 years ago

Brett mentioned Spark.io a while back and I got one from CPC in the UK to have a play with (not successfully yet) but I've just had an email from them, they have launched a new version the Photon for $19! Smaller and better than the original core!

https://www.spark.io/