Archives for MikroC Projects
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.
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. In this article we are going to learn how to draw an electronic circuit for free using EasyEDA. With a quick google search, type the keyword: "Draw circuit", Select "EasyEDA - Online PCB design & circuit simulator"
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.
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
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
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.".
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.
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
An SD Card can be used to log data continuously over time for various purposes, this project shows the design of a temperature data logger with menu control system. The ambient temperature is read every minute and stored in a file on an SD card. When the program starts, the user is given three options: Saving the temperature readings to a new file on an SD card, Appending the temperature readings to an existing file or Sending all the saved file contents to a PC The user will have to choose one option and then press enter to start logging data. This menu only accessible once when the program starts, if the user wants to choose another option, he/she has to restart the program by pressing the reset button.