Coder Social home page Coder Social logo

thunderfly-aerospace / tfi2cext01 Goto Github PK

View Code? Open in Web Editor NEW
7.0 5.0 0.0 5 MB

I2C bus wire length extension module. Enabling the use of more extensive bus interconnection.

Home Page: https://docs.thunderfly.cz/avionics/TFI2CEXT/

License: GNU General Public License v3.0

HTML 100.00%
i2c-bus i2c i2c-sensors i2c-interface i2c-extender pixhawk-flight-controller pixhawk-controller

tfi2cext01's Introduction

TFI2CEXT01A - I²C bus extender

I²C bus extension module. This module allows extension of total lenght of I2C bus on the UAV.

Top view on I2C bus extender

Bottom view on I2C bus extender

Where to get it?

ThunderFly TFI2CEXT01A counter is commercially available from ThunderFly s.r.o., write an email to [email protected]. Or shop it on Tindie.

Parameters

Parameter Value Description
Data rate Up to 400 kHz Limited by used TCA4307 IC
I2C Connector 2x 4-pin JST-GH Connected in parallel
Operating and storage temperature -20 - +40°C Limited by case material
Operational input voltage 3.6 - 5.4V
Mass ~2 g PCB
Dimensions 15x25x6(10.5) One sided connectors (With connector on both sides)
Weather resistance IP00

Features

  • Input Power status LED indicator
  • Optionally possible to solder pass-through I²C connectors to allow daisy chain of different sensors
  • Ability to isolate I2C bus segments by disconnecting frozen devices
  • Capability to handle differently the Master and a slave bus sides
  • The extender is capable to perform device reset in the case it seems to be frozen
  • READY signal indication of correct connection of both I2C bus sides.

The two I²C Pixhawk connectors on the bottom and top are connected directly to each other. This feature allows easily nesting with other I²C devices on to existing functional bus cabling.

Top view on I2C bus extender

Bottom view on I2C bus extender

Device Reset

The TCA4307 has stuck bus recovery, which automatically disconnects the slave side of bus from master if it detects either SDAOUT or SCLOUT are low for about 40 ms. Once the bus is disconnected, the device automatically generates up to 16 pulses on SCLOUT to attempt to reset a device which is holding the whole bus low.

PCB dimensions

PCB dimensions

The PCB is designed to be mounted in the slit and fixed by screws on the sides. The supposed screw diameter is metric 3mm e.g. DIN 912 M3 Hexagon socket Head Cap Screws.

Usage

The most I2C bus instances benefits from situation where TFI2CEXT will be connected in the middle of lenght beween master and slave. In that position the active signal amplification of TFI2CEXT will be the most efective for both signalling direction. However, in the practical world not all I2C devices has the same driving capability and I2C signals are the mostly affected by capacitive load or coupling of unwanted signals. TFI2CEXT has ability to efectivelly isolate signal in the bus segments, which result to that the slave device or masters sees only a I²C bus wiring load in segment, until the connection to the TFI2CEXT. Therefore for that situation the adding the TFI2CEXT closer to the "problematic" I²C device should be the best option.

Connection

Due to device reset capability of TFI2CEXT01 the special attention should be cared to proper connection of the module. The connector closer to the LEDS should be connected to Master (e.g. autopilot). The opopsite connector at far side from LEDs should be connected to I²C slaves, e.g. sensors.

tfi2cext01's People

Contributors

chroustjan avatar kaklik avatar roman-dvorak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tfi2cext01's Issues

Power indicating LED

Přidání LED indikující napájení modulu. Skoro bych navrhoval, aby LED byla připojena na vstupní 5V napájení a byla s velkým úbytkem. Tj. asi modrá, nebo zelená.

Mechanical design

Navrhoval bych, aby modul byl konstruován tak že:

  • Umožní montáž zasunutím do dvou drážek. (obdobně jako je navrženo u TFPROBE)
  • Bude umožňovat zakrytování smršťovací bužírkou. Tj. konektory budou na protilehlých hranách.
  • V případě potřeby by bylo možné naletovat ještě další dvojici JST-GH konektorů na opačnou stranu PCB (jeden na stranu Master a druhý na stranu SLAVE), tím by bylo umožněno rozdělit již existující vedení I2C sběrnice připojit v tomto místědalší zařízení s minimálním vlivem na fungování již zavedené sběrnice.
  • Rozměry by chtělo zvolit tak, aby modul měl jednotnou formu jako případné další moduly. Zejména moduly čidel. Tím by byla umožněna panelizace a sníženy náklady na malosériovou výrobu.

LED luminosity

Zvážit zda chceme stejnou svítivost zelené a červené LED.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.