Tag archives for Relay

Automatic Temperature Control System using PIC Microcontroller – XC8

image-114
An automatic temperature control system has the ability to monitor and control the temperature of a specified space without human intervention. This project uses a PIC microcontroller to automatically control the temperature of an area. This area could be a small plant, a house or any place or device that require a controlled temperature like an incubator (egg) for example. The desired temperature setting is entered using a keypad. The temperature of the area is measured using an analog temperature sensor. The microcontroller reads the temperature every 10 s and compares it with the desired value. If the desired value is higher than the measured value, then the heater is turned ON, if on the other hand the measured value is higher than the desired value, then the fan is switched ON. An LCD display shows the measured temperature continuously. The project is designed using MPLAB XC8 Compiler

Web-Based Control and Monitoring with PIC Microcontroller – MikroC

image-175
Ethernet is the leading wired standard for networking as it enables to connect a very large number of computers, microcontrollers and other computer-based equipment to one another. In this project we are going to learn how to control any device like an LED, a relay, a light bulb, a motor and so on connected to a PIC Microcontroller from a remote location using just a web browser. An operator can use a computer, tablet or even a cellphone to control a device at a remote location. With the help of a router connected to the internet, this device can be controlled anywhere from the world in real time. Connecting to a Microcontroller using a web browser is the easiest and reliable method of establishing connectivity and above all there is no need to develop a special Graphical User Interface software on the PC or cellphone for that matter as all PCs' operating systems already have a built-in web browser or one can download one of the free other web browsers like Google chrome or Mozilla firefox for example.

Interfacing a Relay with PIC Microcontroller – XC8

image-254
A relay is an electromagnetic switch which is used to switch High Voltage/Current using Low power circuits. Relays isolate as well low power circuits from high power circuits, this is a good feature especially for safety reasons a section of the circuit with high dangerous voltage/current could be isolated from the user. When a low voltage is applied to the relay (coil wounded on a soft iron core), this coil becomes a magnet which in turns energizes the soft iron core which closes or open the high voltage/current contacts of the relay. A relay can be used to switch higher power devices such as motors, light bulbs solenoids etc. In this article we are going to learn how to interface a relay to a PIC Microcontroller, we will learn as well how to control devices connected to the relay using MPLAB XC8 compiler.

Microcontroller Interfacing – Basics

image-262
Microcontrollers have become very useful in embedded design as they can easily communicate with other devices, such as sensors, switches, LCD displays, keypads, motors and even other microcontrollers. A microcontroller is basically used as the brain or intelligent processing unit to control other devices connected (interfaced) to it in embedded systems just like a PLC in industrial automation. To interface a device to a microcontroller simply means to Connect a device to a microcontroller. This article will make it easier to anybody with very limited experience in electronics to learn how to interface commonly used devices like an LED, a switch, a transistor, a relay, a display, a keypad, a buzzer and so on to a PIC microcontroller.

Interfacing a Relay with PIC Microcontroller – MikroC

image-321
A relay is an electromagnetic switch which is used to switch High Voltage/Current using Low power circuits. Relays isolate as well low power circuits from high power circuits, this is a good feature especially for safety reasons a section of the circuit with high dangerous voltage/current could be isolated from the user. When a low voltage is applied to the relay (coil wounded on a soft iron core), this coil becomes a magnet which in turns energizes the soft iron core which closes or open the high voltage/current contacts of the relay. A relay can be used to switch higher power devices such as motors, light bulbs solenoids etc. In this article we are going to learn how to interface a relay to a PIC Microcontroller, we will learn as well how to control devices connected to the relay using MikroC compiler.