We start by defining the input temperature states using “membership functions”:
With this scheme, the input variable’s state no longer jumps abruptly from one state to the next. Instead, as the temperature changes, it loses value in one membership function while gaining value in the next. In other words, its ranking in the category of cold decreases as it becomes more highly ranked in the warmer category.
At any sampled timeframe, the “truth value” of the brake temperature will almost always be in some degree part of two membership functions: i.e.: ‘0.6 nominal and 0.4 warm’, or ‘0.7 nominal and 0.3 cool’, and so on.
In practice, the controller accepts the inputs and maps them into their membership functions and truth values. These mappings are then fed into the rules. If the rule specifies an AND relationship between the mappings of the two input variables, as the examples above do, the minimum of the two is used as the combined truth value; if an OR is specified, the maximum is used. The appropriate output state is selected and assigned a membership value at the truth level of the premise. The truth values are then defuzzified. For an example, assume the temperature is in the “cool” state, and the pressure is in the “low” and “ok” states. The pressure values ensure that only rules 2 and 3 fire:
Made first prototype used GPRS shield SIM900
First I had to disable SIM pin1
List of operators
So I made one call and send one SMS to Varulla.
Now we have dial pad prototype.
Lately I discovered IoT and Clayster for my self.
One good way to learn new things is to resolve some problem using new technology. So I thought to build system detects is somebody is behind in my display. And I’d like to detect it over XMPP.
So for prototyping Raspberry Pi is suitable piece of hardware. Also I used ultrasonic sensors – hc-sr04
Connected with RP using schema
And I can read readings over XMPP
And finally the most coolest thing – HomeArena by Clayster
git clone git://git.drogon.net/wiringPi
One way is to read your home temperature sensor values from console but lets be honest it is boring 🙂
I am sure the way I resolved it is much more coolest way
I have long time considered how to build digital watch. Now I am ready for this. I did not wanted to do it without real time clock (DS1302). So ordered some from china and now I got them
I put together first prototype and it works nice
So RTC gives me time
DS1302RTC is connected to Arduino. Later I will design my own board and going to use Atmega328PU. Battary keeps time even external power is down.
At the moment this is my fancy user interface. Later I will use LCD or OLED
This is handy option. Now I can calculate exactly how long my outdoor sensors last
First sensor can send his battery level data
Bought new toy 2.4 Inch TFT LCD Shield Touch Board Display Module For Arduino UNO
It took about an hour to find right libs
Using ILI9325 driver
and to get first picture but here it is