“This is the 14th day of my participation in the Gwen Challenge in November. Check out the details: The Last Gwen Challenge in 2021.”

🌊 Author’s home page: Haiyong. Site 🌊 Author profile: 🏆CSDN full stack quality creator, 🥇HDZ core group member 🌊 Fan benefits: fans send four books every week and various small gifts every month

What are EdgerOS?

I believe that many friends are still unfamiliar with EdgerOS. Before using EdgerOS, I will give you a brief introduction of what EdgerOS is.

EdgerOS is an intelligent edge computing operating system based on SylixOS kernel. It greatly simplifies the development difficulty of iot applications and improves the development efficiency. The upper developers can quickly develop a set of their own iot applications without caring about the underlying hardware implementation logic. It can be widely used in smart home, smart car, smart park and other fields, bringing new intelligent experience to the Internet of things.

The following picture shows the entire framework of aigos. From the top down, the bottom layer is the SylixOS kernel, which is embedded with JSRE (JavaScript Runtime Environment). Different from Node.js, JSRE currently only supports EdgerOS® operating systems based on the SylixOS® kernel. This runtime opens up the technology stack of the Internet of Things and the Internet. Developers only need to use JS or TS language to develop iot applications, which reduces the difficulty of development and shortens the development cycle.The upper layer provides a variety of application frameworks for application developers: App framework, streaming media framework and diversified AI engines, etc. In addition, AIWISE system also has the characteristics of open ecology, open protocol, open application, open equipment, data security and so on.

Develop a simple aizhi application

I. Complete the installation and configuration of Spirit 1 intelligent edge computer

It has to be said that the appearance of Spirit 1 is quite cool. First of all, we plug in the four antennas, connect the WAN port of the device with the broadband network port or light cat with the network cable, and turn on the power supply of the device, the State indicator is on.

Two, software deployment

1. Download the Aichi app from the mobile app store

2. Install the EdgerOS plug-in using VS Code on the PC

3. Install the EdgerOS security certificate

Find application Development – > Guide – > Development Tools Configuration – > Install EdgerOS security certificate on the AIGos website.Certificate installation steps I also follow the official tutorial step by step, you can refer to:

Live.csdn.net/room/eva980…

The successful installation is as follows:

Application development

Here the deployment of software and hardware has been basically completed, now let me take you to do a small game with the Intelligence system. First select Create project in the lower left corner — > Simple Template and click Apply

Fill in the basic information, select open the project in a new window and click Create NowPackage. json holds the basic information we just filled inJson is the core configuration file of an application. The assets folder is used to store static resource files of a project. The public folder is used to store server resource files

Cut the box small game

Here is the code I wrote before, the longer will not be shown, need source code can be in my public number [sea hug] reply [touch fish]

Click Device Management in the lower left corner to add the device. The IP is 192.168.128.1, and the password can be found in the Settings > Development Mode of the APP downloaded from the mobile phoneWhen finished, click Install EdgerOS APPYou can now see the project you just created on your phoneGame screenshots:I recorded a little bit for you to enjoy

www.bilibili.com/video/BV19S…

Here I want to take you today to do the first ai Zhi small game is completed, thank you for reading. My goal is to create 100 small fish game, the current progress of 40/100, need source code can be in the public number [haiyong] reply [fish] access (today’s small game is also in one, the follow-up will always update), or in my website: haiyong. Site /moyu directly F12 can also.