TinyGo 0.16 で遊べるマイコンボード一覧

TinyGo 0.16 がリリースされました。

github.com

ということで TinyGo 0.16 で遊べるマイコンボード一覧を作成しました。
オフィシャルの一覧に、マイコンやクロックなどの情報を足しています。
前に作った 0.15 時点のもの から 2 つの定義が消え 6 つのボードが増えて合計 48 ボードになりました。
消えたと書きましたが、 ESP32 / ESP8266 チップ単体の定義を消して (-2) 、ボードという単位に再編 (+4) されているので実質は減っていません。

tinygo.org

TinyGo については、以下に記載しています。

qiita.com

qiita.com

あるいは、 2020/07/18 の umedago 2020 Online の資料+動画が役に立つかもしれません。
動画では実際にビルドして動かしてみる部分や、デバッグなども少し触れています。
ページ下部の資料置き場に資料および当日の発表動画があります。

umedago.connpass.com

さて。

TinyGo 0.16.0 時点の README.md をベースに作成しています。
値段や技適等の情報はあくまで参考ということで、購入する場合は別途各自で調べてください。

0.16 追加分

Adafruit QT Py

ATSAMD21E18 Cortex-M0+ / 48MHz / 256KB / 32KB / Type-C f:id:sago35:20201130211115p:plain
Seeeduino XIAO と同じサイズでいくつかの部品が追加されているイメージのボード
裏側には SWD 以外にも SOIC-8 SPI Flash chip を乗せるためのパターンもあります (非搭載)
このパターンから SPI を取り出したりも出来る模様
XIAO と比較した場合に、リセットボタンが追加されているのも嬉しい
$6
https://www.adafruit.com/product/4600
https://learn.adafruit.com/adafruit-qt-py

ESP32 Core Board V2 / ESP32 DevKitC

ESP32 / 240Mhz / 4MB / 520KB / WiFi, BLE
f:id:sago35:20201130211336p:plain
まだポート+UART+SPI という基本的なサポートのみとなっていますが、すごい勢いで追加されつつあります
※ESP32 / ESP8266 は似たようなボードが多数あるため、以下のリンクも正しいかどうかは不明です
1,480 円 https://akizukidenshi.com/catalog/g/gM-11819/
https://www.espressif.com/en/products/socs/esp32

ESP32 Mini32

ESP32 / 240Mhz / 4MB / 520KB / WiFi, BLE
f:id:sago35:20201130211413p:plain
まだポート+UART+SPI という基本的なサポートのみとなっていますが、すごい勢いで追加されつつあります
※ESP32 / ESP8266 は似たようなボードが多数あるため、以下のリンクも正しいかどうかは不明です
$8.25 https://www.tindie.com/products/ttgo/lilygor-ttgo-mini32-esp32-wrover-b-module/
https://www.espressif.com/en/products/socs/esp32

ESP8266 NodeMCU

ESP8266 / 160Mhz / ? / ? / WiFi
f:id:sago35:20201130211553p:plain
ESP8266 が搭載されたオープンソースハードウェアボードです
色々なメーカーから NodeMCU がリリースされています
※ESP32 / ESP8266 は似たようなボードが多数あるため、以下のリンクも正しいかどうかは不明です
https://lastminuteengineers.com/esp8266-nodemcu-arduino-tutorial/
https://www.espressif.com/en/products/socs/esp8266

ESP8266 D1 mini

ESP8266 / 160Mhz / ? / ? / WiFi
f:id:sago35:20201130211632p:plain
ESP8266 が搭載されたボードです
※ESP32 / ESP8266 は似たようなボードが多数あるため、以下のリンクも正しいかどうかは不明です
https://docs.wemos.cc/en/latest/d1/d1_mini.html https://www.espressif.com/en/products/socs/esp8266

PJRC Teensy 4.0

NXP iMXRT1062 ARM Cortex-M7 / 600Mhz / 2MB / 1MB / CAN, CAN-FD
f:id:sago35:20201130211721p:plain
Cortex-M7 で 600Mhz で、という高速かつ安いボード
現状では GPIO と UART のみ対応だが、 SPI / I2C については PR が出来ているのでマージは近いはず
$19.95
3,092 円 https://www.switch-science.com/catalog/2989/
https://www.pjrc.com/store/teensy40.html

既存の対応ボード

Adafruit Circuit Playground Bluefruit

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423211601p:plain
$24.95
https://www.adafruit.com/product/4333
https://learn.adafruit.com/adafruit-circuit-playground-bluefruit

Adafruit Circuit Playground Express

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211646p:plain
$24.95
3,839 円 https://www.switch-science.com/catalog/3666/
https://www.adafruit.com/product/3333
https://learn.adafruit.com/adafruit-circuit-playground-express

Adafruit CLUE Alpha

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, 240x240 TFT
f:id:sago35:20200423211710p:plain
BBC micro:bit サイズでディスプレイやセンサー類てんこ盛り
$39.95
https://www.adafruit.com/product/4500
https://learn.adafruit.com/adafruit-clue

Adafruit Feather M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211741p:plain
Feather M0 シリーズは、マイコン単体に近い Basic Proto 以外にも microSD カードスロットを搭載したモデルや BLE 搭載などのバリエーションあり
PH コネクタ、リチウムイオン電池の充電機能あり
$19.95
3,135 円 https://www.switch-science.com/catalog/2750/
https://www.adafruit.com/product/2772
https://learn.adafruit.com/adafruit-feather-m0-basic-proto

Adafruit Feather M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211804p:plain
ピン数多めのモデル
Feather M0 のマイコン強化版
PH コネクタ、リチウムイオン電池の充電機能あり
$22.95
3,608 円 https://www.switch-science.com/catalog/5887/
https://www.adafruit.com/product/3857
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51

Adafruit Feather nRF52840 Express

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200714215729p:plain
安定の Feather シリーズの nRF52840 版になります
クロック遅めですが、 ROM / RAM は多め、 BLE 付きで安い
安心の技適取得済み
デバッグコネクタ付き
$24.95
3,916 円 https://www.switch-science.com/catalog/5400/
https://www.adafruit.com/product/4062
https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather

Adafruit feather-stm32f405

STM32F405 Cortex-M4F / 168MHz / 1MB / 192KB / LiPo connector, microSD, CAN, Qwiic
f:id:sago35:20200917221825p:plain
まだ I2C と SPI 対応はレビュー中であることに注意
Type-C コネクタなのが何気に嬉しい所
3,916 円 https://www.switch-science.com/catalog/6005/
https://www.adafruit.com/product/4382
https://learn.adafruit.com/adafruit-stm32f405-feather-express

Adafruit ItsyBitsy nRF52840 Express

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200917221807p:plain
BLE 対応の nRF シリーズのボード
feather-nrf52840 の弟分という所
FCC / IC / TELEC certified module ということで国内も OK
$17.95
https://www.adafruit.com/product/4481
https://learn.adafruit.com/adafruit-itsybitsy-nrf52840-express

Adafruit ItsyBitsy M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211828p:plain
Feather よりももう少し小さいシリーズ
$11.95
1,881 円 https://www.switch-science.com/catalog/3716/
https://www.adafruit.com/product/3727

Adafruit ItsyBitsy M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211849p:plain
Feather よりももう少し小さいシリーズ
$14.95
https://www.adafruit.com/product/3800

Adafruit Metro M4 Express Airlift

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / ESP32
f:id:sago35:20200423211910p:plain
ESP32 搭載 (WiFi + BLE)
$34.95
4,323 円 https://www.switch-science.com/catalog/5399/
https://www.adafruit.com/product/4000
https://learn.adafruit.com/adafruit-metro-m4-express-airlift-wifi

Adafruit PyBadge

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200423211929p:plain
$34.95
5,489 円 https://www.switch-science.com/catalog/6230/
https://www.adafruit.com/product/4200
https://learn.adafruit.com/adafruit-pybadge

