Skip to content

Connecting to IMU

Lukas Schaefer edited this page Jan 19, 2019 · 5 revisions

For test purposes:

  1. [H] ssh onto the Beaglebone using ssh debian@ to make sure you're connected; ip - 192.168.7.2 for windows, 192.168.6.2 for mac; password - temppwd
  2. [H] Clone the hyped-2018 repo, branch - mpu_i2c ; git clone https://github.com/Hyp-ed/hyped-2018.git
  3. [H] Mount the file system of the Beaglebone; sshfs debian@: where local-mountpoint is the folder on your system through which you will access the BeagleBone file system
  4. [H] Copy the repo onto the BeagleBone
  5. [BBB] Compile the imu demo file; make MAIN = demo_mpu9250.cpp
  6. [BBB] Run the imu demo file; sudo ./hyped -v -d Note: to check that sensor is connected properly: [BBB] i2cdetect -r -y 2 Note: to connect to the imu over i2c you need four pins: ground (GND), power supply(VCC), clock(SCL) and data(SDA). Google beaglebone pinout will give you a diagram of where each pin goes on the board. They are labeled on the imu

Some BeagleBones are addressed with hyped@ instead of debian@. These have password 'spacex' and also need to be mounted with the same address