Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。
本記事は「Develop fun!」を体現する! Works Human Intelligence Advent Calendar 2023 シリーズ2の17日目の記事です。 本記事の概要(TL;DR) Raspberry Pi Pico WH + MicroPython + 電子ペーパーで卓上カレンダーを作ったよ 毎日自動的に日付と日本の祝日をインターネットから取得して、カレンダーに反映するよ 電子工作や組み込み系が素人な自分でも、RaspberryPi Picoシリーズを使うことでPythonで比較的お手軽にIoTを体験できたよ はじめに 年の瀬になると、つい「来年のカレンダー、どうしようかなあ……」なんて考えてしまいますよね。 筆者は毎年購入するカレンダーに比較的こだわりが強く1、なかなか満足できるカレンダーに出会えません。 更に、紙のカレンダーだとどうしても「今日って何日の何曜日だ
Welcome Opta, our first-ever micro PLC with Industrial IoT capabilities At Arduino we like to experiment with new technologies to figure out if we can use them to improve the tools we make for our users. We’ve recently been experimenting with the Python language as a possible extension for our programming platforms, considering how it has become the number one language for many types of users. Spe
Arduinoの開発言語といえばC/C++なのだが、近年はMicroPythonのサポートにも力を入れ始めているのはご存じだろうか。まだ実験的な取り組みではあるが、Arduino Nano 33 BLE、Arduino Nano 33 BLE Sense、Nano PR2040 ConnectでMicroPythonが利用できる。すでにMicroPythonのIDEも公開されているため、対応製品を持っていればすぐに試せる。実は、このIDEはRaspberry Pi Picoでも利用可能だ。今回は、ArduinoのMicroPython IDEをArduino Nano 33 BLEで試してみよう。
1. はじめに 1.1 この記事について Raspberry Pi Pico W(以下、Pico)のGPIOを使ったサンプルプログラムを記載する 入門・解説というより備忘録に近い 1.2 対象読者 Picoを使ったことがある Thonnyを使ってPicoにプログラムを書き込み・実行ができる プログラム言語(特にmicropython)が多少読める、書ける 1.3 動作環境 PC OS:Windows 11 Home プログラミング環境:Thonny(v4.1.4) Raspberry Pi Pico W ファームウェア:v1.24 2. GPIOとは? General Purpose Input/Output の略語 端的に言うと「入力(HIGH/LOW)と出力(HIGH/LOW)を好きに操作できるピン」 電子回路と組み合わせることで、LEDを光らせたり、スイッチの押下を検知したりできる
Why MicroPythonOS? MicroPythonOS is a lightweight, fast, and versatile operating system designed to run on microcontrollers like the ESP32 and desktop systems. With a modern Android-like touch screen UI, App Store, and Over-The-Air updates, it’s the perfect OS for innovators and developers. Screenshots Key Features Runs on ESP32 microcontrollers and desktops Android-like touch screen UI with gestu
CQ出版は2024年4月23日、プログラミング言語MicroPythonの言語仕様からプログラミング方法まで解説する「MicroPythonプログラミング・ガイドブック」を発売する。 MicroPythonは、組み込み機器向けにチューニングしたPythonであり、マイコンに慣れていない初心者でも取り組みやすい。Raspberry Pi Pico/Pico W、ESP32が使用でき、STM32 NucleoやRA4M1 Clickerにも対応している。 今回発売するのは、そのようなMicroPythonの言語仕様からプログラミング方法までを解説するものだ。前半は環境構築から始め、データ型や制御構造、関数などの各種言語仕様を解説。後半では、ネットワーク接続やセンサーデータの取得、データ表示、さらにクラウド連携などの実践的なさまざまな制御方法を紹介する。 その他付録として、応用例から該当するプロ
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ちょっと調べたところ日本語のまとめが見当たらなかったのでいつものように自分用にメモ。 記事タイトルをどう表記するのかが難しい、これで後で自分で意味が理解できるのかちょっと不安。 結論 Raspberry Pi Pico Wでsocketを使ってhttpサーバを立ち上げるのは比較的簡単だがセンサと同時に(=非同期で)処理するのが難しい。だったらsocketの代わりにお手軽にasyncio1 (CPython)を使えばいいじゃん。 説明「しない」内容 Raspberry Pi Pico (W)の基本情報・基本的な使い方 Python開発環境
MicroPython is a full implementation of the Python 3 programming language that runs directly on embedded hardware like Raspberry Pi Pico. You get an interactive prompt (the REPL) to execute commands immediately via USB Serial, and a built-in filesystem. The Pico port of MicroPython includes modules for accessing low-level chip-specific hardware.
Raspberry Pi Pico WでWebサーバーを! Raspberry Pi Pico W (以下PicoW)で、Webサーバーを動かしたいことあると思います。いくつかの方法があると思いますが、MicroPythonの上で動く手軽なものが欲しかったので自作しました。 自作したWebサーバーはこちらのリポジトリで公開しています。 ちなみにPicoWで動くWebサーバーは他にも選択可能です。 microdot https://github.com/miguelgrinberg/microdot MicroWebSrv https://github.com/jczic/MicroWebSrv TMiniWebServer TMiniWebServerはRaspberryPi Pico W上で動作させることを目的としたWebサーバーです。MicroPythonの上で動作します。他のプロダク
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く