📜 ⬆️ ⬇️

DMMR: radio control via USB- "whistle"



The publication of this post yesterday in our community on VKontakte caused an unexpectedly violent reaction. Since then, we have managed to assemble several new radio modules, several dimmers, several USB and PROG adapters and program them. Preliminary testing of dimmers installed in real walls (without implementation of the ZigBee protocol) has been carried out. In the one-room studio apartment and in the two-story cottage of expanded polystyrene-concrete blocks (interfloor overlappings - wood). Everything is more than workable. Even with simple printed antennas on both sides. Details + video with non-tweaked desktop - inside.

A brief introduction to the course for those who first saw our project
We are developing a complete system of smart home. The “first sign” of our system is a DIY-dimmer. Here are its main characteristics:

  • 2.4 GHz radio channel operation (own protocol, without licensing restrictions, or ZigBee implementation based on Atmtel BitCloud)
  • Encrypted connection
  • Installation without changing the standard wiring of an ordinary apartment
  • Low power consumption
  • The usual look of switches
  • The possibility of independent expansion of both hardware and software functionality
  • Open source code of both software and hardware

')
If you want to join in the discussion of the features of the system, please read all our previous articles and comments to them. Most likely the questions after such an introduction will be much less.

Want to keep abreast of all project events? It is not difficult at all!
You just need to subscribe to the update of our company in Habré and in the VKontakte group .

With VKontakte questions usually does not arise. To subscribe to Habr's updates, you need to go to the company’s page and click the “Subscribe” button in the block on the right.

New demo module COOLRF DMMR


Especially for demonstrations to the habocoobschestvu we remade demo module. Soldered the first large test board with a variable resistor. Screwed with a standard terminal block terminals from the lamp. Although this is not visible, but the standard dimmer connection scheme is used - to break a single wire.



This is how our dimmer now looks like in a closed case:



So - in the open:



The new edition of the case - new latch covers that do not break with repeated opening and closing. You can see how the terminal bent when twisting the wire - we have not yet been able to find a suitable component with the desired stiffness (“thick” legs).

PC connection


The V-USB library is used in the firmware of the radio module connected to USB. In the system, the radio module is seen as a HID device, which theoretically allows us to connect it to different operating systems and not think about drivers. At least in theory, in practice we will check in the near future.

In the first test video of a radio channel, a simple console program is used. In its details we will not climb here. Later scheduled posts on the management of our economy from node.js. They will show all the necessary sources for independent picking in our hardware.

DMMR live radio




The USB “whistle” in the computer is of course completely illegible, but it is there. And sticking out the wires nearby is not a radio module antenna, but an innovative RESET of the system unit. Do not be scared.

Source: https://habr.com/ru/post/209906/


All Articles