Show Posts
Pages: [1]
1  Using Arduino / Interfacing w/ Software on the Computer / Re: Macduiinoscope, no graphs or hangs on: April 15, 2011, 07:32:22 pm
I have the same problem, did anyone solve that?
2  Forum 2005-2010 (read only) / Interfacing / Re: Trying a multi-protocol interrupt based IR rcv lib on: September 30, 2009, 04:40:25 pm
Hi SlyCoder. What is the status of your project, please?
Do you have any code to send what you've decoded yet?
3  Forum 2005-2010 (read only) / Exhibition / Re: Chattyhome - intelligent house system on: June 29, 2010, 08:29:39 am
Hello All smiley-wink
I finally added PIRs to my system:

And added some more details about my implementation of water level sensor to the blog:

At the moment I'm working on the third major rewrite of the core scheduler, this time I hope to get it as close to a realtime system as needed to be perceived as one smiley-wink I also had some ideas about making the Overview tab configurable, so sooner or later I will be releasing the software to the public, hopefully someone will be interested smiley-wink
4  Forum 2005-2010 (read only) / Exhibition / Re: Chattyhome - intelligent house system on: March 22, 2010, 03:56:31 pm
Someday, maybe. I really appreciate your comments and suggestions, but right now I will not spend hours if not days of my time trying to fix something which is already fixed. It works, all it needed was the second arduino and the probe loop fits neatly within one minute with plenty of room to grow and it will never interfere with the outputs, and if I ever need more room it's easier still to replace 750ms probes with 10ms probes and the problem is non existent again. I think it is better to spend your precious resources where they are really needed - and in my case this is development of new functionality. Right now I'm spending my time on integrating PIR sensors around the house, which will give my heating system more information, makes a good start for the security alarm, and makes possible funky ideas such as music following you around the house, ...
But I'm really grateful for the ideas - I'll put it on my TODO list and maybe one day I will rewrite the architecture to be event based with some sort of messaging system which is not serial like at the moment, please keep them coming.
5  Forum 2005-2010 (read only) / Exhibition / Re: Chattyhome - intelligent house system on: March 19, 2010, 03:05:29 am
Yes I sort of realised that the conversion can be done in a parallel mode - but because of the architecture of the whole system, i.e. how the rest of software which connects to arduino does it, it would be very difficult if not impossible for me to program it so I decided to go the easy way - I have limited time resources and I'm lazy smiley-wink

The server software works in a way that a single command or batch of commands sent to arduino via serial will return a value, and the server will wait for this value until it comes or until timeout.

If I were to add another 18X20 probe all I need to know is its address and I can set it in the server software through UI alone without coding or compiling anything. Add a Probe, set Name, Location, Type, Arduino address, configure a Command for it, which would be something like '1WirePin 12!readDS18B20Temp 284CBAB101000051!' and presto. Optionally you add a relay board driven by any of the remaining arduino pins, set an Action in the software, set its type to Temperature and its Location the same as the Probe you just added, its commands similar to the Probe commands, i.e. '"0"="offPin 24!"; "1"="onPin 24!";' and you are able to schedule temperature in a room via Schedule - still using UI configuration only.

My goal is to be able to offer this software to the public and for this I want to have something which can be configured via UI alone.

I added a rough sketch of the architecture to the blog yesterday:
6  Forum 2005-2010 (read only) / Exhibition / Re: Chattyhome - intelligent house system on: March 17, 2010, 02:35:29 pm
It makes it a bit easier and maybe more reliable. One is output the other is input, in the server application I have separate thread for sensors, which run every minute, and a separate for outputs which run every second and execute scheduled actions and any input from the clients. DS18B20s are quite slow, it takes 750ms for one to calculate the temp and I have a few, at some point the software would have a problem with that, I had no proper locking. Even now when it's quite polished I would risk an occasional timeout maybe... But the software should be able to handle that at its current stage, so you are right, I could run the thing on one Mega only.
I also plan to upgrade 18B20s to 2438 which is a far superior chip - it does temp calculation in 10ms and can double as a light or movement sensor.
7  Forum 2005-2010 (read only) / Exhibition / Chattyhome - intelligent house system on: March 17, 2010, 12:15:25 pm
I started the project a few months ago, and I probably reached a stage when it's maybe worth to show it. At the moment I just have a simple blog page with a few pictures, but hey, the longest journey start with a little step.

The system is based on arduino, of course. I use 1-wire DS18B20 temperature sensors, SHT-11 humidity sensors, Sharp GP2D12 distance sensor (for water level in the fishtank), light resistors, RF transmitter for light switch control, an ugly hack of disassembled RF remote to control HRV, a couple of relay boards to control fishtank and central heating / radiators, and its still work in progress and will always be smiley-wink. At the moment I'm adding PIR sensors.

If you want details about anything in particular (I hope you do smiley-wink) please ask.

Oh yes, and the link to the blog:
8  Forum 2005-2010 (read only) / Exhibition / Re: Home Automation Controller on: June 29, 2010, 08:21:32 am
Nice. Check out mine:

Slightly different approach, i.e. Arduino is not the heart of the system but merely input/output interface, the system is based on SQL / Objective-C server, with Mac / Web / iOS clients.
Pages: [1]