AS7263 NIR Spectral Sensor only works when connected to computer.

I bought AS7263 NIR Spectral Sensor, it works fine when I’m powering it from my Wemos D1 Mini Microcontroller through my computer’s USB port. However, I made my project portable by using a battery to supply my microcontroller. I found out that the sensor will not work unless I connect the power supply to the computer.

Power is not the problem I think since I have a supply that provides enough power.

I even connected the Wemos D1 Mini directly in a 5V, 2A power supply.

Is the sensor will only work when the microcontroller it is connected to a computer? I used the library in your github.

https://github.com/sparkfun/Qwiic_Spect … sor_AS726X

Hello romnegrillo,

Can you provide more documentation of your “mobile” setup? The more detail the better!

Our sensor is rated to run off of 3.3V and shouldn’t have an issue with a battery being the power source the microcontroller. Since we don’t sell the Wemos D1 Mini Microcontroller, that component could be the black box. I’ll try to give as much support as I can.

Thanks!