Adafruit PyGamer

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200712180414p:plain
$39.95
https://www.adafruit.com/product/4242
https://learn.adafruit.com/adafruit-pygamer

Adafruit PyPortal

ATSAMD51J20 Cortex-M4F / 120MHz / 1MB / 256KB / 320x240 TFT, ESP32
f:id:sago35:20200423211947p:plain
$54.95
8,635 円 https://www.switch-science.com/catalog/5741/
https://www.adafruit.com/product/4116
https://learn.adafruit.com/adafruit-pyportal

Adafruit Trinket M0

ATSAMD21E18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423212001p:plain
安い、小さい
$8.95
1,408 円 https://www.switch-science.com/catalog/3535/
https://www.adafruit.com/product/3500

Arduino Mega 2560

ATmega2560 AVR / 16MHz / 256KB / 8KB
f:id:sago35:20200423212020p:plain
$40.30
https://store.arduino.cc/arduino-mega-2560-rev3

Arduino Nano

ATmega328 AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212035p:plain
$20.70
https://store.arduino.cc/arduino-nano

Arduino Nano33 IoT

SAMD21 Cortex-M0+ / 48MHz / 256KB / 32KB / u-blox NINA-W102
f:id:sago35:20200423212052p:plain
$18.40
https://store.arduino.cc/nano-33-iot

Arduino Uno

ATmega328P AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212110p:plain
$23.00
https://store.arduino.cc/arduino-uno-rev3

Arduino Zero

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB / EDBG
f:id:sago35:20200917221331p:plain
スイッチサイエンスによると Arduino M0 Pro に置き換わった?
$42.90
https://store.arduino.cc/usa/arduino-zero

BBC micro:bit

nRF51822 Cortex-M0 / 16MHz / 256KB / 16KB / BLE
f:id:sago35:20200423212127p:plain
LED x 25 や加速度センサや BLE 等色々搭載
2,200 円 https://www.switch-science.com/catalog/5263/
https://microbit.org/

Digispark

ATTiny85/ 12MHz?/ 8KB/ 512B
f:id:sago35:20200423212146p:plain
$7.95
http://digistump.com/products/1

Game Boy Advance

f:id:sago35:20200423212218p:plain
https://en.wikipedia.org/wiki/Game_Boy_Advance

Makerdiary nRF52840-MDK

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / USB Type-C connector, BlueTooth 5, BlueTooth Mesh
f:id:sago35:20200423212234p:plain
Type-C コネクタ
https://wiki.makerdiary.com/nrf52840-mdk/

Nintendo Switch

Nvidia Tegra X1/X2 / ??Mhz / ??
f:id:sago35:20200804180415p:plain
29,980 円 https://www.nintendo.co.jp/hardware/switch/

Nordic Semiconductor PCA10031

nRF51822/nRF51422/nRF51824 Cortex-M0 / 16Mhz / 128-256KB / 16-32KB / BLE
f:id:sago35:20200423212254p:plain
https://www.nordicsemi.com/eng/Products/nRF51-Dongle

Nordic Semiconductor PCA10040

nRF52810/nRF52832 Cortex-M4F / 64Mhz / 192-512KB / 24-64KB / BLE
f:id:sago35:20200423212309p:plain
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK

Nordic Semiconductor PCA10056

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212332p:plain
https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK

Particle Argon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212349p:plain
$27.50 https://www.adafruit.com/product/3997
https://docs.particle.io/datasheets/wi-fi/argon-datasheet/

Particle Boron

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, u-blox SARA (LTE/2G/3G)
f:id:sago35:20200423212404p:plain
u-blox SARA-R410-02B LTE modem 搭載で LTE/2G/3G につながる
技適は不明 (u-blox SARA-R410M 自体は通ってる?)
$55.00 https://www.adafruit.com/product/3998
https://docs.particle.io/datasheets/cellular/boron-datasheet/

Particle Xenon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212418p:plain
$19.95 https://www.adafruit.com/product/3999
https://docs.particle.io/datasheets/discontinued/xenon-datasheet/

Phytec reel board

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212435p:plain
$52.77
https://www.phytec.eu/product-eu/internet-of-things/reelboard/
https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html

PineTime DevKit

nRF52832 Cortex-M4F / 64MHz / 512KB / 64KB / BlueTooth 5, BLE, 240x240 touch display
f:id:sago35:20200423212453p:plain
腕時計型のデバイス
$24.99
https://www.pine64.org/pinetime/

PJRC Teensy 3.6

MK66FX1M0VMD18 Cortex-M4F / 180Mhz / 1MB / 256KB / CAN, microSD
f:id:sago35:20200712200809p:plain
$29.25
4,766 円 https://www.switch-science.com/catalog/2989/
https://www.pjrc.com/store/teensy36.html

Seeed Wio Terminal

ATSAMD51P19 Cortex-M4F / 120Mhz / 512KB / 192KB / Wifi, BLE, 320x240 TFT, microSD,LIS3DHTR
f:id:sago35:20200712200146p:plain
液晶にボタンに加速度センサにとてんこ盛りのボード
そして安い
背面からピンも多数出ているので拡張性も十分
Type-C コネクタ
技適取得済み
$29.90
3,784 円 https://www.switch-science.com/catalog/6360/
秋月 http://akizukidenshi.com/catalog/g/gM-15275/
マルツ https://www.marutsu.co.jp/pc/i/1633550/
https://www.seeedstudio.com/Wio-Terminal-p-4509.html

Seeed Seeeduino XIAO

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200712200511p:plain
とにかく安くて、小さい
その割に IO x 11 と割と多い
リセットするのが面倒なので、半田付けして線だしした方がよい
Type-C コネクタ
$4.9
594 円 https://www.switch-science.com/catalog/6335/
https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html

Sipeed MAix BiT

Kendryte K210 RISC-V (RV64GC) / 400Mhz / 16MB / 8MB / microSD
f:id:sago35:20200712200652p:plain
$12.90
安くて速い
ADC が搭載されていない?ので注意
Type-C コネクタ
カメラと LCD のセットで 3,520 円は安い
3,520 円 https://www.switch-science.com/catalog/5702/ (カメラ + LCD セット)
https://www.seeedstudio.com/Sipeed-MAix-BiT-for-RISC-V-AI-IoT-p-2872.html

SiFIve HiFive1

FE310-G002 RISC-V / 320MHz / 4MB / 16KB? / WiFi, BLE
f:id:sago35:20200423212518p:plain
6,600 円 http://akizukidenshi.com/catalog/g/gM-15014/
https://www.sifive.com/boards/hifive1

ST Micro "Nucleo F103RB"

STM32F103RBT6 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212531p:plain
$10.99
1,936 円 https://www.switch-science.com/catalog/1618/
https://www.st.com/en/evaluation-tools/nucleo-f103rb.html
https://os.mbed.com/platforms/ST-Nucleo-F103RB/

ST Micro STM32F103XX "Bluepill"

STM32F103C8 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212553p:plain
eBay 等では 200 円ぐらいから
Bluepill よりも改良版?である Blackpill の方が色々と問題が少ないはず
https://stm32duinoforum.com/forum/wiki_subdomain/index_title_Blue_Pill.html

ST Micro STM32F407 "Discovery"

STM32F407VGT6 Cortex-M4F / 168MHz / 1MB / 192KB / CANx2
f:id:sago35:20200423212608p:plain
3,000 http://akizukidenshi.com/catalog/g/gM-05313/
https://www.st.com/en/evaluation-tools/stm32f4discovery.html

X9 Pro smartwatch

nRF52832 Cortex-M4
https://github.com/curtpw/nRF5x-device-reverse-engineering/tree/master/X9-nrf52832-activity-tracker/

TinyGo 0.15 で遊べるマイコンボード一覧

