I have a working Arduino project where I a rain sensor connect to the LittleBits ProtoBit which in turn is connected to the Arduino Bit at a0 and i have a littleBits Button Bit connected to a1. When I read the analog signal in my Arduino code, i am getting 255 for the rain sensor (it is dry) and 0 for the Button. When I wet the rain sensor analog value goes to ~250 and when I press the button the analog value goes to 255. I am then setting the analog and digital output value and sending this out on d5 and d9 respectively with output sensors attached so i can see them turn on or off. All of this is working fine.
Then I attempted to introduce a wireless transmitter and receiver into the picture so I could separate the components and have the rain sensor outside and the button acting as a door bell for example. I have a wireless transmitter after the protobit for the rain sensor and i have a wireless transmitter after the button. I then have the wireless receiver and the arduino bit connected to it. When i run the same code, i get different analog values than if all is connected directly. If I press the button i get a value of ~160 and the rain sensor similarly. It can seem to fluctuate. Its like when i use the wireless bits that the analogue value is different than when i dont use.
if anyone has any advice i would appreciate it.