Micro:Bit Advent Calendar Day 09 - Raindrop Sensor with micro:bit

Need help for the Micro:Bit Advent Calendar Day 09 (Raindrop Sensor with micro:bit)? Just post on this thread and our highly trained team of Micro:Bit ninjas will be able to help you in no time!

Step 12 says “Please see Step 4 on how to change the sensitivity of your raindrop module board!”, but step 4 does not mention anything about setting sensitivity. I assume it is the on board pot, however the only thing this seemed to affect was whether the signal LED displayed, but didn’t seem to change the actual moisture sensitivity.

The analogue value dropped from around 1000 to around 700 with some water droplets, and the lowest we achieved was 340 while the sensor was submerged in a cup of water!

Changing the code to test for less than 800 seemed be the best way to make it work.

My daughter has got Little Bird kit from school. She has followed all the steps mentioned but unfortunately it is not working. Any helps will be highly appreciated. Thanks

Hi ggarish, thanks for letting us know and sorry to hear that. Do you mean it is not detecting water? Are there any error messages in the MakeCode platform?

The Raindrop Sensor consists of two modules, a rain board that detects the rain/water and a control module. The sensitivity can be adjusted though a potentiometer found on the control module.

In the code, there is a line:

if (raindrop_analog_value < 300)

What happens if she changes the value of raindrop_analog_value?