Page 1 of 1

ESP32 wemos to read tsl2561

Posted: Sun Sep 16, 2018 6:59 pm
by rp346@njit.edu
I am trying to interface tsl2561 with ESP32 wemos (ESP-WROOM-32).
Which micropython library is available for ESP32 wemos ?

I tried to install tsl2561,

>>> upip.install("tsl2561")
Installing to: /lib/
Warning: pypi.org SSL certificate is not validated
Error installing 'tsl2561': , packages may be partially installed

Whats is the correct name/way to install this package ?

Re: ESP32 wemos to read tsl2561

Posted: Mon Sep 17, 2018 8:32 am
by pythoncoder
That method of installation only works if the module is on PyPi. Further, upip requires a special format in order to work on the ESP8266 so only modules with names like "micropython-xyz" are likely to be compatible.

The MicroPython driver is not on PyPi. It's here. Just copy the file to your device.