Abstract: ** Now, vending machine as a convenient way to sell 24-hour stores, has become more and more common. Do you know how the coke from the vending machine gets into our hands?

The Internet of Things has penetrated into every aspect of our lives, bringing great convenience to our lives. In the past, you had to bring cash to the store to buy things. Now, vending machines are becoming more and more common, even ubiquitous, as a convenient way to sell goods without a store 24 hours a day. Do you know what it takes to get a coke from a vending machine into our hands? What are the secrets behind the intelligent data transmission of vending machines?

How to choose the right module in embedded development process

The reason why vending machines are so smart and a bottle of Coke can reach us happily is due to the magic “small item” in vending machines. It is the function module that integrates chips, memory and power amplifier devices on a circuit board and provides standard interface. Terminals use wireless modules to connect to the Internet and transfer data — that little thing is a wireless communication module.

Wireless communication module is an important link of the cognition layer and transmission layer of the Internet of Things, which belongs to the necessary hardware configuration. As the communication foundation of the Internet of Things, it enables different terminal devices of the Internet of Things to access the entrance of the Internet of Things and provides network information transmission capability for terminals. However, in the process of module development, developers often encounter the difficult problem of which development mode to choose.

  • The development mode based on standard module often works with a single chip computer or MCU, which communicates with the standard module through UART and transmits data to remote application server or Internet of Things platform. The advantage of this approach is that you don’t need to know much about modules. Modules are completely black boxes and can be called with the AT instruction.
  • The Open mod-based development mode requires a little more development capability, but it has the advantage of saving an MCU, reducing the cost and device size.

With 2 AT instructions, the authentication module takes you quickly to the cloud

Wireless modules bring convenient development process to developers. However, many device manufacturers still face the problem of fast cloud connection. For example, the average development period of devices is over one month. It takes time to compile the SDK source code, or even include additional resources to host the SDK.

Huawei Cloud IoT provides a device-aware IoT platform for the vast number of device manufacturers and developers. It provides corresponding cloud service products at the end, side and cloud respectively, making device access easier, faster and at low cost. Huawei cloud IoT device Access The cloud service supports four types of devices: directly connected device, edge gateway device, gateway device, and universal protocol device, meeting the requirements of device manufacturers and developers to quickly access the cloud.

To simplify device access, reduce the complexity of cloud connection and shorten the development period of devices. Huawei cloud IoT has ecological cooperation with chip/module manufacturers. The interconnection function of its SDK is preset into the chip/module. After sending two AT commands (AT+HMCON and AT+HMPUB) through the serial port, the module can complete data interaction and access the cloud in 10 minutes.

What are the advantages of SDK preset chips/modules for cloud devices/developers?

1. The module automatically subscribes to topics of the Internet of Things platform, saving more than 6 topic subscriptions and realizing data reporting and command delivery;

2. No need to read complex operation instructions, two AT instructions can be easily and quickly connected to the platform, saving time on the cloud;

3. SDK source code ADAPTS OS work without compilation chain, which reduces a lot of work for developers due to compilation and saves about 1 week;

4. There is no need to load SDK source code for project engineering, which saves framework design work and improves code efficiency by 35%;

5. For enterprises, not only does the cost not increase, but they also enjoy the cloud service platform capability with zero cost and endless enjoyment.

Authentication module is convenient for tens of millions of industries, realizing the landing of industry solutions

At present, authentication module has been widely used in the industry, which is divided into high speed, medium speed and low speed mode scenarios from the perspective of Internet of Things transmission speed.

** Low-speed scenario: ** Is mainly the WELL-KNOWN NB module, with wide coverage, low power consumption, low cost and large connection. The main industries are electricity meter, gas meter, water meter, etc.;

Medium-speed scenario: the Cat 1 module of 4G, the new favorite of Internet of Things connection technology with low cost, is mainly used in a wide range of industries such as vehicle tracking, ship tracking, two passengers and one danger, intelligent parking, personal tracking, agricultural irrigation and so on.

High-speed scenario: It will be dominated by Cat 4 and 5G modules, which can meet the networking requirements of higher speed and lower delay, and achieve a greater leap from the basic layer to the application layer. The main industrial applications include industrial remote control and telemedicine.

More wonderful interpretation of vending machine data transmission behind the intelligent mystery, this live huawei cloud IoT joint Shanghai Yuyuan Communication Technology Co., LTD., together to reveal a cup of Coke through what invisible instructions came to our hands. The portal –

Click to follow, the first time to learn about Huawei cloud fresh technology ~