Tag archives for MikroC

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
');

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.".

Interfacing GSM/GPRS Modem with PIC Microcontroller – MikroC

image-316
A GSM modem is a wireless modem that works with a GSM wireless network. GSM stands for Global System for Mobile communications, this architecture is used for mobile communication in most of the countries in the world. A wireless modem acts basically like the traditional dial-up modem, the main difference is that a dial-up modem sends and receives data through a fixed telephone line while a wireless modem sends and receives data through radio waves. Besides the dial-up connection, GSM modem can also be used for sending and receiving SMS which is also one of the key features of GSM modem. A GSM modem can be used in many applications including: Remote System Monitoring, Remote Controlling System, Prepaid Electricity, Home Alarm System, Home Automation, Data loggers, Vehicle tracking, etc. In this article we are going to learn the basics commands to control a GSM modem with a PIC Microcontroller, including sending and receiving an SMS using MikroC Pro for PIC.

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 ENC28J60 Ethernet Controller with PIC Microcontroller – MikroC

image-318
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. With just a network switch, many different devices can easily communicate with one another with Ethernet, allowing different devices and equipment to be accessed remotely and this also provides a cost-effective and reliable means of remote control and monitoring, home automation, Internet of Things applications and many more. For microcontrollers which don't have a built-in Ethernet peripheral, The ENC28J60 serial Ethernet chip can easily be used by any microcontroller with an SPI interface to provide Ethernet capability to the application.

Getting Started with ENC28J60 Ethernet Controller with Microcontrollers

image-2104
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. With just a network switch, many different devices can easily communicate with one another with Ethernet, allowing different devices and equipment to be accessed remotely and this also provides a cost-effective and reliable means of remote control and monitoring, home automation, Internet of Things applications and many more. If you are using a microcontroller which does not have an integrated Ethernet peripheral, Microchip offers a serial Ethernet chip that can easily be used by any microcontroller with an SPI interface to provide Ethernet capability to the application. many compilers offer peripheral libraries to get you started in minutes.

Ethernet Communication with PIC Microcontroller

image-252
In this series of PIC Microcontroller Communication, after learning on how PIC Microcontroller Communication with I2C, SPI, RS232 and USB can be achieved, in this article we are going to discuss the concepts of Ethernet Communication with PIC Microcontroller. When it comes to communication involving wires, 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 each other. With just a switch, many different devices can easily communicate with one another with Ethernet, allowing devices and equipment to be accessed remotely and provides a cost-effective and reliable means of monitoring or controlling such equipment, for example a person could monitor several vending machines located in different places which can be several kilometers apart from the PC at the conform of your desk. A simple online interface to the vending machines can allow you to monitor everything from the internet.

Interfacing SD Card (FAT32 System) With PIC Microcontroller – MikroC

image-1417
A memory card (also called a flash memory card) is a solid-state electronic data storage device used for storing digital information. They are commonly used in many electronic devices, including digital cameras, mobile phones, laptop computers, MP3 players and they are also widely used in data logging devices. The FAT32 library can be used for SD cards with more than 2GB of size, it lifts many constraints imposed by FAT16 file system. The key benefits is more addressable space(>2GB) and less wasted space due to smaller cluster size. This library is designed to simplify handling of the underlying hardware (SD/MMC cards), but also to be hardware independent. This library should work on any microcontroller with more than 1.5kB of RAM
1 2 5