-
Notifications
You must be signed in to change notification settings - Fork 4
Connecting to IMU
Lukas Schaefer edited this page Jan 19, 2019
·
5 revisions
For test purposes:
- [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
- [H] Clone the hyped-2018 repo, branch - mpu_i2c ; git clone https://github.com/Hyp-ed/hyped-2018.git
- [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
- [H] Copy the repo onto the BeagleBone
- [BBB] Compile the imu demo file; make MAIN = demo_mpu9250.cpp
- [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