Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Entering the World of MEasy: IOT reference Design based on STM32MP1

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

With the rapid development trend of Internet of Everything, the performance of board processor, memory size, interface peripherals and so on are hardware parameters that people care about very much, but how to maximize the function of hardware, a complete set of software support is particularly important.

Background: With the development of HTML5 technology, the function and performance of Web have been greatly improved. The cross-platform characteristics of Web applications make it possible for them to run on embedded platforms. In order to solve the difficulties of users and pain points in the industry, Mill Electronics provides MEasy IOT reference design and other characteristic system applications. This is a human-computer interaction system composed of Web Demo based on MYD-YA157C development board as hardware platform.

Below we continue to learn about the IOT reference design based on STM32MP1:

What is MEasy IOT?

MEasy IOT is a human-computer interaction system composed of WEB Demo developed by Shenzhen Mill Electronics Co., Ltd. The hardware platform is based on MYD-YA157C; the software is based on the Linux file system generated by YOCTO, including Python WEB runtime environment and WEB applications. Web Demo is a Python 2.7 based B/S architecture application, including Flask, Javascript,CSS, HTML and other components. The structure block diagram of MEasy IOT is shown below:

The system is divided into application layer, driver layer and hardware layer. At present, Web Demo application is launched to provide users with reference. It has the following characteristics:

1. Lightweight connection: MEasy IOT uses D-Bus as an access interface for applications and underlying hardware, with high efficiency and low latency. For example, ADC and LED control are accessed and controlled through Method and Signal implemented by D-BUS.

2. Modular expansion: The network management application in MEasy IOT uses open source Connman as the middle layer to control network devices. Connman is also a completely modular system based on D-Bus, which can be extended by plug-in to support the management of EtherNet, WIFI, 3G/4G, Bluetooth and other network devices.

Integrated applications: MEasy IOT software contains applications and libraries directly generated by YOCTO recipes on the target board directory structure.

II. Introduction 1. Login

Before use, please plug the cable into the corresponding interface before preparing the development board for power-on. The static IP of port 1 of the development board is set to 192.168.1.100. You need to add the IP of 192.168.1 network segment to the PC, and then connect the development board and PC to the switch or directly connect them. The default url of WEB is http://192.168.1.100:8080. The welcome page after entering is shown as follows:

After entering the welcome page, you need to log in to operate. Click the Login button in the upper right corner to log in. The default account is admin and the password is admin.

2. system information

This page shows the software and hardware information of MYD-YA157 development board:

3. set

Ethernet, WiFi, Bluetooth switches and address settings can be set according to the needs of use:

III. Application Display

In today's hot IoT landscape, a device compliant with the IoT MQTT communication protocol and the IEC61850 standard for power makes it easy to integrate your designs into the cloud world.

Based on these two Internet of Things protocol standards, Mill Electronics has launched a complete set of Internet of Things framework reference design. The following is the demo interface of Web, providing web-based remote configuration and communication protocol demonstration, supporting RS232, RS485, WiFi/BT, 4G/GPS, Ethernet and other rich communication and wireless interfaces.

1. MQTT protocol:

MQTT(Message Queue Telemetry Transmission) is a message protocol based on publish/subscribe paradigm under ISO standard, which works on TCP/IP protocol family. It is a publish/subscribe message protocol designed for remote devices with low hardware performance and poor network conditions. It is lightweight, simple, open and easy to implement. These characteristics make it applicable to a wide range.

MQTT protocol demo interface display:

Remotely publish messages, receive messages, and manipulate local hardware to respond to actions

test step

1. Connect WIFI through the WIFI Settings page and wait for the WIFI status badge on the left navigation bar to change to the WIFI name you are connected to.

2. Enter the MQTT application interface and click the Connect button on the MQTT server page to connect to the MQTT server.

3. Click the Subscribe button in the MQTT Subscribe page, and then click the Publish button in the MQTT Publish page. You can receive messages in the Subscribe page.

IEC61850 protocol:

IEC61850 is an international standard for the management of communication systems and decentralized energy sources (DER) in substation automation systems (SAS). It realizes the standardization of intelligent substation engineering operation through the realization of standard. The intelligent substation engineering implementation becomes standardized, unified and transparent.

IEC61850 protocol demonstration interface display:

Communication demonstration based on board and PC, real-time reporting of AD sampling

test step

Test LED:

Click the Discover IED button at the bottom of the main interface of IECScout(users need to download it themselves), and then input the IP address of the server 192.168.1.100, and click the Discover button after input.

2. Go to the Browser page and you can see the IED device model named MYIR1. Click Data Models-> LD1-> GGIO1 under IED device model to enter general I/O control interface. Double-click the LED1 data object under GGIO1 to see the Switch data attribute, and then click the Write button in the upper menu bar to control LED1.

3. Select true in the Value column, and then click the Write button. At this time, LED D2 on the development board will be lit, and the LED status in the IEC61850 application on the WEB page will also be turned on.

Test ADC:

1. In the general I/O control interface of IECScout software, click ADC1->adcMag in turn to see the ADC value, which is the same as the ADC value in the current IEC61850 application page.

2. Click the Update button below ADC in IEC61850 application on WEB page, and the ADC value in WEB page is updated to the latest value, and the ADC value is also written into IEC Server. At this time, click Read all button in menu bar of IECScout software to update ADC value in general I/O control interface.

IV. Introduction to hardware platform

MYD-YA157C development platform consists of core board MYC-YA157C and base board MYB-YA157C, connected by stamp hole. The platform adopts STM32MP157 series high-performance processor, provides HDMI+RGB+MIPI high-performance display, Gigabit Ethernet, WIFI/Bluetooth, RS232/RS485/CAN and other rich interfaces, conforms to the product definition of application scenarios, stable and reliable hardware design, and helps simplify the development of high-performance solutions for industrial manufacturing, consumer electronics, smart home, medical and other industries.

Summary: Mill's carefully crafted IOT reference design based on STM32MP1, using hardware +MEasy IOT system, can help users easily solve most of the development problems between upper applications and lower drivers, while providing rich hardware interface resources and excellent cost advantages to meet 80% of your IoT product development needs.

At present, this product has been listed for hot sale, you can go to Mill official Taobao shop to buy. For more product details, click on the following links to learn:

http://www.myir-tech.com/product/myd-ya157c.htm

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report