[Swlug] Raspberry Pi and Python - just a hello
David Hodgkinson
davehodg at gmail.com
Fri Jan 21 21:47:33 UTC 2022
Which reminds me, I have a pi pollution detector gizmo somewhere if anyone wants it for a fiver plus postage.
> On 21 Jan 2022, at 21:38, Colin Law via Swlug <swlug at mailman.lug.org.uk> wrote:
>
> On Fri, 21 Jan 2022 at 01:00, Rhys Sage via Swlug
> <swlug at mailman.lug.org.uk> wrote:
>>
>> Colin. That Node-red looks interesting. Can it handle multiple inputs and outputs from multiple boards using a board expander? I have a servo hat, a GPS mouse, altimeter/pressure sensor/temperature sensor thingy and a few other gizmos that will all have to be run simulteneously to put together an operational single-engine wingbourne drone.
>>
>
> Generally, yes, it can handle pretty much anything. Some stuff comes
> with libraries (often Python) and if node-red can't easily talk to it
> directly then it can run a python script to get the data, either
> running it when required or via a long-running service which
> communicates back to node red using something like MQTT, which is
> almost trivial to use both in node-red and in python. If you don't
> know about MQTT then it is a great way to communicate between
> processes or systems across a network, or even across the internet.
> Have a look at https://www.hivemq.com/mqtt-essentials/
>
>
> Colin
>
> --
> Swlug mailing list
> Swlug at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/swlug
More information about the Swlug
mailing list