Microchip Technology, Inc.

This application note describes how the TC7106/A/7107 3-1/2 digit analog-to-digital converters with liquid crystal display drive can be powered from ±5V power supplies using low cost regulators such...
(View Full Article)

Portability is and will continue to be one of the key features driving the design and development of new electronic equipment. Existing products such as palmtop computers, cellular phones and data...
(View Full Article)

A 15kg weighing scale was designed using Microchip's TC500A Analog Processor and the TC520 16-bit Controller. The scale is required to resolve down to 1/8 gram and correct to within 61/2 gram. This...
(View Full Article)

Microchip Technology recently introduced a new family of Microwire serial EEPROMs with smaller packaging, faster write times, and faster bus speeds. In addition to this migration document, we...
(View Full Article)

The purpose of this document is to inform current or potential customers about changes made to Microchip's Microwire product line. More specifically, this document will focus on the 8K and 16K devices...
(View Full Article)

This application note demonstrates a simple bootloader implementation for the PIC18F families of microcontrollers with a CAN module. The goals of this implementation are to stress maximum performance...
(View Full Article)

Many network protocols are described using the seven layer Open System Interconnection (OSI) model, as shown in Figure 1. The Controller Area Network (CAN) protocol defines the Data Link Layer and...
(View Full Article)

CANopen is a field bus protocol based on the Controller Area Network (CAN). As the name implies, it is a open network standard accepted throughout the world. While created as a field bus protocol for...
(View Full Article)

The purpose of this application note is to design a clock while multiplexing the features as much as possible, allowing the circuit to use the 18-pin PIC16C54. Other devices in the Microchip line...
(View Full Article)

Comparators are used for many things, but many people want to build analog-to-digital converters using a comparator. Comparators are one basic building block of all ADC architectures. A PICmicro®...
(View Full Article)

The PIC16C5X/XX microcontrollers from Microchip Technology Inc., provide significant execution speed and code-compaction improvement over any other 8-bit microcontroller in its price range. The...
(View Full Article)

AN1138 A Digital Constant Current Power LED Driver drive current for this type of LED would be 350 mA and Author: Stephen Bowling a typical forward voltage would be 3.5V. Secondly, we Microchip...
(View Full Article)

Among the many features built into Microchip's Enhanced FLASH Microcontroller devices is the capability of the program memory to self-program. This very useful feature has been deliberately included...
(View Full Article)

With the introduction of smaller surface mount (SMT) packages, it is becoming increasingly important to know their maximum power handling capability in specific applications. The power dissipation...
(View Full Article)

This application note describes the construction of a low cost serial programmer which uses a PC with a parallel (Centronix printer) port to control a PIC16C84. This programmer has the capability of...
(View Full Article)

Ever dream of having a Real-Time Kernel for the PIC16CXXX family of microcontrollers? Or ever wonder what Multitasking or Threads are all about? Then this article is for you. We will explore how to...
(View Full Article)

This application note describes the design, development and implementation of a smart, low cost, stand alone Controller Area Network (CAN) node. It combines the Microchip 8-pin PIC12C672...
(View Full Article)

The recent interest in intelligent power supplies has driven the development of a new class of microcontroller friendly PWM generators. These PWM generators are the mixed signal control blocks for...
(View Full Article)

AC induction motors are the most common motors used in industrial motion control systems, as well as in main powered home appliances. Simple and rugged design, low-cost, low maintenance and direct...
(View Full Article)

In most power electronic applications, the power input is in the form of a 50 Hz or 60 Hz sine-wave AC voltage provided by the electric utility, which is then converted to a DC voltage. Increasingly,...
(View Full Article)

The PIC17C4X high end microcontroller family, offered by Microchip, has many features which make it one of the fastest 8-bit microcontrollers in the industry. However one feature which is missing is...
(View Full Article)

One of the most widely used block cipher algorithms is the Data Encryption Standard (DES), adopted in 1977 by the American National Standards Institute (ANSI). After more than twenty years of use with...
(View Full Article)

Fuzzy logic control can be used to implement a wide variety of intelligent functions including everything from consumer electronic goods and household appliances to auto electronics, process control,...
(View Full Article)

Communication network systems are rapidly growing in size and complexity. These systems have many high speed integrated circuits with critical operating parameters and must provide extremely reliable...
(View Full Article)

he MCP2510 is a low pincount stand-alone CAN controller which interfaces to a microcontroller via a standard Serial Peripheral Interface (SPI?). The feature set of the MCP2510 makes it very versatile....
(View Full Article)

Less than six years ago, thermal cooling in the electronics arena was mainly an issue for highperformance, high-end applications, such as, military, aerospace and large-scale industrial and medical...
(View Full Article)

This application note demonstrates how you use the dsPIC30F MCU to control an AC Induction Motor (ACIM). The discussion is based on the dsPICDEM MC motor Control Development System, but you can use...
(View Full Article)

Remote control via RF or IR is popular for many applications, including vehicle alarms and automatic garage doors. Conventional remote control systems are based on unidirectional transmission and have...
(View Full Article)

Power consumption has always been an important consideration for the design of any electrical system. This includes the embedded systems at the heart of countless modern devices and the...
(View Full Article)

This Technical Brief demonstrates the translation of a game port game pad to a USB game pad using the PIC16C765, Microchip's low-speed USB PICmicro® microcontroller (MCU). The purpose of this...
(View Full Article)

Simple Network Management Protocol (SNMP) is an Internet protocol that was originally designed to manage different network devices, such as file servers, hubs, routers and so on. It can also be used...
(View Full Article)

Simple Network Management Protocol (SNMP) is an Internet protocol that was originally designed to manage different network devices, such as file servers, hubs, routers and so on. It can also be used...
(View Full Article)

Simple Network Management Protocol (SNMP) is an Internet protocol that was originally designed to manage different network devices, such as file servers, hubs, routers and so on. It can also be used...
(View Full Article)

AN1106 Power Factor Correction in Power Conversion Applications ® Using the dsPIC DSC The low cost and high performance capabilities of the Author: Vinaya Skanda DSC, combined with a wide variety...
(View Full Article)

AN1162 Sensorless Field Oriented Control (FOC) of an AC Induction Motor (ACIM) operate at a speed that is roughly proportional to the Author: Mihai Cheles input frequency. As you decrease the...
(View Full Article)

Recently, Microchip has introduced a series of new PIC16 and PIC18 PICmicro® microcontrollers that have an on-board Internal RC Oscillator, capable of eight frequencies from 31 kHz to 8 MHz....
(View Full Article)

The purpose of this Application Note is to familiarize engineers with PIC16C78X design considerations, specifically: * Potential noise problems in mixed signal design * Features and performance of the...
(View Full Article)

Analog sensors produce a change in an electrical property to indicate a change in its environment. This change in electrical property needs to be conditioned by an analog circuit before conversion to...
(View Full Article)

This application note describes a method for implementing analog to digital (A/D) conversion on the PIC16C5X series of microcontrollers. The converter requires only five external components and is...
(View Full Article)

Selecting the most suitable A/D Converter (ADC) for your application is based on more than just the precision or bits. Different architectures are available, each exhibiting advantages and...
(View Full Article)

Passive RFID tags utilize an induced antenna coil voltage for operation. This induced AC voltage is rectified to provide a voltage source for the device. As the DC voltage reaches a certain level, the...
(View Full Article)

Analog filters can be found in almost every electronic circuit. Audio systems use them for preamplification, equalization, and tone control. In communication systems, filters are used for tuning in...
(View Full Article)

The purpose of this application note is to introduce a PIC16CXXX based ADB interface which can be used as a basis for the development of custom ADB devices. This application note describes; the...
(View Full Article)

The TC620/TC621are solid-state temperature sensors that are easy to program and interface with control equipment. The TC620 senses the temperature internally, while the TC621 uses an external...
(View Full Article)

Sensing temperature and comparing that temperature to preset limits is the basis for a variety of problems that designers face in system design and process control. Conventional temperature sensing...
(View Full Article)

Many PICmicro microcontroller devices have a builtin USART and it is one of the most commonly used serial interface peripherals. It is also known as the Serial Communications Interface, or SCI. The...
(View Full Article)

This application note describes a technique used to calibrate the internal oscillator on the PIC12F6XX devices. This technique allows the internal oscillator to be calibrated within ± 1%. See the test...
(View Full Article)

The WDT timer is a simple RC timer with a typical time-out period of about 18 ms. This time-out period is dependent on Voltage, Temperature and Silicon process variations. Hence the tolerance on the...
(View Full Article)

The oscillator circuit is one of the most overlooked areas of microprocessor circuit design. Components are usually selected based on the manufacturers tables. If the circuit starts up and works,...
(View Full Article)

The oscillator circuit is one of the most overlooked areas of microprocessor circuit design. Components are usually selected based on the manufacturers tables. If the circuit starts up and works,...
(View Full Article)

The oscillator circuit for almost any microcontroller is a fairly simple design with very few components. Selecting the values for capasitors and resistors from the manufacturer's data books will get...
(View Full Article)

This application note will give designers a method to design their own Phase Lock Loop (PLL) filters for rfPIC transmitters, such as the rfPIC12C509 and the rfHCS362. First the circuit will be briefly...
(View Full Article)

Looking for the optimum non-volatile memory product for your system that requires a small footprint, byte level flexibility, low power, and is highly cost effective? Serial EEPROM technology is one of...
(View Full Article)

Looking for the optimum non-volatile memory product for your system that requires a small footprint, byte level flexibility, low power, and is highly cost effective? Serial EEPROM technology is one of...
(View Full Article)

Single-phase induction motors are extensively used in appliances and industrial controls. The Permanent Split Capacitor (PSC) single-phase induction motor is the simplest and most widely used motor...
(View Full Article)

This technical brief describes how a PICmicro microcontroller can be made to run with bipolar power. The PICmicro microcontroller can even generate its own negative power supply with no software...
(View Full Article)

This technical brief describes how a PICmicro microcontroller can be made to run with bipolar power. The PICmicro microcontroller can even generate its own negative power supply with no software...
(View Full Article)

The Local Interconnect Network (LIN), as described in the LIN v1.2 specification, is a multi-layered system. The levels vary from the physical interface up to the high level application. This...
(View Full Article)

This application note demonstrates the use of a PIC17C756A microcontroller (MCU) in a brush-DC servomotor application. The PIC17CXXX family of micro-controllers makes an excellent choice for...
(View Full Article)

Brushed DC motors are widely used in applications ranging from toys to push-button adjustable car seats. Brushed DC (BDC) motors are inexpensive, easy to drive, and are readily available in all sizes...
(View Full Article)

Brushless Direct Current (BLDC) motors are one of the motor types rapidly gaining popularity. BLDC motors are used in industries such as Appliances, Automotive, Aerospace, Consumer, Medical,...
(View Full Article)

This application note discusses the steps of developing several controllers for brushless motors. We cover sensored, sensorless, open loop, and closed loop design. There is even a controller with...
(View Full Article)