TinyGo 0.15 がリリースされました。

github.com

ということで TinyGo 0.15 で遊べるマイコンボード一覧を作成しました。
オフィシャルの一覧に、マイコンやクロックなどの情報を足しています。
前に作った 0.14 時点のもの から 5 つのボードが増えました。 今回の目玉は ESP32 / ESP8266 サポートが追加されたことです。

TinyGo は最終的に LLVM を用いてビルドするため、本来的には LLVM の upstream に ESP32 等向けの xtensa fork がマージされる必要があるのですが、 TinyGo プロジェクトとしては xtensa 版の変更も含めて TinyGo プロジェクトに取り込む事により ESP32 / ESP8266 サポートを追加することができました。 今後、 LLVM 本流と xtensa fork の乖離が激しくなると面倒なことになるのですが、それはそれ。

tinygo.org

TinyGo については、以下に記載しています。

qiita.com

qiita.com

あるいは、 2020/07/18 の umedago 2020 Online の資料+動画が役に立つかもしれません。
動画では実際にビルドして動かしてみる部分や、デバッグなども少し触れています。
ページ下部の資料置き場に資料および当日の発表動画があります。

umedago.connpass.com

さて。

TinyGo 0.15.0 時点の README.md をベースに作成しています。
値段や技適等の情報はあくまで参考ということで、購入する場合は別途各自で調べてください。

0.15 追加分

Arduino Zero

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB / EDBG
f:id:sago35:20200917221331p:plain
スイッチサイエンスによると Arduino M0 Pro に置き換わった?
$42.90
https://store.arduino.cc/usa/arduino-zero

ESP32, ESP32-WROOM-32

ESP32 / 240Mhz / 4MB / 520KB / WiFi, BLE
f:id:sago35:20200917221533p:plain
モジュール単体としての対応になりますが、 ESP32 が搭載されたボード全般で使用可能のはずです
まだポート+UART+SPI という基本的なサポートのみとなっていますが、すごい勢いで追加されつつあります
↓ の ESPr Developer 32 で動くことは確認しました
712 円 https://www.switch-science.com/catalog/3156/
1,100 円 https://www.switch-science.com/catalog/3170/
2,200 円 https://www.switch-science.com/catalog/3210/ https://www.espressif.com/en/products/socs/esp32

ESP8266

ESP8266 / 160Mhz / ? / ? / WiFi
f:id:sago35:20200917221735p:plain
モジュール単体としての対応になりますが、 ESP8266 が搭載されたボード全般で使用可能のはずです 詳細不明
611 円 https://www.switch-science.com/catalog/2346/
926 円 https://www.switch-science.com/catalog/2347/
1,980 円 https://www.switch-science.com/catalog/2500/
https://www.espressif.com/en/products/socs/esp8266

feather-stm32f405

STM32F405 Cortex-M4F / 168MHz / 1MB / 192KB / LiPo connector, microSD, CAN, Qwiic
f:id:sago35:20200917221825p:plain
まだ I2C と SPI 対応はレビュー中であることに注意
Type-C コネクタなのが何気に嬉しい所
https://www.adafruit.com/product/4382
https://learn.adafruit.com/adafruit-stm32f405-feather-express

Adafruit ItsyBitsy nRF52840 Express

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200917221807p:plain
BLE 対応の nRF シリーズのボード
feather-nrf52840 の弟分という所
FCC / IC / TELEC certified module ということで国内も OK
$17.95
https://www.adafruit.com/product/4481
https://learn.adafruit.com/adafruit-itsybitsy-nrf52840-express

既存の対応ボード

Adafruit Circuit Playground Bluefruit

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423211601p:plain
$24.95
https://www.adafruit.com/product/4333
https://learn.adafruit.com/adafruit-circuit-playground-bluefruit

Adafruit Circuit Playground Express

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211646p:plain
$24.95
3,839 円 https://www.switch-science.com/catalog/3666/
https://www.adafruit.com/product/3333
https://learn.adafruit.com/adafruit-circuit-playground-express

Adafruit CLUE Alpha

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, 240x240 TFT
f:id:sago35:20200423211710p:plain
BBC micro:bit サイズでディスプレイやセンサー類てんこ盛り
$39.95
https://www.adafruit.com/product/4500
https://learn.adafruit.com/adafruit-clue

Adafruit Feather M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211741p:plain
Feather M0 シリーズは、マイコン単体に近い Basic Proto 以外にも microSD カードスロットを搭載したモデルや BLE 搭載などのバリエーションあり
PH コネクタ、リチウムイオン電池の充電機能あり
$19.95
2,849 円 https://www.switch-science.com/catalog/2750/
https://www.adafruit.com/product/2772
https://learn.adafruit.com/adafruit-feather-m0-basic-proto

Adafruit Feather M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211804p:plain
ピン数多めのモデル
Feather M0 のマイコン強化版
PH コネクタ、リチウムイオン電池の充電機能あり
$22.95
3,663 円 https://www.switch-science.com/catalog/5887/
https://www.adafruit.com/product/3857
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51

Adafruit Feather nRF52840 Express

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200714215729p:plain
安定の Feather シリーズの nRF52840 版になります
クロック遅めですが、 ROM / RAM は多め、 BLE 付きで安い
安心の技適取得済み
デバッグコネクタ付き
$24.95
3,432 円 https://www.switch-science.com/catalog/5400/
https://www.adafruit.com/product/4062
https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather

Adafruit ItsyBitsy M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211828p:plain
Feather よりももう少し小さいシリーズ
$11.95
1,837 円 https://www.switch-science.com/catalog/3716/
https://www.adafruit.com/product/3727

Adafruit ItsyBitsy M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211849p:plain
Feather よりももう少し小さいシリーズ
$14.95
https://www.adafruit.com/product/3800

Adafruit Metro M4 Express Airlift

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / ESP32
f:id:sago35:20200423211910p:plain
ESP32 搭載 (WiFi + BLE)
$34.95
https://www.adafruit.com/product/4000
https://learn.adafruit.com/adafruit-metro-m4-express-airlift-wifi

Adafruit PyBadge

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200423211929p:plain
$34.95
5,379 円 https://www.switch-science.com/catalog/6230/
https://www.adafruit.com/product/4200
https://learn.adafruit.com/adafruit-pybadge

Adafruit PyGamer

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200712180414p:plain
$39.95
https://www.adafruit.com/product/4242
https://learn.adafruit.com/adafruit-pygamer

Adafruit PyPortal

ATSAMD51J20 Cortex-M4F / 120MHz / 1MB / 256KB / 320x240 TFT, ESP32
f:id:sago35:20200423211947p:plain
$54.95
8,767 円 https://www.switch-science.com/catalog/5741/
https://www.adafruit.com/product/4116
https://learn.adafruit.com/adafruit-pyportal

Adafruit Trinket M0

ATSAMD21E18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423212001p:plain
安い、小さい
$8.95
1,474 円 https://www.switch-science.com/catalog/3535/
https://www.adafruit.com/product/3500

Arduino Mega 2560

ATmega2560 AVR / 16MHz / 256KB / 8KB
f:id:sago35:20200423212020p:plain
$40.30
https://store.arduino.cc/arduino-mega-2560-rev3

Arduino Nano

ATmega328 AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212035p:plain
$20.70
https://store.arduino.cc/arduino-nano

Arduino Nano33 IoT

SAMD21 Cortex-M0+ / 48MHz / 256KB / 32KB / u-blox NINA-W102
f:id:sago35:20200423212052p:plain
$18.40
https://store.arduino.cc/nano-33-iot

Arduino Uno

ATmega328P AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212110p:plain
$23.00
https://store.arduino.cc/arduino-uno-rev3

BBC micro:bit

