Group Abstract Group Abstract

Message Boards Message Boards

Connect a i2c to a Raspberry Pi 3?

Posted 8 years ago
POSTED BY: Matthew Kovacs
4 Replies
Posted 8 years ago

so a quick update: I received my sensehat in the mail today and after connecting it to my pi mathematica picked it up immediately with no problems, so clearly i2c is working in mathematica. when I get a couple parts (no idea when) I'll try connecting my other sensor to the pi+sensehat and see what happens.

POSTED BY: Matthew Kovacs
POSTED BY: Ian Johnson
Posted 8 years ago

hello. I did not follow the steps from that particular link, because it seemed to me that I had already gotten it all set up: the kernel modules both load up with no problems, there is nothing in my raspi-blacklist.conf (the file exists, but is blank), and I never looked at the dtparam, since i2c-1 showed up in my /dev directory without fail. looking at it now, in the tutorial it says:

dtparam=i2c=on

but in my config.txt it says:

dtparam=i2c_arm=on

if that makes a difference. Edit: looking into the documentation at https://www.raspberrypi.org/documentation/configuration/device-tree.md#part4.5, i2c is an alias of i2c_arm, so that shouldn't matter at all.

here is the information you requested:

processor   : 0
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 1
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 2
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 3
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

Hardware    : BCM2835
Revision    : a02082
Serial   : 00000000a63e6c1e

you've already helped me out with your post on the MRAALink, thank you for that. let me know what (if any) other information you need from me.

POSTED BY: Matthew Kovacs
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard