ZigBee Intelligent Lighting Set Disassembly Evaluation Based on ZigBee Technology

Perhaps everyone still has the impression that not long ago, Aiban.com disassembled the iMagic smart LED light based on Bluetooth® 4.0, the colorful lighting effect is really dazzling, but after that? The general impression left us is not too Practical, entertainment-only information. From this point of view, although the smart home products are novel and fashionable, they only meet the needs of real life, and the products that provide practical use can meet the tastes of the public and get everyone’s approval. Therefore, the following will bring you a more pragmatic smart home products - Zitombo smart LED lighting kit based on Zigbee technology, see the picture below.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Magic Teng Intelligent Lighting Set

The Magic Teng Intelligent Lighting Set uses a simple cow cardboard box. When opened, it will find 5 small boxes inside, which are Nova lamp*2, free switch*2, gateway*1, which power the gateway. 5V output adapter *1, a simple explanation page, 3M sticker, as shown below. Of particular note is that each small package has a unique two-dimensional code for the device inside the box. This is important when configuring the mobile app.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Magic Teng Intelligent Lighting Set Accessories

The communication control interaction principle of the Magic Teng Intelligent Lighting Kit is based on Zigbee technology. It has also been introduced in the Atmel ATMEGA256RFR2 Xplained Pro development board evaluation. Zigbee is based on the IEEE802.15.4 standard, but it is an extension of the IEEE802.15.4 standard. IEEE802.15.4 only handles the low-level MAC layer and application layer, while ZigBee standardizes its network layer protocols and APIs, as shown in the figure below.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

ZigBee standard

Physical layer: the lowest level of the protocol, the task of directly interacting with the outside world, controlling the operation of the RF transceiver

MAC layer: responsible for data transmission and reception of the establishment, maintenance and end confirmation mode of the wireless data link between devices

Network layer: establish a new network, ensure data transmission, encrypt data, and ensure data integrity

Application layer: The application support layer enables communication between multiple devices according to services and requirements, and can be developed independently according to user needs.

ZigBee works in the global ISM license-free 2.4G frequency band. It is a low-speed (20~250kb/s), short-distance (10~100m, increased RF transmit power that can increase the communication distance to more than 1KM). But it is low-cost, low-latency (15ms~30ms), low power consumption and powerful networking capability. It can support 65000 nodes and support multiple network topologies. Two sets of LED lights are equipped from the Magical Intelligent Lighting Set. The switch and a gateway can also be seen one or two.

The Magic Light calls its own LED light a Nova light. Of course, this is just a name, meaning "new" and "light", not a special lamp. The Nova lamp adopts the same design structure as the iMagic LED lamp (see the figure below). The standard E27 screw buckle is suitable for most household use. The Nova lamp is rated at 6W and can be used in AC environment of 100V~240V. This wide voltage supply design is very good, even if it is used abroad, there is no problem at all. What makes me most impressed is that the Nova lamp has no spare capacity in the heat dissipation design. The heat dissipation design of the aluminum grid can minimize the heat generated during LED operation. It is safe first, although the feel of the Nova lamp is very poor. But who would be fine with a light bulb?

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Nova lamp appearance

A simple switch, also named by the illusion, is a free-to-open switch. It is obvious that this switch is very flexible in life. With the 3M sticker attached to the switch, you can place the switch on whatever you want. The place is really worrying.

The free-standing switch is a round square design (see the picture below). It is the size of an adult slap, and the front has a matte design. It feels great, but the feedback of the button is only clear when the middle of the switch is pressed. The internal design of the button is processed. It should be rough.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Free switch

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

TelePort gateway (see picture), with a power input hole, an Ethernet port and a status indicator, what is this thing used? I believe that no contact with Zigbee technology will cause such doubts. This is still going back to the characteristics of Zigbee technology. When it comes to Zigbee, its biggest and most obvious advantage is its unique and powerful networking capability, which can support 65,000 nodes. How do you manage these nodes? This leads to a network coordination. The concept of the device, which is responsible for initiating and establishing the management of the entire network. In the Magical Intelligent Lighting Suite, the TelePort Gateway plays such a role, connecting it to the Internet, through the mobile APP, it can also manage switches and Nova lights. .

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