nRF51822 Cortex-M0 / 16MHz / 256KB / 16KB / BLE
f:id:sago35:20200423212127p:plain
LED x 25 や加速度センサや BLE 等色々搭載
2,200 円 https://www.switch-science.com/catalog/5263/
https://microbit.org/

Digispark

ATTiny85/ 12MHz?/ 8KB/ 512B
f:id:sago35:20200423212146p:plain
$7.95
http://digistump.com/products/1

Game Boy Advance

f:id:sago35:20200423212218p:plain
https://en.wikipedia.org/wiki/Game_Boy_Advance

Makerdiary nRF52840-MDK

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / USB Type-C connector, BlueTooth 5, BlueTooth Mesh
f:id:sago35:20200423212234p:plain
Type-C コネクタ
https://wiki.makerdiary.com/nrf52840-mdk/

Nintendo Switch

Nvidia Tegra X1/X2 / ??Mhz / ??
f:id:sago35:20200804180415p:plain
29,980 円 https://www.nintendo.co.jp/hardware/switch/

Nordic Semiconductor PCA10031

nRF51822/nRF51422/nRF51824 Cortex-M0 / 16Mhz / 128-256KB / 16-32KB / BLE
f:id:sago35:20200423212254p:plain
https://www.nordicsemi.com/eng/Products/nRF51-Dongle

Nordic Semiconductor PCA10040

nRF52810/nRF52832 Cortex-M4F / 64Mhz / 192-512KB / 24-64KB / BLE
f:id:sago35:20200423212309p:plain
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK

Nordic Semiconductor PCA10056

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212332p:plain
https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK

Particle Argon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212349p:plain
$27.50 https://www.adafruit.com/product/3997
https://docs.particle.io/datasheets/wi-fi/argon-datasheet/

Particle Boron

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, u-blox SARA (LTE/2G/3G)
f:id:sago35:20200423212404p:plain
u-blox SARA-R410-02B LTE modem 搭載で LTE/2G/3G につながる
技適は不明 (u-blox SARA-R410M 自体は通ってる?)
$55.00 https://www.adafruit.com/product/3998
https://docs.particle.io/datasheets/cellular/boron-datasheet/

Particle Xenon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212418p:plain
$19.95 https://www.adafruit.com/product/3999
https://docs.particle.io/datasheets/discontinued/xenon-datasheet/

Phytec reel board

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212435p:plain
$52.77
https://www.phytec.eu/product-eu/internet-of-things/reelboard/
https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html

PineTime DevKit

nRF52832 Cortex-M4F / 64MHz / 512KB / 64KB / BlueTooth 5, BLE, 240x240 touch display
f:id:sago35:20200423212453p:plain
腕時計型のデバイス
$24.99
https://www.pine64.org/pinetime/

PJRC Teensy 3.6

MK66FX1M0VMD18 Cortex-M4F / 180Mhz / 1MB / 256KB / CAN, microSD
f:id:sago35:20200712200809p:plain
$29.25
4,766 円 https://www.switch-science.com/catalog/2989/
https://www.pjrc.com/store/teensy36.html

Seeed Wio Terminal

ATSAMD51P19 Cortex-M4F / 120Mhz / 512KB / 192KB / Wifi, BLE, 320x240 TFT, microSD,LIS3DHTR
f:id:sago35:20200712200146p:plain
液晶にボタンに加速度センサにとてんこ盛りのボード
そして安い
背面からピンも多数出ているので拡張性も十分
Type-C コネクタ
技適取得済み
$29.90
3,784 円 https://www.switch-science.com/catalog/6360/
秋月 http://akizukidenshi.com/catalog/g/gM-15275/
マルツ https://www.marutsu.co.jp/pc/i/1633550/
https://www.seeedstudio.com/Wio-Terminal-p-4509.html

Seeed Seeeduino XIAO

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200712200511p:plain
とにかく安くて、小さい
その割に IO x 11 と割と多い
リセットするのが面倒なので、半田付けして線だしした方がよい
Type-C コネクタ
$4.9
594 円 https://www.switch-science.com/catalog/6335/
https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html

Sipeed MAix BiT

Kendryte K210 RISC-V (RV64GC) / 400Mhz / 16MB / 8MB / microSD
f:id:sago35:20200712200652p:plain
$12.90
安くて速い
ADC が搭載されていない?ので注意
Type-C コネクタ
カメラと LCD のセットで 3,520 円は安い
3,520 円 https://www.switch-science.com/catalog/5702/ (カメラ + LCD セット)
https://www.seeedstudio.com/Sipeed-MAix-BiT-for-RISC-V-AI-IoT-p-2872.html

SiFIve HiFive1

FE310-G002 RISC-V / 320MHz / 4MB / 16KB? / WiFi, BLE
f:id:sago35:20200423212518p:plain
6,600 円 http://akizukidenshi.com/catalog/g/gM-15014/
https://www.sifive.com/boards/hifive1

ST Micro "Nucleo F103RB"

STM32F103RBT6 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212531p:plain
$10.99
1,936 円 https://www.switch-science.com/catalog/1618/
https://www.st.com/en/evaluation-tools/nucleo-f103rb.html
https://os.mbed.com/platforms/ST-Nucleo-F103RB/

ST Micro STM32F103XX "Bluepill"

STM32F103C8 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212553p:plain
eBay 等では 200 円ぐらいから
Bluepill よりも改良版?である Blackpill の方が色々と問題が少ないはず
https://stm32duinoforum.com/forum/wiki_subdomain/index_title_Blue_Pill.html

ST Micro STM32F407 "Discovery"

STM32F407VGT6 Cortex-M4F / 168MHz / 1MB / 192KB / CANx2
f:id:sago35:20200423212608p:plain
3,000 http://akizukidenshi.com/catalog/g/gM-05313/
https://www.st.com/en/evaluation-tools/stm32f4discovery.html

X9 Pro smartwatch

nRF52832 Cortex-M4
https://github.com/curtpw/nRF5x-device-reverse-engineering/tree/master/X9-nrf52832-activity-tracker/

TinyGo 0.14 で遊べるマイコンボード一覧

TinyGo 0.15 対応版を作りました。

sago35.hatenablog.com


TinyGo 0.14 がリリースされました。

github.com

ということで TinyGo 0.14 で遊べるマイコンボード一覧を作成しました。
オフィシャルの一覧に、マイコンやクロックなどの情報を足しています。
前に作った 0.13 時点のもの から 7 つのボードが増えました。
注目は Nintendo Switch だと思いますが、今の時点では限定的なサポートにとどまります。

個人的に今一番おすすめのボードは Wio Terminal です。
ピン数も多く、液晶搭載なのも含めて完全にバーゲンプライスです。
何も接続しなくても一通り遊べて非常に快適です。
裏面からピンも出ているので、ほかの用途にも使えます。
こんなの をつなげばブレッドボードと液晶を両立できます。
ATSAMD51P19 (512KB / 192KB) ではなく ATSAMD51P20 (1MB / 256KB) だったらパーフェクトだった気がしますが、安いので良し。
TinyGo 入門にも、 Arduino 入門にもおすすめです。

tinygo.org

TinyGo については、以下に記載しています。

qiita.com

あるいは、 2020/07/18 の umedago 2020 Online の資料+動画が役に立つかもしれません。
動画では実際にビルドして動かしてみる部分や、デバッグなども少し触れています。
ページ下部の資料置き場に資料があります。

umedago.connpass.com

さて。

TinyGo 0.14.0 時点の README.md をベースに作成しています。
値段や技適等の情報はあくまで参考ということで、購入する場合は別途各自で調べてください。

0.14 追加分

Adafruit Feather nRF52840 Express

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200714215729p:plain
安定の Feather シリーズの nRF52840 版になります
クロック遅めですが、 ROM / RAM は多め、 BLE 付きで安い
安心の技適取得済み
デバッグコネクタ付き
$24.95
3,432 円 https://www.switch-science.com/catalog/5400/
https://www.adafruit.com/product/4062
https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather

