Jump to content

Search the Community

Showing results for tags 'adafruit_dht'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • Tinker Board 3N
    • General Discussion
    • Hardware
    • Software
  • Tinker Board 3 Series
    • General Discussion
    • Hardware
    • Software
    • Android
  • Tinker V
    • General Discussion
  • Tinker Board 2 series
    • General Discussion
    • Hardware
    • Software
    • Android
  • Tinker Board / Tinker Board R2.0 series
    • General Discussion
    • Hardware
    • Software
    • Android
  • Tinker Edge T
    • General Discussion
    • Hardware
    • Software
  • Tinker Edge R
    • General Discussion
    • Hardware
    • Software
    • Android

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Hello everyone. I need to measure temperature with a DHT11 using Python and I can't get it. I have a tinker board R2.0 and the latest version of Tinker OS. I have tried with two Adafruit libraries: Adafruit_DHT and adafruit-circuitpython-dht. With the first package, which I think is the simplest and has worked on my raspberry, I get the following error: raise RuntimeError('Error accessing GPIO. Make sure program is run as root with sudo!') RuntimeError: Error accessing GPIO. Make sure program is run as root with sudo! I have tried to run the program from the terminal as root with sudo but the same problem still appears. I have tried to measure with a DS18B20, but the libraries I find are not compatible with the tinker board either. I also tried with a MCP9600, which works with I2C, but it doesn't work either. When I search for the address with i2cdetect -y 1 it only recognizes the MCP the first time. If I use i2cdetect -y 1 again, it does not appear anymore. I have to disconnect and reconnect the device for i2cdetect -y 1 to detect it. I don't care which of the three methods to use to measure temperature. I would like to know if anyone has managed to use any of these three methods. I have tried with a Raspberry Pi 3B the same libraries and had no problems. I'm a bit desperate with the tinker board ? Thanks a lot
×
×
  • Create New...