Skip to main content

Posts

How to use SPI Debugger

  SPI Debugger Hi Friends, in this post, we will discuss how to use SPI Debugger available in proteus for serial peripheral interface (SPI) which is a built-in feature of PIC microcontroller to communicate and data exchange between PIC and other devices. SPI Debugger Introduction to SPI Guys, SPI can be considered as a programmable shift  register, The SPI module is a synchronous serial I/O port that shifts a serial bit stream of variable length and data rate between the PIC and other peripheral devices. Here “synchronous” means that the data transmission is synchronized to a clock signal. To avoid further delay, let's see some important connections and different configurations to effectively use SPI Debugger. How to use SPI Debugger in MASTER & SLAVE configuration Select the virtual instrument and from the instrument, list selects "SPI Debugger". SPI Debugger Insert two SPI Debugger on the working area, select any one of them,

How to Select Microcontroller using MAPS

  MICROCHIP ADVANCED PART SELECTOR Hi, Welcome to PIC microcontroller tutorial, today I will be taking you through Microchip advance part selector MAPS to learn how to find your required microcontroller for your project. Why we need microchip Maps ? if you want to search your Microchip's product with electrical characteristics like which microcontroller that tolerate a 5V  or 3.3 V supply ,check availability of product and much more. Introduction to MAPS Lets introduce the interface and navigation structure of MAPS and see how does MAPS help you as a customer to select microcontroller. However ,it gives an image of modern software with common action available for all microchip products.  When you land MAPS home page, you can see that MAPS is divided in to sections and it is very easy to identify and understand where are the common parameter that is required to select device.  Microchip Advance part Selector On the left hand side ther

Temperature measurement using PIC18F4580 microcontroller

Temperature measurement using PIC18F4580 microcontroller Temperature measurement  Hi every one this is me Owais khan from microcontrollerpicavr.blogspot.com. During Post you will learn the way how to design an Embedded system to measure temperature using PIC18F4580,we know that in an electronic instrumentation system, it consist of number of components which are doing the measurements and giving their output as the results of the measurements. Temperature, light intensity, flow and speed are the examples of physical parameters that can be converted in to an electrical signals using Transducers. Here, electrical signal means the resulted information generated from transducer in the form of resistance, current, voltage or capacitance.                                                       There are many temperature sensor available in market for example TC74,LM35 and many more. In this Post we will consider LM35 Temperature Sensor because LM35

Simple Electronic Lock Using PIC18

Lack of proper home security is just is dangerous driving your car among your kids without a seat belt.  The world is cruel and offers a lot of risk including home invasion. In fact, recent statistics indicate 500 break-ins in every passing second, there are certain things you can do to secure your home, such as installing a digital lock system. Today, I am presenting  Digital Electronic Door Lock developed with PIC Microcontroller and simulated in Proteus. When I was writing its software, the first thing that came to my mind is the password which is the only key to open the lock. The owner of the house must know the correct password otherwise lock will ask for code again. What if someone keeps on trying to attempt the wrong code? Here we need an alarming situation, in that case, the lock will start a buzzer. ☺     It’s fairly clear from the above figure that I have used a PIC Microcontroller as the brain of the system.4x4 keypad, which is used to take inpu

keypad Interfacing with PIC18 microcontroller

Keypad Interfacing with PIC18 microcontroller KEYPAD INTERFACING Keypad and LCDs are the most widely used input/output devices and a  basic understanding of them is essential. In this Post, we first discuss keypad  fundamentals, along with key press detection and key identification mechanisms. Then we show how a keypad is interfaced to a PIC18. Interfacing the keypad to the PIC18 At lowest level, keypads are arranged in a matrix of rows and columns, PIC controller uses two 8 bit ports to entertain 8 x 8 key matrix to connect it.   Connection establish between row and column whenever a key is pressed, in any other case connection considered to be open between row and column.  Generally, In personal computers keyboards, there is also a  microcontroller that can handle hardware and software interfacing of the keyboard.   In a simple way ,Read only memory of microcontroller utilized to store the code to scan the keys constantly and detect which rows and co