Skip to content

Commit

Permalink
update manuficturing files, actions
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed May 27, 2023
2 parents d3954ff + a6e7d7a commit 252d6ac
Show file tree
Hide file tree
Showing 29 changed files with 15,999 additions and 2,821 deletions.
1 change: 1 addition & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Automatické testování (doporučeno)
Postup pro automatické testování sám zkontroluje přeloženou adresu I2C zařizení a vyhodnotí, jestli je to správně nebo ne. Jedná se o jupyter notebook, který je nutné spustit lokálně v počítači, který má prístup k SMBUS sběrnici z kernelu. Instrukce a návod k použití je vepsán přímo v notebooku. Test vyžaduje jedno další I2C zařízení (které obsahuje jedinou I2C adresu)

Notebook se nachází v [sw/pymlab/TFI2CADT_TEST.ipynb](sw/pymlab/TFI2CADT_TEST.ipynb)
![image](https://user-images.githubusercontent.com/5196729/219703876-addc8ce5-fa70-4049-870a-2a9e302bb628.png)


Expand Down
Binary file modified doc/gen/TFI2CADT01A-schematic.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion doc/gen/TFI2CADT01A-schematic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,776 changes: 1,888 additions & 1,888 deletions doc/gen/TFI2CADT01A.step

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/gen/TFI2CADT01A.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<export version="E">
<design>
<source>/github/workspace/hw/sch_pcb/TFI2CADT01A.kicad_sch</source>
<date>Tue Jun 21 06:57:40 2022</date>
<date>Fri Feb 17 16:08:57 2023</date>
<tool>Eeschema 6.0.4-6f826c9f35~116~ubuntu20.04.1</tool>
<sheet number="1" name="/" tstamps="/">
<title_block>
Expand Down
Binary file modified doc/gen/img/pcb/TFI2CADT01A-bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/gen/img/pcb/TFI2CADT01A-top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions doc/tindie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
### What is it?
TFI2CADT is a device translating addresses of I2C devices on a bus. As a result, multiple I2C slave devices with the same address can be connected to one master device. One TFI2CADT01 allows connecting 3 identical I2C devices (with one address) to one bus. The I2C slave device will be visible under three addresses.

The module is designed in accordance with the [pixhawk connector dronecode](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-009%20Pixhawk%20Connector%20Standard.pdf) standard. Thanks to this, it can be very easily implemented into the existing avionics of your drone.

### Why did we make it?
It often happens that more identical I2C devices (with the same address) need to be connected to one bus. We even had a request for connecting 4-8 RPM tachometers [TFRPM01](https://www.tindie.com/products/thunderfly/tfrpm01-drone-rpm-tachometer-sensor/) to PX4 autopilot.

### What makes it special?
The device is unique in that the address translation takes place in real-time, during the communication via I2C. The user software does not have to deal with any multiplexer channels switching or disconnecting individual parts of the bus. This feature also solves the amount of data flow on the bus. All devices are constantly visible for the I2C master device.

### How does the translation work?
The address translation takes place internally. A logical operation XOR with a preset value is applied to the address sent by the master. The XOR value is different for each channel.

By default, an XOR value of 0x08 is applied on the first port and a value of 0x78 on the second port. These values can be easily changed to 0x0f and 0x7f respectively, by short-circuiting the solder jumper.

If these changes are still not sufficient, using configuration resistors you can create any XOR translation of the original address of the device. More information about the address change can be found in the datasheet.

### How do I connect with the translator?
Connecting the translator is simple. It is just necessary to connect it between the I2C master and I2C slave devices. TFI2CADT has JST-GH connectors whose connection corresponds to the dronecode standard.

The translator can be, using an adequate cable, connected to e.g. Arduino, raspberry, or other devices using I2C.

### How is the translator supported?
The translator is not software configurable and from the point of view of I2C communication is not visible. Thanks to this, it can be used with any I2C bus and the usage is not limited to UAV only.

The board is equipped with a pair of input ports that are internally interconnected.

### What’s included?

- 1x TFI2CADT01A
- Optionally:
- [TFCABxxI2C01](https://github.com/ThunderFly-aerospace/TFCAB01) Silicone I2C cable with JST-GH connectors

### Accessories
#### I2C cables
I2C cables for connecting to the autopilot are not included in the package. You will need to purchase the cables separately from our [tindie catalog](https://www.tindie.com/stores/thunderfly/). We offer high-quality cables that are compatible with the [Pixhawk standard](https://raw.githubusercontent.com/pixhawk/Pixhawk-Standards/master/DS-009%20Pixhawk%20Connector%20Standard.pdf) and with a [ThunderFly color](https://docs.px4.io/main/en/assembly/cable_wiring.html#i2c-cables) scheme for easy signal identification. Our cables are specifically designed with improved resistance to electromagnetic interference and a silicone insulator that makes them highly flexible.

* [TFCABxxI2C01](https://github.com/ThunderFly-aerospace/TFCAB01) [Buy at Tindie](https://www.tindie.com/products/30113/)
Loading

0 comments on commit 252d6ac

Please sign in to comment.