In my previous Instructable, i showed you how to make your own Lora-Node. Now its time to send some useful data. I use a DHT-22 temperatur/humidity sensor to measure the Temperature and i will send it over lora with my arduino.
You will need:
First you need to connect the sensor to the Arduino.
In my case i bought the sensor from adafruit and they explained how to connect the sensor here. It depends on your sensor, but usually you have a GND pin which you have to connect to GND, a VCC which you either connect to 3.3v or 5v and a Signal pin. The Signal pin you have to connect to either an Analog input or a Digital input. In my case it is the digital input. Make sure to edit the Arduino sketch if you don't use the default pin.
The picture shows how i had to connect it. The 10k Resistor acts as a medium-strength pull up on the data line. If you have a sensor like the one on picture 2 you will probably see the little resistor built in.