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.git
Go to the project directory
cd MQTT-Python-Jetson-Nano
Install dependencies
sudo pip3 install paho-mqtt
Run the code
python3 mqtt_gpio.py