.NET developement - Home automation

Each sensor is designed to be component in a system, not a system unto itself. So you need:

  1. something to power it
  2. something to get the sensor readings
  3. something to interpret the readings
  4. something to pass the readings to the base station

The FEZ (Mini as suggested) + XBee (or whatever networking implementation you select) combination is that “something”.

For example: the FEZ Thermometer (http://www.tinyclr.com/hardware/1/fez-domino/#/list/4/) .

It’s only input/output is the power (3.3v?), ground and the wire to pass the reading back to the controller. That’s it.

yes i know about this but i mean, why not connect all these stuff to the FEZ Domino(i was suggested to buy it for myproject) and get a FEZ Mini too?

I didn’t read the whole thread but Mini and Domino are essentially the same things…both are little boards running NETMF and they are freakin; easy to use.

You can see the differences here http://www.tinyclr.com/compare/

You can make the sensor nodes with the Fez Mini/Domino/Panda. It all depends on how “small” you want your sensors to be.

And yes, you need an XBee module for every sensor node + 1 additional XBee module for the “master” node. Master node being the device (Cobra for example) that receives the data from the sensor nodes.

I still struggle with what your actual “aim” for this project is.

You say it’s about working with a wireless sensor network.

If you use xbee, then it handles the wireless network aspect, and you need to do minimal work (is that good for a Uni project? Maybe not…)

The whole concept you’ve talked about is wireless sensors. Unless you know what wireless sensors you are going to buy (ie pre-made) then you’re likely to have to build them yourself.

Here’s how I would see a wireless sensor home automation system panning out.

Fez Cobra as the “user interface” device. That sits “centrally” in the home, on the kitchen bench or something. It needs to have an xbee connected.

Fez Panda (only since it’s the cheapest Fez; you could build your own with USBizi chips if oyu wanted to) as a wireless sensor node. You have as many of these as you need. Each one has whatever sensors you need, for instance temperature, humidity, IR movement detector etc. Each one has xbee to report back to the Cobra.

Importantly, as someone else said, you still have to figure out how to power the remote sensors. That in itself can be a challenge, and is why I question the wireless decision. If you moved back to wired sensors, then you could collapse the requirements back to a simple remote sensor, no Fez controlling it, and no xbee.

now I ask myself a hard question… Should we be helping design someone’s uni project???

well thank you guys for the help.

@ Brett to clear your doubts :D… my project is not the hardware part its the software with C# to code all the idea :slight_smile: the lab should have the hardware, but as they had an old one(crossbow NETFM 2.0) we decided to buy some new parts, thats why i needed some help because i didn’t know how all these FEZ work and what is for my needs :slight_smile:

ok change of plans. sensors can be wired too. The connection with the pc should be wireless, i guess thats easy with the Wifi extention.

[url]http://www.sparkfun.com/commerce/product_info.php?products_id=9607[/url]

i found this one on sparkfun. anyone tested on domino? or any other suggestions (cheaper) ? i want this to be able to send Commands to the board to do tasks. For example send sms OPEN LIGHTS and board gets the order and opens lights etc.

I have used it. Established some data back and forth to the modem but got too busy and never proceeded to go online or send SMS messages.

about the z-wave, i installed the usb driver and plugged the usb stick [url]https://www.tricklestar.com/US/300ZW_US_W.html[/url].

I have the
sensor [url]http://www.zwave4u.com/products/en/Sensors/EZMotion-Triple-Sensor.html[/url]
dimmer [url]http://www.zwave4u.com/products/en/Wall-Plugs/Duwi-Z-Wave-Plugin-Dimmer-IP20.html[/url]
Transmiter/receiver [url]http://www.zwave4u.com/products/en/Switches-and-Dimmers/CONNECT-Dimmer-Cover-System-Design.html[/url]
etc

but there is no SDK , anyone knows how am i gonna program it with .net?

If the plan is to use the USB host on a FEZ you might be out of luck. Then you probably have to write your own driver if you can get hold of the protocoll specifications.
[url]http://en.wikipedia.org/wiki/Z-Wave[/url]

There is an open SDK being developed, I’ve gotten it to work with a PC, but not with NETMF.
[url]OpenZWave · GitHub

These are the controllers that they recommend. I’m using the Aeon ZStick (USB stick).
[url]OpenZWave · GitHub

As you can see there are some RS232 interfaces on the list. Those should be easy to interface with FEZ, but… the SDK relies heavily on C++ underneath the .NET code. :frowning:

thanks for you info, but c++ … :confused:

i guess ill do it like Ericsan did with the wireless power plugs and RF433 transmitter.

Hardware list

[ulist] Fez Domino / Cobra with 3.5’[/ulist]
[ulist] Ethernet Shield [url]http://www.tinyclr.com/hardware/1/fez-domino/#/list/1/[/url][/ulist]
[ulist] Pir Motion Sensor [url]http://www.sparkfun.com/commerce/product_info.php?products_id=8630[/url][/ulist]
[ulist] Humidity and Temperature Sensor - SHT15 Breakout [url]http://www.sparkfun.com/commerce/product_info.php?products_id=8257[/url][/ulist]
[ulist] Cellular Shield with SM5100B [url]http://www.sparkfun.com/commerce/product_info.php?products_id=9607[/url][/ulist]
[ulist]Wireless Power socket [url]http://www.alibaba.com/product-free/110257420/wireless_power_socket_remote_power_socket.html[/url][/ulist]
[ulist] RF Transmitter - 433 MHz [url]http://www.sunrom.com/rf-wireless/rf-remote-control/rf-transmitter-433-mhz-for-remote-control[/url][/ulist]

Usage as i said on this thread: check humidity , temprature, use the RF and the plug for lights, pir motion maybe i add a camera to detect movement (with the motion sensor and capture image) and the Cellular shield for the sms control from mobile. The ethernet is to connect the board to pc and make a database with all the data…and a site to monitor them etc.

how do you see those parts?all compatible? is anything missing?..if all these work…later ill add more stuff to the board.

no comments? :slight_smile:

to moderator: plz move this topic to project pages better thanks.

Watch out with the wireless power sockets…If they don’t use a common protocol (read common encoder/decoder chip) you end up with a non working solution.

yea this one i found (on the link) doesnt say anything about it. Do you have any working solution? exact model name etc?

where you from?

EU, Greece