Adafruit PyGamer

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200712180414p:plain
$39.95
https://www.adafruit.com/product/4242
https://learn.adafruit.com/adafruit-pygamer

Nintendo Switch

Nvidia Tegra X1/X2 / ??Mhz / ??
f:id:sago35:20200804180415p:plain
29,980 円 https://www.nintendo.co.jp/hardware/switch/

PJRC Teensy 3.6

MK66FX1M0VMD18 Cortex-M4F / 180Mhz / 1MB / 256KB / CAN, microSD
f:id:sago35:20200712200809p:plain
$29.25
4,766 円 https://www.switch-science.com/catalog/2989/
https://www.pjrc.com/store/teensy36.html

Seeed Wio Terminal

ATSAMD51P19 Cortex-M4F / 120Mhz / 512KB / 192KB / Wifi, BLE, 320x240 TFT, microSD,LIS3DHTR
f:id:sago35:20200712200146p:plain
液晶にボタンに加速度センサにとてんこ盛りのボード
そして安い
背面からピンも多数出ているので拡張性も十分
Type-C コネクタ
技適取得済み
$29.90
3,784 円 https://www.switch-science.com/catalog/6360/
秋月 http://akizukidenshi.com/catalog/g/gM-15275/
マルツ https://www.marutsu.co.jp/pc/i/1633550/
https://www.seeedstudio.com/Wio-Terminal-p-4509.html

Seeed Seeeduino XIAO

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200712200511p:plain
とにかく安くて、小さい
その割に IO x 11 と割と多い
リセットするのが面倒なので、半田付けして線だしした方がよい
Type-C コネクタ
$4.9
594 円 https://www.switch-science.com/catalog/6335/
https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html

Sipeed MAix BiT

Kendryte K210 RISC-V (RV64GC) / 400Mhz / 16MB / 8MB / microSD
f:id:sago35:20200712200652p:plain
$12.90
安くて速い
ADC が搭載されていない?ので注意
Type-C コネクタ
カメラと LCD のセットで 3,520 円は安い
3,520 円 https://www.switch-science.com/catalog/5702/ (カメラ + LCD セット)
https://www.seeedstudio.com/Sipeed-MAix-BiT-for-RISC-V-AI-IoT-p-2872.html

既存の対応ボード

Adafruit Circuit Playground Bluefruit

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423211601p:plain
$24.95
https://www.adafruit.com/product/4333
https://learn.adafruit.com/adafruit-circuit-playground-bluefruit

Adafruit Circuit Playground Express

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211646p:plain
$24.95
3,839 円 https://www.switch-science.com/catalog/3666/
https://www.adafruit.com/product/3333
https://learn.adafruit.com/adafruit-circuit-playground-express

Adafruit CLUE Alpha

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, 240x240 TFT
f:id:sago35:20200423211710p:plain
BBC micro:bit サイズでディスプレイやセンサー類てんこ盛り
$39.95
https://www.adafruit.com/product/4500
https://learn.adafruit.com/adafruit-clue

Adafruit Feather M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211741p:plain
Feather M0 シリーズは、マイコン単体に近い Basic Proto 以外にも microSD カードスロットを搭載したモデルや BLE 搭載などのバリエーションあり
PH コネクタ、リチウムイオン電池の充電機能あり
$19.95
2,849 円 https://www.switch-science.com/catalog/2750/
https://www.adafruit.com/product/2772
https://learn.adafruit.com/adafruit-feather-m0-basic-proto

Adafruit Feather M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211804p:plain
ピン数多めのモデル
Feather M0 のマイコン強化版
PH コネクタ、リチウムイオン電池の充電機能あり
$22.95
3,663 円 https://www.switch-science.com/catalog/5887/
https://www.adafruit.com/product/3857
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51

Adafruit ItsyBitsy M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211828p:plain
Feather よりももう少し小さいシリーズ
$11.95
1,837 円 https://www.switch-science.com/catalog/3716/
https://www.adafruit.com/product/3727

Adafruit ItsyBitsy M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211849p:plain
Feather よりももう少し小さいシリーズ
$14.95
https://www.adafruit.com/product/3800

Adafruit Metro M4 Express Airlift

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / ESP32
f:id:sago35:20200423211910p:plain
ESP32 搭載 (WiFi + BLE)
$34.95
https://www.adafruit.com/product/4000
https://learn.adafruit.com/adafruit-metro-m4-express-airlift-wifi

Adafruit PyBadge

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200423211929p:plain
$34.95
5,379 円 https://www.switch-science.com/catalog/6230/
https://www.adafruit.com/product/4200
https://learn.adafruit.com/adafruit-pybadge

Adafruit PyPortal

ATSAMD51J20 Cortex-M4F / 120MHz / 1MB / 256KB / 320x240 TFT, ESP32
f:id:sago35:20200423211947p:plain
$54.95
8,767 円 https://www.switch-science.com/catalog/5741/
https://www.adafruit.com/product/4116
https://learn.adafruit.com/adafruit-pyportal

Adafruit Trinket M0

ATSAMD21E18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423212001p:plain
安い、小さい
$8.95
1,474 円 https://www.switch-science.com/catalog/3535/
https://www.adafruit.com/product/3500

Arduino Mega 2560

ATmega2560 AVR / 16MHz / 256KB / 8KB
f:id:sago35:20200423212020p:plain
$40.30
https://store.arduino.cc/arduino-mega-2560-rev3

Arduino Nano

ATmega328 AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212035p:plain
$20.70
https://store.arduino.cc/arduino-nano

Arduino Nano33 IoT

SAMD21 Cortex-M0+ / 48MHz / 256KB / 32KB / u-blox NINA-W102
f:id:sago35:20200423212052p:plain
$18.40
https://store.arduino.cc/nano-33-iot

Arduino Uno

ATmega328P AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212110p:plain
$23.00
https://store.arduino.cc/arduino-uno-rev3

BBC micro:bit

nRF51822 Cortex-M0 / 16MHz / 256KB / 16KB / BLE
f:id:sago35:20200423212127p:plain
LED x 25 や加速度センサや BLE 等色々搭載
2,200 円 https://www.switch-science.com/catalog/5263/
https://microbit.org/

Digispark

ATTiny85/ 12MHz?/ 8KB/ 512B
f:id:sago35:20200423212146p:plain
$7.95
http://digistump.com/products/1

Game Boy Advance

f:id:sago35:20200423212218p:plain
https://en.wikipedia.org/wiki/Game_Boy_Advance

Makerdiary nRF52840-MDK

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / USB Type-C connector, BlueTooth 5, BlueTooth Mesh
f:id:sago35:20200423212234p:plain
Type-C コネクタ
https://wiki.makerdiary.com/nrf52840-mdk/

Nordic Semiconductor PCA10031

nRF51822/nRF51422/nRF51824 Cortex-M0 / 16Mhz / 128-256KB / 16-32KB / BLE
f:id:sago35:20200423212254p:plain
https://www.nordicsemi.com/eng/Products/nRF51-Dongle

Nordic Semiconductor PCA10040

nRF52810/nRF52832 Cortex-M4F / 64Mhz / 192-512KB / 24-64KB / BLE
f:id:sago35:20200423212309p:plain
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK

Nordic Semiconductor PCA10056

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212332p:plain
https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK

Particle Argon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212349p:plain
$27.50 https://www.adafruit.com/product/3997
https://docs.particle.io/datasheets/wi-fi/argon-datasheet/

Particle Boron

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, u-blox SARA (LTE/2G/3G)
f:id:sago35:20200423212404p:plain
u-blox SARA-R410-02B LTE modem 搭載で LTE/2G/3G につながる
技適は不明 (u-blox SARA-R410M 自体は通ってる?)
$55.00 https://www.adafruit.com/product/3998
https://docs.particle.io/datasheets/cellular/boron-datasheet/

