This is a basic Arduinocode for the BMPE280 (temperature/humidity/pressure and altitude sensor) with The Things Uno. There is also a Payload converter you can copy to ...