The DS18B20 is a simple and inexpensive temperature sensor. The sensor operates by an OneWire system, which needs, besides the connections for ground and the supply voltage, only one wire to read the temperature values. By this bus system, it is possible to run multiple sensors which is also described in this tutorial.
Today we build a spirit level with the help of the acceleration sensor ADXL345, an Arduino, a TFT-Display (HY-1.8 SPI) und some other parts.
Today we tinker us a driver for RGB LED strips using an Arduino. In addition, we use optocouplers to separtae our Arduino from the control unit with the 3 MOSFETs, which is not absolutely essential, but brings some advantages to the circuit.
To simplify dealing with multiple RGB strips or individual RGB LEDs I have written a small RGB library. This includes functions for direct set colors in RGB or HSV color model, and animation functionality of color transitions. The library is in a beta phase, is constantly evolving, but can already be used with absolutely NO WARRANTY.
In this tutorial we use our Arduino to show an image slideshow on a 1.8 inch tft module with SD card support (HY-1.8 SPI). We will change the size and the format of the images and copy them to the SD card. After that the Arduino loads them from the card and shows them on the display.
In this simple circuit, we use a small BH1750FVI sensor on a breakout board and an Arduino to measure the illuminance in lux. Besides the application to measure the illumination of objects in the photography, you can – with an extension of this circuit – also easily make an adapted illumination of rooms or gardens. It is also possible to realize an automatic brightness control for displays.
In the following article we extend the Tiny RTC module with a DS18B20 temperature sensor, which either already exists on the board or we simply add by soldering. This article is an extension of: Time and calendar functions with a real time clock module based on the DS1307 and an Arduino.