Particle Xenon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212418p:plain
$19.95 https://www.adafruit.com/product/3999
https://docs.particle.io/datasheets/discontinued/xenon-datasheet/

Phytec reel board

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212435p:plain
$52.77
https://www.phytec.eu/product-eu/internet-of-things/reelboard/
https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html

PineTime DevKit

nRF52832 Cortex-M4F / 64MHz / 512KB / 64KB / BlueTooth 5, BLE, 240x240 touch display
f:id:sago35:20200423212453p:plain
腕時計型のデバイス
$24.99
https://www.pine64.org/pinetime/

SiFIve HiFive1

FE310-G002 RISC-V / 320MHz / 4MB / 16KB? / WiFi, BLE
f:id:sago35:20200423212518p:plain
6,600 円 http://akizukidenshi.com/catalog/g/gM-15014/
https://www.sifive.com/boards/hifive1

ST Micro "Nucleo F103RB"

STM32F103RBT6 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212531p:plain
$10.99
1,936 円 https://www.switch-science.com/catalog/1618/
https://www.st.com/en/evaluation-tools/nucleo-f103rb.html
https://os.mbed.com/platforms/ST-Nucleo-F103RB/

ST Micro STM32F103XX "Bluepill"

STM32F103C8 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212553p:plain
eBay 等では 200 円ぐらいから
Bluepill よりも改良版?である Blackpill の方が色々と問題が少ないはず
https://stm32duinoforum.com/forum/wiki_subdomain/index_title_Blue_Pill.html

ST Micro STM32F407 "Discovery"

STM32F407VGT6 Cortex-M4F / 168MHz / 1MB / 192KB / CANx2
f:id:sago35:20200423212608p:plain
3,000 http://akizukidenshi.com/catalog/g/gM-05313/
https://www.st.com/en/evaluation-tools/stm32f4discovery.html

X9 Pro smartwatch

nRF52832 Cortex-M4
https://github.com/curtpw/nRF5x-device-reverse-engineering/tree/master/X9-nrf52832-activity-tracker/

TinyGo で遊べるマイコンボード一覧

TinyGo 0.14 対応版を作りました。

sago35.hatenablog.com


TinyGo で遊べるマイコンボード一覧を作成しました。
オフィシャルの一覧に、マイコンやクロックなどの情報を足しています。

tinygo.org

TinyGo については、以下に記載しています。

qiita.com

TinyGo 0.13.0 時点の README.md をベースに作成しています。
値段や技適等の情報はあくまで参考ということで、購入する場合は別途各自で調べてください。

Adafruit Circuit Playground Bluefruit

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423211601p:plain
$24.95
https://www.adafruit.com/product/4333
https://learn.adafruit.com/adafruit-circuit-playground-bluefruit

Adafruit Circuit Playground Express

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211646p:plain
$24.95
3,839 円 https://www.switch-science.com/catalog/3666/
https://www.adafruit.com/product/3333
https://learn.adafruit.com/adafruit-circuit-playground-express

Adafruit CLUE Alpha

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, 240x240 TFT
f:id:sago35:20200423211710p:plain
BBC micro:bit サイズでディスプレイやセンサー類てんこ盛り
$39.95
https://www.adafruit.com/product/4500
https://learn.adafruit.com/adafruit-clue

Adafruit Feather M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211741p:plain
Feather M0 シリーズは、マイコン単体に近い Basic Proto 以外にも microSD カードスロットを搭載したモデルや BLE 搭載などのバリエーションあり
PH コネクタ、リチウムイオン電池の充電機能あり
$19.95
2,849 円 https://www.switch-science.com/catalog/2750/
https://www.adafruit.com/product/2772
https://learn.adafruit.com/adafruit-feather-m0-basic-proto

Adafruit Feather M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211804p:plain
ピン数多めのモデル
Feather M0 のマイコン強化版
PH コネクタ、リチウムイオン電池の充電機能あり
$22.95
3,663 円 https://www.switch-science.com/catalog/5887/
https://www.adafruit.com/product/3857
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51

Adafruit ItsyBitsy M0

ATSAMD21G18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423211828p:plain
Feather よりももう少し小さいシリーズ
$11.95
1,837 円 https://www.switch-science.com/catalog/3716/
https://www.adafruit.com/product/3727

Adafruit ItsyBitsy M4

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB
f:id:sago35:20200423211849p:plain
Feather よりももう少し小さいシリーズ
$14.95
https://www.adafruit.com/product/3800

Adafruit Metro M4 Express Airlift

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / ESP32
f:id:sago35:20200423211910p:plain
ESP32 搭載 (WiFi + BLE)
$34.95
https://www.adafruit.com/product/4000
https://learn.adafruit.com/adafruit-metro-m4-express-airlift-wifi

Adafruit PyBadge

ATSAMD51J19 Cortex-M4F / 120MHz / 512KB / 192KB / 160x128 TFT
f:id:sago35:20200423211929p:plain
$34.95
5,379 円 https://www.switch-science.com/catalog/6230/
https://www.adafruit.com/product/4200
https://learn.adafruit.com/adafruit-pybadge

Adafruit PyPortal

ATSAMD51J20 Cortex-M4F / 120MHz / 1MB / 256KB / 320x240 TFT, ESP32
f:id:sago35:20200423211947p:plain
$54.95
8,767 円 https://www.switch-science.com/catalog/5741/
https://www.adafruit.com/product/4116
https://learn.adafruit.com/adafruit-pyportal

Adafruit Trinket M0

ATSAMD21E18 Cortex-M0+ / 48MHz / 256KB / 32KB
f:id:sago35:20200423212001p:plain
安い、小さい
$8.95
1,474 円 https://www.switch-science.com/catalog/3535/
https://www.adafruit.com/product/3500

Arduino Mega 2560

ATmega2560 AVR / 16MHz / 256KB / 8KB
f:id:sago35:20200423212020p:plain
$40.30
https://store.arduino.cc/arduino-mega-2560-rev3

Arduino Nano

ATmega328 AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212035p:plain
$20.70
https://store.arduino.cc/arduino-nano

Arduino Nano33 IoT

SAMD21 Cortex-M0+ / 48MHz / 256KB / 32KB / u-blox NINA-W102
f:id:sago35:20200423212052p:plain
$18.40
https://store.arduino.cc/nano-33-iot

Arduino Uno

ATmega328P AVR / 16MHz / 32KB / 2KB
f:id:sago35:20200423212110p:plain
$23.00
https://store.arduino.cc/arduino-uno-rev3

BBC micro:bit

nRF51822 Cortex-M0 / 16MHz / 256KB / 16KB / BLE
f:id:sago35:20200423212127p:plain
LED x 25 や加速度センサや BLE 等色々搭載
2,200 円 https://www.switch-science.com/catalog/5263/
https://microbit.org/

Digispark

ATTiny85/ 12MHz?/ 8KB/ 512B
f:id:sago35:20200423212146p:plain
$7.95
http://digistump.com/products/1

Game Boy Advance

f:id:sago35:20200423212218p:plain
https://en.wikipedia.org/wiki/Game_Boy_Advance

Makerdiary nRF52840-MDK

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / USB Type-C connector, BlueTooth 5, BlueTooth Mesh
f:id:sago35:20200423212234p:plain
Type-C コネクタ
https://wiki.makerdiary.com/nrf52840-mdk/

Nordic Semiconductor PCA10031

nRF51822/nRF51422/nRF51824 Cortex-M0 / 16Mhz / 128-256KB / 16-32KB / BLE
f:id:sago35:20200423212254p:plain
https://www.nordicsemi.com/eng/Products/nRF51-Dongle

Nordic Semiconductor PCA10040

nRF52810/nRF52832 Cortex-M4F / 64Mhz / 192-512KB / 24-64KB / BLE
f:id:sago35:20200423212309p:plain
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK

