Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hallo zusammen,

ich bin auf der Suche nach einem Breakout-Board mit dem INA226 auf das TF Voltage/Current Bricklet gestoßen. Nachdem ich etwas Masse-Begrenzt bin (fliegender Roboter) würde ich gern ohne Brick direct vom Bricklet per I2C von einem RPi lesen. Ich bin nach verschiedenen anderen Beiträgen hier im Forum (z.B. http://www.tinkerunity.org/forum/index.php/topic,3091.msg19240.html#msg19240) und einem Blick auf den Schaltplan (https://github.com/Tinkerforge/voltage-current-bricklet/raw/master/hardware/voltage-current-schematic.pdf) vorsichtig optimistisch, dass das gehen könnte.

Wenn das funktioniert, ist es dann einfach mit dem anschließen von GND, 5V, 3V3, SDA und SCL (s. hier: http://www.tinkerforge.com/de/doc/Technical_Data.html) getan? Oder muss ich mit dem ADDR-Pin noch was machen?

 

Wenn das so einfach funktionieren sollte: unterhalte ich mich dann mit dem INA226 direkt, oder gibt es da noch einen uC mit einem weiteren Protokoll?

 

Beste Grüße!

Geschrieben

Du kannst das Bricklet als Breakout Board für den INA226 verwenden.

 

Über die SDA/SCL Pins des Bricklets erreichst du direkt die I2C Schnittstelle des INA226. Auf dem Bricklet ist keine weiterer Mikrocontroller, sondern nur noch ein EEPROM, das du aber ignorieren kannst.

 

Den 5V Pin brauchst du nicht, auf dem Bricklet verwendet nichts 5V.

 

Den ADDR Pin musst du anschließen. Der bestimmt welche I2C Address der INA226 hat. Siehe INA226 Datenblatt Seite 23: Serial Bus Address. Pin A1 ist auf dem Bricklet fest an GND angeschlossen. Du kannst also über den A0 (ADDR) Pin die letzten 2 Bit der I2C Address bestimmen, indem du A0 an GND, 3V3, SDA oder SCL anschließt.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.