Search found 8 matches

by mnvk52
Tue Sep 15, 2020 10:08 am
Forum: Drivers for External Components
Topic: Adafruit MicroPython TSL2561 Library
Replies: 4
Views: 187

Re: Adafruit MicroPython TSL2561 Library

especially for lux values wich could be upper than 40000 lux with a tsl2561 I usually don't put the sensor into direct sunlight. In my garden the value doesn't exceed 40 lx on sunny summer days - without direct sunlight. But shouldn't the value be between 10.000 and 25.000? http://stjarnhimlen.se/c...
by mnvk52
Sun Sep 06, 2020 12:39 pm
Forum: ESP32 boards
Topic: ADC only possible with Pins 32 - 39?
Replies: 2
Views: 99

ADC only possible with Pins 32 - 39?

Hi, the manual says On the ESP32, ADC functionality is available on Pins 32, 33, 34, 35, 36, 37, 38, and 39. https://micropython-docs-esp32.readthedocs.io/en/esp32_doc/esp32/quickref.html#adc-analog-to-digital-conversion My device has more pins available for ADC: https://joy-it.net/files/files/Produ...
by mnvk52
Sun Sep 06, 2020 11:37 am
Forum: Drivers for External Components
Topic: Adafruit MicroPython TSL2561 Library
Replies: 4
Views: 187

Adafruit MicroPython TSL2561 Library

Hi, I have an TSL2561 connected to an ESP32 with this library: https://github.com/adafruit/micropython-adafruit-tsl2561 Documentation: https://micropython-tsl2561.readthedocs.io/en/latest/index.html I don't understand the output of the TSL2561 sensor. For example: import tsl2561 from machine import ...
by mnvk52
Sun Sep 06, 2020 9:40 am
Forum: Drivers for External Components
Topic: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV
Replies: 8
Views: 203

Re: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV

I just saw that micropython-adafruit-tsl2561 library is not supported anymore. Now there is a circuitpython driver: https://github.com/adafruit/Adafruit_CircuitPython_TSL2561 Would you recommend to use that one instead? I'm using a https://joy-it.net/en/products/SBC-NodeMCU-ESP32 I can't find a circ...
by mnvk52
Sun Sep 06, 2020 8:37 am
Forum: Drivers for External Components
Topic: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV
Replies: 8
Views: 203

Re: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV

Thank you :)

Code: Select all

%Run sensor_tls2561.py
164.9236
by mnvk52
Sun Sep 06, 2020 8:17 am
Forum: Drivers for External Components
Topic: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV
Replies: 8
Views: 203

Re: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV

Now I have a new error message

Code: Select all

%Run sensor_tls2561.py
Traceback (most recent call last):
  File "/home/sensor_tls2561.py", line 4, in <module>
TypeError: unexpected keyword argument 'i2c_address'
by mnvk52
Sat Sep 05, 2020 6:10 pm
Forum: Drivers for External Components
Topic: micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV
Replies: 8
Views: 203

micropython-adafruit-tsl2561: OSError: [Errno 19] ENODEV

I have a TSL2561 sensor connected to an ESP32. Trying to read it with: https://github.com/adafruit/micropython-adafruit-tsl2561 My simple readout script is import tsl2561 from machine import I2C, Pin i2c = I2C(scl=Pin(22), sda=Pin(21)) sensor = tsl2561.TSL2561(i2c) print(sensor.read()) The result is...