A PICDEM™ MC demo board was used to develop, test and debug the motor control code. The PICDEM MC has a single-phase diode bridge rectifier, converting AC input to DC and a power capacitor bank...
(View Full Article)

The circuit and firmware described in this application note demonstrates a minimal parts count driver/controller for a high-power (1W or greater) LED. The circuit is based on a buck topology switching...
(View Full Article)

This application note presents the design equations, schematics and source code for a 5.5W power LED driver using the PIC16F785 MCU. The application, as shown, can be connected to operate as a...
(View Full Article)

Sensors that use Wheatstone bridge configurations, such as pressure sensors, load cells, or thermistors have a great deal of commonality when it comes to the signal conditioning circuit. This...
(View Full Article)

Sensors that use Wheatstone bridge configurations, such as pressure sensors, load cells, or thermistors have a great deal of commonality when it comes to the signal conditioning circuit. This...
(View Full Article)

Many applications require the microcontroller to calculate a checksum on the program memory to determine if the contents have been corrupted. Until now, the only family of PICmicro ®...
(View Full Article)

This application note analyzes the calibration algorithm from theoretical and numerical approaches. It includes two calibration procedures, including information on setting up lab equipment, board...
(View Full Article)

The CAN bus (Controller Area Network) protocol was designed to be a high-speed, reliable communication protocol for command and control network applications. Microchip offers a complete line of...
(View Full Article)

This application note is an addendum to the information in the previous capacitive touch sensing application notes, found on Microchip's web site. It builds specifically on AN1101, "Introduction to...
(View Full Article)

This application note explains how to use the Microchip Capacitive touch Simulation Tool to customize sensing algorithms to a project's specific needs. It also helps determine the level of algorithm...
(View Full Article)

The PIC16C74 is one of the latest mid-range microcontrollers from Microchip Technology Inc. In this article we will be addressing a few of the new features and peripherals of this new part. The main...
(View Full Article)

This application note describes the Class B Safety Software Library routines that detect the occurrence of Faults in a single channel CPU. These routines have been developed in accordance with the IEC...
(View Full Article)

Typical embedded control applications place demands such as low power consumption, small size, low cost and reduced component count onto the microcontroller. This application note implements a 24-hour...
(View Full Article)

To develop code on a PIC16C52 device, a PIC16C54/JW part can be used. In order to use a PIC16C54/JW device, the following conditions should be followed: 1. A PIC16C54/JW has 512 words (0x1FF) of...
(View Full Article)

This technical brief describes solutions for common I/O pin issues for 8-bit PIC® devices (PIC10, PIC12, PIC16 and PIC18). Whether an I/O is configured as an input or output is determined by its...
(View Full Article)

The MCP41XXX and MCP42XXX family of digital potentiometers allow for daisy chaining of multiple devices on a single SPI? bus. It is possible to communicate to multiple devices using one 3-wire data...
(View Full Article)

The Microchip MTA85XXX family of microcontrollers are multichip modules which contain a PIC16C54A or PIC16C58A microcontroller and a Microchip Technology 24LC01B or 24LC02B EEPROM. This application...
(View Full Article)

The Microchip Technology Inc.?s 24CXX and 85CXX Serial EEPROMs feature a two wire serial interface bus. The bus protocol is I 2 C compatible. Interface to a serial port with I 2 C bus protocol in a...
(View Full Article)

The MCP3221 12-bit A/D Converter (ADC) communicates using a standard 2-wire I2C compatible interface. This application note will cover communications between this device and a PICmicro...
(View Full Article)

The MCP3221 12-bit A/D Converter (ADC) communicates using a standard 2-wire I2C compatible interface. This application note will cover communications between this device and a PICmicro...
(View Full Article)

With the arrival of the PIC18FXX8X family of microcontrollers featuring the Enhanced Control Area Network (ECAN) module, designers can now choose between the original CAN module present in the...
(View Full Article)

Resistor potentiometers can be found in electronic circuits across a wide spectrum of applications. Most typically, they function in a voltage divider configuration in order to execute various types...
(View Full Article)

Light Emitting Diodes, or LED's, are discrete components able to produce light when a current passes through them. Most microcontroller designs use one or more LED's. This application highlights the...
(View Full Article)

This application note describes how to connect a PICmicro microcontroller device to a standard analog telephone line in order to send and receive single and multiple frequency signals through...
(View Full Article)

The low on-resistance and high current carrying capability of power MOSFETs make them preferred switching devices in SMPS power supply design. However, designing with these devices is not as...
(View Full Article)

The corporate culture at Microchip Technology Inc. is embodied in our Guiding Values. This culture has been key to our success in business because of its emphasis on customer satisfaction, quality,...
(View Full Article)

Controller Area Network (CAN) was initially created by German automotive system supplier Robert Bosch in the mid-1980s for automotive applications as a method for enabling robust serial communication....
(View Full Article)

Before getting into actual control applications, we should understand what distinguishes the PIC18F4431 from other Microchip devices used for motor control. The core is a set of unique peripherals...
(View Full Article)

As system designers are forced to produce products with increased features while maintaining a flat or decreasing product cost, advancements in device technology must be considered. To produce...
(View Full Article)

When migrating assembly language programs from one family of microcontrollers to another, the first question is almost always: "What's the equivalent opcode?" Some operations, like addition and...
(View Full Article)

When migrating assembly language programs from one family of microcontrollers to another, the first question is almost always: ?What?s the equivalent opcode?? Some operations, like addition and...
(View Full Article)

This application note describes the Cyclic Redundancy Check (CRC) theory and implementation. The CRC check is used to detect errors in a message. Two implementations are shown: Table driven CRC...
(View Full Article)

Many people carry one or more magnetically encoded cards with them for accessing a range of services. Perhaps the most common example is the credit card or bank ATM card, but increasingly they are...
(View Full Article)

This application note focuses on the concepts and
fundamentals of current sensing circuits. It introduces
current sensing resistors, current sensing techniques
and describes three typical high-side...
(View Full Article)

AN1044 ® Data Encryption Routines for PIC24 and dsPIC Devices Triple DES (TDES) is a variant of DES, and is Authors: David Flowers and described in FIPS 46-2 and 46-3. TDES uses three Howard...
(View Full Article)

AN927 M Data Throughput and the MCP215X In many typical systems, the majority of data will travel Author: Mark Palmer either in one direction or the other. That is, the majority Microchip Technology...
(View Full Article)

More and more, battery operated systems are requiring lower terminal voltages to power internal circuits. Multi-cell designs are rapidly migrating to single-cell architectures to reduce system cost. A...
(View Full Article)

Closed loop control with linear regulators. Often the voltage source is "incompatible" with the load. A buffer needs to be placed between the source and load to regulate or control the voltage and/or...
(View Full Article)

In many applications, a DC/DC Converter is used to produce a regulated voltage or current, derived from an unregulated power supply, or from a battery. Examples of these applications include battery...
(View Full Article)

For many years the consumer electronics industry has been employing infrared remote controls for the control of televisions, VCR?s, and cable boxes. This same tech-nology has recently started to...
(View Full Article)

The Set_Report request is a HID specific command. It was the only provision in Version 1.0 of the USB specification that could send data from the host to a peripheral. This later changed with Version...
(View Full Article)

This Technical Brief describes the creation of a USB device that can enumerate as a mouse or as a keyboard, depending on which PS/2® peripheral is plugged into it. The Soft Detach provision of...
(View Full Article)

AN1149 Designing A Li-Ion Battery Charger and Load Sharing System With Microchip's Stand-Alone Li-Ion Battery Charge Management Controller However, most of the time, batteries are designed to be...
(View Full Article)

Batteries often serve as the main energy source for portable electronic devices. Although they depend on batteries, portable consumer electronic products, such as GPS and multi-media players, often...
(View Full Article)

Creating a negative DC bias voltage from a positive DC supply often is required in battery-powered, portable, hand-held instruments that use a Liquid Crystal Display (LCD). Many LCDs require a...
(View Full Article)

Many Microchip microcontrollers have internal circuitry to drive a 32.768 kHz external crystal to provide an asynchronous clock signal to the Timer1 internal counter. Timer1 is a 16-bit counter which...
(View Full Article)

This application note describes the Excel spreadsheet to design base station coils. The spreadsheet file name is basestaxls. The basic approach used is to choose the driver circuit driving voltage and...
(View Full Article)

Digital compasses have become popular in the past few years due to the advancement of magnetic sensors and feature-rich microcontrollers. Compass applications have increased from simple, hand-held...
(View Full Article)

This application note explains the design of transponder coils. An Excel spreadsheet is used to automate the update of values, depending on the specified parameters. The spreadsheet file name is...
(View Full Article)

This application note describes the design of a Federal Communications Commission (FCC) compliant board layout to give new radio frequency (RF) designers a head start using rfPIC transmitters such as...
(View Full Article)

The deployment of electronic energy meters has gained a great deal of momentum over the past several years. This is due to their two main advantages over the traditional electromechanical designs:...
(View Full Article)

This application note covers the design process to implement LF Talkback functionality. LF Talkback generally refers to the process in which a transponder can communicate back to a magnetic...
(View Full Article)

This application note describes the design of a singleended loop antenna for rfPIC12F675 transmitters. The PCB design will cover all 3 frequency bands from 290 MHz through 930 MHz with a few component...
(View Full Article)

Operational amplifier (op amp) oscillators can be used to accurately measure resistive and capacitive sensors. Oscillator design can be simplified by using the procedure discussed in this application...
(View Full Article)

When designing embedded microcontroller applications, one of the greatest challenges can be the creation of the power supply for the microcontroller. Particularly when the only supply voltage...
(View Full Article)

The MCP3551 delta-sigma ADC is a high resolution converter. This application note discusses various design techniques to follow when using this device. Typical application circuits are discussed...
(View Full Article)

The central goal of this application note is to supply support material for a new MCP3901 design. Starting with PCB layout techniques, getting the best performance out of this device will be given for...
(View Full Article)

This application note shows how to use a PICmicro® microcontroller and minimal external circuitry to detect small capacitances. The design is based on an operational amplifier (op amp)...
(View Full Article)

Electronic motor control for various types of motors represents one of the main applications for MOSFET drivers today. This application note discusses some of the fundamental concepts needed to obtain...
(View Full Article)

The DeviceNet™ system is an open network standard, built on the Controller Area Network (CAN), designed to reduce the cost and time to install industrial devices while providing compatibility...
(View Full Article)

True differential converters can offer many advantages over single-ended input A/D Converters (ADC). In addition to their common mode rejection ability, these converters can also be used to overcome...
(View Full Article)

An Analog-to-Digital (A/D) converter translates an analog input signal into a discrete digital code. This digital representation of the real world signal can be manipulated in the digital domain for...
(View Full Article)

The reference design in this This application note focuses on the design of an Interleaved Power Factor Correction (IPFC) converter. It explains the digital implementation of the IPFC on a 16-bit...
(View Full Article)

