# Case04: Soil Moisture Sensor ## Purpose --- - In this project, you will learn how to change the music playing from Basic:bit and the icons on the micro:bit through Soil Moisture Sensor. ## Materials --- * 1 x micro:bit * 1 x [Basic : bit](https://www.elecfreaks.com/store) * 1 x Soil Moisture Sensor ## Software Platform --- [MicroSoft makecode](https://makecode.microbit.org/#) ## Hardware connect ![](./images/case_04_01.png) ## Programming --- ### Program annotation ![](./images/case_04_02.png) ### Programming Links: [https://makecode.microbit.org/_YkJR6g4wpbqE](https://makecode.microbit.org/_YkJR6g4wpbqE) You can also download it directly below:
## Result --- * While the Soil Moisture value is below the setting value, the basic:bit plays the music and the micro:bit changes the icon on its screen. ## Exploration --- * How to programme to make the basicLbit change the music itself whit defferent soil moisture value being detected and the micro:bit change the icon on its screen. ## FAQ --- ## Relevant Files ---