Nordic Semiconductor PCA10056

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212332p:plain
https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK

Particle Argon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212349p:plain
$27.50 https://www.adafruit.com/product/3997
https://docs.particle.io/datasheets/wi-fi/argon-datasheet/

Particle Boron

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE, u-blox SARA (LTE/2G/3G)
f:id:sago35:20200423212404p:plain
u-blox SARA-R410-02B LTE modem 搭載で LTE/2G/3G につながる
技適は不明 (u-blox SARA-R410M 自体は通ってる?)
$55.00 https://www.adafruit.com/product/3998
https://docs.particle.io/datasheets/cellular/boron-datasheet/

Particle Xenon

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BlueTooth 5
f:id:sago35:20200423212418p:plain
$19.95 https://www.adafruit.com/product/3999
https://docs.particle.io/datasheets/discontinued/xenon-datasheet/

Phytec reel board

nRF52840 Cortex-M4F / 64MHz / 1MB / 256KB / BLE
f:id:sago35:20200423212435p:plain
$52.77
https://www.phytec.eu/product-eu/internet-of-things/reelboard/
https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html

PineTime DevKit

nRF52832 Cortex-M4F / 64MHz / 512KB / 64KB / BlueTooth 5, BLE, 240x240 touch display
f:id:sago35:20200423212453p:plain
腕時計型のデバイス
$24.99
https://www.pine64.org/pinetime/

SiFIve HiFive1

FE310-G002 RISC-V / 320MHz / 4MB / 16KB? / WiFi, BLE
f:id:sago35:20200423212518p:plain
6,600 円 http://akizukidenshi.com/catalog/g/gM-15014/
https://www.sifive.com/boards/hifive1

ST Micro "Nucleo F103RB"

STM32F103RBT6 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212531p:plain
$10.99
1,936 円 https://www.switch-science.com/catalog/1618/
https://www.st.com/en/evaluation-tools/nucleo-f103rb.html
https://os.mbed.com/platforms/ST-Nucleo-F103RB/

ST Micro STM32F103XX "Bluepill"

STM32F103C8 Cortex-M3 / 72MHz / 128KB / 20KB / CAN
f:id:sago35:20200423212553p:plain
eBay 等では 200 円ぐらいから
Bluepill よりも改良版?である Blackpill の方が色々と問題が少ないはず
https://stm32duinoforum.com/forum/wiki_subdomain/index_title_Blue_Pill.html

ST Micro STM32F407 "Discovery"

STM32F407VGT6 Cortex-M4F / 168MHz / 1MB / 192KB / CANx2
f:id:sago35:20200423212608p:plain
3,000 http://akizukidenshi.com/catalog/g/gM-05313/
https://www.st.com/en/evaluation-tools/stm32f4discovery.html

X9 Pro smartwatch

nRF52832 Cortex-M4
https://github.com/curtpw/nRF5x-device-reverse-engineering/tree/master/X9-nrf52832-activity-tracker/

YAPC::Fukuoka 2017 HAKATAの話と、前夜祭で「色を付けて幸せになろう」というタイトルでLTしてきた話

YAPC::Fukuoka 2017 HAKATAに参加してきました。 前日2017/06/30に、非公式の前前夜祭と、公式の前夜祭がありそちらにも参加。 前夜祭では、LTで発表してきました。

前夜祭

LT : 色を付けて幸せになろう (sago35)

前回のYAPC::Kansai 2017 OSAKAで話をした、色を付けるシリーズ(→前回記事)の第3弾ということで「標準入力に正規表現で色付けするスクリプトcolor.pl」を題材にしました。 このスクリプト自体は、何年も前に作って以来ずっと使ってるんですが、今回のDemoを作るにあたりバグが見つかるという状況。 カンファレンスドリブンで(ほんの少しであっても)品質が上がるのは、感慨深いですね。

Demoでは、画像ファイルを文字列(色を表すパレット番号的な文字列)に変換するスクリプトの出力に対し、color.plで徐々に着色する形式で、「何の絵でしょうか?」というのをやりました。 こんな感じ(↓)ですね。

f:id:sago35:20170702104137p:plain

自分としては楽しく喋れてよかったです。

スライドはこちらです。

前夜祭全体として

全体的にネタ連発な感じでとても楽しかったけど、特に司会の id:uzulla さんの進行っぷりが最高だった。 良いタイミングで良いしゃべり、という形で、素晴らしい盛り上げ方。 見習いたい。

f:id:sago35:20170630195204j:plain

あとは、@likkさんの話が個人的に好きなLTスタイルで面白かった。 下記を読むと、満を持してのこのタイミングでのLTだったようで納得。

当日/本編

えーっと、たくさんありすぎて書ききれませんが、ベストトークとなった徳丸さんの発表は確かに面白かった。 淡々としつつもネタが仕込まれていて、ある意味盛り上がりにくそうなセキュリティの話に引き込まれていく感じ。

あとは、非エンジニアでPerl入学式の第一期卒業生の @tomcha_さんが、YAPCで登壇し思いをしっかり話してました。 「ほんの少しの勇気で世界が変わる」という言葉がとても印象的だったし、同意見です。

最後に

YAPC::Fukuoka 2017 HAKATAの運営スタッフのみなさん、登壇者の皆さん、参加者の皆さん、ありがとうございました&お疲れ様でした。 次は沖縄ですね。 今から楽しみです。

YAPC::Kansai 2017 OSAKA前夜祭で開発環境発表をした話

YAPC::Kansai 2017 OSAKAにコアスタッフとして参加してきました。 また、前夜祭では「突撃!隣の開発環境!」で発表を行いました。

本エントリーでは、前夜祭では「突撃!隣の開発環境!」について書きます。 コアスタッフについては前エントリーで書きました。

前夜祭について

blog.yapcjapan.org

これまでのYAPCの前夜祭では、惜しくも本編に採用されなかったトークを聴きながらワイワイするのが通例ですが、YAPC::Kansaiは一味違います!

「突撃!隣の開発環境!」と題して、5名の方に開発環境を晒していただくことにしております。

ということで、他人の開発環境は気になるけど、なかなか見る機会がないので、という事でそれらを発表するイベントとなります。 事前に発表者を決めていたのですが、さほど内容は絞ってなかったので各々が各々の考えで発表することとなりました。

自分の発表

前夜祭の番長もしている@nqounetさんから、Windowsカスタマイズ厨的な感じでという指示?があったのでいつもの環境を持ち込んで発表しました。 当日使っていたスライドデータは以下になります。

ここでは、もう少し補足というか言い残したことを書いていきます。

Excelアドイン「正規表現で色付け」

そのまんま、正規表現で色付けするアドインなのですが、少しデモしました。 なんだかウケが良かったので、github入りさせる事にしました(近日公開予定)。
→ 2017/03/13 公開しました https://github.com/sago35/excel-regex-colorize/

Excelに張り付けたソースコードのうち、コメントだけ灰色にする、とかがとても簡単にできます。

Windowsらしさを出すべく、直前でスライドに追加しましたが、皆さんExcel好きですねー(違
注)自分もExcelの呪縛から逃げられない仕事をしています・・・

rapture

画面上の一部を切り取って付箋化するアプリ。 こう書いてもあまりピンとこないと思うので、前夜祭でやったようなデモは有効なのだと思います。

発表では、以下のような「1文字だけ「ね」になっている画像(を想定したテキスト)」に対し、raptureを半透明ウィンドウにして差分を見つけるデモを行いました。 文字で説明しようとするとさっぱり伝わらないなー、という所。

わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわねわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ
わわわわわわわわわわわわわわわわわわわわ

macな人は、(少し機能は少ないそうですが)Maptureが良いらしい。

ThumbSense