This application note describes the basic issues that need to be addressed in order to implement digital signal processing systems using the PIC16C74 and provides application code modules and examples...
(View Full Article)

This reference design is a high efficiency, high power factor and digital dimming electronic ballast designed to drive rapid start fluorescent lamp types. The design contains an active power factor...
(View Full Article)

One of the earliest circuits in home electronics is the venerable incandescent AC lamp dimmer. It is also one of the most challenging circuits to get right. In this technical brief we will examine how...
(View Full Article)

This application note covers the general concept, design and some source code modifications for using the MCP1631HV Digitally Controlled Programmable Current Source Reference Design for an LED...
(View Full Article)

The PIC17CXXX devices have the capability to interface external FLASH memory into the 64K x 16 program memory space. Coupled with this feature is the ability to read and write to the entire program...
(View Full Article)

The release of the PIC16F87X devices introduces the first mid-range family of devices from Microchip Technology that has the capability to read and write to internal program memory. This family has...
(View Full Article)

High intensity white LEDs are rapidly gaining popularity because of their high light output for relatively low input current. Applications include small flashlights, backlighting, night visibility...
(View Full Article)

Operational amplifiers (op amps) that drive large capacitive loads tend to have peaking and oscillation problems when they are not properly compensated. Other problems include: reduced bandwidth,...
(View Full Article)

Driving any A/D Converter (ADC) can be challenging if all issues and trade-offs are not well understood from the beginning. With Successive Approximation Register (SAR) ADCs, the sampling speed and...
(View Full Article)

Dynamic memory allocation is a nice functionality that is provided with virtually all PC-based compilers. However, not all microcontroller compilers have such capability, most likely due to the lack...
(View Full Article)

The definition of "endurance" (as applied to EEPROMs) contains various words and phrases that require clear definition and understanding. As shown in the following paragraphs, different manufacturers...
(View Full Article)

The number of applications that utilize white LEDs has steadily increased due to the increased usage of Liquid Crystal Displays (LCDs) in automotive and cellular telephone displays, PDAs, handheld...
(View Full Article)

Many applications store nonvolatile information in the Flash program memory using table write and read operations. Applications that need to frequently update this data may have greater endurance...
(View Full Article)

AN1095 Emulating Data EEPROM for PIC18 and PIC24 ® Microcontrollers and dsPIC Digital Signal Controllers Packed Page - The new current page after the pack Author: David Otten and routine is...
(View Full Article)

This compact instrument is intended to be a digital laboratory tool for hardware and, in some cases, software debugging. It contains four instruments in one unit: logic probe, single channel logic...
(View Full Article)

The PIC18FXXXX family offers the largest range of on-chip enhanced FLASH program memory and the richest selection of peripherals in the current line of Microchip microcontrollers. The PIC18F8XXX...
(View Full Article)

The PIC18FXXXX family offers the largest range of on-chip enhanced FLASH program memory and the richest selection of peripherals in the current line of Microchip microcontrollers. The PIC18F8XXX...
(View Full Article)

One very common and relatively quick method for finding the square root of a number is the Newton-Raphson method. Although this method is quick in terms of mathematics, it also requires extensive use...
(View Full Article)

One very common and relatively quick method for finding the square root of a number is the Newton-Raphson method. Although this method is quick in terms of mathematics, it also requires extensive use...
(View Full Article)

This application note presents an implementation of the following fixed point math routines for the PICmicro microcontroller families: Multiplication,Division. Routines for the PICmicro...
(View Full Article)

Many times, choosing a FLASH memory device is driven by which manufacturer has the cheapest offering. Regardless of its use as a stand-alone device or as the program memory of a microcontroller, what...
(View Full Article)

Many times, choosing a FLASH memory device is driven by which manufacturer has the cheapest offering. Regardless of its use as a stand-alone device or as the program memory of a microcontroller, what...
(View Full Article)

It is often necessary to output a floating point number to a display. For example, to check calculations, one might want to output floating point numbers using the PICmicro ® microcontrollers...
(View Full Article)

AN1182 Fonts in the Microchip Graphics Library The character sets that produce the display's font Author: Paolo Tamayo images are central to the cost problem. While English Microchip Technology Inc....
(View Full Article)

The PIC16C71 is a member of the mid-range family of 8-bit, high-speed microcontrollers, namely, the PIC16CXXX. The PIC16C71 device's I/O ports have an improved sink/source specification. Each I/O pin...
(View Full Article)

The PIC17C42 is equipped with two high frequency Pulse Width Modulation (PWM) outputs. In a pulse width modulated signal the period of the signal is (usually) kept fixed, while the duty cycle is...
(View Full Article)

The PIC16C5X has one 8-bit timer (Timer0), which can be used with an 8-bit prescaler. The prescaler runs asynchronously, hence it can count a very high frequency. The minimum rise and fall times of...
(View Full Article)

AN1111 An FTP Server Using BSD Socket API FEATURES Author: Sean Justice Microchip Technology Inc. The FTP server provided here does not implement all FTP functionality, it is a minimal server that is...
(View Full Article)

Infrared light, commonly referred to as "IR", is a common, easy-to-use, low power and low-cost media to transmit information. Among the few "wireless" communication choices, IR has the significant...
(View Full Article)

Electronic utility meters are an important step towards automating the utility metering process. Automated utility meters allow many new features that help reduce the cost of utilities to customers...
(View Full Article)

The Nixie tube is a device born out of the middle twentieth century, used to display digital information in a human readable format. Basically, it is a high-voltage numerical display. Today, the Nixie...
(View Full Article)

Due to global environmental concerns, photovoltaic
(PV) systems (i.e., solar panels) are becoming more
common as a renewable energy source.
The main drawbacks of PV energy are the high cost of...
(View Full Article)

The rated differences in pointing device resolution can be confusing to the user; this application note describes the method for calculating hardware resolution of a pointing device that incorporates...
(View Full Article)

It is the responsibility of engineers to get the most performance and capability out of the resources available. In this application note, we present ideas that have helped previous designs reduce...
(View Full Article)

Early infrared (IR) remote control systems employed a simple on-off modulation of an IR LED to transmit the control data between the remote control and the appliance. Unfortunately, while this method...
(View Full Article)

In-Circuit Serial Programming (ICSP?) is a great way to reduce your inventory overhead and time-to-market for your product. By assembling your product with a blank Microchip microcontroller (MCU), you...
(View Full Article)

PIC17CXXX microcontroller (MCU) devices can be serially programmed using an RS-232 or equivalent serial interface. As shown in Figure 1, using just three pins, the PIC17CXXX can be connected to an...
(View Full Article)

This document describes how to modify the PICDEM LIN for use with a MCP201. The PICDEM LIN is equipped with an engineering version of the Microchip LIN bus transceiver. The transceiver can be replaced...
(View Full Article)

AN1136 How to Use Widgets in Microchip Graphics Library For details about the PIC24F family of microcontrollers, Author: Paolo Tamayo refer to the "PIC24FJ128GA010 Family Data Sheet" Anton Alkhimenok...
(View Full Article)

AN1107 An HTTP Server Using BSD Socket API FEATURES Author: Sean Justice Microchip Technology Inc. The HTTP server provided here does not implement all HTTP functionality; it is a minimal server...
(View Full Article)

This application note discusses using the MCP23008 and MCp23S08 GPIO Expanders with a 6-pin PIC10F202 microcontroller unit (MCU). The discussion is based on the MCP23X08 Evaluation Board,...
(View Full Article)

This application note describes a method to automatically detect the memory size of a serial EEPROM connected to an I 2 C bus. The topics include: Automatic detection of memory size on the I 2 C bus...
(View Full Article)

Microchip Technology Inc. provides a number of analog and serial-output Integrated Circuit (IC) temperature sensors. The typical accuracy of these sensors at room temperature is within one degree...
(View Full Article)

This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: float to integer conversion,integer to float...
(View Full Article)

This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: float to integer conversion,integer to float...
(View Full Article)

The PIC16C5X series from Microchip Technology Inc., are 8-bit, high-speed, EPROM-based microcontrollers. This application note describes an implementation of an asynchronous serial I/O using a...
(View Full Article)

Fourier transforms are one of the fundamental operations in signal processing. In digital computations, Discrete Fourier Transforms (DFT) are used to describe, represent, and analyze discrete-time...
(View Full Article)

In January 1977, The United States government adopted a product cipher developed by IBM as its official encryption standard [1]. This algorithm, called the Data Encryption Standard (DES), has been...
(View Full Article)

The PIC16F87X family of microcontrollers has the ability to write to their own program memory. This feature allows a small bootloader program to receive and write new firmware into memory. This...
(View Full Article)

This application note presents a LIN slave driver for the PIC16F73 using the standard hardware USART. There are many details to this firmware design; however, this application note focuses mainly on...
(View Full Article)

This application note presents a LIN slave driver for the PIC18F1320 using the Enhanced USART (EAUSART) module. There are many details to this firmware design; however, this application note focuses...
(View Full Article)

USB devices are now part a daily life for many people throughout the world. Removable USB hard drives, USB memory sticks (thumb drives), multi-card readers and many digital cameras appear as a new...
(View Full Article)

Continuous processes have been controlled by feedback loops since the late 1700's. In 1788, James Watt used a flyball governor on his steam engine to regulate its speed. The Taylor Instrument Company...
(View Full Article)

The mouse is becoming increasingly popular as a standard pointing data entry device. There is no doubt that the demand for the mouse is increasing. Various kinds of mice can be found in the market,...
(View Full Article)

This application note shows how to implement a table look-up for the following devices: ? PIC12CXXX ? PIC12CEXXX ? PIC16CXXX ? PIC16CEXXX ? PIC16FXXX The examples shown are for the PIC16CXXX family....
(View Full Article)

All current dsPIC30F devices have a UART peripheral with Auto Baud capability. The signal on the UART receive pin (RX pin) can be internally routed to an Input Capture module to time the edges of the...
(View Full Article)

The PIC18C601 and PIC18C801 microcontrollers are the first members of Microchips PIC18 family with no on-chip program memory. They offer the PIC18 architecture, with the ability to use different types...
(View Full Article)

The PIC18C601 and PIC18C801 microcontrollers are the first members of Microchips PIC18 family with no on-chip program memory. They offer the PIC18 architecture, with the ability to use different types...
(View Full Article)

AN1136 How to Use Widgets in Microchip Graphics Library For details about the PIC24F family of microcontrollers, Author: Paolo Tamayo refer to the "PIC24FJ128GA010 Family Data Sheet" Anton Alkhimenok...
(View Full Article)

The Microchip PICmicro® PIC18 family of microcontrollers are popularly known for their logic and controlling functions. In addition, these microcontrollers have built-in hardware multipliers and...
(View Full Article)

This application note describes the implementation of various digital filters using the PIC17C42, the first member of Microchip?s 2nd generation of 8-bit microcontrollers. The PIC17C42 is a very high...
(View Full Article)

This application note discusses how to implement long calls in the PIC16C5X architecture. The use of long call can simplify the partitioning of the application program with minimal software overhead....
(View Full Article)

