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.

lemmi25

Members
  • Benutzer seit

  • Letzter Besuch

  1. okay many thanks, that solved it ;)
  2. Hey, thanks for the fast reply. Getting the hex numbers is not my Problem. The character (when I convert the hex numbers) just make no sense. They should be numbers and or normal characters. Here is the datasheet from the sensor. https://www.digikey.de/de/products/detail/gas-sensing-solutions-ltd/EXPLORIR-M-20/9952879
  3. lemmi25 ist der Community beigetreten
  4. Hi, I am using the TinkerForge RS232 V2 Module and want to read sensor data. This is my code #!/usr/bin/env python # -*- coding: utf-8 -*- # For this example connect the RX1 and TX pin to receive the send message HOST = "localhost" PORT = 4223 UID = "XXXX" # Change XYZ to the UID of your RS232 Bricklet 2.0 from tinkerforge.ip_connection import IPConnection from tinkerforge.bricklet_rs232_v2 import BrickletRS232V2 import time # Callback function for read callback def rs232_data_received(data): test = ''.join(data) print(test) if __name__ == "__main__": ipcon = IPConnection() # Create IP connection rs232 = BrickletRS232V2(UID, ipcon) # Create device object ipcon.connect(HOST, PORT) # Connect to brickd rs232.set_configuration(baudrate=9600, parity=BrickletRS232V2.PARITY_NONE, stopbits=BrickletRS232V2.STOPBITS_1, wordlength=BrickletRS232V2.WORDLENGTH_8, flowcontrol=BrickletRS232V2.FLOWCONTROL_OFF) # Don't use device before ipcon is connected print(rs232.get_chip_temperature()) # Register read callback to function cb_read rs232.register_callback(rs232.CALLBACK_READ, rs232_data_received) # Enable read callback rs232.enable_read_callback() input("Press key to exit\n") # Use raw_input() in Python 2 ipcon.disconnect() The problem is, when I get the data output I only see unusual characters like this: [ ý ¿ ¿ å ë [ ý å ë [ ý When I use a FTDI Chip I can read the correct output (using pyserial). I also attached a LogicAnalyzer and the data shows fine. So I think it is a problem of converting the Data (Baudrate is correct). Since I do not now what in the middle "layer" of TinkerForge is happening with the data, can someone please help me how to convert the data into correct ascii Numbers? Many thanks

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.