Smart home based on the AMX NI-3100 controller

The idea to make a smart home came to me back when I was in school. It so happened that, unlike my peers, who played ball in the yard or played computer games, I saved the money my parents gave me for a school lunch and went joyfully to Vasileostrovskaya.


Demonstration of the work of "Smart Home".

There were two of my favorite places: a commission-office combined with a radio shop on the middle avenue and a flea market near the metro. At the flea market, “BOM” sometimes managed to grab a “stunning” microammeter or scarce microcircuits, and in the store transistors and other radio elements at ridiculous prices. In the evenings I soldered, so that the in-depth course of my physical and mathematical gymnasium was given to me with difficulty. They even wanted to drive me out of there a couple of times, but I always “got out”. At that stage, the “peak” of my work was achieved when I made a model of a computer-controlled machine based on a matrix printer. The Internet then only appeared - it was 1996-1997. I mastered it on the basis of a free intranet pool from the Metrocom network. I even remember the number 303-9-303. Computers, storage media were changing, the market was overwhelmed by “stunning” Chinese control schemes, which I could easily connect to a computer through parallel or serial ports. USB - then it was just becoming fashionable, so the first scientific work at the St. Petersburg Polytechnic University was done precisely on the basis of this “Chinese”. And then there was a “breakthrough” from Velleman, which was called K-8055. This scheme was introduced by me wherever possible and impossible. It had analog and digital inputs and outputs and made it possible to control complex machines, as it had the possibility of combining up to 4 circuits in a cascade. It was already a full-fledged CNC. I poured them with molten wax and in this form they still work in 30-40 places even at low temperatures. I wrote programs for them in C ++ and Delphi very quickly. therefore, the first scientific work at the St. Petersburg Polytechnic University was done precisely on the basis of this “Chinese”. And then there was a “breakthrough” from Velleman, which was called K-8055. This scheme was introduced by me wherever possible and impossible. It had analog and digital inputs and outputs and made it possible to control complex machines, as it had the possibility of combining up to 4 circuits in a cascade. It was already a full CNC. I poured them with molten wax and in this form they still work in 30-40 places even at low temperatures. I wrote programs for them in C ++ and Delphi very quickly. therefore, the first scientific work at the St. Petersburg Polytechnic University was done precisely on the basis of this “Chinese”. And then there was a “breakthrough” from Velleman, which was called K-8055. This scheme was introduced by me wherever possible and impossible. It had analog and digital inputs and outputs and made it possible to control complex machines, as it had the possibility of combining up to 4 circuits in a cascade. It was already a full CNC. I poured them with molten wax and in this form they still work in 30-40 places even at low temperatures. I wrote programs for them in C ++ and Delphi very quickly. as it had the possibility of combining up to 4 circuits in a cascade. It was already a full-fledged CNC. I poured them with molten wax and in this form they still work in 30-40 places even at low temperatures. I wrote programs for them in C ++ and Delphi very quickly. since it had the possibility of combining up to 4 circuits in a cascade. It was already a full-fledged CNC. I poured them with molten wax and in this form they still work in 30-40 places even at low temperatures. I wrote programs for them in C ++ and Delphi very quickly.

After college, after working for a couple of years in the office, I was puzzled by the issue of automation and organization of a smart home within my apartment. I had two ways AMX and Crestron. I chose AMX. I will explain why. In 2011, I automated one cottage in Moscow and its owner gave me the MVP-8400i panel.

AMX panel MVP-8400i
AMX panel MVP-8400i

Then, in 2012, I bought several NetLinx NI-3100 controllers via eBay and began to integrate Smart Home into the apartment’s power grid.

image
Telecommunication cabinet with AMX NetLinx NI-3100 controllers AMX NetLinx NI-3100
image
controller. Back view
1. Light control. Everything is very simple here. If dimming is not required, then a relay is set instead of one of the pass-through switches - this way you can turn it off if it was turned on and turn it on if it was turned off. If dimming is required, then a digital-to-analog converter is “hung up” on the com-port of the AMX controller and it is already controlled by a dimmer.

image
The relay and dimmer control are hidden inside the socket
2. Air conditioners, TVs, projectors and other infrared nonsense. On the controller for this case there is a whole bunch of IR ports. You hang an infrared diode there, read the command from the “native” remote control, program and the thing is in the hat.

image
The infrared LED is hidden inside the internal block of the split system
3. Water - normally-open and normally-closed valves. I used Chinese. The thing is cool in the first place: you go to work on a cold January evening and want to enter the apartment into a hot bath ... Go to the site of the “smart home” and turn on the bath. Valves open. The bathtub is filling up. The valves close. Solenoid

image
valve and circuit with LED indication

image
Circuit with LED indication and relay block
4. Underfloor heating , ventilation and control of the coffee machine: see point 1 without dimming.
I’ll mention right away that I have implemented video surveillance, so the effect of lighting a bulb for thousands of kilometers is fueled by the ability to watch it via the Internet (remote video surveillance system), so go for it! AMX drives !!!
For those in the tank: control panel - connects to the Wi-Fi access point, then the access point connects to the controller by wire. The controller sends a signal, for example, to a transistor, which amplifies it to the level perceived by the relay, and the relay already commutes the final circuit, such as a fan or a light bulb. The controller has a web interface, so it can be put on the Internet for entertainment outside the home.

image
In-house communications
image
Relay output communication of one of the controllers
image
Relay and valve power supply unit AC
image
executive relay for use as a galvanic isolation in a three-phase network
Recommendations:
1. If you are excited about the idea of ​​a smart home before major repairs in the apartment - go for it. After - put off this idea until better times;
2. Games with electricity - bad, with water - are doubly bad, so if you are not a professional - do not hesitate to consult with "competent" specialists;
3. Think about how the system will behave, being for a long time without electricity;
4. The budget of “Smart House” on high-quality equipment - significantly exceeds 100,000 rubles, so do not get involved in such an undertaking without being ready financially;
5. The time spent on the project and discussion is about a month, another month on the scheme, so that after finishing, it doesn’t work out “and then the posting is not enough,” well, a month of work with a soldering iron for implementation. I did my system for about a year for financial and temporary reasons.
6. I did not mention the soldering iron by accident. Only him and POS-61, for example. No terminal blocks, especially twists. First of all, think about the safety of what you are doing.
7. Recommended manufacturers:
a) Controller and control panel: AMX vs Crestron
b) Video surveillance: Axis vs D-link
c) Power supplies: MeanWell
d) Network equipment: Cisco Systems
e) High-frequency cable equipment: Netko
f) muRata radio components
g) Power Cables: Sevcable
h) Switches, dimmers, sockets, circuit breakers: ABB
i) If you use a computer inside the system, in no case use Windows. Ideal QNX, valid Ubuntu.

Successes.

Also popular now: