Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Archives for July, 2014

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

Reading and Writing to PIC Internal EEPROM – XC8

image-247
There are three types of memories in a PIC Microcontroller, The Flash Program Memory, The Data Memory (RAM) and The EEPROM Data Memory. The code that is written by the user to perform a specific task by the microcontroller is stored in the Flash. Flash memory makes it possible to program a microcontroller many times because it is re-writable, this memory can be written into and erased many times. RAM Data Memory is used for storing data temporarily during program execution and it is volatile. The third memory is EEPROM memory which is an abbreviation for Electrically Erasable Programmable Read Only Memory. EEPROM memory can be read and write electrically, can be accessed through program. It is a non volatile memory but has slower response time. EEPROM memory can be used to store data which should not be loss during power loss or CPU reset. such data could be like device parameters or settings which could be entered once and stored in the EEPROM. In this article, we will learn how to read or write data to the microcontroller built-in EEPROM.
');

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.

PIC Microcontroller Interrupts – XC8

image-244
Interrupts are one of the most powerful features of PIC Microcontrollers, interrupts make it possible to create applications that can respond to external stimulus in real time. An interrupt is basically an event that requires the microcontroller to stop normal program execution and then to jump to execute a program code related to the event causing the interrupt. An interrupt requires immediate attention, only once the microcontroller will finish executing the interrupt code, then it can go back to continue with the main program. The interrupt code is called Interrupt Service Routine (ISR) or Interrupt Handler. In this article we're gonna learn how to implement Interrupts using Interrupt registers and with MPLAB Code Configurator.

The Difference between Millionaires and You

image-208
What’s the difference between the 5% of the people who get extremely, embarrassingly rich and every average guys who are absorbed into the establishment and busy chasing the 9 to 5 job. The guys who are super rich, the guys whose cellphone numbers do not appear in your phone and the ones who don’t take your calls at all think differently. Please write that down. Do you really think and believe that you can be a success? Let’s look at these few eight things that the rich value more than you do.

Automatic Temperature Control System using PIC Microcontroller – MikroC

image-178
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 continuously and compares it with the desired value. If the desired value is higher than the measured value, then the heater is turned ON to heat the area. If on the other hand the measured value is higher than the desired value, then the fan is switched ON to cool off the area until the required temperature is reached. If the temperature reaches a certain critical value 40⁰C or higher, the buzzer will sound continuously and an LED will blink until the temperature deceases below 40⁰C. An LCD display shows the measured temperature continuously. This project can be used as a base for Final Year Project For Engineering Students

Digital Clock using PIC Microcontroller Interrupt – XC8

image-155
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 Timer 1 to implement software real time and clock functions. A Real Time clock (Digital Clock) can be made easily by using Timer 1 of a PIC Microcontroller. The Timer1 module exists in most of the series of PIC, this module can be used to easily implement a real-time clock. Instead of an external real-time clock device like a DS1307, an inexpensive 32.768 kHz watch crystal and two 33 pF capacitors are used to complete the circuit. In this application, Timer 1 is clocked by an external crystal (32.768 kHz) connected across RC0 (T1OSO) and RC1 (T1OSI).