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.

borg

Administrators
  • Benutzer seit

  • Letzter Besuch

Alle erstellten Inhalte von borg

  1. Deine Frage ist ob die Nachrichten von zwei RS485 Bricklets immer in der gleichen Reihenfolge beim PC/RED Brick ankommen wie sie beim Bricklet eintreffen, richtig? Ich befürchte das muss nicht zwangsweise so sein. Die beiden Bricklets untereinander sind ja in dem Sinne nicht synchronisiert zueinander. Egal ob du einen RED Brick verwendest oder den Stapel am PC anschließt.
  2. Yes, the get_illuminance function of the Color Bricklet returns the same unit (lux) as the Ambient Light Bricklet.
  3. Normally the timeout for a getter is set to 2.5 seconds, but in your log you get the timeout sometimes 2 times in 2 seconds. Do you use the logger in the Brick Viewer or do you have your own program? If the latter, can you post the code?
  4. Thema antwortete auf borgs jgmischke in: Hardware
    Wir hatten bei dem Bricklet leider Qualitätsprobleme. Es kam immer wieder zu Ausfällen von einzelnen LEDs beim Kunden. Daher haben wir das Bricklet erstmal aus dem Programm genommen. Wir haben aktuell noch >100 Stück hier liegen, falls jemand ein Bricklet in einem Projekt benutzt und noch ein Ersatz dafür benötigt bitte per Email melden, wir können da noch etwas austauschen. Die WS2812B Chips sind einwandfrei angelötet und wurden mit dem Temperaturprofil des Herstellers durch den Reflow-Ofen geschoben. Soweit wir das überprüfen können lösen sich die Bonding-Wires im WS2812B welche die LEDs mit dem IC verbinden. Allerdings nicht sofort bei der Produktion oder bei den Tests bei uns, sondern erst beim Kunden. Wir sind uns aktuell nicht sicher wie wir da fortfahren sollen. Einfach nochmal produzieren und hoffen dass die neue Charge besser ist klingt ein bisschen riskant.
  5. Wenn du dich in diesem Fehlerzustand den Brick Viewer aufmachst (falls das in diesem Aufbau möglich ist, eventuell RED Brick per USB am Laptop anschließen?) und dort versuchst das Industrial Analog Out zu steuern, klappt das dann? Wenn du get_voltage/get_current aufrufst, bekommst du den zuletzt gesetzten Wert oder den Wert der aktuell vom Bricklet ausgegeben wird zurück?
  6. Oh, da ist die Dokumentation in der Tat noch unfertig. Wird gefixt. Bei den neuen Bricklets gibt es "Streaming-Funktionen", diese sind nicht auf 64 Byte Größe beschränkt wie die normalen Funktionen, sondern können beliebige Datenmengen übertragen. Wenn du "Write" aufrufst mit einem char-Array der Größe 128 Byte (z.B.) ruft das intern 2x WriteLowLevel mit je 64 Byte auf. Die LowLevel-Funktionen kannst du ignorieren, die sind eigentlich nur für die interne Nutzung. Die Write/Read-Methoden verwenden ein char-Array und kein String, daher musst du ['t', 'e', 's', 't'] statt 'test' schreiben. Die Daten könnten ja auch Binärdaten sein mit Nullen dazwischen etc, dafür sind Strings nicht gut geeignet. Du kannst aber in deinem Programm mit Strings arbeiten und den String einfach in ein Array umwandeln bevor du die Write-Funktion aufrufst.
  7. Sieht soweit gut aus. Um welchen Servo handelt es sich denn und wie ist er angeschlossen?
  8. Die Methoden werden halt genauso generiert wie alle anderen Methoden auch. Wenn du das angehen möchtest müsstest du die entsprechenden Methoden in der config als "CoProcessorDevice-Function" kennzeichnen und der Generator könnte dann das Interface so bauen.
  9. Ich bin mir nicht sicher ob ich deine Frage richtig verstehe. Du kannst ein Programm für das RED Brick schreiben welches sich Daten vom IMU Brick und GPS Bricklet holt und diese dann über ein RS232 Bricklet wieder ausgibt. Das gleiche Programm kannst du aber auch auf einem PC ausführen.
  10. Thema antwortete auf borgs photron in: General Discussion
    16 new Bricklets Blog entry
  11. 16 neue Bricklets Blogeintrag
  12. Thema antwortete auf borgs photron in: General Discussion
    Firmware: Humidity Bricklet 2.0 2.0.3 Add support for SetSamplesPerSecond function Download: Humidity Bricklet 2.0
  13. Firmware: Humidity Bricklet 2.0 2.0.3 Unterstützung für SetSamplesPerSecond-Funktion hinzugefügt Download: Humidity Bricklet 2.0
  14. I just released Humidity Bricklet 2.0 Firmware Version 2.0.3. It uses 1 sample per second as default and it has a configuration function for it. Please note that the function will only be available with the next API bindings release. But if you say that the temperature difference is there immediately on startup, i would assume that the new API does not help here. What happens if you run your test for an extended period of time? Do the temperatures converge?
  15. What you are seeing there is very likely self-heating, to quote the datasheet: The new Air Quality Bricklet had the same problem, but more extreme (we measured 4.8°C difference). We had to set the default measurement frequency to 0.3 samples per second to make it acceptable. I also just found the following in the HDC1080 datasheet (Humidity 2.0): The Bricklet currently does not have API to set the measurement frequency, i put it on my TODO list. I will also change the default measurement frequency, since the high frequency is mostly not necessary for humidity/temperature.
  16. Taucht der Master Brick denn prinzipiell auf unter Windows? In der Systemsteuerung o.ä.? Falls nicht, hast du vielleicht ein anderes USB Kabel zum testen da oder eventuell sogar einen anderen PC? (nur um zu schauen ob der Master Brick auftaucht)
  17. Inwiefern springen die Werte denn hin und her? Wenn du im Brick Viewer die 3D-Ansicht anmachst, springt diese auch hin und her?
  18. Wenn du den Master Brick per USB anschließt, leuchtet dann die blaue LED?
  19. I think i misunderstood your problem. I changed something to make sure that the first edge in the edge count is always counted. That has nothing to do with interrupts, there is no edge count interrupt. The normal "value changed interrupt" always uses both edges. Maybe it is a problem with the debounce time? What debounce time are you using?
  20. It looks like the current state of the edge count was not set when the configuration was set. Can you test the attached firmware? bricklet_industrial_digital_in_4_firmware_v2_0_3_beta1.bin
  21. Firmwares: Thermocouple Bricklet 2.0 2.0.1, RGB LED Button Bricklet 2.0.1, Industrial Digital In 4 Bricklet 2.0 2.0.1, NFC Bricklet 2.0.2, PTC Bricklet 2.0 2.0.1, Remote Switch Bricklet 2.0 2.0.2, LED Strip Bricklet 2.0 2.0.1, Temperature IR Bricklet 2.0 2.0.2, Solid State Relay Bricklet 2.0 2.0.1, Humidity Bricklet 2.0 2.0.2, Outdoor Weather Bricklet 2.0.1, IO-4 Bricklet 2.0 2.0.1, RS485 Bricklet 2.0.2, Particulate Matter Bricklet 2.0.1, Industrial Quad Relay Bricklet 2.0 2.0.1, GPS Bricklet 2.0 2.0.4, Real-Time Clock Bricklet 2.0 2.0.3, Motion Detector Bricklet 2.0 2.0.1, Analog In Bricklet 3.0 2.0.2, RGB LED Matrix Bricklet 2.0.1, CAN Bricklet 2.0 2.0.1, Sound Pressure Level Bricklet 2.0.2, Industrial Dual Relay Bricklet 2.0.1, Thermal Imaging Bricklet 2.0.2, Voltage/Current Bricklet 2.0 2.0.1, DMX Bricklet 2.0.1, RS232 Bricklet 2.0 2.0.1, Motorized Linear Poti Bricklet 2.0.3, Load Cell Bricklet 2.0 2.0.1, Industrial Counter Bricklet 2.0.1 Fix für Race Condition mit potentiellem Buffer Overflow (über bricklib2) Download: Thermocouple Bricklet 2.0, RGB LED Button Bricklet, Industrial Digital In 4 Bricklet 2.0, NFC Bricklet, PTC Bricklet 2.0, Remote Switch Bricklet 2.0, LED Strip Bricklet 2.0, Temperature IR Bricklet 2.0, Solid State Relay Bricklet 2.0, Humidity Bricklet 2.0, Outdoor Weather Bricklet, IO-4 Bricklet 2.0, RS485 Bricklet, Particulate Matter Bricklet, Industrial Quad Relay Bricklet 2.0, GPS Bricklet 2.0, Real-Time Clock Bricklet 2.0, Motion Detector Bricklet 2.0, Analog In Bricklet 3.0, RGB LED Matrix Bricklet, CAN Bricklet 2.0, Sound Pressure Level Bricklet, Industrial Dual Relay Bricklet, Thermal Imaging Bricklet, Voltage/Current Bricklet 2.0, DMX Bricklet, RS232 Bricklet 2.0, Motorized Linear Poti Bricklet, Load Cell Bricklet 2.0, Industrial Counter Bricklet
  22. Thema antwortete auf borgs photron in: General Discussion
    Firmwares: Thermocouple Bricklet 2.0 2.0.1, RGB LED Button Bricklet 2.0.1, Industrial Digital In 4 Bricklet 2.0 2.0.1, NFC Bricklet 2.0.2, PTC Bricklet 2.0 2.0.1, Remote Switch Bricklet 2.0 2.0.2, LED Strip Bricklet 2.0 2.0.1, Temperature IR Bricklet 2.0 2.0.2, Solid State Relay Bricklet 2.0 2.0.1, Humidity Bricklet 2.0 2.0.2, Outdoor Weather Bricklet 2.0.1, IO-4 Bricklet 2.0 2.0.1, RS485 Bricklet 2.0.2, Particulate Matter Bricklet 2.0.1, Industrial Quad Relay Bricklet 2.0 2.0.1, GPS Bricklet 2.0 2.0.4, Real-Time Clock Bricklet 2.0 2.0.3, Motion Detector Bricklet 2.0 2.0.1, Analog In Bricklet 3.0 2.0.2, RGB LED Matrix Bricklet 2.0.1, CAN Bricklet 2.0 2.0.1, Sound Pressure Level Bricklet 2.0.2, Industrial Dual Relay Bricklet 2.0.1, Thermal Imaging Bricklet 2.0.2, Voltage/Current Bricklet 2.0 2.0.1, DMX Bricklet 2.0.1, RS232 Bricklet 2.0 2.0.1, Motorized Linear Poti Bricklet 2.0.3, Load Cell Bricklet 2.0 2.0.1, Industrial Counter Bricklet 2.0.1 Fix race condition with potential buffer overflow (through bricklib2) Download: Thermocouple Bricklet 2.0, RGB LED Button Bricklet, Industrial Digital In 4 Bricklet 2.0, NFC Bricklet, PTC Bricklet 2.0, Remote Switch Bricklet 2.0, LED Strip Bricklet 2.0, Temperature IR Bricklet 2.0, Solid State Relay Bricklet 2.0, Humidity Bricklet 2.0, Outdoor Weather Bricklet, IO-4 Bricklet 2.0, RS485 Bricklet, Particulate Matter Bricklet, Industrial Quad Relay Bricklet 2.0, GPS Bricklet 2.0, Real-Time Clock Bricklet 2.0, Motion Detector Bricklet 2.0, Analog In Bricklet 3.0, RGB LED Matrix Bricklet, CAN Bricklet 2.0, Sound Pressure Level Bricklet, Industrial Dual Relay Bricklet, Thermal Imaging Bricklet, Voltage/Current Bricklet 2.0, DMX Bricklet, RS232 Bricklet 2.0, Motorized Linear Poti Bricklet, Load Cell Bricklet 2.0, Industrial Counter Bricklet
  23. Ich kann das leider nicht reproduzieren. Hab alle möglichen Firmwares getestet, inklusive der aktuellen Master Brick Firmware 2.4.9 (mit Barometer Firmware 2.0.2). Hast du bereits überprüft ob vielleicht ein Pin im Bricklet Stecker krumm ist oder ähnliches?
  24. Eine Kurze Erklärung des SPITFP (Tinkerforge Protocol over SPI) findest du hier: https://github.com/Tinkerforge/brickletboot_xmc/blob/master/software/src/bootloader_spitfp.c Der Payload der Pakete ist der gleiche wie bei TCP/IP, siehe hier: https://www.tinkerforge.com/de/doc/Low_Level_Protocols/TCPIP.html Funktionen des Sound Pressure Level Bricklets im Protokoll gibt es hier: https://www.tinkerforge.com/de/doc/Software/Bricklets/SoundPressureLevel_Bricklet_TCPIP.html
  25. Das ist leider nicht möglich. Bricks wissen nicht welche Bricklets angeschlossen sind. Die Daten werden lediglich zum PC weitergeleitet.

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.