Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

muyinteresting

Member Since 31 Aug 2010
Offline Last Active Mar 05 2011 10:42 PM
-----

Topics I've Started

[PENDING/SLOW MOVING] Home Automation With The Netduino

13 October 2010 - 01:33 AM

Hi Everyone,

I bought a Netduino earlier this fall to kick off my crazy ideas for a DIY (for now) home automation kit.

Since I am a networking guy, not a programmer or a hardware engineer, the .NET MF framework makes everything much easier to learn and to write code for.

The Plan.. kinda
The plan is to make a client-server architecture of microcontrollers with the Netduino at the centre. These client controllers will do everything from trip a relay to turn lights and wall outlets on and off to sending back sensor data to controlling LED lighting strips.

They will all be wireless and will be powered by the same line they are switching.

The netduino will be the master controller and will also be the connection between the clients and the networked command applications.

So, not thinking about the remote devices just yet, I'm focusing on writing the control code at the moment. Coming up with a command set and everything else.

Hardware
For the wireless radio, I plan on using the following SPI-commandable transceiver:
http://www.sparkfun....roducts_id=9582
RFM12B-S2 Wireless Transceiver

That's pretty well all the hardware that is needed on the netduino end, unless I choose to also use the mass of unused pins for something useful!

This post is pretty much a placeholder for my musings and project progression/details.

Stay tuned! Between school, an upcoming work term, and living the student life, this should be interesting if I manage to pull it off.

For the mean time, please vote on the poll above and tell me if I'm a nutter.

Analog Input Readings - LM35 Attached

04 October 2010 - 05:34 PM

Hi, While I'm not ever so slowly writing my code for my home automation project, I am playing with random things like pulling sensor readings and the like. I have a couple of LM35 temp sensors (http://www.robotshop...e-sensor-1.html) that I bought from RobotShop.ca I wired one up, on analog pin 0 and started reading off values. I am constantly getting very low values under 120. I am getting a consistent series of read offs within 60-110 depending on the temperature. However, for the change in temperature, the range that is appearing is very off. Using the general conversion equation double tempinCel = (5.0 * APin_0 * 100) /1024, I get an annoying read out of 56.XXXXX at room temperature. I am pretty sure that my room is not 56C. As far as I am aware, this sensor provides readouts in Celsius in 10mV per degree. I tested all 3 sensors on all 6 analog IO pins. I get the same readout on all of them of that same sub-100 value. My room is sitting at about 24C, which should produce a value much higher than what I am getting. My ARef is 5V (bridged from 5Vout on the netduino) since I'm powering the sensor with an external power supply. I tried powering from the board itself with 3.3v and 5v. I get the same terrible values, just a bit different because of the reference difference. The netduino firmware is at 4.1.0.3. I wired everything up using every matching schematic I could find for the arduino, etc. It isnt reading out properly. I doubt I got 3 dead sensors in one go? If you can provide any input on this issue, it would be appreciated. Thanks, Muyinteresting

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.