Hi all!
I’m a long time developer, first-time duino projecteer.
I purchased a basic kit + a moisture sensor to figure out what all the hype is about, and what would you know - I fell for it!
Before I order more components, I was wondering a couple of questions:
Does the WiFI-RS21 work with the Hydra? I need to report readings wirelessly to the cloud, and wifi seems to be the only solution.
I was hoping to buy cheap NFC tags and stick them on various plants and have my hydra project serve as a “plant calibrator” - but there is no NFC module on GHI. Do you have some tips for me on that?
Oh! Premium and opensource boards are incompatible!? Thats a bummer
Had I known, I would have opted for a premium board at once - Wifi is fairly essencial to this project
i think andre.m suggestion of using xbee is good. have you tried it? i think you’ll find it probably will work for you and probably much more cost effective. almost everything i build communicates back to my PC through xbee and have no issues w/ it in my home…i get good reads from basement to attic.
Naw, thats overkill for my needs. I am just after measuring some plant-specific stats (moisture, humidity, temperature, light) and reporting to a service somewhere.
Is there a tutorial for using XBee on the hydra board for WiFi? I am completely new to the duino world, and even though I will probably go for some low-level driver writing further down the line, right now all I want is for my project to land
Andre, that topic raises more questions than it answers
So to be clear:
If I understand correctly,
the XBee needs to be bought in pairs: one for my hydra board (transmitter) and one for a computer somewhere (receiver).
It is not possible for the XBees to be on a wifi and report directly to a WebApi, they have to be connected to a computer that can do it, so the two XBees act as a bridge from the Hydra board to a computer in my house?
Assume I already have the Hydra board and the sensors I want. Exactly what hardware do I need? I believe one XBee adapter for the Hydra to put in the transmitter, but what do I hook up to the computer?
I am assuming that the XBee config program allows me to set up some sort of channel with an ID, so that when I am opening up a serial port on from the Hydra and computer, they already know how to find eachother? Is that the responsability of the X-CTU software?
All the examples that I have seen so far open up a connection and assume that connection to stay up for eternity. Is it stupid of me to only connect when reporting measurements and then disconnecting? I am planning an update interval of 1hr or more.
In advance, my apologies if all of these questions have been posted before. I have read through some pages looking for this topic, but I find the questions and answers given confusing
Many weeks ago I remember Gus promissing something that will allow connecting mobile devices to NETMF very easily and without pain… Is this what’s coming?
sounds like you have some options…i esp like that wifi module in a xbee footprint pointed out by ian. To answer your questions on xbee…
-you need at least two xbee or xbee pro modules (you can add more to expand nodes on your ‘wifi’ network). You’ll also need two xbee adapthers to plug the xbee into, one to interface with your PC and one to interface with your gadgeteer board. The one that interfaces with the PC doesn’t have to be gadgeteer.
-you can use Putty and X-CTU to configure your xbee ‘network’ (there are numerous tutorials on how to do this).
-once it’s configured, its no different than reading/writing to your serial port. The nice thing about that is that there is no dependency on hardware or software…so you can have gadgeteer, arduino, python scripts…all talking to each other. Here’s an example that might help in terms of the code…the server, which runs on my PC can receive or send commands to ‘clients’ (gadgeteer module in this case)…