Skip to the content.

pico

This repository “Wireless Communication Code Examples for Raspberry Pi Pico W, by bokunimo.net” is a collection of the code examples.
It includes MicroPython code for the micro IoT sensor devices which send sensor values via UDP and a micro LCD device which receives from them to display the sensor values on it.

ボクにもわかる μIoT for Raspberry Pi Pico W

MicroPython を使った Raspberry Pi Pico W の学習用サンプル・プログラム集です。

Raspberry Pi Pico W

bokunimo.net Blog Site

The picture below is a example of a micro IoT sensor on a breadboard.

μIoT 温湿度計

Following picture is the receiver for the above board.

μIoT LCD

The sensor values which send from the micro IoT Sensors are displayed on the LCD.

CSVxUDP

A communication protocol CSVxUDP is used for them. If your LCD device cannot recieve UDP packets, it might be discarded by your Wi-Fi router. In this case, please try to use “example05_lcd_udp_pg.py”.
Or if there are someting wrong in the broadcasted UDP behaviors, use unicast address such as “192.168.1.1” for transmitter side of example03_temp_udp.py and example04_hum_udp.py.


関連書籍

本稿の基となる MicroPython 用プログラムは、「Pythonで作るIoTシステム プログラム・サンプル集 (CQ出版社)」の第8章~第9章で解説しています(執筆時点で未発売だったPico Wの記事はありません)。

CQ出版社の販売サイト:

Pythonで作るIoTシステム プログラム・サンプル集
https://shop.cqpub.co.jp/hanbai/books/MTR/MTRZ202112.html

筆者サポートサイト:

Pythonで作るIoTシステム プログラム・サンプル集
https://bokunimo.net/iot/cq/


GitHub Pages (This Document)


git.bokunimo.com GitHub Pages site

http://git.bokunimo.com/