This is haaseduk1 driver for HaaS Python. HaaS Python is forked from micropython.
Project description
HaaS Python介绍
HaaS Python是阿里云IoT团队最新研发的一套低代码编程框架,兼容MicroPython编程规范,依托HaaS平台软硬件积木提供AI、支付、蓝牙配网、云连接、UI等物联网场景常用的能力,从而解决了物联网应用开发难的问题。有了Python轻应用框架,物联网编程不再局限于专业软件开发人员,一般的技术员也可以快速实现复杂的物联网需求。 更多HaaS Python介绍和开发资料见HaaS Python官网,创意案例, 硬件积木
HaaS Python is a set of low-code programming frameworks newly developed by Alibaba Cloud IoT team. It is compatible with MicroPython programming specifications. It relies on the hardware and software building blocks of the HaaS platform to provide capabilities commonly used in IoT scenarios such as AI, payment, Bluetooth network configuration, cloud connection, and UI. Solve the difficult problem of IoT application development. With the Python light application framework, IoT programming is no longer limited to professional software developers, and general technicians can quickly implement complex IoT requirements. For more HaaS Python introduction and development materials, see HaaS Python official website, Creative Case, Hardware Building Blocks
安装方法
- 在HaaS Python官网下载开发板对应的固件,并完成固件烧录
Download the firmware corresponding to the development board at HaaS Python website and complete the firmware burning
- 在开发板上运行以下命令完成安装和使用,如果您在使用过程中遇到问题,欢迎在github上向我们提交issue,我们的工程师会及时解答
Run the following commands on the development board to complete the installation and use. If you encounter problems during use, please submit an issue to us on github, Our engineers will answer in time
import upip
upip.install("haas-python-haaseduk1")
import haas-python-haaseduk1
教育开发板 - HaaS EDU K1
一、产品简介
HaaS EDU K1教育开发板的产品介绍及接口接口定义请参考HaaS EDU K1硬件积木中的说明。
HaaS EDU K1开发板硬件有两个版本,两个版本内置的的外围传感器芯片是不同的,传感器型号及Python驱动链接如下表所示:
HaaS EDU K1硬件版本 | v1.0 | v1.1 |
---|---|---|
温湿度传感器 | SI7006 | CHT8305 |
磁力计传感器 | QMC5883L | QMC6310U |
6周陀螺仪传感器 | MPU6050 | QMI8610 |
大气压传感器 | SPL06 | qmp6988 |
光照及接近程度传感器 | AP3216C | AP3216C |
OLED显示屏 | SH1106 | SH1106 |
本文主要说明如何用判断HaaS EDU K1的硬件版本和固件版本。
二、判断方法
请参考HaaS EDU K1快速开始中的说明进行开发环境的搭建并创建一个helloworld工程,然后下载此目录中的所有文件后,覆盖到helloworld工程目录中的所有文件。
将此工程推送到HaaS EDU K1开发板上,系统启动后OLED屏幕上会显示HaaS EDU K1的硬件版本和固件的版本号。
- “K1 HW -”后面跟着的是硬件版本号,v1.0或者是v1.1
- “K1 FW -”后面跟着的是HaaS Python固件的版本号,如果屏幕显示v2.0.0,则代表固件版本号为HaaS Python v2.0.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file haas-python-haaseduk1-0.0.1.tar.gz
.
File metadata
- Download URL: haas-python-haaseduk1-0.0.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff52f31e3a2b40e7fad4829cd626e778bb268b9396a3c567c4229b1739122f3 |
|
MD5 | 72fafd2776b4f7e49c7427a00c4c287a |
|
BLAKE2b-256 | 927fe01a7255eca0f161aab4fb90c5fcbe2d8e95eb41b054d543b54b63912bad |