Új hozzászólás Aktív témák
-
olli
tag
VB6-ban írt pcthermometer programmal kapcsolatban felmerült:
8 db DS 1624 szenzort lehet címezni, egy további ADS 7828E 8 csatornás konvertert kellene I2C vonalon csatlakoztatni.
Az ADC címe megegyezik a szenzorok egyikével, &H48, a csatorna kiválasztását hogyan kell beszúrni,
Csatorna címe pl &H21, &H23, &H24
"The address byte is the first byte received following the
START condition from the master device. The first five bits
(MSBs) of the slave address are factory pre-set to 10010.
The next two bits of the address byte are the device select
bits, A1 and A0. Input pins (A1-A0) on the ADS7828 determine
these two bits of the device address for a particular
ADS7828. A maximum of four devices with the same pre-set
code can therefore be connected on the same bus at one
time.
The A1-A0 Address Inputs can be connected to VDD or digital
ground. The device address is set by the state of these pins
upon power-up of the ADS7828.
The last bit of the address byte (R/W) defines the operation
to be performed. When set to a ‘1’ a read operation is
selected; when set to a ‘0’ a write operation is selected.
Following the START condition the ADS7828 monitors the
SDA bus, checking the device type identifier being transmitted.
Upon receiving the 10010 code, the appropriate device
select bits, and the R/W bit, the slave device outputs an
acknowledge signal on the SDA line.The ADS7828 operating mode is determined by a command
byte which is illustrated above.
SD: Single-Ended/Differential Inputs
0: Differential Inputs
1: Single-Ended Inputs
C2 - C0: Channel Selections
PD1 - 0: Power-Down Selection
X: Unused
See Table I for a power-down selection summary.
See Table II for a channel selection control summary.
MSB 6 5 4 3 2 1 LSB
1 0 0 1 0 A1 A0 R/W
PD1 PD0 DESCRIPTION
0 0 Power Down Between A/D Converter Conversions
0 1 Internal Reference OFF and A/D Converter ON
1 0 Internal Reference ON and A/D Converter OFF
1 1 Internal Reference ON and A/D Converter ON
Új hozzászólás Aktív témák
- AMD K6-III, és minden ami RETRO - Oldschool tuning
- Elmossa a Samsung a valóság és az AI-fantázia határát
- Telekom otthoni szolgáltatások (TV, internet, telefon)
- Disney+
- Gyúrósok ide!
- A tokot is átvariálja a Samsung
- Crypto Trade
- Robotporszívók
- Témázgatunk, témázgatunk!? ... avagy mutasd az Android homescreened!
- Spórolós topik
- További aktív témák...
- A KINCS! ÚJ Dobozos HP ZBook Power G10 Workstation -35% 15,6" Ryzen 9 7940HS 32/1TB RTX 2000 ADA 8GB
- Xbox Series S 512GB
- A KINCS! Zsír Dobozos HP ProBook 450 G10 Fémházas Laptop 15,6" -45% i7-1355U 16/512 Iris Xe FHD 3 Év
- Dell 27" U2722D 2560x1440 2K / QHD HDMI USB-C hibátlan (75k) és egy karcos képpel (40k)
- Bontatlan Intel Core ULTRA 9 285K (24mag!) + hűtött VRM-es Z890 alaplap! GAR/SZÁMLA (a Te nevedre)!
- Dell Precision 7550,15.6,FHD,i7-10850H,16GB DDR4,512GB SSD,RTX 3000 6GB DDR6,WIN11
- Keresünk iPhone 13/13 Mini/13 Pro/13 Pro Max
- Bomba ár! Dell Latitude 5495 - Ryzen 5 I 8GB I 256SSD I 14" FHD I HDMI I Radeon I Cam I W11 I Gari
- ÚJ AKKU! Ár/ÉRTÉK BAJNOK! Dell Latitude 5330 i3-1215U 6mag! 16GB 512GB 13.3" FHD 1 év gar
- DELL Precision 3430 SFF,i7-8700,8GB,256GB SSD,NVIDIA Quadro P620 VGA,Win11
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: Central PC számítógép és laptop szerviz - Pécs
Város: Pécs

