Skip to the content
PCBKitNew board
2 layers49.6 × 49.6 mmM5Stack WiSUN, the printed circuit board in 3D

firmware and schematic for M5Stack WiSUN board

Size
49.6 × 49.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
39
Pads
153
Tracks, vias
330, 146
Pours
23
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
9 Oct 2018
Updated
29 Oct 2019

Overview

M5Stack WiSUN is an open-source printed circuit board by ciniml, from the ciniml/M5Stack_WiSUN repository on GitHub. It is a 2-layer board of 49.6 × 49.6 mm with 34 parts on 39 nets, routed with 330 tracks and 146 vias.

It is built around the PCA9557D. Its parts include 12 resistors, 2 ICs, 2 connectors and 1 capacitor.

Main components

1

README

README.md

M5Stack用 Wi-SUN拡張モジュール

概要

M5StackにロームのWi-SUNモジュール BP35A1 をつなぐための拡張モジュールの設計データ

動作画面

ファームウェア

  • ビルド済みのカスタムMicroPythonバイナリと、pythonディレクトリに入っているスクリプトを含むSPIFFSイメージを書き込むように設定したM5BurnerをOneDriveに置いてあるので適当に使ってください。

https://1drv.ms/f/s!AvgeuJrD0ORom7oEdzDq509qd-Dngg

  • M5Stackの公式にM5Burnerの再配布の許可をもらおうとTwitterでmentionを送ったら、公式の方に含めていただけることになりましたので、公式M5BurnerにあるWiSUNというファームを書き込むのでも良いです。

機能

  • スマートメーターから瞬時電力、瞬時電流、積算電力量を取得してM5Stackの画面に簡易表示
  • SORACOM Inventory + SORACOM Harvestを使って上記データを収集・可視化

使い方

  1. ファームウェアを書き込んだあと、USBケーブルをPCにつないだままでTeraTermなどのターミナルでM5Stackのシリアルポートを開きます。
  2. リセットがかかって、そのうち Input SSID: とプロンプトが表示されますので、接続先Wi-FiアクセスポイントのSSIDを入力してEnterを押します。
  3. 次に Input Password: と表示されますのでWi-Fi接続のパスワードを入力します。 (*で隠されたりしないので、覗き見られないように注意してください。)
  4. そのまましばらくすると M5StackのIPアドレスを表示したのち、appconfig が無いというエラーで停止し、 REPLの状態になります。
  5. M5Stackの同一ネットワークにいるPCからWinSCPなどのFTPクライアント機能で (4)に表示されたアドレスに接続します。ユーザー名とパスワードは両方とも esp32 です。
  6. FTP経由でのファイル転送が可能になりますので、appconfig.pyという名前で以下の内容のファイルを作って M5Stackの /flash 以下にアップロードします。
python
wifi_ssid = 'Wi-FiのSSID'
wifi_password = 'Wi-Fiのパスワード'
route_b_id = 'Route BのID (電力会社から教えてもらうやつ)'
route_b_password = 'Route Bのパスワード (電力会社から教えてもらうやつ)'
inventory_id = 'SORACOM InventoryのデバイスID'
inventory_password = 'SORACOM Inventoryのデバイス用パスワード'
  1. M5Stackのリセットボタンを押してリセットします。

(書きかけ)

Parts

34
QtyValueFootprintReferences
8100kResistor_SMD:R_0402_1005MetricR5, R6, R7, R8, R9, R10, R11, R12
6TestPointTestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mmTP1, TP2, TP3, TP4, TP5, TP6
42kResistor_SMD:R_0402_1005MetricR1, R2, R3, R4
4CornerMountingHole:MountingHole_3.2mm_M3MH1, MH2, MH3, MH4
4FixMountingHole:MountingHole_2.2mm_M2_PadMH5, MH6, MH7, MH8
3Jumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP1, JP2, JP3
1100nCapacitor_SMD:C_0402_1005MetricC1
1BP35A1local:BP35A1U1
1MBUS_BOTTOMlocal:MBUS_SocketJ1
1MBUS_TOPlocal:MBUS_HeaderJ2
1PCA9557Package_SO:TSSOP-16_4.4x5mm_P0.65mmU2

Questions

How big is the M5Stack WiSUN PCB?

It measures 49.6 × 49.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the M5Stack WiSUN use?

34 parts, built around the PCA9557D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the M5Stack WiSUN KiCad files?

From the ciniml/M5Stack_WiSUN repository on GitHub, at the commit this page was made from: the board is M5Stack_WiSUN.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the M5Stack WiSUN design in my own project?

Its repository states no licence, so its author keeps all rights: ask ciniml before reusing the design.

Similar boards

  • 2 layers85.1 × 67.3 mmLts74x, the printed circuit board in 3D

    Lts74x

    Vakon84/lts74x

    Lts74x was inspired by the following propjects: Integrated circuit tester: https://github.com/Johnlon/integrated-circuit-tester Smart IC Tester: https://github.com/akshaybaweja/Smart-IC-Tester

    75 partsMIT
  • 2 layersContainment simple, the printed circuit board in 3D

    Containment simple

    UWCubeSat/minimee-electronics

    KiCAD files for the MiniMEE mission, adapted from BONK

    61 parts1MIT
  • 2 layersContainment simple, the printed circuit board in 3D

    Containment simple

    UWCubeSat/bonk-electronics

    KiCAD files for the BONK schematics and PCBs

    33 partsMIT
  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    34 parts1.1kCC-BY-4.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard old, the printed circuit board in 3D

    Amiga gfxcard old

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    34 parts1k
  • 2 layers53.5 × 62.5 mmLed matrix, the printed circuit board in 3D

    Led matrix

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    34 parts915