The m5core2_gravsim project is a gravity simulator of planetary system for the M5Stack Core 2 .
[日本語]
m5core2_gravsim プロジェクトは、M5Stack Core 2 用の惑星系の万有引力シミュレーターです。
Have you ever thought how cool it'd be to hold the universe in the palm of your hand? That little idea was where this whole project started. I wanted to do more than just look at space—I wanted to bring the swirling dance of the planets to life in an interactive way, right on a tiny device like the M5Stack Core 2. It's a fun way to play with their motion and grasp how gravity shapes our cosmos.
[日本語]
手のひらに宇宙を乗せられたら、ちょっとワクワクしませんか? そんなちょっとした思いつきから、このプロジェクトは始まりました。 M5Stack Core 2みたいな小さなデバイスの上で、ただ眺めるだけじゃなく、惑星がくるくる回る宇宙のダンスをインタラクティブに再現してみたい。 天体の動きを楽しみながら、重力のルールを体験できる──そんな仕組みを作りたかったんです。
-
Register an M5Stack Community account if you haven't already.
-
Launch the M5Burner .
-
Click
USER CUSTOMin the lower left corner. -
Log in to the M5Stack Community.
-
Click the
Share Burnbutton. -
Enter
UwE1Ekq5yMOozHfkin theShare Codefield. -
Click the lightning icon ⚡ .
[日本語]
-
M5Stack Community のアカウントをまだ登録していない場合は登録してください。
-
M5Burner を起動します。
-
左下隅の
USER CUSTOMをクリックします。 -
M5Stack Communityにログインします。
-
Share Burnボタンをクリックします。 -
Share CodeフィールドにUwE1Ekq5yMOozHfkと入力します。 -
稲妻アイコン ⚡ をクリックします。
-
Clone the repository:
git clone https://github.com/cubic9com/m5core2_gravsim.git cd m5core2_gravsim -
Install Visual Studio Code if you haven't already.
-
Open the project using Visual Studio Code:
code . -
Install
PlatformIO IDEextension:- Go to the Extensions view (
Ctrl+Shift+X). - Search for
PlatformIO IDEand install it.
- Go to the Extensions view (
-
Open PlatformIO Home:
- In the left Activity Bar, click PlatformIO icon.
- In the left Primary Sidebar, fo to
QUICK ACCESS > PIO Home > Open.
-
Open the project:
- In the right Editor Group, click
Open Projectin thePIO HOMEtab. - Select the cloned
m5core2_gravsimproject folder.
- In the right Editor Group, click
-
Build and upload the project:
- In the left Primary Sidebar, go to
PROJECT TASKS > m5stack-core2 > General > Upload.
- In the left Primary Sidebar, go to
[日本語]
-
リポジトリをクローンします:
git clone https://github.com/cubic9com/m5core2_gravsim.git cd m5core2_gravsim -
まだインストールしていない場合は、Visual Studio Code をインストールします。
-
Visual Studio Code でプロジェクトを開きます:
code . -
PlatformIO IDE拡張機能をインストールします:- 左サイドバーの「拡張機能」ビュー (
Ctrl+Shift+X) を開きます。 PlatformIO IDEを検索してインストールします。
- 左サイドバーの「拡張機能」ビュー (
-
PlatformIO Home を開きます:
- 左のアクティビティバーで PlatformIO アイコンをクリックします。
- 左のメインサイドバーから
QUICK ACCESS > PIO Home > Openを選択します。
-
プロジェクトを開きます:
- 右のエディターグループ内の
PIO HOMEタブでOpen Projectをクリックします。 - クローンした
m5core2_gravsimプロジェクトフォルダーを選択します。
- 右のエディターグループ内の
-
プロジェクトをビルド&アップロードします:
- 左のメインサイドバーから
PROJECT TASKS > m5stack-core2 > General > Uploadを選択します。
- 左のメインサイドバーから
Copyright (C) 2025, cubic9com All rights reserved.
This project is licensed under the MIT license.
See the LICENSE file for details.
