In this project we’ll be creating a light alarm. As it may be obvious from the name, this alarm triggers when there’s a source of light directed at it.
What you’ll need for this to work is:
- Arduino Uno
- 10 breadboard wires
- 2 LEDs
- 3 resistors – 220 Ω
In this tutorial we will use one magnetic – contact door sw / sensor and a buzzer for making a “noise” when a door is opened. Normally the reed is ‘open’ (no connection between the two wires). The other half is a magnet. When the magnet is less than 13mm (0.5″) away, the reed switch closes.
In this tutorial we will use the Adafruit TSL2561 sensor to measure LUX with Arduino.
The TSL2561 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of light situations. Compared to low cost CdS cells, this sensor is more precise, allowing for exact lux calculations and can be configured for different gain/timing ranges to detect light ranges from up to 0.1 – 40,000+ Lux on the fly.
In this tutorial we will use one strip with 8 RGB LEDs with the Arduino uno board. We will use the Adafruit’s NeoPixel library to change the color of each led.
Let’s get started!
What you will need
For this project you will need:
In this tutorial we will use one soil hygrometer module to measure soil moisture of a pot.
The module can give us a digital signal when the soil need watering and this output can be adjusted by the potentiometer. Or it can give us an analog signal of current soil moisture!