This application note describes a method forimplementing an ohmmeter or resistance type temperature sensor using the PIC16C5X series of microcontrollers. The ohmmeter requires only two external...
(View Full Article)

The NLX Power Supply Specification released by Intel Corp. defines the requirements for next-generation PC system power supplies. There are several enhancements outlined in this specification as...
(View Full Article)

The PIC18C601 and PIC18C801 are the very first members of Microchips PIC18 family that are ROMless microcontrollers that is, they have no on-chip program memory. Both offer the enhanced PIC18...
(View Full Article)

Object ranging is essential in many types of systems. One of the most popular ranging techniques is ultrasonic ranging. Ultrasonic ranging is used in a wide variety of applications including: ?...
(View Full Article)

Microchip's PIC16CXXX microcontroller family are ideally suited to directly interface to a keypad. The high 4-bits of PORTB (RB7:RB4) have internal pull-ups and can trigger a ?change on state?...
(View Full Article)

In certain applications, the PIC16CXXX is exercised only when a key is pressed, (e.g., remote keyless entry). In such applications, the battery life can be extended by putting the PIC16CXXX to sleep...
(View Full Article)

In certain applications, the PIC16CXXX is exercised only when a key is pressed, (e.g., remote keyless entry). In such applications, the battery life can be extended by putting the PIC16CXXX to sleep...
(View Full Article)

