Тёмный

Client-Server Communication with Two Raspberry Pies and Python 

Cory Culbertson
Подписаться 25
Просмотров 2,5 тыс.
50% 1

This video shows you how to send messages from one RPi and receive them on another RPi. It uses two Python scripts, one running on the client (sender) and one running on the server (receiver). It also shows you how to send GPIO information from client to server.
Python script for client: www.dropbox.co...
Python script for server: www.dropbox.co...
NOTE: it is also possible for the server to send messages back to the client. This simple example does not include that feature.

Опубликовано:

 

12 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@gabrielalmeida5047
@gabrielalmeida5047 Год назад
Good video o/
@jyvben1520
@jyvben1520 3 месяца назад
192.168.x.x with network mask 255.255.255.0 (24 bit) is not needed, 255.255.0.0 also works (16 bit), router/hub does not care if your range is different from other devices, it just isolates the rpi from internet probably.
@joshreed7998
@joshreed7998 10 месяцев назад
does this work if both Pi’s are offline? I need to send pings over an Ethernet cable to each other with no network
@jyvben1520
@jyvben1520 3 месяца назад
no network, meaning no dhcp server to give an address i hope, use fixed ip address on each, with network hub ok, no hub then you need a network cable with crossed wires. or each rpi might have a 169.254.x.x. address, so no need for a fixed ip address, already auto configured, and/or see raspi-config
Далее
Day 1 | IEM Rio 2024 | Playoffs | КРNВОЙ ЭФИР
7:04:51
Scaling and Securing WebSockets with HAProxy
19:42
Просмотров 21 тыс.
client server socket programming python threading
47:46
Raspberry Pi Tutorial 27 - Socket Communication 1
17:56
NixOS is Mindblowing
12:02
Просмотров 711 тыс.
It’s Been a Good Run, Phone Providers.
26:31
Просмотров 4,9 млн
Websockets in Python
17:52
Просмотров 35 тыс.
Python Socket Programming Tutorial
49:43
Просмотров 1 млн