並び順

ブックマーク数

期間指定

  • から
  • まで

41 - 52 件 / 52件

新着順 人気順

micropythonの検索結果41 - 52 件 / 52件

  • Memory use in CPython and MicroPython [LWN.net]

    LWN.net needs you!Without subscribers, LWN would simply not exist. Please consider signing up for a subscription and helping to keep LWN publishing At PyCon 2017, Kavya Joshi looked at some of the differences between the Python reference implementation (known as "CPython") and that of MicroPython. In particular, she described the differences in memory use and handling between the two. Those differ

      Memory use in CPython and MicroPython [LWN.net]
    • Programming the Raspberry Pi Pico Microcontroller with MicroPython

      Products Communications Messaging Send and receive multichannel text and media messages in 180+ countries

        Programming the Raspberry Pi Pico Microcontroller with MicroPython
      • BBC micro:bit MicroPython documentation — BBC micro:bit MicroPython 1.0.1 documentation

        BBC micro:bit MicroPython documentation¶ Welcome! The BBC micro:bit is a small computing device for children. One of the languages it understands is the popular Python programming language. The version of Python that runs on the BBC micro:bit is called MicroPython. This documentation includes lessons for teachers and API documentation for developers (check out the index on the left). We hope you e

        • micro:bit の MicroPython - Qiita

          この記事はMicroPython Advent Calendar 2017の9日目の投稿です。昨日は ken5owataさん投稿のmicropythonでOLED (SSD1306)でした。 1日目の投稿にもあるように MicroPython 対応のマイコンボードの一つに micro:bit があります。micro:bit はイギリスの BBC中心となって作り上げた教育用マイコンボードで、主に子どもにフィジカル・コンピューティングを体験させることを目的としたものです。日本では今年の8月から販売されています。標準価格2000円(税抜き)です。 イギリスでは school year 7 の子どもに100万台を無料配布したことでも有名になりました。記事や書籍によっては year 7 が小学生だったり中学生だったりしてますが、year 7 といえば 11-12歳、日本では小学校6年の年齢に相当しま

            micro:bit の MicroPython - Qiita
          • インストール — BBC micro:bit MicroPython 1.0.1 ドキュメント

            インストール¶ 本章では、BBC micro:bit で MicroPython を使うためのプログラムやファームウェアを開発する技術者向けに、必要となるツールとプログラムのセットアップ方法をお知らせします。 開発環境¶ 以下が必要となります: git yotta 利用しているオペレーティングシステムによってインストール手順が異なります。システムに最適なインストールシナリオにしたがってください。 yotta には ARM mbed アカウントが必要です。あなたが登録されていない場合はサインアップしてください

            • UbuntuのVSCodeにRaspberry Pi Picoの開発環境を構築する(MicroPython編) - Qiita

              使用した環境 OS:Ubuntu 20.04.2 LTS Visual Studio Code 1.52.1 2021/02/05 追記1 公式サイトからMicroPython用のファームウェアがダウンロードできるようなのでそちらからダウンロードして書き込むことも可能です。 その場合、Pico SDK、Picotool、MicroPythonのビルドは不要になるので次の手順はこちらになります。 2021/02/05 追記2 2021/02/05現在、Visual Studio Codeのバージョンが最新の1.53場合はPymakrが正常に動作しないようです。1.53を使っている場合はここから1.52をインストールすることで解決するようです。 Pico SDKのダウンロード sudo apt install git cd ~/ && mkdir pico && cd pico git clo

                UbuntuのVSCodeにRaspberry Pi Picoの開発環境を構築する(MicroPython編) - Qiita
              • M5Stackでセンサデータを測定し、クラウドに送る (MicroPython編) - AmbientでIoTをはじめよう

                「AmbientでIoTをはじめよう」の第4回は、M5StackとセンサをMicroPythonで制御して、 センサデータをクラウドに送信して記録する事例を紹介します。 Arduinoで制御する例は「M5Stackでセンサデータを測定し、クラウドに送る (Arcuino編)」をご覧ください。 M5Stack M5StackはEspressif社のマイコンESP32が搭載されたコンパクトなIoT端末です。 M5Stackについては次のサイトをご覧ください。 スイッチサイエンスの販売ページ M5Stackであそぼう 公式サイト(英語) M5Stackを使うためのMicroPythonの環境設定 M5StackのMicroPython開発環境には次の二つがあります。 M5Cloud クラウドでソースコードを管理する開発環境。 Web上でプログラムを開発し、Wi-Fi経由でプログラムをM5Stac

                • 【Degu】MicroPythonのimportで失敗した時の記録 | DevelopersIO

                  こんにちはCX事業本部のさかじです。弊社ではIoTセンサとしてDeguを採用しています。 DeguはMicroPythonを採用しています。慣れた言語で開発できるというのは便利ですが、時として単純ミスで動作せず何も起動しなくなります。今回起こした私のミスが役に立てばと思いまとめました。 Deguとは? Deguは、メッシュネットワーク対応のIoTセンサーの設計に必要となる回路図や部品表の他、OSをはじめとした基本ソフトウェアやドキュメントなどの開発情報をGitHub上で公開するオープンソースプロジェクトです。Deguセンサーでは、200種類以上のセンサーやアクチュエータを展開するGroveモジュール(Seeed株式会社が推進)の中から目的に合ったものを選択して試すことができます。また、Deguセンサー上で前処理済みのデータをAWSにアップロードすることで、AWS上の機械学習や深層学習(ディ

                    【Degu】MicroPythonのimportで失敗した時の記録 | DevelopersIO
                  • Raspberry Pi Pico Wの温度センサー【MicroPython】 - Qiita

                    import machine import utime # 温度センサが接続されている、 # 4つ目の ADC(アナログデジタルコンバータ) を取得します sensor_temp = machine.ADC(4) # ADCの最大電圧3.3Vを16bit(65535)で割って、 # 16bitの 1 目盛りのあたりの電圧(変換係数)を計算します( 約 0.00005V) conversion_factor = 3.3 / (65535) while True: # センサから取得した値(0~65535) を電圧に変換します。 reading = sensor_temp.read_u16() * conversion_factor # 温度を計算します。センサは27度を基準にしているため、 # 温度センサの数値を27度から引いて計算します。 temperature = 27 - (readi

                      Raspberry Pi Pico Wの温度センサー【MicroPython】 - Qiita
                    • ESP32ボードでmicropythonを使う – Visuariddim

                      ESP32ボードでmicropythonを使う場合の環境構築メモ。 Firmwareのインストール 作業はパソコン上で行うが、僕はmacOSなので以下説明は全てmacOSの場合。Windowsでもそれほど違いはない。 必要なツール esptool.pyというPythonのツールが必要。ということはPython環境が必要。Python環境の構築については割愛するが、macの場合、標準で使えるはずなのでそれで事足りるはず。esptool.pyはArduino ESP32に付属しているのでArduino環境を構築している場合は、それを使うことができる。そうでない場合は、 https://github.com/espressif/esptool からダウンロードするか、pipでもインストールできる。ターミナルで sudo pip install esptool 当然pipがインストールされている必

                      • GitHub - pikasTech/PikaPython: An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerrySc

                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                          GitHub - pikasTech/PikaPython: An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerrySc
                        • 技術書典2でESP8266をMicroPythonで扱う本を出します - くろねこ日記

                          はじめに ご無沙汰しております.しばらくブログの更新を怠っていました. 技術書典2でESP8266をMicroPythonで扱う同人誌を出すことになったのでその告知です. ↓技術書典2のウェブサイト [https://techbookfest.org/event/tbf02:title] 会場案内 日時: 2017/4/9(日曜日) 一般参加者は11時から17時まで 場所: アキバスクエア 〒101-0021 東京都千代田区外神田4-14-1 秋葉原UDX 2F 会場参加費: 無料 出展内容 サークル名: ガーベッジ制作部 サークルの配置: お-26 価格: 1000円 サークル紹介ページはこちら↓です. https://techbookfest.org/event/tbf02/circle/5361966021345280 目次は次のようになっております. 第1章 ESP8266 の概要

                            技術書典2でESP8266をMicroPythonで扱う本を出します - くろねこ日記