AN595 Improving the Susceptibility of an Application to ESD-Induced Latch-up This short circuit will tend to reduce the voltage level on Author: David Wilkie the application (particularly if the...
(View Full Article)

Many embedded control applications, where sensor offsets, slopes and configuration information are measured and stored, require a calibration step. Traditionally, potentiometers or Serial EEPROM...
(View Full Article)

This application note describes a temperature sensor using a PICmicro® microcontroller. This temperature sensor is unique because it can work through non-ferromagnetic walls. Interfacing to a...
(View Full Article)

Today, design engineers rely more on microprocessors and microcontrollers to support their applications. Compatible analog-to- digital (A/D) and digital-to-analog (A/D) converters have greatly...
(View Full Article)

This application note examines the reasons for migrating to a RTOS-based platform. It then discusses the various changes that may be required to one?s software in order to use an RTOS. When discussing...
(View Full Article)

Typically, simple battery chargers do not provide the intelligence to charge different battery technologies or batteries with the same technology but different voltages and capacities. At best, this...
(View Full Article)

The excellent cost/performance ratio of the PIC16C5X makes it well suited as a low-cost proportional D.C. actuator controller. This application note depicts a design for a remote intelligent...
(View Full Article)

The brushless DC fan (BDC Fan) has become the air mover of choice in computing equipment, office automation products, home entertainment systems, and the like. Unlike conventional DC fans, the BDC fan...
(View Full Article)

The 25XXX series serial EEPROMs from Microchip Technology support a half-duplex protocol that functions on a master-slave paradigm that is ideally suited to data stream applications. The bus is...
(View Full Article)

Most of the recently introduced advanced KEELOQ® Encoders, like the HCS362, HCS365, HCS370 and HCS412, have provisions for controlling a multiple stage RF transmitter or a Phase Locked Loop (PLL)...
(View Full Article)

The 24LCXXB Serial EEPROMS from Microchip Technology are I2C compatible and support both the standard100 kHz and the 400 kHz Fast mode. Many times when designing an application which utilizes a serial...
(View Full Article)

The purpose of the firmware is to show how to generate specific I2C transactions with software using a PICmicro microcontroller. In doing so, the specific details of the I2C protocol are also shown...
(View Full Article)

The 24LCXXB Serial EEPROMs from Microchip Technology are I2C compatible and support both the standard 100 kHz and the 400 kHz Fast mode. Many times when designing an application which utilizes a...
(View Full Article)

In embedded controller applications, it is often desirable to provide a means to digitize analog signals. The MCP3201 12-bit Analog-to-Digital (A/D) Converter gives the designer an easy means to add...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need non-volatile memory. Because of their...
(View Full Article)

The 25XXX series serial EEPROMs from Microchip Technology are SPI compatible and have maximum clock frequencies ranging from 3 MHz to 20 MHz. Many times when designing an application which utilizes a...
(View Full Article)

Microchip's TC642, TC643, and TC646 are the world's first integrated circuits dedicated for controlling and monitoring fan speed. The new family of fan speed controllers modulate fan speed to...
(View Full Article)

The MCP41XXX and MCP42XXX family of digital potentiometers communicate using a standard 3-wire SPI compatible interface. This application note will cover communication between these devices and the...
(View Full Article)

The MCP41XXX and MCP42XXX family of digital potentiometers communicate using a standard 3-wire SPI compatible interface. This application note will discuss communications between these devices and a...
(View Full Article)

Many of the embedded control systems designed today require some flavor of Analog-to-Digital (A/D) Converter. Embedded system applications such as Data Acquisition, Sensor Monitoring, and...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need non-volatile memory. Because of their...
(View Full Article)

This application note interfaces a micrange PICmicro device to a Hitachi LM032L LCD character display module, with a two line by twenty character display. LCD modules are useful for displaying text...
(View Full Article)

Pressure measurement devices can be classified into two groups: those where pressure is the only source of power and those that require electrical excitation. The mechanical style devices that are...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

When connecting an SPI™ master device, like a microcontroller, to an SPI slave device such as an EEPROM, understanding the command sequence sent to the memory is vitally important. With the aid...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

Many designers today are implementing embedded systems that require low cost non-volatile memory. Microchip has addressed this need with a full line of serial EEPROMs, in a variety of memory...
(View Full Article)

AN946 Interfacing the MCP2122 to the Host Controller The 16x clock is used for the baud clock timing (trans- Author: Mark Palmer mit and receive). There are 16 16x clocks (16XCLK) for Microchip...
(View Full Article)

The MCP9800 is a digital CMOS silicon temperature sensor that provides an accurate digital temperature measurement. Data is converted from an internal diode temperature-sensing element to a digital...
(View Full Article)

Microchip Technology's MRF49XA is a highly
integrated RF transceiver, used in the 433, 868 and 915 MHz frequency bands. The transceiver uses FSK odulation internally.
A transceiver is a device that...
(View Full Article)

The TC72 is a digital CMOS silicon temperature sensor that provides an accurate digital temperature measurement. Data is converted from an internal diode temperature-sensing element to a digital...
(View Full Article)

This application note describes a simple method for measuring parameters from the AC power line. Parameters such as zero crossing, frequency, and relative phase can be measured. This method is useful...
(View Full Article)

AN1101 Introduction to Capacitive Sensing A SHORT HISTORY Author: Tom Perme Microchip Technology Inc. While capacitive sensing has been around for more than 50 years, it is becoming increasingly...
(View Full Article)

The BodyCom system is a new short-range wireless
connectivity technology that uses the capability of the
human body to transport a few signals that provide
intuitive, simple, and safe communication...
(View Full Article)

AN1064 IR Remote Control Transmitter receiver. The IR light then travels through the air and is Author: Tom Perme detected at the receiver by a photo-diode. The photo- John McFadden diode is often...
(View Full Article)

Infrared communication is a low-cost method of providing wireless, point-to-point communication between two devices. The Infrared Data Association, often referred to as IrDA, was formed in 1994 to...
(View Full Article)

J1939 is a series of SAE recommended practices that have been developed to provide a standard architecture by which multiple electronic systems on a vehicle can communicate. It was developed by the...
(View Full Article)

All KEELOQ encoders use the KEELOQ code hopping technology to make each transmission by an encoder unique. The encoder transmissions have two parts. The first part changes each time the encoder is...
(View Full Article)

This application note describes how to implement a KEELOQ stand-alone programmer using a Microchip PIC16F84A microcontroller. The PIC16F84A is a FLASH microcontroller with 64 bytes of internal EEPROM...
(View Full Article)

This document describes a secure transponder system. The system is suitable for use in security applications such as cars, motor bikes, and scooters (two-wheelers). Microchip?s secure HCS410 KEELOQ...
(View Full Article)

This application note fully describes the working of a code hopping decoder implemented on a Microchip PIC16C56 microcontroller. Background is given on the various KEELOQ® code hopping encoders...
(View Full Article)

All of the KEELOQ Encoders share the same standard code word format composed of a basic set of 65 bits of information. Although, the Advanced Encoders (e.g. HCS360, HCS361) supplement that set with...
(View Full Article)

Several KEELOQ® Encoders of recent introduction, offer the ability to calibrate the internal RC clock oscillator, upon which all the device timings are based. At the time of writing this...
(View Full Article)

All KEELOQ® Encoders use a common code word format. They all pack the bits of information in the same number and position in the transmission sequence. While all the encoders offer a basic Pulse...
(View Full Article)

This application note fully describes the working of a code hopping decoder implemented on a Microchip PIC16C54 microcontroller. The PIC16C54 is smaller than the PIC16C56 used in the normal decoder...
(View Full Article)

Most CMOS ICs,given proper conditions, can "latch,"(like an SCR) creating a short circuit from the positive supply voltage to ground. This application note explains how this occurs and what can be...
(View Full Article)

This Application Note originally started as a "cook book" for a true 12-bit layout. The assumption of this type of approach is that a reference design could be provided, which easily could be used for...
(View Full Article)

This Application Note provides a basic introduction to the features and uses of Liquid Crystal Displays (LCD). At the end of this Application Note, you should be able to answer the following...
(View Full Article)

Battery-operated equipment (most notably cell phones and notebook computers) have created a strong demand for linear regulators in small packages. While such packages save space, they also have poor...
(View Full Article)

The PIC14C000 comes with several peripherals specifically aimed at the battery market. The programmable reference and onboard comparators are useful for creating charge control circuits, while the...
(View Full Article)

This Application Note describes an automotive exterior lighting control module using a PIC16C433. This unit also communicates over a Local Interconnect Network (LIN) bus as a slave controller. The...
(View Full Article)

This application note presents a LIN 2.0-compliant driver for the PIC18XXXX family of microcontrollers. This document will focus on the setup and implementation of the driver for a master and/or a...
(View Full Article)

LIN Protocol was designed by a consortium of European auto manufacturers as a low cost, short distance, low speed network. Designed to communicate changes in switch settings and respond to switch...
(View Full Article)

Embedded applications increasingly want more integration and power, in less space for less cost. Using low power Serial EEPROMs (SEE) for application firmware, lookup tables, and microcode coupled...
(View Full Article)

The PICkit™ 1 FLASH Starter Kit is a low cost programmer for Microchip's 8/14-pin FLASH microcontrollers. On the surface, the PICkit 1 is an easy to use programmer. What may not be so obvious to...
(View Full Article)

Low frequency magnetic communications (LFMC) is a viable ?wireless? communications alternative to traditional radio frequency (RF) or Infrared communications. It is well suited for certain...
(View Full Article)

This application note is developed based on low latency design. It provides an algorithm, which is designed to use the SPI/I2C interrupts, to achieve the required communication and enable optimum...
(View Full Article)

Power consumption is an important element in designing a system, particularly in today's battery powered world. The PICmicro family of devices has been designed to give the user a low-cost, low-power,...
(View Full Article)

Most countertop cooking appliances like electric ranges, skillets and fryers have an adjustable mechanical thermostat to vary the heat output of the range. This solution is inexpensive, but there are...
(View Full Article)

Low frequency magnetic communications (LFMC) is a viable ?wireless? communications alternative to traditional radio frequency (RF) or Infrared communications. It is well suited for certain...
(View Full Article)

This technical brief describes a small application that demonstrates the low-power capacitive touch potential of the Capacitive Sensing Module (CSM). The main benefit of this new part is the...
(View Full Article)

This application note uses the Timer1 module, from a mid-range PIC16CXXX microcontroller, to control a low-power real-time clock. Timer1 was chosen because it has its own crystal which allows the...
(View Full Article)

TB1098 Low-Power Techniques for LCD Applications Each pixel/segment of the LCD display can be Author: Brian Claveria modeled as a capacitor. Including both the internal Microchip Technology Inc....
(View Full Article)

This application note discusses the use of the MPASM assembler's conditional assembly to automatically switch between program memory pages or to set the data memory banks. These macros, along with the...
(View Full Article)

This application note describes how to implement an Analog-to-Digital (A/D) Converter function using a member of the PIC16C6XX series of microcontrollers. Although these microcontrollers do not have a...
(View Full Article)

This application note describes how to implement an Analog-to-Digital (A/D) Converter function using a member of the PIC16C6XX series of microcontrollers. Although these microcontrollers do not have a...
(View Full Article)

Many Microchip customers ask us for help when designing their oscillator circuits. Due to the great number of combinations of VDD and temperature ranges, crystal or resonator, loading capacitors,...
(View Full Article)

Traditionally, the microcontroller stack has only been used as a storage space for return addresses of sub-routines or interrupt routines, where all ?push? and ?pop? operations were hidden. For the...
(View Full Article)

The Analog-to-Digital converter (A/D) is the primary tool that allows analog signals to be quantized into the world of digital electronics. Once the signal is digitally represented, it can be stored,...
(View Full Article)

There are many MOSFET technologies and silicon processes in existence today, with new advances being made every day. To make a generalized statement about matching a MOSFET driver to a MOSFET based on...
(View Full Article)

In close proximity to the human body, small loop antennas outperform small dipole and monopole antennas [1]. Their size, robustness and low manufacturing cost have made small loops the most popular...
(View Full Article)

This application note provides some utility math routines for Microchip's second generation of high performance 8-bit microcontroller, the PIC17C42. Three assembly language modules are provided,...
(View Full Article)

Recent advances in accelerometer sensor technology, especially with silicon micromachined types, have driven the cost of these devices down significantly. As of today, you could obtain an...
(View Full Article)

Almost all temperature sensor circuits use some form of discrete component (such as a thermistor or a solid-state sensor) to actually measure the environment?s temperature. It is left to the...
(View Full Article)

AN1072 Measuring VDD Using the 0.6V Reference chosen for this feature, although there are other capa- Author: Tom Perme ble devices. The ADC Block Diagram for the Microchip Technology Inc. PIC16F690...
(View Full Article)

MiWi P2P is a Peer-to-Peer Wireless Networking Protocol operating on 2.4GHz IEEE 802.15.4. The document details the supported features and how to implement them. Simple, application-level data...
(View Full Article)

AN965 Microchip Stack for the ZigBee™ Protocol ASSUMPTION Author: David Flowers, Kim Otten, Yifeng Yang and Nilesh Rajbharti This document assumes that you are familiar with the Microchip...
(View Full Article)

There is nothing new about implementing TCP/IP (Transmission Control Protocol/Internet Protocol) on Microchip microcontrollers. Interested developers can easily find many commercial and non-commercial...
(View Full Article)

The SPICE macro models for Microchip?s operational amplifiers (op amps) aid in the design and analysis of various circuits by allowing for detailed simulation of the circuit being designed. This...
(View Full Article)

The RS-232 serial interface is no longer a common port found on a personal computer (PC). This is a problem because many embedded applications use the RS-232 interface to communicate with external...
(View Full Article)

The PIC18CXX2 was intended to make conversions from midrange controllers to enhanced controllers as easily as possible. Changes to register and bit names, and bit locations were kept to a minimum. The...
(View Full Article)

Code written for a PIC16C54A device can be easily modified and used in a PIC16C58A. Therefore, a PIC16C58A may be used in place of a PIC16C54A. The PIC16C58A and the PIC16C54A are pin-compatible...
(View Full Article)

Microchip Technology's PICDEM™ USB Demonstration Board (DM163010) was designed as a development platform for PlC16C745/765 USB microcontrollers, prior to the introduction of the PIC184550 family...
(View Full Article)

This application note describes a KEELOQ® code hopping decoder implemented on a Microchip Mid-range Enhanced FLASH MCU (PIC16F872). The software has been designed as a group of independent...
(View Full Article)

This application note describes a KEELOQ® code hopping decoder implemented on a Microchip Mid-Range PICmicro microcontroller (PIC16CE624). The software has been designed as a group of independent...
(View Full Article)

The TC74 is a serially accessible digital temperature sensor that can determine temperatures in the range of 25°C to 85°C with ±2° absolute accuracy or 0°C to 125°C with ±3° absolute accuracy....
(View Full Article)

Sensors are a critical component in a motor control system. They are used to sense the current, position, speed and direction of the rotating motor. Recent advancements in sensor technology have...
(View Full Article)

The radio driver for the MRF24J40 is firmware that provides basic commands to help RF engineers or test engineers to test and verify the functionality of the MRF24J40 transceiver....
(View Full Article)

This application note covers a Real-Time Operating System (RTOS) running on a PIC16F877. The application is written in C using the HI-TECH C compiler. MPLAB ® IDE is used as the Integrated...
(View Full Article)

This Technical Brief presents an example of a simple, multi-zone thermal monitoring system using the Hardware mode of the Master Synchronous Serial Port (MSSP) module of a PICmicro ®...
(View Full Article)

This Technical Brief describes a microcontroller-based soft-start controller for power supplies in systems with multiple voltages. Sometimes applications have devices with multiple voltage...
(View Full Article)

Many applications require driving LEDs along with an interface to a keypad. Implementing such designs usually involves using up significant amounts of the processors I/O lines. This application note...
(View Full Article)

New design methods and components bring high intelligence to battery charger and power-management applications. When developing intelligent power management systems, very complex and cumbersome...
(View Full Article)

The basic charger has a single power source in a buck
converter configuration with current feedback. To
charge both batteries, it switches between the batteries
every second. When a battery is...
(View Full Article)

By using low-cost microprocessors and a program-controlled numerical-integration technique, you can achieve good noise rejection and take full advantage of the higher speeds offered by recently...
(View Full Article)

The reference design in this application note describes the design of an Offline Uninterruptible Power Supply (UPS) using a Switch Mode Power Supply (SMPS) dsPIC® Digital Signal Controller (DSC)....
(View Full Article)

An Uninterruptible Power Supply, or UPS, is an
electronic device that provides an alternative electric
power supply to connected electronic equipment when
the primary power source is not available....
(View Full Article)

AN1177 Op Amp Precision Design: DC Errors DC SPECIFICATIONS Author: Kumen Blake Microchip Technology Inc. There are a small number of DC specifications that describe errors at the input of an op amp....
(View Full Article)

This application note defines the ac specifications of voltage feedback operational amplifiers (Op Amps). Directly following these definitions, related amplifier circuits are given where the...
(View Full Article)

Operational amplifiers (op amps) are as prolific in analog circuits as salt and pepper is on food. They are sprinkled throughout the sensor data acquisition system, performing a variety of functions....
(View Full Article)

The total write operation time for a Serial EEPROM is determined by three main elements: ? Number of bytes to load for each write operation ? Bus clock speed at which the write operation is loaded ?...
(View Full Article)

Mechanical potentiometers are typically used to adjust system reference levels, gain errors and offset errors. Digital potentiometers can be used for the same functions while offering the added...
(View Full Article)

Microchip Technology's TC1121 is a charge pump voltage converter specified to have a 100mA output current capability. The TC1121 has the benefits of selecting different internal charge pump switching...
(View Full Article)

Radio Frequency Identification (RFID) systems use radio frequency to identify, locate and track people, assets, and animals. Passive RFID systems are composed of three components an interrogator...
(View Full Article)

This application note discusses how the PIC® MCU can serve as the horn driver by merely using a couple of peripherals. This application note also discusses the implementation of those peripherals...
(View Full Article)

The PIC12LF1840T48A is a Microchip microcontroller
that has an on-board transmitter. The transmitter is
suitable for operation in the 418, 434 and 868 MHz
license-free ISM bands. The modulation is...
(View Full Article)

This application note presents an implementation of a data acquisition system based on a PIC14C000 microcontroller. The PIC14C000?s analog front end will perform signal conditioning and analog to...
(View Full Article)

This paper discusses the EMI results of the PIC16C54A. These measurements were taken by an independent consulting firm that specializes electromagnetic testing. These results are for a specific system...
(View Full Article)

This document describes a PIC16C57 based code hopping automotive security system. The security system implements all the basic features found on security systems and can be changed to modify or add...
(View Full Article)

Microchip Technology is now offering a number of established Flash devices in a ROM version for high volume customers. This application note details some of the differences between the Flash and the...
(View Full Article)

The PIC16F639 is a suitable microcontroller for bidirectional communications, remote passive keyless entry and low-frequency sensing applications. The device includes a PIC16F636 microcontroller and a...
(View Full Article)

The specification of the PIC18CXXX Architecture was done with several goals. One of the most important of these goals was code compatibility with existing PICmicro ® families. This goal eases the...
(View Full Article)

The Microchip PIC18C family of microcontrollers provides an integrated Controller Area Network (CAN) solution, along with other PICmicro ® features. Although originally intended for the...
(View Full Article)

The PICmicro ® microcontroller makes an ideal choice for an embedded DC Servomotor application. The PICmicro family has many devices and options for the embedded designer to choose from....
(View Full Article)

The Microchip PIC18XXX8 family of microcontrollers provide an integrated Controller Area Network (CAN) solution along with other PICmicro® features. Although originally intended for the...
(View Full Article)

The bootloader for PIC32 devices is used to upgrade firmware on a target device without the need for aprogrammer or debugger.
The bootloader consists of the following applications:
*The bootloader...
(View Full Article)

The PIC12CXXX family of devices adds a new twist to the 8-bit microcontroller market by introducing for the first time fully functional microcontrollers in an eight pin package. These parts are not...
(View Full Article)

The PICMASTER system supports Windows Dynamic Data Exchange (DDE). This feature allows the contents of the trace buffer to be transferred to other windows applications such as Microsoft Excel?. This...
(View Full Article)

There is a lot material out there about microcontroller programming. Most of it focuses on the software side of things - orthogonal instruction sets, code optimization, high-level language programming...
(View Full Article)

PICSTART-16B1 is a DOS-based device programmer that interfaces with a PC host to provide product developers with the ability to program user software into the PIC16C5X, PIC16C61, PIC16C71 and PIC16C84...
(View Full Article)

The embedded systems world is filled with sensing and measurement techniques that present non-linear output results. If the sensing technique is well characterized, a mathematical transfer function...
(View Full Article)

Bipolar low dropout regulators (LDOs) have become common place in a variety of portable applications, such as cell phones, pagers and PDAs. Their popularity stems from small packaging, high output...
(View Full Article)

This application note is intended to inform and assist the customers of Microchip Technology Inc. with Surface Mount Devices (SMD's). The process of packaging a semiconductor in plastic brings to pass...
(View Full Article)

PIC16C5X microcontrollers are ideal for implementing low cost combinational and sequential logic circuits that traditionally have been implemented using either numerous TTL gates or using programmable...
(View Full Article)

Reducing power consumption is always desirable in systems where resources may be limited. This is particularly true in USB systems, where designers must not only understand the rules imposed by the...
(View Full Article)

Powering today's portable world poses many challenges for system designers. The use of batteries as a prime power source is on the rise. As a result, a burden has been placed on the system designer to...
(View Full Article)

When powering up any microcontroller it is necessary for the power supply voltage to traverse voltage ranges, where the device is not guaranteed to operate, before the power supply voltage reaches its...
(View Full Article)

For any application to begin proper operation, the application must power-up properly. Many criteria must be taken into account to ensure this. The PICmicro? devices integrate several features to...
(View Full Article)

There is a wealth of information written on the subject of designing and analyzing oscillator circuits. Sources range from academic and research papers to industry generated application guides. It is...
(View Full Article)

The most widely measured phenomena in the process control environment is temperature. Common elements, such as Resistance Temperature Detectors (RTDs), thermistors, thermocouples or diodes are used to...
(View Full Article)

The PICkit 1 Baseline Flash Programmer PC application together with the PICkit 1 Flash Starter Kit firmware version 2.0.0 or later can program baseline Flash devices. This Technical Brief discusses...
(View Full Article)

This application note strives to impart core, fundamental programming concepts and design considerations for the development of Palm OS® application programs. Attention is given to each of the...
(View Full Article)

The low cost, high performance features of a PIC16CXXX microcontroller make it a suitable device for automatic control technology applications. Sometimes, an additional PWM output is needed. For some...
(View Full Article)

Interfacing a serial EEPROM to a controller can be a confusing task, especially for first time users. Because communication with a parallel memory device is more straightforward, the advantages of...
(View Full Article)

This application note shows how to use the PIC16C774 microcontroller (MCU) in a ratiometric sensing application. A block diagram of the application is shown in Figure 1. The design takes advantage of...
(View Full Article)

As modern MOSFET transistors are developed with lower ON resistance and smaller packages, Electronic Speed Controls (ESC) follow. By using a microcontroller and a few small MOSFETs, high performance...
(View Full Article)

When you're trying to solve a signal integrity problem, the best of all worlds is to have more than one tool to examine the behavior of a system. If there is an Analog-to-Digital (A/D) converter in...
(View Full Article)

Many embedded systems require some form of accurate
timekeeping. There are a growing number of applications
that require an external Real-Time Clock/
Calendar (RTCC) and higher integration of external...
(View Full Article)

Certain applications, such as file servers, require redundant cooling fans to ensure uninterrupted system service, even with cooling fan malfunctions present. Typically, such systems have a primary...
(View Full Article)

This Application Note describes the working of a KEELOQ® code hopping decoder implemented on a Microchip mid-range MCU (PIC16F873). The software implements a stand-alone decoder integrated with a...
(View Full Article)

The PIC16C62X devices create a new branch in Microchip?s PIC16CXXX 8-bit microcontroller family by incorporating two analog comparators and a variable voltage reference on-chip. The comparators...
(View Full Article)

In a Radio Frequency Identification (RFID) application, an antenna coil is needed for two main reasons: To transmit the RF carrier signal to power up the tag To receive data signals from the tag An RF...
(View Full Article)

The rfPIC12F675 is a low cost, high performance UHF short-range radio ASK transmitter design using Microchip?s rfPIC12F675K for 315 MHz and rfPIC12F675F for 433.92 MHz. The module design is suitable...
(View Full Article)

This application note describes an implementation of a RS-232 Autobaud routine on a PIC16C54B microcontroller. Many microcontroller applications require chip-to-chip serial communication. Since the...
(View Full Article)

In this application note, we discuss errors associated with low-cost watch crystals used in Real-Time Clock and Calendar (RTCC) applications and methods to overcome these errors. We also discuss a...
(View Full Article)

The Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) was developed to address the demands created by higher clock speeds and automotive low-speed networks....
(View Full Article)

The Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) was developed to address the demands created by higher clock speeds and automotive low-speed networks....
(View Full Article)

