Skip to content

Projects

#15 Iot Vase With micro:bit

by PicoBricks Team 23 May 2025

Flowers thrive when provided with the right conditions. Especially for the flowers we nurture at home, providing the correct conditions can be a bit challenging, making their care more complex. The optimal conditions for flowers include values such as the brightness of the environment, soil moisture, and the temperature and humidity of the surroundings. Particularly, some flowers we grow may prefer sunlight, while for others, sunlight can have the opposite effect. Similarly, while some flowers need frequent watering, others may react negatively when too much water is poured. 

In this way, we can provide various examples based on different factors and types of flowers. To overcome such negative situations, we occasionally change the locations of flowers or adjust our watering frequency based on the type of flower. However, these measures may not be applicable when we are not at home. In such situations, IoT devices come into play. Through IoT (Internet of Things), as we learned and experienced in the "IoT Control Panel" project, we can communicate our devices with each other. Thanks to advancing IoT technologies, we can monitor the condition of our flower instantly by connecting the vase we use at home to our phone. The values we will monitor can vary based on the type and number of sensors attached to our vase.

We will communicate any vase we use at home with our smart devices by using PicoBricks modules and ThingSpeak.

In this project, we will obtain some data from the PicoBricks modules, specifically the Temperature & Humidity module, the LDR module, and the soil moisture sensor module connected to the P1-P2 connector. We will transfer these data to the "IoT Vase" channel that we created on ThingSpeak. At the same time, we will display these transferred data on the PicoBricks OLED screen. Additionally, we will ensure the watering of the plant by running the water pump connected to the motor driver based on the values obtained from the soil moisture sensor. 

Note: If you want, you can manually stop the water pump by pressing the A button on the Micro:bit. 

Connection Diagram:

You can prepare this project by breaking PicoBricks modules at suitable points.



Project Images:

Usage of ThingSpeak

  1. Go to the  https://thingspeak.com/ address. 

  1. Click the “Get Started For Free” button.

  1. If you have a MathWorks account for ThingSpeak, you can log in by entering your email and password. If you do not have an account, you can create a new one by clicking the 'Create one' button.

  1. After logging into your account, click on the 'Channels' button.

 

  1. Click the “New Channel” button.

  1. Fill in the information in the window that opens as follows, and click the 'Save Channel' button.

  1. We created the channel required to print the data obtained from PicoBricks modules. We will use the following API keys in the code blocks we will create in MakeCode to write the data to the channel.

MakeCode Code of The Project

Prev Post
Next Post

Thanks for subscribing!

This email has been registered!

Shop the look
Choose Options

Picobricks
Sign Up for exclusive updates, new arrivals & insider only discounts

Edit Option

Back In Stock Notification

Compare

Product SKURatingDescription Collection Availability Product Type Other Details
this is just a warning
Login
Shopping Cart
0 items
Same Day Shipping No Extra Costs
Easy Returns Guarantee Return with Ease
Secure Checkout Secure Payment