Skip to content

Arduino向けのビジュアルプログラミングツールです。Blocklyを利用してArduinoコードを作成し、プログラムの作成を簡単にします。

License

Notifications You must be signed in to change notification settings

MrKumakun/ardublockly-ja

 
 

Repository files navigation

Ardublockly

Ardublockly は、Arduino向けのビジュアルプログラミングエディターです。このフォークは日本語に翻訳する作業を行っています。このシステムは Google's Blockly, のフォークを利用しており、 Arduino のコードを生成する事ができます。

ArdublocklyServer は、Arduino IDE を利用してArduinoコードをコンパイル、およびターゲットにロードできるように、Pythonを利用してローカルサーバーを構築できます。

これらは、Windows、Mac OS X、および Linux で動作する自己完結型の実行可能デスクトップアプリケーションにパッケージ化されています。

Ardublockly desktop program screenshot

特徴

  • ブロックをドラッグ&&ドロップして視覚的にArduinoコードを作成できます
  • コードをArduinoボードにアップロードできます
  • 便利な「コードブロック警告」
  • 幅広い公式Arduinoボードと互換性があります
  • Windows / Linux / Mac OS Xで動作します

Ardublocklyは、まだ開発中であり、いくつかの機能はまだ実装されていません。今後のToDoリストは TODO.md に記載されています。

現在、Windows では Python 2.7 および 3.4 を使用し、Linux および MacOS X では Python 2.7 でテストされています。

Tip

ビルド情報: ベースとなるBlocklyは古いバージョンが使用されており、ビルドには 2.7 環境が必須です。サーバーは 3.9 以上では起動できません。また、Google Closure Library のバージョンも古く、一部、オンライン経由で実行される機能が失われています。その為、完全なビルドができません →修正しました

Note

2024/3 メモ: Python 2.7 の環境で pip のアップグレードとvirtualenvのインストール

#
# python2.7 pip upgrade and virtualenv install.
#
pip install ez-setup
easy_install pip==20.3.4

pip install virtualenv
python -m virtualenv .venv27

Windowsの場合はパスを通しておくこと。
SET PATH=%LOCALAPPDATA%\Python\Python27;%LOCALAPPDATA%\Python\Python27\Scripts;%PATH%

リポジトリのクローン時にはサブモジュールの初期化を忘れずに

リポジトリには初期化が必要なサブモジュールがあることに注意してください。Ardublocklyリポジトリを正しくクローンするには、

git clone https://github.com/carlosperate/ardublockly.git
cd ardublockly
git submodule update --init --recursive

インストール

デスクトップアプリケーションは Windows / Mac / Linux で利用でき、Ardublockly repository releases page からスタンドアロンの実行可能ファイルをダウンロードしてください。

生成されたArduinoコードのビルドとモジュールへのアップロードには、Arduino IDE バージョン 1.6.x 以降も必要です。

開発ビルド

GitHub リポジトリに更新が追加されるたびに自動的に生成される UNSTABLE 開発ビルドをテストすることもできます。

Caution

訳者注: 現在は正常に稼働していない?

Linux build Windows build Mac OS X build
Linux Build Status Windows Build status Mac Build Status
Download Link Download Link Download Link

"Core version" (Python サーバーのみ)

必要に応じて、ローカル ブラウザ (Chrome を推奨) に Web インターフェイスをロードする Python サーバーのみを実行して、コア ソフトウェアを使用することもできます。

このバージョンの完全なインストール手順は、this Github repository Wiki にあります。

簡単な起動方法としては、このリポジトリのクローンを作成し、すべてのサブモジュールを初期化して、

python start.py

これは、Python > 2.7 または > 3.4 を搭載した、 Windows、Linux (ARM を含む)、Mac OS X で動作します。

Tip

訳者注: Python の仕様変更に伴い < 3.8 であること。Windows 3.6.8 で動作確認済み

起動方法

  1. Ardublocklyをインストール.
  2. Arduino IDE バージョン 1.6.x 以降をインストールします (常に最新バージョンを推奨します)。
  3. インストール方法の定義に従って Ardublockly を実行します。
  4. Ardublocklyの設定を開き、Arduino IDEのパスを設定します following these instructions

オンラインデモ

Ardublockly メイン インターフェイスの最新リリースのデモは、次の 2 つのリンクにあります (コードを Arduino にロードするには、完全な Ardublockly アプリケーションをダウンロードしてコンピュータで実行する必要があります)。

Tip

訳者注: リンク先は本家の英語版

WebApp screenshot responsive design

WebApp screenshot

資料

インストール手順、構成手順、開発者情報などのドキュメントは、Ardublockly GitHub リポジトリ Wiki にあります。

ドキュメントをダウンロードするには、wikiデータを git clone します。

git clone https://github.com/carlosperate/ardublockly.wiki.git

クレジット

このプロジェクトは BlocklyDuino からインスピレーションを受けています。

Blockly のオリジナル ソースは Google Inc. の著作権です https://developers.google.com/blockly/。 Blockly フォークへの変更のリストは、Blockly subdirectory README にあります。

License

Copyright (c) 2016 carlosperate https://github.com/carlosperate/

Unless stated otherwise, the source code of this projects is licensed under the Apache License, Version 2.0 (the "License"); you may not use any of the licensed files within this project except in compliance with the License.

The full document can be found in the LICENSE file.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Arduino向けのビジュアルプログラミングツールです。Blocklyを利用してArduinoコードを作成し、プログラムの作成を簡単にします。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.1%
  • Python 15.9%
  • HTML 2.8%
  • Other 1.2%