A nightlight is a small light fixture, usually electrical, placed for comfort or convenience in dark areas or areas that may become dark at certain times, such as at night or in an emergency. So, we are going to make a night light using micro:bit.
This video will show you how to use the light sensor on micro:bit to make a night light.
This is the hardware connection and the components needed.
Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.