I have been thinking of making a arduino weather station but all the tutorials I have found online only have temperature and humidity and I want something with a rain gouge, wind speed and wind direction.
so I am thinking of using a DHT22 Temperature and Humidity sensor with:
I have seen these sensors being used with a raspberry pi
So I am wondering are these Maplin sensors are compatible and if so how do I code it, if you could give some example code that would much appreciated.
I'm sure code is available via google search, if these sensors are basic I/O or analog outputs then I would recommend looking at all the example codes in the Reference section. as a "newbie" I find coding can be more difficult if its not basic IF statements with simple sensors.
There are much better sensors out there than the DHT22. A great one to start your weather station off with would be the BME280: temperature, humidity and pressure all in one tiny package (about 2x2 mm for the sensor itself).
Yes, they could be hooked up to the Wemos. Problem with that is that the sensors need to be continuously monitored, to count pulses without missing any. This means the Wemos cannot be put into deep sleep. In deep sleep, the Wemos consumes less than 200uA, but without deep sleep, the lowest current you can achieve is around 20mA, so 100 times more current. Obviously this has a huge impact on battery life. The tiny can monitor the sensors, counting the pulses, using less than 500uA.
If you are not powering your weather station on batteries, this won't be a concern.