Không có sản phẩm trong giỏ hàng!
How to Make a Light-Following Sunflower Using micro:bit
- Abdulrahman Alhamed
- 27 Jul 2022
- 803
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
By following the diagram above:
- Connect the servo motor to the first servo port
Code
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
Upon completing the project successfully, the servo motor will rotate based on the light level in the surrounding.