The PIC17C42 has a 16 level deep hardware stack. The program counter is pushed into this stack on interrupts and subroutine calls. However, other key registers are not saved to the stack. Registers...
(View Full Article)

Learning capability in remote keyless entry (RKE) and remote-controlled security systems is regarded as essential by most manufacturers. The logistical problems associated with the supply of...
(View Full Article)

Microcontroller and microprocessor based systems rely on processor supervisory functions to insure stable operation. The most basic of all these functions is managing the processor reset input. To...
(View Full Article)

The first thing to determine is if the application should have one of the devices with the IrCOMM application layer protocol handler with encoder/decoder implemented or if only the encoder/decoder...
(View Full Article)

You've decided on the Microchip PIC18C452 8-bit microcontroller. Its ample program memory space of 32 Kbytes, operating speed of 40 MHz, and extensive set of peripherals and I/Os fit your design...
(View Full Article)

Programmable Switch Mode Controllers (PSMC) are not just for switching power supplies. This technical brief describes how to use the PIC16C781 PSMC in combination with the Integrated Operational...
(View Full Article)

Photo sensors bridge the gap between light and electronics. Microchip's Programmable Gain Amplifiers (PGAs) are not well suited for precision applications (such as CT scanners), but they can be...
(View Full Article)

The dsPIC30F2010 is a 28-pin 16-bit MCU specifically designed for embedded motor control applications. AC Induction Motors (ACIM), Brushless DC (BLDC) and DC are some typical motor types for which the...
(View Full Article)

AN1160 Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function SENSORED CONTROL VERSUS Author: Daniel Torres Microchip Technology Inc. SENSORLESS CONTROL The BLDC motor is used for...
(View Full Article)

This application note describes how to provide Sensorless BLDC motor control with the dsPIC30F2010 Digital Signal Controller. The technique used is based on another Microchip application note: Using...
(View Full Article)

AN1078 Sensorless Field Oriented Control of PMSM Motors This application note focuses on the PMSM-based sen- Author: Jorge Zambada sorless FOC control of appliances because this control Microchip...
(View Full Article)

The PIC16C5X has one 8-bit timer (Timer0) which can use an 8-bit prescaler. In some instances, the user would like to use this timer for some other purpose and yet, be able to do a transmit and...
(View Full Article)

The PIC17C42 has an on-chip high speed Universal Synchronous Asynchronous Receiver Transmitter (USART). The serial port can be configured to operate either in full-duplex asynchronous mode or half...
(View Full Article)

The PIC17C42 microcontroller is an excellent choice for cost-effective servo control in embedded applications. Due to its Harvard architecture and RISC features, the PIC17C42 offers excellent...
(View Full Article)

Ambient Temperature-Controlled Fan On/Off Switch - the TC620 logic output temperature sensor can work as a local thermostat, turning the cooling fan on and off when the ambient temperature levels...
(View Full Article)

The density of portable electronic equipment requires the design engineer to pay particular attention to a number of important design parameters. For the power conversion circuitry, two of these...
(View Full Article)

Thermocouples are the simplest form of temperature sensors. Thermocouples are normally: * Very inexpensive * Easily manufactured * Effective over a wide range of temperatures Thermocouples come in...
(View Full Article)

Integrating analog-to-digital converters (ADCs) featuring binary-coded decimal (BCD) outputs for display interface offer a number of excellent features, as well as high resolution, at a very low cost....
(View Full Article)

The PIC17CXXX family of PICmicro ® microcontrollers has an external program memory interface. Since the PIC17CXXX devices implement a 16-bit instruction word, the external memory must be 16-bits...
(View Full Article)

There is a variety of temperature sensors on the market all of which meet specific application needs. The most common sensors used to solve these application problems include the thermocouple,...
(View Full Article)

In many heating, ventilation, and air conditioning (HVAC) applications, air handler motors are either off, or on at full speed. However, by adding variable speed control to the air handler,...
(View Full Article)

This application note provides the schematics, software listings, and circuit board layout for a PIC16C73 based Smart Battery Charger. The Demo Board, DC101, is available to selected customers through...
(View Full Article)

Advances in data communications has created efficient methods for several devices to communicate over a minimum number of system wires. The Controller Area Network (CAN) is one of these methods. CAN...
(View Full Article)

Simple Network Management Protocol (SNMP), an Internet protocol, was designed to manage network devices: file servers, hubs, routers, etc. However, it is also useful to manage and control embedded...
(View Full Article)

This technical brief describes a microcontroller based Soft-Start Controller circuit for a switching power supply. Start-up is a stressful time for the power driver section of a switching power...
(View Full Article)

PIC16CXXX microcontrollers from Microchip Technology, Inc., high-performance, EPROM-based 8-bit microcontrollers. Some of the members of this series (like the PIC16C71 and PIC16C84) do not have an...
(View Full Article)

his application note describes the software implementation of I 2 C interface routines for the PIC16CXXX family of devices. Only the master mode of I 2 C interface is implemented in this application...
(View Full Article)

This application note describes a unique method for implementing interrupts in software on the PIC16C5X series of microcontrollers. This method takes advantage of the PIC16C5X?s architecture which...
(View Full Article)

The purpose of this application note is to describe how a PIC16F684 can be used to implement a positional Proportional-Integral-Derivative (PID) feedback control in an inherently unstable system. An...
(View Full Article)

The PIC16C5X has a stack which is only 2 deep, and, as a result, only two nested calls can be made (i.e., only one call within a call routine). If more than two levels of subroutine nesting is...
(View Full Article)

Lead-free soldering techniques have been available for some years. However, they do not always meet the same physical criteria for attachments as alloys containing lead. In the past, the most common...
(View Full Article)

Many potential customers of the 24LC00 have expressed interest in the device, especially with it available in the ultra-small SOT-23 package. The one thing that has kept customers from designing in or...
(View Full Article)

Design engineers sometimes have to interface the TC7106 and similar ADCs to non-ideal sensors.A very common problem is that the sensor often does not give a zero output where the design wants a zero...
(View Full Article)

