Good afternoon Habra residents!
Decided to share with you an idea that my colleague and I have been trying to realize for some time.
And so. A little prehistory. Our organization deals with industrial automation. For a long time we have been developing a set of software and hardware for solving specific industrial automation tasks for one large corporate customer. And so, when in general we implemented all our ideas and the complex even got the finished look and beauty, was tested in the field conditions, the customer suddenly decided that in his structure should be used only "standard hardware and software of world famous manufacturers". The development lay on the shelf. So we decided to give it (well, not quite her of course) a new life as an Open Source, Open Hardware project for home automation.
It is planned that it will be a set of devices, each of which will be designed to solve a particular range of tasks and will have a unique set of peripherals that will be ideally suited for these tasks. These devices will be able to network using their own protocols on top of CANand 802.15.4 interfaces and will have RS 232 (possibly usb cp2101) port to connect to PC, routers and any other smart device supporting USB host or RS232. Maintenance of all interfaces (communications and I/O) will be done on the level of native code written into the processor (PIC24) and the sources of which will be provided as part of the project, and the application program will be created in a simple, "C" like programming language, which will be compiled byte code stack machine, and will be executed in a virtual machine over the main firmware.
The simplest program :
or like this :
The main criteria in developing a line of devices are :
ease of repeatability
easy mounting and casing
easy exchange of data between devices
easy creation of application programs
ease of learning
At this point, a prototype has been developed –
with the following specification :
12V power supply
Two PWM ports with 12V 30A power switches to control any 12V load
Two digital inputs with wide range of input voltages
one analog input
MRF24J40MA assembly can be installed.
One of the main features of all modules will be the standard size, providing easy mounting of modules on DIN rail in standard boxes for wiring, as well as the unified number and location of connector terminals.
Development of software for this module, which should become the basis for the rest of the line is in progress. In the future it is planned to develop new devices which can have a more specialized purpose.
Soon there will be a website, schematics and first versions of software.
So to the esteemed community request, to express their wishes and scenarios for the use of such a set of equipment. On the basis of your wishes tuttorials will be created and new devices will be developed within the framework of the project.
Examples of scenarios :
Pumping water out of the tank (drainage pit) by the presence of only one water level signal (tank full):
When the signal appears (float switch discrete sensor) the pump is switched on for a sufficient time to pump out a certain volume of water but not enough to pump out all the water (dry run protection).
Presence and time of day sensor control of the kettle: if a person (discrete presence sensor) appears in the kitchen at the set time interval – turn on the kettle :).
Sophisticated control of light fixtures and realization of light effects.