タッチパッドに触れている」時のキーアサインを変更するソフト。 「タッチパッドに触れている」+Fで左クリック、というのがとても便利。 タッチパッドホームポジションと相性悪いと思ってましたが、このソフトで当時すべて解決しました。

が、その後別メーカーのノートPCで使えなかったりとデバイス依存があったためautohotkeyでなんちゃって版(スライド参照)を作って今に至ってます。

macな人は、Karabinerにほぼそのものが入っているらしい。

タイトルバーやWindow枠を消す

autohotkey使ってこんな感じの関数書いておけばタイトルバーやWindow枠を消せます。 同じようなソフトは他にもあると思いますが、自分はautohotkeyで完結させている感じ。 なお、タイトルバーが無いと通常Window移動ができなくなりますので、そのあたりの準備を忘れずに。(拙作のtsense-ahkとか)

ToggleWinStyle() {
   ; 0x00800000 : WS_BORDER   : +/-Border. Creates a window that has a thin-line border.
   ; 0x00400000 : WS_DLGFRAME : Creates a window that has a border of a style typically used with dialog boxes.
   ; 0x00080000 : WS_SYSMENU  : +/-SysMenu. Creates a window that has a window menu on its title bar. The WS_CAPTION style must also be specified.
   ; 0x00040000 : WS_SIZEBOX  : +/-Resize. Creates a window that has a sizing border. Same as the WS_THICKFRAME style.
   WinGet, WID, ID, A
   WinSet, Style, ^0x00CC0000, ahk_id %WID%

   ; リサイズしておくと、Windowがリフレッシュされる
   WinGetPos, X, Y, W, H, ahk_id %WID%
   WinMove, ahk_id %WID%, , %X%, %Y%, %W%, %H%
}

ToggleWinStyle2() {
   ; 0x00400000 : WS_DLGFRAME : Creates a window that has a border of a style typically used with dialog boxes.
   ; 0x00080000 : WS_SYSMENU  : +/-SysMenu. Creates a window that has a window menu on its title bar. The WS_CAPTION style must also be specified.
   WinGet, WID, ID, A
   WinSet, Style, ^0x00480000, ahk_id %WID%

   ; リサイズしておくと、Windowがリフレッシュされる
   WinGetPos, X, Y, W, H, ahk_id %WID%
   WinMove, ahk_id %WID%, , %X%, %Y%, %W%, %H%
}

検索語を複数色分けして表示

vimの人は、mark.vim便利。 とにかく便利。 これを使うと、コードレビューで「xxx_yyyyyy_foobarbazをxxx_yyyyyy_foobarxyzに代入する」とか言わずに「緑を黄色に代入する」という事ができます。

f:id:sago35:20170305231524p:plain

便利。

当日紹介し損ねたのですが、他のエディタでも同じような事ができます。 該当エディタの人は試してみると良い気がしますし、そうじゃない人も探すか作るかしとくとよさげ。

しゃべり終えての感想

Windows使っている人の割合はそんなに多くなかったけど、結構皆様の反応が良くてびっくりしました。 公開側としては、反応があるとやっぱりうれしいですね。

他の人の発表も、見ていてとても面白かったので、他の人Versionも見てみたい。

最後に

当日の様子はtogetterにまとまっているので、適宜参照してみてください。

togetter.com

YAPC::Kansai 2017 OSAKAでコアスタッフをした話

YAPC::Kansai 2017 OSAKAにコアスタッフとして参加してきました。 また、前夜祭では「突撃!隣の開発環境!」で発表を行いました。

本エントリーでは、コアスタッフとしての振り返りを書きます。 前夜祭については、別エントリーで。

コアスタッフとして

カンファレンスへの参加経験もあまり多くなく、さらにはスタッフはしたことが無いので、なかなかに不安でした。 が、スタッフ向けマニュアルなどが整備され、それなりに安心した形で挑めたと思います。 以下、細々とした事を。

準備関連を振り返る

主にgithubのissueとslackを使って、当日までの準備を行ってきました。
YAPC::Kansaiが3月開催という事で予想はできていたのですが、個人的には年度末で相当バタバタしました。 大き目のタスクには手を付ける勇気が出ず、小さなタスクを無理しないペースで実施する、という事を続けてしまいました。 なかなか仕事との兼ね合いはうまくいかないなー、という所。

前日準備

3/3はなんとか年休取得して、14:30にMOTEX集合→準備という流れをとれました。
なるべく準備も最初から参加したほうが、連帯感というかうまくいくだろう、と思ってましたが、予想通り良い形で進めました。 前日準備は、ノベルティ詰めたり、バックパネル作ったり、前夜祭準備をしたり、という所です。 時刻指定した荷物の到着が遅れた、とかを除き、大きな混乱なく進めれたのは良かったと思います。

当日(~始まるまで)

朝08:00集合で前日に用意したノベルティ等を受付に運ぶなど、09:30受付開始に向けて準備が始まりました。 自分はC会場の番長/進行役という役割だったので、C会場の設営+C会場担当と役割の再確認もしました。 プロジェクタの具合や、電源コンセント類等はその場で考えるしかないので、なかなか難しい所。 実は、C会場のプロジェクターはVGA端子しかなかったので、「miniDisplayPort⇔VGA」と「USB-C⇔VGA」はあったけど、 HDMIオンリーなWindowsノートPCとかだと結構困る状況でした。 一応、私物のDisplayLinkな「USB A⇔VGA変換」を当日来場する人に持ってきてもらう事で最悪の自体は防げるようにしましたが、 結局のところは全員Macという嬉しい(のか悲しいのかWindowsノートPCな自分には分からないですが)誤算があり問題ありませんでした。

そんなこんなで思ったより時間が無くて、結構ぎりぎりまで準備をしていましたが、何とかなった感じです。

当日(本編)

開会式を少しみて、持ち場のC会場へ。 その後は、基本的にはC会場での番長/進行役としての役割をこなしていきました。 スタッフ全員とのやり取り、C会場内スタッフ間のやり取りはすべてslackを使って行いました。 タイムキーパーがスタートした時刻+終了予定時刻をslackに書き込むことで、少し時間が押したりしましたが、 お互いの時間感を合わせつつ進行することができました。

とはいえ、良いことばかりではなくいくつかのマイナーな問題はありました。 後悔しているのは「○○さん、よろしくお願いします」というような定型句において、名前の読み方を事前確認できてなくて/聞いたのに失念してうまく読めないのを後半に複数回やってしまいました。 すみませんでした。

後は、立ちっぱなしになってたので、普段立ちなれてない自分は足が痛くて後半はかなりつらかったです。 初のスタッフ参戦だったので、体力配分に完全に失敗した形。 スタッフマニュアルや事前のブリーフィングでは、番長含めしっかり休みをとるように言われていましたが、結局うまく自分をコントロールできず。 次回、スタッフするときは気を付けよう、と思った。

クロージング終わってから、受付に移動し参加された方をお見送り。 Okinawa.pmの@masakystさん、同じくOkinawa.pmの@CodeHexさん、サンプルコードPerl入門の木本さん@yukikimoto2さんとほんの少しだけお話。 自分は、懇親会に行かずに片付ける役割だったのでちょっと寂しい部分もありましたが、それはそれ。 次回以降も色んな人と絡んで/話していきたいと思います。

当日(片付け)

撤収も手際よく進み、1時間ぐらいでほぼほぼ完了まで行けました。 これは、事前に撤収を考慮した形で進めていたこと、最後までチームで動けたことが大きいと思います。 片付け後半は、記念写真撮る係?として、皆さんの写真を撮ったりしてました。

スタッフでの打ち上げ

本編の懇親会には参加できないタイミングでしたので、スタッフオンリーで打ち上げ行きました。 みんなで「やっと終わったなー」というような話をしつつ、激動の半年間に終止符が打たれました。

f:id:sago35:20170304225143j:plain

YAPC最高です。