The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 07:09:16 19:09


Login with username, password and session length


Pages: [1]
Print
Author Topic: PCF8591 ADC simulation with 8051  (Read 1434 times)
0 Members and 1 Guest are viewing this topic.
micropcb
Junior Member
**
Offline Offline

Posts: 63

Thank You
-Given: 29
-Receive: 150


« on: August 27, 2014, 09:00:43 09:00 »

Hello,

The PCF8591 is a single-chip, single-supply low-power 8-bit CMOS data acquisition
device with four analog inputs, one analog output and a serial I2C-bus interface. Three
address pins A0, A1 and A2 are used for programming the hardware address, allowing
the use of up to eight devices connected to the I2C-bus without additional hardware.
Address, control and data to and from the device are transferred serially via the two-line
bidirectional I2C-bus.
The functions of the device include analog input multiplexing, on-chip track and hold
function, 8-bit analog-to-digital conversion and an 8-bit digital-to-analog conversion. The
maximum conversion rate is given by the maximum speed of the I2C-bus.

Here is a ISIS simulation of the ADC section with 8051 including the source in Keil C.
The ADC is hardwired for address 111.

The original code was taken from the net and modified for the simulation.

Cheers.
Logged
bigtoy
Active Member
***
Offline Offline

Posts: 152

Thank You
-Given: 127
-Receive: 197


« Reply #1 on: August 30, 2014, 10:49:29 22:49 »

Wow. It never ceases to amaze me that people still use the 8051, more than 30 years after the original chip was introduced.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC