Arduino project 60- Arduino based thermostat and relay

In this tutorial, we will build a thermostat to independently activate and deactivate any domestic device depending on the temperature.

We will be able to display the temperature and the activation status of the device connected to the relay on the 16×2 LCD display. Moreover, on the sketch we can modify the temperature, detected by the LM35 sensor, setting the desired value of switching on and off of the device above a certain threshold.


I2C Sketch

Normal 16×2 LCD

Arduino Project 59- Digital voltmeter measuring from 0 to 30V

In this tutorial,  we will build a circuit with Arduino Uno that can read voltages from 0 to 30V DC and display them on the 16×2 display, the ideal project to build our DIY voltmeter.

Thanks to the analogue inputs, that can be used to measure voltages from 0 to 5V. For higher values ​​we will use a voltage divider formed by 2 resistors in series, and we will measure the voltage of the central node connecting it to the analog input A0.

Arduino converts the voltage detected on the analog Pin and converts it into digital format so that it can be processed by the microcontroller.
All that remains is to create the voltage divider with the two resistors and connect the display following the diagram below.

Sketch for I2C LCD:

16×2 LCD sketch

Arduino Project 58- Infrared controlled robot car

In this project, we will build an infrared remote-controlled car so that it can be controlled with any type of infrared remote control. By modifying the design of the robot avoids obstacles we will insert an infrared receiver TSOP4838 or VS1838B or a TSOP 1738 (they only change the pin configuration) instead of the ultrasonic sensor.

As we will see later it is very simple to make, and with the same program, you can add lights or a buzzer to simulate a horn.

You can buy all the components on eBay. You can this type of robot chassis:

Connect all the parts looking at the schematic below:
I advise you to check the datasheet of your IR receiver before powering it, below is the connection of the TSOP1738 and VS 1838B pins respectively.
1838BTSOP 1738
Once the connection has been made, we load the sketch that will have the function both to read the data sent by the remote control and to make the robot work itself when we press any button and then store it on the sketch.
NOTE: It requires IRremote.h library. The library can be found at the bottom of the page along with the other files. Download the latest version of the software on arduino.cc and select the program with the Arduino IDE on our tab. 
Now we open the serial monitor, aim the remote control at the infrared receiver and press the buttons we wish to use to control the car, taking care to transcribe the codes of each key. It takes 4 “Forward”, “Right”, “Left” and “Stop”.
After transcribing the codes, we will now insert them in the sketch, as in the photo.
In my case the code of the NEXT button was D7E84B1B by inserting it in: if (results.value == 0xD7E84B1B) {and so I did with the other buttons.
The sketch:

Documents:

  1. IRremote.h library
  2. Remote tester project 1
  3. Remote tester project 2
  4. Remote tester using Arduino
  5. Arduino project for PWM.

Arduino project 57- Obstacle avoiding robot using Arduino

How many times have we wished to have a robot that goes around the house avoiding obstacles? Creating this project with Arduino Uno, an HC-SR04 module and two wheels will take us to be a child.

The robot is able to avoid obstacles, thanks to the ultrasonic range finder sensor that senses obstacle coming on its way. The robot is equipped with two motors. As soon as it perceives an obstacle in its path, it blocks one of the two wheels, thus allowing to turn around and avoid bumping.

There are several robot chassis available on Ebay. You can buy something similar to shown below:
First, we mount the circuit like the following diagram, if you do not use the BC547B transistors and want to use other types of transistors I suggest you take a look at the datasheet of the component you are going to use. You should compare the details and use a suitable one.
The wiring diagram:
After having assembled the components on the breadboard and connected everything, all that remains is to insert the sketch on Arduino through the IDE updated to the latest version. The code is as follows:

Arduino Project 51- RGB LED Control

This is a project that we have done several times in the past. Serial communication between Arduino and Bluetooth is very easy. There are several apps available online that you can use to control Arduino using smart phone app and also send data from Arduino to your smart phone. In this particular experiment, we will send data from phone to Arduino and control the RGB LED. We are using HC-05 for this project.

You can use this app for controlling the RGB LED.

Arduino Project 35-Flex Sensor with servo

In this tutorial, we will learn how to move a servo through the values ​​sent by a flex sensor.

We can therefore take a step forward in creating robotic joints, such as moving arm hands and many other things.

Project Arduino 29-ARDUINO SIREN ALARM

In this tutorial, we will learn to make a buzzer sound like an ambulance siren and at the same time we will flash an LED. We will learn to change the frequency of the sound to make a two-tone sound. If you want you can insert a potentiometer to increase or decrease the volume. (more…)

2 Channels Relay Test Using Arduino Mega and Ethernet Shield

I found this project on Fritzing.org. This is just a simple project for testing a 2 channel relay using an Ethernet shield over an Arduino Mega.

In place of LEDs, you can connect 220V AC lamps. If you have not used relay before, check out this article. 

The Arduino sketch has been compiled and there is no error in the code.

Wiring diagram

Arduino Sketch- It has been compiled.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Arduino Project 19- Moisture sensor project

This small module helps you measure moisture of soil. It is a low cost sensor that you can purchase from Ebay.

To modify the sensitivity of the soil moisture sensor, just rotate the potentiometer on the module.

Arduino Project 14-Arduino Rain Sensor

In this tutorial will use a  rain sensor and we will turn on an LED if it is raining. In this case we used an LED but a buzzer can be also be used (see previous tutorials).

This sketch will allow us to send a number on the serial port which is the value of the amount of rain detected by the sensor.

(more…)

Search for products

Back to Top
Product has been added to your cart