Hi all,
If I want to connect the magnetometer on APM without IMU shield, where shoud I connect it?
I can see many serial connection that I couldn't recognize what they mean like (PC, PF, PE,PH...)
Also someone have a code for HMC6343 magnetometer, please share with me.
Thank you
Replies
Actually you can connect HMC directly to APM board. I2C manager is on IMU board like Chris said but I2C bus is coming from main CPU. I2C managers are relying on Libraries that we have wrote for APM/IMU shields so if you connect directly to APM or start using APM to your own other needs, you need to write your software.
There are basic softwares for Atmel 328 that communicates with HMC, you can use that as a starting point. Everything else is up to you.
Remember is you connect directly, you need to take care of all pullup resistors, I2C bus initializations and so on..
I2C Bus is on APM board close to GPS port. Look from bottom of APM at end of that 2 row connector there are pin pairs called as PL7(24) / SCL and anohter pair is SDA / PD4.