Your shopping cart is empty!
![How to Make a Light-Following Sunflower Using micro:bit How to Make a Light-Following Sunflower Using micro:bit](https://static.cytron.io/image/cache/tutorial/how-to-make-a-light-following-sunflower-using-microbit/Thumbnail-1-800x320.png)
How to Make a Light-Following Sunflower Using micro:bit
- Abdulrahman Alhamed
- 27 Jul 2022
- 1028
Sunflowers face the rising sun because the morning warmth attracts more bees and also helps the plants reproduce more efficiently. Let's make a sunflower that reacts to the light level in the surrounding using micro:bit.
Video Tutorial
Components Required
Connection
![sunflower circuit 50](https://static.cytron.io/image/tutorial/how-to-make-a-light-following-sunflower-using-microbit/Sunflower_Circuit_50.jpg)
By following the diagram above:
- Connect the servo motor to the first servo port
Code
![code pic](https://static.cytron.io/image/tutorial/how-to-make-a-light-following-sunflower-using-microbit/code_pic-1024x263.png)
Connect your REKA:BIT to your device and open MakeCode editor to start programming.
- Add “REKABIT” extension and follow the code block in the picture above
- After completing the code, download it on your micro:bit
You can also view and edit the code by clicking here!
Project Complete
![demo](https://static.cytron.io/image/tutorial/how-to-make-a-light-following-sunflower-using-microbit/demo.png)
Upon completing the project successfully, the servo motor will rotate based on the light level in the surrounding.
Related Products
SG90 Micro Servo
S$2.90 S$2.90
x 1 unit(s)
REKA:BIT (with micro:bit V2 included) - Simplif...
S$50.71 S$56.07 S$50.71
x 1 unit(s)
SG90 Micro Servo
Not Available
x 1 unit(s)