TelePort Gateway

The three main devices of the Magic Teng Intelligent Lighting Kit include the above Nova lights, free switches, and TelePort gateways. These three devices also form a small Zigbee network. We then actually experience the Zigbee-based intelligence. LED light usage.

Not much to say about the preparation work, as an engineer or engineering man, change a light bulb, install an APP software, it is not all hand-to-hand, just need to pay attention to the configuration of the APP must be associated with the TelePort network online, magical intelligence The lighting suite APP supports both Android and iOS systems without discrimination.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Configuring the gateway TelePort

Have to say, mobile Internet changes our usual living habits, the original annoying serial code and what code can now be achieved by scanning the QR code, download the APP software to scan the QR code, add the device to scan the QR code as well. , get it in one step.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Add a networking device

After adding all the devices to the app, the Nova light can be controlled by the APP on the phone, and the alarm switch lights and the light switches and lighting effects in the scene mode can be set.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Set alarms and profiles

In addition to setting the specific lighting effect of the Nova light in the scene mode, you can also directly control the light by pressing the Nova light icon on the APP (see the figure below). It is very user-friendly, although it is talking about the interaction between the mobile phone and the Nova light. However, the implementation process still needs to pass through the TelePort gateway. That is to say, if you power off the TelePort gateway, the mobile APP cannot directly control the Nova light.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Set lighting effects and set the switch

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Of course, if the switch is set up, it is another matter. The last APP screenshot in the above picture, long press the key to open, the mobile APP will pop up a setting window to set the switch to control the Nova light. When you check the switch you want to control the lamp or control at the same time, you can also set the parameters such as color temperature and brightness, which is very simple. The figure below shows the effect of controlling the Nova light through the freely switch.

Free switch control Nova light switch

Once the switch is set, as long as you don't change the settings, you can control it like the other appliances in your home at any time. You don't need to open an annoying APP, you don't need to connect to the Internet. This is convenient. A range of homes that have been renovated but are an ideal solution.

For the Zigbee smart lighting suite based on Zigbee technology, it is easy to set up in real life and easy to set up, but if it is only this, it is only a successful product, and it will not let the author admire, but the magical intelligence is obvious. Going further, beyond your expectations, if you are an electronics engineer and you want to learn through the Magical Intelligent Lighting Set, then it will not let you down.

The Magic Teng Intelligent Lighting Kit is also accompanied by a service that excites engineers - the imaginary application programming interface. Engineers can use this interface to programmatically control the Magic Teng smart device, as well as integrate other vendors' devices to achieve overall home automation. In the official website of the illusion, there is a label of the application programming interface. Clicking on it can program the illusion intelligent lighting set (login required). Although it is still in beta1, the basic functions can be used normally. The following figure is Open API interface features.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

The interface and function currently available in the Magic Teng Intelligent Lighting Kit

Each interface function has a corresponding model structure code and additional comments. Even if you don't understand the code, you can understand it well under a little learning. It is quite practical for engineers who want to learn this. I tried the above figure. The functions that can be implemented on the mobile phone can be implemented in the application programming system, and it can also implement functions that cannot be implemented on the mobile phone, such as deleting the device in the existing account and binding the device to another account. The author will demonstrate the details of this set of application programming specifications through practical operations.

First, select all the device information on the current account. For easy understanding, the following will be output in the Chinese version of the comment.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Get the device information on the current account

Remember the device_identifier number of these devices, then open the interface function of the deleted device, enter the Nova light you need to re-bind other accounts or delete the device_identifier number of the switch.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Select the device you want to delete

After deleting the device, the system will regenerate a new QR code and click to get the available QR code.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Get the QR code you can use

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Remember to remember the code of the QR code you can use, add it to the account you need to bind, and you're done.

Add the QR code to the account you need to add

Although it is more complicated to delete the binding of other accounts than the other products we have seen, this free learning opportunity is very rare for engineers who like toss and learn, and the relative products It is much more interesting in itself.

The Magic Teng Intelligent Lighting Kit has been successful in the product itself. Based on this, the open application programming interface captures the hearts of most engineers who like DIY. This poses a new challenge for the closed smart home. It is worth our expectation. .

Magical Intelligent Lighting Set Dismantling

