The DHT11 sensor is low-cost Temperature and Humidity sensor that is ideal for hobbyists and prototyping applications. The DHT11 temperature sensor range: 0 – 50°C (±2°C) and DHT11 humidity sensor range: 20-80% (±5%). Its Supply voltage: 3 to 5.5V. DHT11 sensor uses a OneWire protocol. It integrates a thermistor and a capacitive humidity sensor. An integrated ADC converter converts the measured values into a digital signal, which is then output via the OneWire interface.
The photoresistor or LDR (Light Dependent Resistor) is a light-sensitive semiconductor element that changes its resistance value according to the intensity of the light: the higher the light intensity on the sensitive surface of the LDR, the smaller its resistance value becomes.
The 5V Arduino Boards reads and processes analog signals in a voltage range from 0 to 5 volts. The microcontroller of the Arduino board has an internal Analog-to-digital converter (ADC) for processing the analog input signals. The Arduino Uno, for instance, has six analog channels, in which six analog voltages (i.e. sensors) can be processed in parallel. The ports available for this purpose are labeled A0 to A5 on the Arduino Uno
Arduino digital pins know only two states: HIGH voltage (1’s) and LOW voltage (0’s), where 1 corresponds to a voltage of 5 volts and 0 to a voltage of 0 volts. The signals to be read in at the digital inputs come from other digital circuits such as push-button or limit switch, or sensors with digital outputs.
Test Arduino code The testing of the software and hardware is carried out in several steps. During code programming, the you can check the syntax errors using the compiler directly in the Arduino IDE (using Verify button). However, this syntax error check does not give any indication of incorrect structuring or sequence of the program. Testing the correct sequence of… Read More »Arduino Testing
still values are passed, which are processed then within the function. These values are called “parameters”. After execution of the function, which can be a calculation, a conversion or a signal output to an output port, this “small program” is executed and the main program, which called the function, is continued.
Arduino Variables In programming, we name the values that are stored for further processing with a single word called a variable. The value of a variable can change continuously (during runtime). The variable name should be chosen in such a way that it is easily readable and understandable within the program. In addition, a variable also has a data type… Read More »Arduino Datatypes and Variables
The code that runs on Arduino is usually called “Sketch”. Getting started with Arduino programming is quite easy because the structure of the Sketches is clear. The Arduino programming language is derived from C++ programming. You only need a few lines of code for your first simple projects.