I already have a simple termometer using an arduino pro mini, an oled display and a dht22. Now I would like to use the same data from the same dht22 on a raspberry pi as well.
My doubt is: can I connect the DHT22 to the arduino and the pi at the same time and read its data on both devices? I only want this because in my situation is not practical to use a new DHT22 for the pi.
The thermometer is built inside a wall socket, and the pi is a smart mirror, and I will have to pass wires through the electrical tubes do connect the DHT22 to the pi. That why I ask first, because it will bring me some work just to try it. Everything is soldered to the arduino, so try stuff is more complicated.
I attached my setup (yes. It is 35º celsius in Rio right now, inside the house)