Disassemble the Nova light

Talk about it, play and play, and want to know more about the illusion intelligent lighting set, no doubt the disassembly is the best way. I have experienced the dismantling of iMagic intelligent LED lights, the author's self-confidence is bursting out, I would like to ask, and then dismantling a Nova lamp is not a matter of hand-to-hand. As a result, it is more tears, no nonsense, directly on the map.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Nova LED array

Unscrew the lamp cover of the Nova lamp to see the aluminum-based PCB board of the LED lamp. The internal LEDs are arranged in an array. There are 24 LEDs in total, and the cool color warm LEDs are arranged side by side. This design can produce a very uniform illumination effect when adjusting the color temperature. In the center of the aluminum-based PCB board, the ZigBee antenna is designed. This prominent design has an impact on the appearance, but it is also a last resort. Once the internal space is limited, the inside of the aluminum casing is easy to shield the signal. If the antenna is inside, it is bound to be inside. To influence the signal, of course, the ability to combine the antenna with the outer casing is like the amazing sense of the antenna design when the iphone4 was just released. However, in the Chinese hardware fast food culture, it is very difficult to make this effort. To put it bluntly, for an LED light, it is not a domestic enterprise to do the beautiful design of the antenna.

When I talked about it, I was a little far-fetched. Looking back, I continued to look at the dismantling of the Nova lamp. The old rules can only be broken down by means of violence.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Disassemble Nova Light 1

The specific process is no longer detailed. Everyone can look at the picture. When I first dismantled the internal structure, I believe that everyone will be as jealous as the author. Actually, the insulating and thermal conductive glue is used for potting. This simple violence is not used, but helpless. Once the squeegee is used to cut off the insulating thermal adhesive, the final step is to pull the internal module out of the aluminum heat-dissipating casing, and directly directly illuminate the LED-based PCB board. This Nova lamp must be completely scrapped. .

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Disassemble Nova Light 2

Fortunately, the hard work pays off, the final internal module is still a long-awaited start, the appearance is a bit mixed, the module not only has insulating glue, but also insulating tape, see the picture below.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantle the Nova lamp 3--power module + main control communication board

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

After separation, it is found that the internal module is mainly composed of a main control communication board + a power module. The insulating tape is mainly used to isolate the devices on the two PCB boards from each other, and together look at the scheme of the main control communication board.

Main control communication board 1

The main control communication board's microcontroller uses STMicroelectronics' STM32F103 series - STM32F103CBT6, based on ARM Cortex-M3 core, 72MHz main frequency, with flash memory, with USB, CAN controller, integrated with 7 timers, Two ADCs and nine communication interfaces (including I2C, SPI, UART interface, etc.), for the STM32 microcontroller, I believe that you know a lot, after all, the frequency of the occasion is also very high, such as this STM32 micro control The STM32F0 Value Line development board that was previously reviewed by Aibo.com belongs to a series of microcontrollers, and coincidentally, the smart sockets of the same series use the same series of microcontroller solutions. Indeed, there are always indications of STM32. The market share of microcontrollers is not low. Those who want to learn 32-bit microcontrollers may wish to consider starting with STM32.

The Zigbee RF solution for the main control communication board uses a combination of NORDIC's nRF2401 RF transceiver + RFaxis RFX2401C RF front end. nRF2401 is mainly used for signal modulation and demodulation (see the nRF2401 system block diagram below), working in 2.4G ISM band, supporting up to 2MBps air speed, -82dBm receiving sensitivity @2Mbps, -85dBm receiving sensitivity @1Mbps, except In addition, the nRF2401 has extremely low power consumption.

900nA deep sleep mode

11.3mA TX mode @0dBm

12.3mA RX mode @2Mbps air rate

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

nRF2401 system block diagram

RFaxis' RFX2401C 2.4G wireless RF front-end solution is used in the nRF2401 RF transceiver front-end circuit. It integrates PA, LNA and switching circuits (control transceiver). It can be flexibly applied to support IEEE802.15.4, ZigBee standard, wireless sensing. The RF front end of the network and other wireless network systems in the 2.4 ISM band.

The other side of the main control communication board is the LED driver circuit, as shown below.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Main control communication board 2

