Tutorial: Sending Data Between Multiple Raspberry Pi Pico W's in Thonny

preview_player
Показать описание

Learn how to send messages between two or more Raspberry Pi Pico W's connected to your local network. This is done with Thonny and MicroPython. This can be incredibly useful for projects involving distributed systems and can form the bases of a multi-device IoT system.

Blog Post:

TIMESTAMPS
00:00 Intro
05:35 Demonstration
Рекомендации по теме
Комментарии
Автор

Dont forget to subscribe and support the channel if you learned anything new in this video! Thanks y'all!

mmshilleh
Автор

Quick and clear. great video, thank you!

Milkman-cf
Автор

I've done a comment on serial data transfer. This method is BETTER for me. I will test on Pico W with DHT11 temperature/humidity module and a Raspberry Pi Zero 2w for recording data every hour on crontab scheduling. Thanks.

PatrickConstant
Автор

paired with the gpio this could be used to make wireless toggles/push buttons with relays.. possibilities are really endless. these things are super cool.

ziprock
Автор

Just wondering if you are seeing the same behavior. I copied the server/client code EXACTLY per your github repository. I then changed the secret credentials to match my router and the line in the client code to point to the server's IP address. I can start the server and see it connect to my router and then wait for the client. I can then start the client and see it connect to my router. Only occasionally (rarely), after 10-30 seconds does the server and client connect. When they do connect, everything runs fine. I have been wrestling with this problem for a while now and just want to see if you (or others) have had connection problems with the 2 pico-w. I have the latest micropython installed on the picos and the latest Thonny app version.

donpearson
Автор

Hi, I've just ordered one of these devices. I have a few others. Have you tried a different IDE, like VSCode or Pycharm for this type of development?

nightcoderk
Автор

With a Raspberry Pico W as server (with DHT11) and a Raspberry Zero 2 W I can easely check temperature and humidity. And with pushover module I can push an alert on my smartphone if data is over limits. Thanks very much from France.

PatrickConstant
Автор

Im not using your code, I wrote my own before watching a tutorial. But i have a problem. When I unplug the power from the client the server doesn't know it disconnected so it cannot connect to a new client. Do you know how to fix this?

Ps: it works fine if i just press stop in thonny

Brecht
Автор

I'm interested in extending this to do bi-directional transfers between a Pi Pico W and a Raspberry Pi. Any thoughts you have would be very appreciated.

daveintexas
Автор

A great example that I search the internet for a long time.
Is it possible to give us an example of one PICO sampling the sound and the other playing it at the push of a button, like a simple intercom?
I would like to allow my elderly parents to call someone in other rooms at the push of a button!!!

animations
Автор

Can you make one for connecting the PI4 and the Pi Pico W?

damianacfr
Автор

HEY EVERYONE FOLKS
Bind picos WITHOUT a network? Does anyone know how to do that?

harutyunkoshetsyan
welcome to shbcf.ru