I2C
« on: February 03, 2017, 07:05:07 pm »
Good afternoon,

I have question about I2C.
How many devices(supporting I2C) is possible connect to Flexi Port?
I'm getting short with ports. Because I want to use S.Bus, GPS, External Compass and Voltage/Current circuit based on INA219 witch supports I2C.

I'm aware about I2C parallel connection using resistors and capacitance of bus.

Unfortunately programming and understanding code wish to be better.

Best regards,
Kaspars


Sent from my iPad using Tapatalk

Jhinta

  • ***
  • 198
Re: I2C
« Reply #1 on: February 03, 2017, 07:11:17 pm »
? I have all that with the default Ports so what are you missing?

Verstuurd vanaf mijn LG-D855 met Tapatalk

Re: I2C
« Reply #2 on: February 03, 2017, 07:49:53 pm »
Voltage/current sensor(INA219) I want to connect to main port, I know is possible to use a Pwr port but then need to use analog signal only.

To receiver port > GPS
To felxi port > compass external
To main port > s.bux

Question: can I, for example, use a flexi port to connect > external compass and voltage/current sensor using I2C protocol.


Sent from my iPad using Tapatalk

Re: I2C
« Reply #3 on: February 03, 2017, 07:55:15 pm »
This device want to connect https://www.ebay.co.uk/itm/291943378407
It's very cheap and very precise.


Sent from my iPad using Tapatalk

f5soh

  • *****
  • 4572
    • LibrePilot
Re: I2C
« Reply #4 on: February 03, 2017, 08:03:20 pm »
With extra pullups in flexiport you will be able to add others devices.

Currently INA219 using I2C is not supported , you may need to add some code.


hwh

  • *
  • 1018
Re: I2C
« Reply #5 on: February 03, 2017, 11:01:02 pm »
This device want to connect https://www.ebay.co.uk/itm/291943378407
It's very cheap and very precise.
...
You have all this on a tiny brushed quad?   Anything larger than that the 3.2 amp range is too small.   Even if you hack it the way they say it's only good for 32 amps, much less than all but the smallest quads.

LP is open source software, as long as you can program it, you can add it to the firmware.

Re: I2C
« Reply #6 on: February 04, 2017, 12:43:14 am »
Not so small not running on 3.2A)))
It's possible to get much more up using parallel connections in theory, but generally question was about i2c devices on one port.

Thanks guys for your explaining, time.
Very thankful.

I will go for Attopilot.


Sent from my iPad using Tapatalk