DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

micro:bit notes


Installation of IDE

For Windowns 10, download the installer of mu-editor and install it.

For Linux, run the following commands:

conda create -n microbit pip
. activate microbit
pip install mu-editor

它依赖的包体积比较大,比如 PyQt5 120MB 多,需要较快的网络连接。 安装完成后启动:

. activate microbit
mu-editor

常用术语和概念

  • AAA battery: 7号电池(标号完整列表见 电池列表), micro:bit 可用两节7号电池作为电源,电源接口在板子背面右上角;

  • GPIO: general-purpose input/output, 自定义输出输出,具体功能由用户在运行时确定;

  • Analog Input and Output: 模拟输出和输出,与digital input and output相对;

  • Potentiometer: 电位计、旋转电位计、电位器, 共3个引脚,两侧的分别接高电压和地线,中间的接输出, 随着旋钮的旋转,中间的输出值不断变化,所以是一种模拟输出部件;

  • 串行和并行传输:并行传输效率高,但无法远距离传输(信号线间的串音干扰), 成本高(导线数量多,消耗功率大),占用空间大(导线和接口体积大), 参考 什么是并行传输、串行传输、异步传输?;

  • IC: integrated circuit,集成电路;

  • Serial Communication and UART:

  • I2C: Inter-integrated circuit, 一种串行通讯协议,包含一条数据线(SDA,micro:bit 引脚:P20) 和一条时钟线(SCL,micro:bit 引脚:P19), 参考 巩固理解I2C协议(MCU,经验);



Published

Aug 29, 2018

Last Updated

Aug 30, 2018

Category

Tech

Tags

  • micro:bit 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor