Integrating LoRa with the Internet
In this chapter, we will take the sensory information from our remotely placed LoRa sensory transmitter and publish it to the internet using our Raspberry Pi Pico W-equipped LoRa receiver. Our internet destination will be an MQTT instance on our CloudAMQP server. We will then connect a modified version of the analog-metered weather indicator we created in Chapter 3 to our MQTT server and use this data to position the needle and set the color of the LED indicator based on the humidity reading. This modification will entail swapping out the Raspberry Pi we installed on the analog-metered weather indicator for a Raspberry Pi Pico WH (also referred to as a Raspberry Pi Pico W with headers) and the single-color LED with an RGB LED.
By transitioning from a standard weather web service to utilizing a remote LoRa sensory transmitter that measures temperature and humidity, and subsequently converts this data into MQTT messages, we are effectively creating...