Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.raspberry-pi > #20251
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | comp.sys.raspberry-pi |
| Subject | Re: how to connect more sensors |
| Date | 2019-05-28 22:16 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <qck4uu$kq7$1@gioia.aioe.org> (permalink) |
| References | <0a97cea8-2a65-4798-9f69-88800c98913f@googlegroups.com> |
Mario, > The question is how I connect, at SLK and SDA pins the 3 > sensors school gave You didn't specify it, but I'm assuming you're talking about I2C (its SCLK by the way) than how are you currently talking to your first device ? Isn't there a "device address" involved ? And if so, do the two other devices not have their own addresses ? In that case its rather easy: You connect all three devices to the RPi's SCLK and SDA pins, and talk to each of them by their device adresses. Each device on that bus listens if their address is send, and irf not ignores the following databytes. ... which is a thing that they should have explained in class. <whistle> Also, you could also google "I2C protocol" and get a much better explanation, and most likely some example code too. Regards, Rudy Wieser
Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to connect more sensors mario_rossi@peppercom.it - 2019-05-28 12:11 -0700
Re: how to connect more sensors Martin Gregorie <martin@mydomain.invalid> - 2019-05-28 19:57 +0000
Re: how to connect more sensors Jim H <invalid@invalid.invalid> - 2019-05-28 20:25 +0000
how to connect more sensors nospam.mark.lewis@p73.f12.n3634.z1.binkp.net (mark lewis) - 2019-05-28 19:07 +1300
Re: how to connect more sensors Martin Gregorie <martin@mydomain.invalid> - 2019-05-29 12:38 +0000
Re: how to connect more sensors Jean-Pierre Kuypers <Kuypers@address.invalid> - 2019-05-29 10:33 +0200
Re: how to connect more sensors Martin Gregorie <martin@mydomain.invalid> - 2019-05-29 12:42 +0000
Re: how to connect more sensors mm0fmf <none@invalid.com> - 2019-05-29 18:02 +0100
Re: how to connect more sensors Rob Morley <nospam@ntlworld.com> - 2019-05-29 20:39 +0100
Re: how to connect more sensors A. Dumas <alexandre@dumas.fr.invalid> - 2019-05-29 19:59 +0000
Re: how to connect more sensors Alister <alister.ware@ntlworld.com> - 2019-05-29 17:43 +0000
Re: how to connect more sensors "R.Wieser" <address@not.available> - 2019-05-28 22:16 +0200
Re: how to connect more sensors Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-05-28 18:33 -0400
Re: how to connect more sensors mario_rossi@peppercom.it - 2019-05-28 17:05 -0700
Re: how to connect more sensors Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-05-29 13:13 -0400
Re: how to connect more sensors Björn Lundin <b.f.lundin@gmail.com> - 2019-05-29 19:17 +0200
Re: how to connect more sensors Computer Nerd Kev <not@telling.you.invalid> - 2019-05-30 06:46 +0000
csiph-web