Skip to content

MQTT Script for the Plasma Stick 2040 W (Pico W Aboard) by Pimoroni

Notifications You must be signed in to change notification settings

satspatel/MQTT-Plasma-Stick-2040W

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Script for the Plasma Stick 2040 W (Pico W Aboard) by Pimoroni

MQTT Script for the Plasma Stick 2040 W (Pico W Aboard) by Pimoroni

The scripts provides a quick and easy way to visualise data coming in via an MQTT broker using an edited version of the Pimoroni Temperature Script. Connected to Wifi, it subscribes to an MQTT feed, enabling messages to be visualised via changes of Colour.

Plasma Stick 2040W

Plasma Stick 2040W

Our example uses a Ships Lamp to visualise Wind Speed from a live feed provided from a Davis Vantage Pro 2 weather station out of the Connected Environments Lab at University College London. The colour of the ships lamp changes, every 3 seconds, from Green to Red over a spread of 0 to 40mph.

MQTT Ships Lamp

Copy all the files to your Plasma Stoick 2040 W using Thonny - edit config.py to add your Wifi and MQTT broker credentials.

Edit the MQTT_PlasmaStick_2040.py file for your own MQTTT topic, save as main.py so the Pico W runs the script on boot.

Created as part of work at the [Connected Environments Group] (https://connected-environments.org/) at the Centre for Advanced Spatial Analysis, University College London.

About

MQTT Script for the Plasma Stick 2040 W (Pico W Aboard) by Pimoroni

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%