The voltage converted by the voltage module is supplied to the PowTech PT4115 LED driver IC after being converted by the ON Semiconductor MC3406 DC/DC. The control of the LED lamp is controlled by the microcontroller controlling the DIM signal of the LED driver IC. The hardware of the entire Nova lamp The block diagram is as follows.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Nova light block diagram

After disassembling the Nova light, and then looking at the TelePort gateway, this disassembly is very simple, just pull the shell open.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Disassemble the TelePort Gateway

The space of the gateway PCB board is very large, the internal layout is clear at a glance, the motherboard uses STMicroelectronics STM32F107 series as the main controller - STM32F107VCT6, and Zigbee's RF solution directly copy the solution on the Nova lamp, no difference, see the following figure.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

TelePort Gateway Motherboard

Some people may have doubts, the choice of the microcontroller is not as simple as the Nova lamp? This is why we choose the STM32F107 series instead of the STM32F103 series, mainly for the peripheral resources of the microcontroller integration, see Tele The gateway product has an Ethernet port function, and the STM32F107 series is based on its integration of a 100M Ethernet controller, which is the biggest difference from the 103 series. The block diagram of the TelePort gateway hardware is as follows.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

TelePort Gateway Block Diagram

Disassemble the switch

Finally, let's look at some of the devices inside the switch. After opening the back cover, you will find that there is a spring placed in the four corners, and the center is the membrane button of the switch. No wonder the author has a feeling of unclear feedback when using it. If you use the free-standing switch to control the Nova light, you need to press the center part honestly. Pressing the area around the four corners may just press the spring, which is in the pit itself.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Disassemble the free switch 1

The self-generating technology in the self-generating wireless doorbell that has not been disassembled before the love board can rely on "artificial power generation". The 3V button battery is used as the power supply inside the switch. This design is sufficient to illustrate the product. Low power consumption.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Disassemble the free switch 2

Looking closely at the PCB board circuit design, the Zigbee solution for the free-standing switch uses the more integrated NORDIC single-chip Zigbee/2.4G wireless solution nRF24LE1E, as shown below.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Free switch PCB board

In fact, the nRF24LE1E is internally composed of a Nordic nRF24L01 (transceiver) + an 8-bit cpu compatible with the 8051 series, and integrates Soc with 1KB+256B RAM, 16KB FLASH and other peripheral resources. It can not be seen that nRF24LE1E can Other NODIC products such as nRF24L series, nRF24E series and nRF240 series are compatible with the air interface. See the following figure for the nRF24LE1E system block diagram.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

nRF24LE1E system block diagram

With the compact size of the switch, it seems more reasonable to use a single-chip ZigBee solution. But using the nRF24L01+RFX2401C solution, it has been proven to be small enough on the Noval lamp, so why not use it on the switch? Why is the Noval lamp and the TelePort gateway not using the Nordic ZigBee single-chip solution? According to the author's speculation, the main two reasons, first, the button battery power supply is not suitable for the nRF24L01+RFX2401C solution, and as for the Noval lamp and The TelePort gateway is more ideal to use a combination of nRF24L01+RFX2401C with a stronger external PA transmit power and a wider signal communication range. Finally, look at the simple block diagram of the free-standing switch.

Dismantling of the Magic Teng Intelligent Lighting Set Based on ZigBee Technology

Schematic switch block diagram

After reading the disassembly of the illusion intelligent lighting set, do you have a feeling of smashing, Zigbee's networking method, just by the application of LED lights, it is indeed better than the current low-power Bluetooth as a smart LED light Have an advantage, and the advantages are obvious. In addition, the entire intelligent lighting package is only 436RMB, very cost-effective. This makes the author lament a lot. Nowadays, there are more and more devices in the smart home series. The same products can be realized through different technical means, and the experience experience and price difference are completely different. This is the so-called technology charm. Alright. For ZigBee technology, its low power consumption and powerful networking capabilities are ideal for any low-speed-rate applications that require node devices, as well as PC peripherals, consumer electronics, industrial controls, medical controls, interactive toys, and more. First reference.

Dog Fence

Dog Fence,Wire Fence,Petsafe Fence,Best Wireless Dog Fence

Elite-tek Electronics Ltd , https://www.aetertek.ca