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.
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.
The MPX4115A is an atmospheric pressure sensor powered by 5V and delivers and output from ~0.25V to ~4.75V based on the pressure detected at room temperature (25°C). The device provides a linear output based on pressure. It can measure pressures between 15kPa and 115kPa. Note that 1 atmosphere of pressure at sea level is equal to 101,325 Pa or 101 kPa. This sensor is ideal for microcontroller based barometer, altimeter, data logger or weather station applications. In this article, we're gonna create a simple Digital Barometer using mikroC Pro for PIC compiler.
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 MikroC Pro for PIC compiler. 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
For many hobbyists and students interested in programming PIC Microcontrollers, the high cost of a programmer can really be a huge obstacle. The programmer described in this article is very easy and cheap to build. It can cost you less than R 100 ($10) to build it and all the software used to program the PIC luckily are also free. You can use MPLAB X IDE with XC8, XC16 or XC32 compilers from Microchip Technology Inc that can be used to write and debug code for a PIC Microcontroller. You can download a free copy of MPLAB® X IDE and XC8 Compiler from Microchip website. They are also other compilers that you can use depending on your preference, like Mikroelekronika compilers where you can download a free 2Kb limited demo compiler on their website.