Der Nachfolger des WDR-Computerclub mit Wolfgang Back und Wolfgang Rudolph - ...und immer ein Bit übrigbehalten!


Das Forum zur C-Control-1
Welche C-Control-Varianten existieren?
Übersicht - Suchen - Neueste 50 Beiträge - Neuer Beitrag - Login - Registrieren
INFO - FAQ - CC2-Forum - CCPro-Forum 

 Re: 12bits ADconv MAX128 vervolg Kategorie: Programmierung Basic (von Hans - 4.10.2006 21:44)
 Als Antwort auf Re: 12bits ADconv MAX128 vervolg von H.J.W. - 4.10.2006 18:14
Hans nutzt:  CC1-M-Unit V1.2/2.0
GREAT! it works.

because of 2 pull-ups of 10k
and I didn't knew it.

exactly by 4.09 volts comes 4095 in on exel.
all the 8 AD in  works great.

i'm very pleased with it.

thank you very much,Stefan for the pull-ups idees.

and thanks to H.J.W. for the good explenation ,
and making the program.

Greetings,
Hans



> Hello Hans,
> Stefan Süßmann is absolutely correct, I missed it.
> The SDA and SCL lines must have pull-ups otherwise the I2C Bus will fail.
> Because the I2C Bus is a bidirectional bus, the master and slaves only pull the bus line(s) to GND for a “0” and lets go of the bus line(s) for a “1”.
>
> H.J.W.
>
>
> > Thanks Stefan
> >
> > The connection is a sensor   4 - 20 mA
> > so I have 1 to 5 volt or 1 to 4,095 volt      4095
> > I haven't pullups on the SDA and SCL
> > is that necessary ??
> >
> > Hans
> >
> >
> > > Hi,
> > >
> > > the print of the drawing is not very clear.
> > >
> > > What i see is a missing 1K in the SDA line and for me it looks like all channels are on 16V.
> > > Are ther pullups on SDA ans SCL?
> > >
> > > Bye
> > >
> > > Stefan

 Antwort schreiben

Bisherige Antworten: