kriswiner / EM7180_SENtral_sensor_hub

(Affordable) Ultimate Sensor Fusion Solution
https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/
96 stars 37 forks source link

Confusing Documentation for Ultimate Sensor Fusion board #8

Open Wetmelon opened 7 years ago

Wetmelon commented 7 years ago

I'm having trouble figuring out exactly what's what on the Ultimate Sensor Fusion board. I'm hooking it up to a Teensy 3.5.

As I understand it...

GND -----> GND 3V3 -----> 3V3 SCL ------> Teensy SCL SDA ------> Teensy SDA INT ------> Teensy GPIO SDM -----> NC SCM -----> NC IO1 ------> NC IO2 ------> NC IO4 ------> NC

I thought for a while that SDM/SCM were for the master (i.e. Teensy), but if I understand this image it's actually connected to the sensors (i.e., EM7180 as Master)? image

What are IO1, 2, and 4 for?

Also, do I need pullup resistors on the Teensy I2C bus for this breakout, or are they included?

kriswiner commented 7 years ago

The connections you have are correct, no need for pullups they are on the board. The master bus is the EM7180 master through which it manages the sensors. The extra EM7180 GPIOs and master bus is exposed in case you want to add other sensors for the EM7180 to manage. Most people do not do this but we do and have and it has been useful at times. You may simply ignore these.

gunhaxxor commented 5 years ago

@kriswiner It's still not clear how one should treat the pins. I want to solder my USFS to a teensy while being able to use the mentioned pins (SDM, SCM, IO1 IO2, IO4) for other things on the teensy. Can I do so? "You may simply ignore these". As in which of the following?

  1. It's totally fine to connect them to stuff and they are in high impedance (floating) and wouldn't make the USFS react in any way.
  2. They have special functionality and will do stuff with the board if connected and pulled high or low.

I would appreciate to have a clarification. My project needs a lot of pins and I need those spare ones.

gunhaxxor commented 5 years ago

I have now with rather high confidence verified that I cannot use the pins at the same time as other peripherals (in my use cases I need to connect the spi pins to a nrf24l01+ radio board).

kriswiner commented 5 years ago

Do not connect the USFS pins that you are not using to the Teensy.

On Wed, May 29, 2019 at 1:31 PM Gunnar Oledal notifications@github.com wrote:

It's still not clear how one should treat the pins. I want to solder my USFS to a teensy while being able to use the mentioned pins (SDM, SCM, IO1 IO2, IO4) for other things on the teensy. Can I do so? "You may simply ignore these". As in which of the following?

  1. It's totally fine to connect them to stuff and they are in high impedance (floating) and would make the USFS react in any way.
  2. They have special functionality and will do stuff with the board if conncted and pulled high or low.

I would appreciate to have a clarification. My project needs a lot of pins and I need those spare ones.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/8?email_source=notifications&email_token=ABTDLKXBNWJKMVDWNI2B43DPX3RY7A5CNFSM4DBLIXS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWQRXUY#issuecomment-497097683, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKWOOORH5FGHTEGJ7MDPX3RY7ANCNFSM4DBLIXSQ .

kriswiner commented 5 years ago

Do not connect the USFS pins that you are not using to the Teensy.

On Wed, May 29, 2019 at 1:58 PM Gunnar Oledal notifications@github.com wrote:

I have now with rather high confidence verified that I cannot use the pins at the same time as other peripherals (in my use cases I need to connect the spi pins to a nrf24l01+ radio board).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/8?email_source=notifications&email_token=ABTDLKSUQHEE3XWPXNDM6STPX3U6JA5CNFSM4DBLIXS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWQT4RY#issuecomment-497106503, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKXN6YVVMYIH3K52ZYTPX3U6JANCNFSM4DBLIXSQ .