I always wanted to have a way to easily check the temperature of the water in my fish tank.
Using 2-3 LEDs for low/normal/high temperature seems too dull to me so I decided to use an RGB LED strip with a waterproof temperature sensor (No the LEDs will not be inside the water. Their light will not reach my fish - I love them too much to treat them like that)
Check here for source code and more comments:
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Project Parts
For the project you will need:
- 1 x Linkit ONE
- 1 x RGB LED Strip as long as you need
- 3 x MOSFET (IRLZ44N)
- 3 x 10kΩ 1/4W resistors
- 1 x waterproof DS18B20
- 1 x 4.7kΩ 1/4W resistor
- 12V power supply - its power depends on the length of the LED strip - please calculate in advance
- Linkit ONE battery or a 12V to 5V buck down converter - a USB car charger is fine
Step 2: Wiring
Follow the attached fritzing file.
Please mind that because RGB already needs red colour for the RED channel the +12V line is represented with black. Once all wiring is completed, seal Linkit as spills are a very effective way to kill your board.
Step 3: Load the Code
Load the attached code. Please mind that for demo purposes the temperature range is extended to something easier to demonstrate. Please adjust to your fish tank type (usually 25-27°C).
Power up your project and enjoy!