# HiSpark-HM-Pegasus **Repository Path**: shenmayufei/hispark-hm-pegasus ## Basic Information - **Project Name**: HiSpark-HM-Pegasus - **Description**: No description available - **Primary Language**: C - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2024-08-09 - **Last Updated**: 2024-08-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HiSpark-HM-Pegasus ## ![hihope_illustration](https://gitee.com/hihopeorg/hispark-hm-pegasus/raw/master/docs/figures/hihope_illustration.png) ## 一、HiSpark WiFi-IoT 鸿蒙开发套件概述 ##### [HiSpark WiFi-IoT鸿蒙开发套件](https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w5003-23341819265.1.bf644a82Da9PZK&id=622343426064&scene=taobao_shop) 首发于HDC 2020,是首批支持HarmonyOS 2.0的开发套件,亦是鸿蒙官方推荐套件,由润和软件HiHope量身打造,已在鸿蒙社区和广大鸿蒙开发者中得到广泛应用。 * 基于海思 Pagasus芯片,支持HarmonyOS。 * 主控为WiFi SOC Hi3861,160MHz主频,SRAM 352KB,ROM 288KB,2M Flash。 * 1个主板、6个扩展版,支持多功能、多应用开发。 * 通用底板,降低开发难度,提升开发自主性。 * 板载NFC,实现HarmonyOS”碰一碰“。 ## 二、润和工程师与您面对面 |HiHope一站式教程 初入“鸿蒙”深似海?NO!NO!NO!润和HiHope伴您走江湖~ 有HiSpark WiFi-IoT鸿蒙套件在手,再加上此套件的官方开发团队亲自为您传道授业,无论是开箱、开发环境搭建,还是应用开发、样例开发,在这里全部一站搞定,轻松上手。 如果您还有个性化问题,也可以第一时间连线我们的[开发工程师](https://bbs.elecfans.com/group_1429),为您解惑,获得权威支持和帮助。 #### (一)手把手教您快速完成开箱 Step by Step带您顺畅开箱,省去自行摸索的时间,助您快速完成HiSpark WiFi-IoT鸿蒙开发套件的组装。 1、套件开箱视频 [手把手教您快速开箱HiSpark WiFi-IoT鸿蒙开发套件](https://www.bilibili.com/video/BV1Sa4y1L78o?from=search&seid=15781732748881430523) #### (二)鸿蒙开发环境搭建 开发者可以自行选择开发环境的搭建方式。 1、**一键式环境搭建** 使用docker镜像,可以简单快捷地完成鸿蒙开发环境搭建 (1)、文档 ​ [一键式环境搭建](https://gitee.com/hihopeorg/hispark-hm-pegasus/blob/master/docs/QuickStart/hos_docker_environment.md) 2、**快速环境搭建** 便于windows环境使用,开发者不需要一步步安装各种依赖包。 (1)、文档 ​ [快速环境搭建](https://gitee.com/hihopeorg/hispark-hm-pegasus/blob/master/docs/QuickStart/hos_vmware_environment.md) 3、**手把手教您完成Harmony OS开发环境搭建** 下载源码、配置环境、编译源码,只需三步,即可完成HarmonyOS开发环境搭建。 (1)、视频教程 ​ [手把手教您完成鸿蒙开发环境搭建](https://developer.huaweiuniversity.com/portal/courses/HuaweiX+CBGHWDCN134/about?source=hwdev) (2)、文档 ​ [手把手教您完成鸿蒙开发环境搭建](https://gitee.com/hihopeorg/hispark-hm-pegasus/blob/master/docs/QuickStart/hos_source_code_download_and_compile.md) #### (三)应用开发教程 1、视频系列(鸿蒙官方社区平台) * [课程整体简介](https://edu.51cto.com/center/course/lesson/index?id=657752) * [WiFi-IoT 套件简介](https://edu.51cto.com/center/course/lesson/index?id=657754) * [海思Pegasus芯片简介](https://edu.51cto.com/center/course/lesson/index?id=657753) * [Harmony os 开发环境搭建](https://edu.51cto.com/center/course/lesson/index?id=657751) * [Hi3861开发板第一个示例程序演示](https://edu.51cto.com/center/course/lesson/index?id=657750) * [核心板LED控制程序讲解及演示](https://edu.51cto.com/center/course/lesson/index?id=657749) * [交通灯板编程演示](https://edu.51cto.com/center/course/lesson/index?id=657748) * [炫彩灯板编程演示](https://edu.51cto.com/center/course/lesson/index?id=657747) * [OLED板编程演示](https://edu.51cto.com/center/course/lesson/index?id=657746) * [环境监测板编程演示](https://edu.51cto.com/center/course/lesson/index?id=657745) * [WiFi-IoT 硬件 WiFi STA模式编程](https://edu.51cto.com/center/course/lesson/index?id=689780) * [WiFi-IoT 硬件 WiFi AP模式编程](https://edu.51cto.com/center/course/lesson/index?id=689972) * [TCP/IP协议和LWIP开源项目简介](https://edu.51cto.com/center/course/lesson/index?id=689971) * [TCP协议简介以及编程套路](https://edu.51cto.com/center/course/lesson/index?id=690493) * [TCP程序实验](https://edu.51cto.com/center/course/lesson/index?id=690492) * [[更多: 陆续上传中...]](https://edu.51cto.com/course/25739.html) 2、文档系列(Gitee) - [Harmony OS开发教程简介](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/tree/master) - [从零开始搭建Harmony OS开发环境](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/01_envsetup/README.md) - [Harmony OS 开发指南——源码下载和编译](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/01_envsetup/hos_source_code_download_and_compile.md) - [Harmony OS 开发指南——DevEco Device Tool 安装配置](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/01_envsetup/hos_deveco_device_tool_install.md) - [Harmony OS 开发指南——使用HiBurn烧录固件到开发板](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/01_envsetup/hos_use_hiburn_download_firmware.md) - [使用Harmony OS控制外设——输入输出](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/02_device_control/README.md) - [使用Harmony OS控制外设——读取传感器](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/03_sensing/README.md) - [Harmony OS WiFi编程——连接热点、创建热点](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/04_wifi/README.md) - [Harmony OS 网络编程——使用TCP/IP协议](https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development/blob/master/05_network/README.md) #### (四)样例开发教程 HiSpark WiFi-IoT鸿蒙开发套件提供多样化样例,易于您掌握HarmonyOS开发流程,并在此基础上进行扩展。 例程列表如下所示: | 编号 | 例程名 | 说明 | | ---- | ------ | ---------------- | | 1 | thread | [多线程](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/00_thread) | | 2 | timer | [软定时器](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/01_timer) | | 3 | delay | [等待](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/02_delay) | | 4 | mutex | [互斥锁](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/03_mutex) | | 5 | semp | [信号量](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/04_semaphore) | | 6 | message | [消息队列](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/05_message) | | 7 | gpio_led | [gpio控制主板led闪烁](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/06_gpioled) | | 8 | gpio_button | [通过usr按键控制led亮灭](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/07_gpiobutton) | | 9 | pwm_led | [pwm控制led亮暗程度](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/08_pwmled) | | 10 | adc | [ADC采集电压值从而感知环境的光照强度](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/09_adc) | | 11 | i2c_aht20 | [I2C读取温湿度](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/10_i2caht20) | | 12 | uart | [UART](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/11_uart) | | 13 | ssd1306 | [SSD1306 OLED屏驱动库](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/12_ssd1306) | | 14 | oled_player | [在0.96寸OLED屏上播放视频](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/13_oledplayer) | | 15 | pwm_beer | [pwm控制蜂鸣器](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/14_pwmbeer) | | 16 | pwm_beer_music | [pwm控制蜂鸣器播放音乐](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/15_pwmbeermusic) | | 17 | traffic_light_demo | [交通灯样例](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/16_trafficlight) | | 18 | colorful_light_demo | [炫彩灯样例](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/17_colorfullight) | | 19 | environment_demo | [环境监测样例](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/18_environment) | | 20 | wifi_connect_demo | [WiFi联网](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/19_wificonnect) | | 21 | wifi_hotspot_demo.c | [创建热点](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/20_wifihotspot) | | 22 | tcp_client_test | [TCP客户端](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/21_tcpclient) | | 23 | tcp_server_test | [TCP服务端](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/22_tcpserver) | | 24 | udp_client_test | [UDP客户端](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/23_udpclient) | |25|udp_server_test|[UDP服务端](https://gitee.com/hihopeorg/hispark-hm-pegasus/tree/master/sample/24_udpserver)| |||| ## 三、[HiSpark WiFi-IoT鸿蒙开发套件](https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w5003-23341819265.1.bf644a82Da9PZK&id=622343426064&scene=taobao_shop) 官方购买渠道 ![wifi_iot](https://gitee.com/hihopeorg/hispark-hm-pegasus/raw/master/docs/figures/wifi_iot.png) - [HiSpark WiFi-IoT鸿蒙开发套件介绍](http://www.hihope.org/pro/pro1.aspx?mtt=8) - [HiSpark WiFi-IoT鸿蒙开发套件官方购买渠道](https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w5003-23341861125.3.383b4a82wiKJEK&id=622343426064&scene=taobao_shop) ## 四、联系我们 #### (一)技术资料支持 - Gitee码云网站(OpenHarmony Sample Code等) **https://gitee.com/hihopeorg** - HiHope官网-资源中心(SDK包、技术文档下载)**www.hihope.org** ![hihope](https://gitee.com/hihopeorg/hispark-hm-pegasus/raw/master/docs/figures/hihope.png) #### (二)开发者互动交流 - 润和HiHope鸿蒙技术交流-微信群(加群管理员微信13605188699,发送文字#申请加入润和官方鸿蒙群#,予以邀请入群) - HiHope开发者社区-论坛**https://bbs.elecfans.com/group_1429** - 润和HiHope鸿蒙售后服务群(QQ:980599547) - 售后服务电话(025-52668590)