Archives for Projects

Controlling a PIC Microcontroller from a PC Graphical User Interface (GUI)

image-2345
A Graphical User Interface is a man-machine interface device, in which objects to handle are drawn as icons on the screen, so the user can send controls by by a pointing device, usually a mouse or a keyboard. It is always easy and require less skills to operate a device from a visual representations of the workspace (GUI) by simply clicking a mouse or using a keyboard rather than a command line. In this article we are going to design a Graphical User Interface using Microsoft Visual C#. This software could be installed in any computer running windows operating systems. The computer will connect to the microcontroller using an RS232 serial cable. The PIC microcontroller will receive commands from the computer to control devices connected to it such as motors, LEDs etc.

Getting Started with EasyEDA a web-based PCB Design Software

image-2258
EasyEDA is a a great and above all free web based circuit design, simulation and printed circuit boards (PCB) design tool for electronic hobbyists, engineers, teachers, students, makers and enthusiasts . There’s no need to install the software all you need is just open EasyEDA in a web browser. EasyEDA has all the features you expect from traditional electronic design automation (EDA) softwares like OrCAD, Altium, DipTrace among others, this tool easily takes your design from conception through to production.

Digital Thermometer using Arduino and LM35 Temperature Sensor

image-1928
Temperature sensors are very important in many projects especially in temperature logging devices and alarms. In this article we are going to design a digital thermometer using Arduino Uno. This digital thermometer is built around the LM35 which is a precision integrated-circuit temperature sensor whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. Its output changes by 10 mV per °C so there is no need for calibration. It can measure a wide range of temperature from −55 to +150°C

MPLAB® Code Configurator

image-1477
The MPLAB® Code Configurator (MCC) is a user friendly Graphical User Interface (GUI) plug-in tool for MPLAB® X IDE which generates easy to understand C code that is inserted into an MPLAB® X project, based on the settings peripherals configurations and selections made in the Graphical User Interface (GUI). The generated code can be used in any application program. When starting out with a new project using Microchip 8-bit microcontrollers, setup of the configuration and all the peripherals can be time consuming, especially for new projects. The MPLAB® Code Configurator simplifies this down to a series of simple graphical selections from the menus within the MCC.

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

Microchip Libraries for Applications

image-1385
Microchip Libraries for Applications (MLA) is a collection of Microchip firmware libraries, drivers, demo projects, documentation and utilities for different type of applications including USB, Graphic displays, File I/O (Memory cards), TCP IP, Smartphone and many more. Not all firmware libraries and demo projects from Microchip are distributed in this package; rather, this package includes a few specific libraries that tend to be used together. By distributing libraries that are used often together, Microchip can provide example projects that integrate the use of multiple libraries.

Digital Clock using PIC Microcontroller and the DS1307 Real Time Clock – MikroC

image-128
Real Time Clock and Calendar functions are very important in many projects especially in data logging devices where a real time stamp is required in each record. This clock uses the DS1307 which is a low power serial real time clock/calender with full binary coded decimal (BCD) clock/calendar plus 56 bytes of Non Volatile Static RAM. This chip provides year, month, date, hour, minute and second information. The end date of months is automatically adjusted for months fewer than 31 days including leap year compensation up to year 2100. In this article we are going to design a digital clock using the DS1307 RTC with MikroC Pro for PIC compiler

Digital Thermometer – Flowcode

image-59
Temperature sensors are very important in many projects especially in temperature logging devices and alarms. In this article we are going to design a digital thermometer using Flowcode. This digital thermometer is built around the LM35 which is a precision integrated-circuit temperature sensor whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. Its output changes by 10 mV per °C so there is no need for calibration. It can measure a wide range of temperature from −55 to +150°C

GSM Based Temperature Data Logger with PIC Microcontroller – MikroC

image-169
In this project, The ambient Temperature is read every Hour then sent to a specified mobile phone number as SMS Text Messages. When the device is turned on, The GSM module is initialized, then the program goes into an endless loop. The Temperature is read, sent to a specified mobile phone number as an SMS Text Message, then the program wait for one hour before reading the next temperature value. The LM35 Precision Temperature sensor is used to read the ambient Temperature, the Telit GM862-QUAD GSM/GPRS module is used to send the SMS Text Messages. The project uses MikroC Pro for PIC Compiler

SMS Home Alarm System with PIR and GSM – MikroC

image-172
In this project, when a motion sensor (PIR) detects a movement of an intruder, an SMS will be sent to a predefined number which could be you or your security reaction company and if it is not disarmed within 30 seconds, a relay will be triggered to switch ON the siren or any other sound device. When the device is turned on, it needs to be armed by pressing the push button then it will give you one minute to allow you to safely exit your home or sleep without triggering the alarm. After that, the program enters the alarm mode, the program will constantly monitors the input from the PIR. When motion is detected, the device will send an SMS message to a predefined phone number stating: "Alarm!! Intruder Detected in your House!!! Siren will be activated in few seconds.".