A Python program whcih subscribes to a topic of a MQTT broker and outputs to GPIO pinout of Jetson Nano or Raspberry.
- Node Red
- Paho MQTT Python library
- Python3
Clone the project
git clone https://github.com/AshutoshGeek/MQTT-Python-Jetson-Nano.gitGo to the project directory
cd MQTT-Python-Jetson-NanoInstall dependencies
sudo pip3 install paho-mqttRun the code
python3 mqtt_gpio.py