The TC72 and TC77 are CMOS silicon temperature sensors that provide an accurate digital temperature measurement to solve thermal measurement problems. Data is converted from an internal diode...
(View Full Article)

The TC72 and TC77 are CMOS silicon temperature sensors that provide an accurate digital temperature measurement to solve thermal measurement problems. Data is converted from an internal diode...
(View Full Article)

Induction motors are the most widely used motors for appliances, industrial control, and automation; hence, they are often called the workhorse of the motion industry. They are robust, reliable, and...
(View Full Article)

Brushless DC fan (BDC) speed can be varied using pulse-width modulation (PWM). The typical PWM control scheme inserts a power switch in series with the fan, as shown in Figure 1. In such applications,...
(View Full Article)

AN906 Stepper Motor Control Using the PIC16F684 MICROSTEPPING Author: Reston Condit Microchip Technology Inc. Single stepping, or turning a stepping motor at its rated step size, results in less than...
(View Full Article)

This application note describes how to drive a stepper
motor with a dsPIC33F motor control family DSC.
The eight PWM channels (six pins from the PWM1
module and two pins from the PWM2 module) are used...
(View Full Article)

A stepper motor, as its name suggests, moves one step at a time, unlike those conventional motors, which spin continuously. If we command a stepper motor to move some specific number of steps, it...
(View Full Article)

Stepping motors fill a unique niche in the motor control world. These motors are commonly used in measurement and control applications. Sample applications include ink jet printers, CNC machines and...
(View Full Article)

The PIC16C72A is a member of the PICmicro ® Mid-Range Family of 8-bit, high-speed microcontrollers. The PIC16C72 provides the following features: 5 Channel, 8-bit Analog-to-Digital Converter...
(View Full Article)

The industry drive toward smaller, lighter and more efficient electronics has led to the development of the Switch Mode Power Supply (SMPS). There are several topologies commonly used to implement...
(View Full Article)

The TC4426/4427/4428 are high-speed power MOSFET drivers built using Microchip Technology's tough CMOS process. They are improved versions of the earlier TC426/427/428 family of high-speed power...
(View Full Article)

Developing systems that implement the I2C protocol for communicating with serial EEPROM devices requires that a certain key factors be considered during the hardware and software development phase if...
(View Full Article)

A Microchip Technology analog-to-digital converter, a 2K-byte CMOS static RAM, and some gates and counters can be combined to form a low-cost, flexible, standalone data logging system. All the ICs are...
(View Full Article)

Many data acquisition systems require both a visual display and a computer interface. The TC7135 from Microchip Technology is a 4-1/2 digit Analog-to-Digital converter (ADC) which can easily provide...
(View Full Article)

Two low-cost integrated circuits can be combined to create a simple digital frequency meter. The combination of a frequency-to-voltage converter (FVC) and a dual-slope, analog-to-digital display...
(View Full Article)

For reliable operation the optoisolator should be biased to saturation, so: IOPTO = + = 2k The introduction of single-voltage EPROMS and dynamic RAMs has permitted designers to produce complete...
(View Full Article)

There are applications where a significant amount of data memory is required beyond what is in the micro-controller. For example, buffering communications data, creating large volatile tables and...
(View Full Article)

Basically, there are two kinds of electronic systems that come with a built-in calendar. The first kind of system is used mainly to display a calendar for a user's conve-nience. Examples of these...
(View Full Article)

AN576 Techniques to Disable Global Interrupts ing this instruction, the program would complete execu- tion of this instruction, and then immediately branch to Author: Mark Palmer the user's interrupt...
(View Full Article)

An increasing number of applications that involve time
measurement are requiring a Real-Time Clock device.
The MCP79410 is a feature-rich RTCC that incorporates
EEPROM, SRAM, unique ID and time-stamp....
(View Full Article)

This application note shows how to select a temperature sensor and conditioning circuit to maximize the measurement accuracy and simplify the interface to the microcontroller. Practical circuits and...
(View Full Article)

Of all of the sensing technologies, temperature sensing is the most common. This phenomena can be explained by citing examples in a multitude of applications where knowing and using the actual or...
(View Full Article)

Although it is simple to measure temperature in a stand-alone system without the help of Microchip?s Programmable Gain Amplifiers (PGA), a variety of problems can be eliminated by implementing...
(View Full Article)

Although it is simple to measure temperature in a stand-alone system without the help of Microchip?s Programmable Gain Amplifiers (PGA), a variety of problems can be eliminated by implementing...
(View Full Article)

History has shown that consumers have an almost insatiable appetite for even greater computing horsepower. If you're old enough to remember, the mere thought of cryptic DOS software programs creeping...
(View Full Article)

Various concerns must be addressed when dealing with temperature sensing applications, which fall into two broad categories: precision temperature measurement and system thermal management. Precision...
(View Full Article)

This application note discusses the organization of the PICmicro MCU and related firmware for developing IEEE 1451.2 Smart Transducer Interface Modules (STIM). Although a detailed understanding of the...
(View Full Article)

The Digitally Addressable Lighting Interface (DALI) has emerged as a standard in Europe to address growing power issues. DALI is known as Annex E of the European electronic ballast standard EN60929...
(View Full Article)

This application note shows two circuits that use a precise, negative temperature coefficient (NTC) thermistor for temperature measurement. The thermistor is placed in a resistive divider to linearize...
(View Full Article)

This application note shows two designs that use a precise, negative temperature coefficient (NTC) thermistor for temperature measurement. The thermistor is placed in a resistive divider to linearize...
(View Full Article)

There is a variety of temperature sensors on the market all of which meet specific application needs. The most common sensors that are used to solve these application problems include the...
(View Full Article)

This document explains a typical tire pressure monitoring(TPM) system specifically intended for automotive use. It serves as a reference to design a real-world system based on various Microchip...
(View Full Article)

A general purpose resonator routine is implemented using a PIC17C42. This routine is used to generate multiple tones. A tone signal is normally generated using extensive table lookup schemes.When a...
(View Full Article)

In most non-battery applications, the power to the microcontroller is normally supplied using a wall mounted transformer, which is then rectified, filtered and regulated. In most applications, this...
(View Full Article)

There are several ways to convert an AC voltage at a wall receptacle into the DC voltage required by a microcontroller. Traditionally, this has been done with a transformer and rectifier circuit....
(View Full Article)

The purpose of this application note is to describe the specifications used to quantify the performance of A/D converters and give the reader a better understanding of the significance of those...
(View Full Article)

This application note discusses what microcontroller supervisory devices are, why they are needed and some factors to consider when choosing one. Supervisory devices is a broad term that encompasses...
(View Full Article)

The Controller Area Network (CAN) protocol is an asynchronous serial bus with Non-Return to Zero (NRZ) bit coding designed for fast, robust communications in harsh environments, such as automotive and...
(View Full Article)

At times, power from a wall socket is neither clean nor uninterruptible. Many abnormalities such as blackouts, brownouts, spikes, surges, and noise can occur. Under the best conditions, power...
(View Full Article)

GPIO expanders provide easy I/O expansion using standard serial interfaces. GPIO products are used to increase the I/O on an MCU or provide remote I/O using a serial interface. This application note...
(View Full Article)

The TC4420/4429 are 6A high-speed MOSFET drivers available in an 8-pin SOIC package, 8-pin CerDIP and PDIP packages, and a 5-pin TO-220 package. These parts have additional improvements over the TC429...
(View Full Article)

The MCP2510 stand-alone CAN controller was originally developed to give CAN system and module designers more flexibility in their design by allowing them to choose the best processor for their...
(View Full Article)

The MCP2510 stand-alone CAN controller was originally developed to give CAN system and module designers more flexibility in their design by allowing them to choose the best processor for their...
(View Full Article)

ON Semiconductor recommends the MC33x64 and MC34x64 series as the reset IC choice for microcontrollers. Consequently, they are some of the most commonly used processor supervisors for embedded...
(View Full Article)

This Technical Brief describes a USB combination device consisting of a mouse and a gamepad implemented on a PIC16C765. Previous technical briefs describe the translation of a PS/2 â mouse to a USB...
(View Full Article)

The Universal Serial Bus (USB) is a simple and common interface for connecting peripheral devices to a personal computer or other host. To harness its flexibility and power with minimal effort,...
(View Full Article)

With the introduction of Microchip's microcontrollers with the USB OTG peripheral, microcontroller applications can easily support USB Embedded Host functionality. One of the most common uses of this...
(View Full Article)

Typical embedded applications are rather restricted in how they can present data to a user. Limited amounts of data can be displayed on an LCD or a graphical display, but large amounts of data are...
(View Full Article)

Typical embedded applications are rather restricted in how they can present data to a user. Limited amounts of data can be displayed on an LCD or a graphical display, but large amounts of data are...
(View Full Article)

The Inter-IC (I 2 C) bus is a two-wire serial interface developed by Philips/Signetics. The specification supports data transmission up to 400 Kbps. The I 2 C interface employs a comprehensive...
(View Full Article)

Photodiodes bridge the gap between light and electronics. Many times precision applications such as CT scanners, blood analyzers, smoke detectors, position sensors, IR pyrometers and chromatographs...
(View Full Article)

The 25XXX series serial EEPROMs from Microchip
Technology support a half-duplex protocol that
functions on a master-slave paradigm that is ideally
suited to data stream applications. The bus is...
(View Full Article)

The Microchip Graphics Library simplifies the design of a keyboard-based GUI, as this application note will demonstrate. For more information on the library, see AN1136, ?How to Use Widgets in...
(View Full Article)

With the release of the FLASH-based PIC16F87X family, Microchip Technology has completed the circle on product technology. Microchip is now in the unique position of offering FLASH, OTP or ROM-based...
(View Full Article)

With the release of the FLASH-based PIC16F87X family, Microchip Technology has completed the circle on product technology. Microchip is now in the unique position of offering FLASH, OTP or ROM-based...
(View Full Article)

AN1147 2 Interfacing 8051 MCUs with I C™ Serial EEPROMs This application note is part of a series that provide Author: Alexandru Valeanu source code to help the user implement the protocol...
(View Full Article)

AN1184 Using a Timer to Interface 8051 MCUs with UNI/O™ Bus-Compatible Serial EEPROMs The main features of 11XXX serial EEPROMs are: Author: Alexandru Valeanu * Single I/O pin used for...
(View Full Article)

AN1187 Using a Timer to Interface PIC18 MCUs with UNI/O™ Bus-Compatible Serial EEPROMs The main features of 11XXX serial EEPROMs are: Author: Pinakin K. Makwana * Single I/O pin used for...
(View Full Article)

AN1190 Using ASM and a Hardware Module to Interface 2 8051 MCUs with I C™ Serial EEPROMs This application note is part of a series that provide Author: Alexandru Valeanu source code to help the...
(View Full Article)

AN1185 Using C and a Timer to Interface 8051 MCUs with UNI/O™ Bus-Compatible Serial EEPROMs Some of the main features of 11XXX serial EEPROMs Author: Alexandru Valeanu are: Microchip Technology...
(View Full Article)

