MicroPython/micro:bit

BPStudy #108

2016/08/26

Kabuku Inc.
Takuro Wada

Hi

株式会社カブク

ソフトウェアエンジニア

Takuro Wada

和田 拓朗

3Dプリントにまつわるシステム開発をしています

MicroPython

MicroPythonとは

  • マイコンでも動作するように最適化されたPython3 (3.4)
  • Python3のサブセット
  • C言語で実装
  • OSS (MIT License)
  • Kickstarter由来

1. 設計思想の違い

制限のあるハードウェアで動かすために!

(ex.全てのStandard Libraryはない、メタクラス使えない etc..)

2. 実装の違い

CPythonと挙動が違うものがある

(ex.Unicode, 組み込み型の継承, async etc..)

動作デバイス

micro:bit

micro:bit

micro:bit

  • BBC (British Broadcast Corporation)が設計

  • 若者のprogramming学習支援

  • イギリスのYear7 (11-12歳) は無料でもらえる

Hardware

  • ARM
  • 2ボタン
  • 25 red LEDs
  • 加速度センサ
  • 磁気センサ(e-compass)
  • Bluetooth LE
  • 5 Banana Clip Connector
  • 6-17GPIO

Programming

Code Kingdom

Javascript editor & simulator

mu

Python Editor for MicroPython and micro:bit

https://github.com/ntoll/mu

DEMO

ちなみに

  • BBC micro:bit £13  = ¥1,700
  • BBC micro:bit starter kit £15 = ¥1,950
  • (+送料) ※日本への正規卸はなさそう

chibi:bit

最後に

We're hiring

  • カブクではエンジニアを募集中
    • Python/C++/Typescript/(Go)
    • GCP/AWS/Docker/Flask/Angular
    • 3Dプリンタ使いたい放題
    • グローバルな職場
    • Google Developer Expertが3名

エンジニアチーム

Introduction of MicroPython and micro:bit

By Takuro Wada

Introduction of MicroPython and micro:bit

Slides presented in BPStudy #108 LT

  • 3,171