Operácie

Zbernica i2c: PCF8591: Rozdiel medzi revíziami

Zo stránky SensorWiki

Balogh (diskusia | príspevky)
Bez shrnutí editace
Balogh (diskusia | príspevky)
Bez shrnutí editace
Riadok 8: Riadok 8:
* https://navody.dratek.cz/navody-k-produktum/ad-da-prevodnik-pcf8591.html (cestina)
* https://navody.dratek.cz/navody-k-produktum/ad-da-prevodnik-pcf8591.html (cestina)
* https://www.best-microcontroller-projects.com/pcf8591.html
* https://www.best-microcontroller-projects.com/pcf8591.html
=='''Introduction'''==
[[File:MG 0964.JPG]] <BR>
The PCF8591 module consists of a master control chip PCF8591, some resistors and capacitors .It can data acquisition device and has 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 schematic diagram of the module is as follows:
[[File:Cfdf.png]]<br>
<font color="red">
Note:<br>
From the schematic diagram, a potentiometer is connected to AIN0. You can connect the P3 by the jumper cap, which is to wire the two pins next to the pot, so the pot can be used as the input of AIN0.
</font>
=='''PCF8591'''==
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.
===Block Diagram===
[[File:20150805143217.png]]
===Pin Function===
[[File:PCF8591T.png]]
[[File:20150805143308.png]]
=='''Features'''==
*Support acquisition of external 4-line voltage inputs (ranging 0-5v), with a single power supply
*Standard double-sided printed circuit board, 1.16mm thick, with an elegant layout, 3-mm holes at each corner for easy fixing
*Use an 8-bit successive approximation A/D converter
*Input/output by an I2C bus
*Working voltage: 2.5-6V DC; PCB size: 2.4 x 2.8 cm
*Single supply, low standby current
*Address by 3 hardware address pins
=='''Resource'''==
[http://wiki.sunfounder.cc/images/2/2f/PCF8591.PDF PCF8591 datasheet][[File:PDF.jpg]]<br>
[https://www.sunfounder.com/learn/Sensor-Kit-v2-0-for-Arduino/lesson-33-analog-digital-converter-sensor-kit-v2-0-for-arduino.html Test Experiment for Arduino][[File:LINK.jpg]]<br>
[https://www.sunfounder.com/learn/sensor-kit-v2-0-for-raspberry-pi-b-plus/lesson-13-pcf8591-sensor-kit-v2-0-for-b-plus.html Test Experiment for Raspberry Pi][[File:LINK.jpg]]


[[Category: MIPS]]
[[Category: MIPS]]

Verzia z 21:03, 14. marec 2021

Zatiaľ len odkazy na dokumentáciu k obvodu, ktorý použijeme aj ako A/D a D/A prevodník, ale aj ako obvod pripojiteľný na zbernicu i2c.



Introduction

Súbor:MG 0964.JPG
The PCF8591 module consists of a master control chip PCF8591, some resistors and capacitors .It can data acquisition device and has 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 schematic diagram of the module is as follows: Súbor:Cfdf.png
Note:
From the schematic diagram, a potentiometer is connected to AIN0. You can connect the P3 by the jumper cap, which is to wire the two pins next to the pot, so the pot can be used as the input of AIN0.

PCF8591

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.

Block Diagram

Súbor:20150805143217.png

Pin Function

Súbor:PCF8591T.png Súbor:20150805143308.png

Features

  • Support acquisition of external 4-line voltage inputs (ranging 0-5v), with a single power supply
  • Standard double-sided printed circuit board, 1.16mm thick, with an elegant layout, 3-mm holes at each corner for easy fixing
  • Use an 8-bit successive approximation A/D converter
  • Input/output by an I2C bus
  • Working voltage: 2.5-6V DC; PCB size: 2.4 x 2.8 cm
  • Single supply, low standby current
  • Address by 3 hardware address pins

Resource

PCF8591 datasheetSúbor:PDF.jpg
Test Experiment for ArduinoSúbor:LINK.jpg
Test Experiment for Raspberry PiSúbor:LINK.jpg