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 habe letzte Woche erstmals ein Thermal Imaging Bricklet in Betrieb genommen

und auch schöne Bilder über den Brick-Viewer erhalten. Nach einigen Tagen Pause

wollte ich jetzt das Bricklet wieder in Betrieb nehmen, und bekomme einfach

keine ordentlichen Daten mehr, d.h. nur noch ein schwarzes Bild (nur Nullen).

 

Hat jemand vielleicht Tipps, wie ich das Problem debuggen kann (siehe

Zusatzinfos weiter unten)?

 

Für mich sieht das fast so aus, als würde das Bricklet zwar antworten, aber

keine Verbindung zum FLIR-Chip bekommen.

 

Vielen Dank für jegliche Hilfe,

 

Vg Maximilian

 

 

Zusatzinfos:

 

- Der Brick-Viewer (BV) sieht das Bricklet, und ich kann auch die Status-LED

  kontrollieren

- Ich sehe vermehrt Timeouts im BV, gefühlt weniger mit dem Masterbrick 2.1 als

  mit dem 1.1er (siehe angehängtes Bild)

- Ich höre auch keine Shuttergeräusche mehr, anders als beim ersten Anschalten

- Ich habe mehrere Brickletkabel getestet -- kein Unterschied

- Keine weiteren Bricklets angeschlossen

- Ich habe auch mehrere Masterbricks gestestet (Versionen 2.1 und 1.1)

- USB-Kabel habe ich getauscht, sowie verschiedenste USB-Ports getestet

- Ich kann keine äußeren Beschädigungen erkennen (das Bricklet lag eine Woche

  auf meinem Schreibtisch)

- Gestestet unter Debian Linux

- Hard- und Softwareversionen:

        Master Brick V2.1: 2.4.9

        Bricklet FW: 2.0.2

        brickd: 2.3.2 (amd64)

        brickv: 2.3.16 (amd64)

- auch unter direkter Benutzung der Python-API bekomme ich nur Nulldaten:

 

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import time
import numpy as np
from tinkerforge.ip_connection import IPConnection
from tinkerforge.bricklet_thermal_imaging import BrickletThermalImaging

HOST = "localhost"
PORT = 4223
UID = "D1H"

if __name__ == "__main__":
    ipcon = IPConnection() # Create IP connection
    ti = BrickletThermalImaging(UID, ipcon) # Create device object

    r = ipcon.connect(HOST, PORT) # Connect to brickd
    # Don't use device before ipcon is connected

    # Enable high contrast image transfer for getter
    ti.set_image_transfer_config(ti.IMAGE_TRANSFER_MANUAL_HIGH_CONTRAST_IMAGE)

    # If we change between transfer modes we have to wait until one more
    # image is taken after the mode is set and the first image is saved
    # we can call get_high_contrast_image any time.
    time.sleep(0.5)

    # Get image data
    image_data = ti.get_high_contrast_image()
    print(image_data)
    print(np.all(np.array(image_data == 0)))
    ipcon.disconnect()

tf_thermal_imaging_zeros.thumb.jpg.6ada0796347dc9f8c74f5de3a7fc59e8.jpg

Geschrieben
  • Autor

Ha, genau das wars. Hab den Sensor wieder vorsichtig reingedrückt und schon lief wieder alles. Vielen Dank!

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.