Analog Devices AN-561 AD7416 Control via PIC16F84 Application Note

This application note describes the requirements to control the AD7416 via a PIC microcontroller by emulating an I2C bus interface. It provides code examples and descriptions of both hardware and software. The AD7416 is a 10-bit temperature monitoring device that is supplied in an 8-lead SOIC or µSOIC package. The temperature can be calculated by reading the data register of the device.


Analog Devices AN-561 AD7416 Control via PIC16F84 Application Note - cover page
Brand
Analog Devices
Category
Other Electronics
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
74 KB
Published
02 August, 2012
Updated
29 September, 2023
Model
AD7416
MD5 checksum
800B94159BDF0924821713EE66344468

About this manual

This application note details the requirements to control the AD7416 10-bit temperature monitoring device via a PIC16F84 microcontroller. It explains how to emulate an I2C bus interface on the parallel I/O port of the microcontroller to communicate with the sensor. The document provides a basic circuit diagram showing the connection between the AD7416 and the PIC16F84, including an optional PC interface for logging data.

What's inside

  • Introduction
  • Hardware Overview
  • Software Overview
  • Hardware Pin Associations
  • Software Description
  • PIC16F84 Initialization Routine
  • Start and Stop Frame Routines
  • Write to Registers Routine
  • Reading Temperature Data
  • Flowcharts and Listings

Frequently asked questions

Can this application be used with microcontrollers other than the PIC16F84?

Yes, the code can be modified to use other microcontrollers from Microchip and other suppliers.

What is the primary function of the AD7416 in this application?

The AD7416 is a 10-bit temperature monitoring device used to calculate temperature by reading its data register.

How is communication between the PIC16F84 and AD7416 achieved?

Communication is achieved by emulating an I2C serial interface on the parallel I/O port of the PIC16F84.

Download PDF (74 KB)

More Analog Devices Manuals


View all Analog Devices manuals →