AN1186 Using C and a Timer to Interface MSP430 MCUs with UNI/O™ Bus-Compatible Serial EEPROMs Some of the main features of 11XXX serial EEPROMs Author: Alexandru Valeanu are: Microchip...
(View Full Article)

The 24XXX series serial EEPROMs from Microchip Technology support a bidirectional, 2-wire bus and data transmission protocol. The bus is controlled by the microcontroller (master), which generates the...
(View Full Article)

AN1191 Using C18 and a Timer to Interface PIC18 MCUs with UNI/O™ Bus-Compatible Serial EEPROMs The main features of 11XXX serial EEPROMs are: Author: Chris Parris * Single I/O pin used for...
(View Full Article)

The 25XXX series serial EEPROMs from Microchip Technology are SPI compatible and have maximum clock frequencies ranging from 3 MHz to 20 MHz. The SPI module available on dsPIC33F Digital Signal...
(View Full Article)

The most common filter found in a data acquisition system signal path is a low-pass filter. This type of filter is usually used to reduce A/D Converter (ADC) aliasing errors. If there is more than one...
(View Full Article)

This application note describes the methodology to use the Parallel Master Port (PMP) module to interface with external data memory; either external Flash or external RAM. This application note also...
(View Full Article)

This Technical Brief shows how to connect a PIC17CXX device to external memory. It also provides instructions and calculations to help determine which speeds of SRAM work with which frequency crystal....
(View Full Article)

Proper modular design can make a system more flexible, easier to maintain and update, and most of all, can help get the design completed faster. In fact, modules or subsystems design can happen in...
(View Full Article)

The purpose of this application note is to demonstrate how KEELOQ® code hopping technology can be conveniently employed to implement an automatic code hopping password generator/keypad. Using a...
(View Full Article)

PIC16C5X microcontrollers from Microchip are ideally suited for use as smart peripheral devices under the control of the main processors in systems, due to their low cost and high speed. They are...
(View Full Article)

This application note describes an LCD controller implementation using a PIC16C55 microcontroller. This technique offers display capabilities for applications that require a small display at a low...
(View Full Article)

Technologies that allow both wireless and wired
systems to communicate with other devices of the
same ability are referred to as Machine-to-Machine
(M2M). M2M uses a device to capture an event, which...
(View Full Article)

As the demand for Graphical Embedded Applications
becomes more popular, so does the need for
developing cost effective solutions. Many companies
today offer solutions involving an additional internal...
(View Full Article)

Pulse Width Modulation (PWM) modules, which produce basically digital waveforms, can be used as cheap Digital-to-Analog (D/A) converters only a few external components. A wide variety of...
(View Full Article)

Beyond the primitive transistor, the operational amplifier is the most basic building block for analog applications. Fundamental functions such as gain, load isolation, signal inversion, level...
(View Full Article)

Beyond the primitive transistor, the operational amplifier
(op amp) is the most basic building block for analog
applications. Fundamental functions such as gain, load
isolation, signal inversion,...
(View Full Article)

The Microchip Technology Inc. 24LC21 is a 1K-bit (128 x 8) dual mode serial EEPROM that was developed primarily for use in computer monitors. This part was developed with inputs from several computer...
(View Full Article)

PIC16C64/74 microcontrollers from Microchip Technology Inc. can be interfaced with ease into a multi-microprocessor environment using its built-in Parallel Slave Port (PSP). With their very high...
(View Full Article)

This application note is intended for PIC16C7X users with some degree of familiarity with analog system design. The various sections discuss the following topics: ? Commonly used A/D terminology ? How...
(View Full Article)

The 24XXX series serial EEPROMs from Microchip Technology are I2C™ compatible and have maximum clock frequencies ranging from 100 kHz to 1 MHz. The MSSP module available on many PICmicro®...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

The 25XXX series serial EEPROMs from Microchip Technology are SPI™ compatible and have maximum clock frequencies ranging from 3 MHz to 20 MHz. The MSSP module available on many PICmicro®...
(View Full Article)

The 24XXXX series serial EEPROMs from Microchip Technology are I2C™ compatible and feature maximum clock frequencies ranging from 100 kHz up to 1 MHz. Many times when designing an application...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

The 25XXX series serial EEPROMs from Microchip Technology are SPI compatible and have maximum clock frequencies ranging from 3 MHz to 20 MHz. Many times when designing an application which utilizes a...
(View Full Article)

AN1079 2 Using the C30 Compiler and the I C™ Peripheral to Interface Serial EEPROMs with dsPIC33F This application note is intended to serve as a Author: Martin Bowman reference for...
(View Full Article)

AN1100 Using the C30 Compiler to Interface Serial EEPROMs with dsPIC33F Figure 1 describes the hardware schematic for the Author: Martin Bowman interface between Microchip's 24XXX series devices...
(View Full Article)

The PICmicro? family of RISC microcontrollers has been designed to provide advanced performance and a cost-effective solution for a variety of applications. This application note provides examples...
(View Full Article)

This application note discusses the operation of a Capture/Compare/PWM (CCP) module, and the interaction of multiple CCP modules with the timer resources. The (CCP) module is software programmable to...
(View Full Article)

AN901 Using the dsPIC30F for Sensorless BLDC Control Known Limitations Author: Charlie Elliott Smart Power Solutions, LLP As delivered, the maximum output frequency at Co-author: Steve Bowling which...
(View Full Article)

This application note describes a vector control application that is written for the dsPIC30F family of devices. Except for a brief discussion on control theory, the information presented assumes you...
(View Full Article)

Microchip application note, AN521, provides a number of guidelines for implementing low-cost, zero cross circuits by relying upon the parasitic ESD diodes in the I/O pins. These guidelines have been...
(View Full Article)

This application note will explain how to use the Enhanced Universal Asynchronous Receiver Transmitter (EUSART) in Asynchronous (full-duplex) mode, capable of auto-wake-up on character reception and...
(View Full Article)

When developing applications using a network protocol standard, it is helpful to "see" the data being transmitted between the devices. When the network protocol standard uses a physical medium, a...
(View Full Article)

The MCP2510 eases software development and shortens the learning curve for the MCP2510 by providing three PC software templates with different functions that CAN node designers can use as needed. By...
(View Full Article)

The MCP2515 eases software development and shortens the learning curve for the MCP2515 by providing three PC software templates with different functions that CAN node designers can use as needed. By...
(View Full Article)

The MCP2515 eases software development and shortens the learning curve for the MCP2515 providing three PC software templates with different functions that CAN node designers can use as needed. By...
(View Full Article)

The MCP320X devices comprise a family of 12-bit successive approximation Analog to Digital (A/D) Converters. These devices provide from one to eight analog inputs with both single ended and...
(View Full Article)

Endurance, as it applies to non-volatile memory, refers to the number of times an individual memory cell can be erased and/or written (some architectures do not erase before every write). Advances in...
(View Full Article)

AN879 Using the Microchip Ultra Low-Power Wake-Up Module current consumption. These types of applications Authors: Ruan Lourens require a low-power periodic wake-up and can be Jose Benevides...
(View Full Article)

The purpose of the firmware is to show how to generate specific I2C transactions using the MSSP module on a PICmicro microcontroller. The configuration required for I2C Master mode is explained, as...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

There are many different microcontrollers on the market today that are being used in embedded control applications. Many of these embedded control systems need nonvolatile memory. Because of their...
(View Full Article)

Many devices in the PICmicro family have a Synchronous Serial Port (SSP) or Master Synchronous Serial Port (MSSP). These peripherals can be used to implement the SPI TM or I 2 C communication...
(View Full Article)

The PIC16F639 is a suitable microcontroller for bidirectional communications and low-frequency sensing applications. The device includes a PIC16F636 microcontroller and a three channel Low-Frequency...
(View Full Article)

Brushless Direct Current (BLDC) motors have many advantages over other types of motors available in the industry. Previously, we have discussed the working principles of BLDC motors and the basics of...
(View Full Article)

Many devices in the PICmicro family have a Synchronous Serial Port (SSP) or Master Synchronous Serial Port (MSSP). These peripherals can be used to implement the SPI TM or I 2 C communication...
(View Full Article)

The PICmicro? families of RISC microcontrollers aredesigned to provide advanced performance and a cost-effective solution for a variety of applications. To address these applications, there is the...
(View Full Article)

The PICmico? family of RISC microcontrollers has been designed to provide advanced performance and a cost-effective solution for a variety of applications. This application note provides examples...
(View Full Article)

RF bandwidths for cellular systems such as AMPS, TACS, GSM, TDMA, and CDMA range from 800MHz to 1.0GHz. To provide RF transmissions over this range of frequencies, Gallium Arsenide (GaAs) has become...
(View Full Article)

SCSI (Small Computer Interface) is a bi-directional parallel peripheral bus used in computer systems of all sizes. It is used for computer interface with peripherals such as printers, scanners,...
(View Full Article)

This application note discusses the use of the PIC16CXXX Timer1 module as an asynchronous clock. The Timer1 module has it own oscillator circuitry, which allows the timer to keep real-time, even when...
(View Full Article)

This application note discusses the use of the PIC16CXXX Timer1 module as an asynchronous clock. The Timer1 module has it own oscillator circuitry, which allows the timer to keep real-time, even when...
(View Full Article)

VF control using the Sine PWM algorithm is a popular algorithm for AC induction motor control; however, this algorithm has certain drawbacks which affect the overall system efficiency. A more advanced...
(View Full Article)

An induction motor can run only at its rated speed when it is connected directly to the main supply. However, many applications need variable speed operations. This is felt the most in applications...
(View Full Article)

The required bandwidth for data access from off-chip components can be a bottleneck in the system performance
for microcontroller (MCU) video applications. This restriction translates into limiting...
(View Full Article)

The wide range of Microchip's family of Voltage Supervisors and Voltage Detectors gives the systems designers many options of the creation of high-reliability systems. To ease the system designer's...
(View Full Article)

One of the most difficult circuits to build is one which will divide one analog signal by another. Two voltage-to-frequency (V/F) converters can do such division with ease. The numerator is counted...
(View Full Article)

This application note describes a new hardware
sensing method which is resilient to water drops appearing on the surface of the touch sensing area. In other touch systems, a drop of water will act in...
(View Full Article)

This application note shows how to use a PIC16C923 microcontroller to control operation of the CS5460 power measurement integrated circuit from Cirrus Logic ® /Crystal Power Measurement, to drive...
(View Full Article)

AN1030 Weigh Scale Applications for the MCP3551 This application note will focus specifically on load Author: Jerry Horn, Gordon Gleason cells, a type of strain gauge that is typically used for...
(View Full Article)

This application note describes a Microchip system solution for a low end/power wireless home security system. This design implements an HCS200 encoder for the intruder sensor signal encryption, one...
(View Full Article)

Once again, because of its universal familiarity and range of functionality, the clock is used to convey the use of the PIC16C92X microcontrollers. In this case we have added a twist to the clock with...
(View Full Article)