• Hi,

    Yes, that's totally possible. There's no Espruino library for the APDS-9660 sensor though, so you'd have to make one - however it shouldn't be too painful to do and we can try and help you out...

    There's a Tessel library for it here, but it drags in some other libraries that could be tricky on Espruino. It'd be a good place to start from though.

    One thing to look out for though is power usage - looking at the datasheet you linked, the board draws 0.2mA in its normal working mode... That'd run the CR2032 battery down in a little over a month. However you might be able to put it into a lower power mode, where it checks for interactions less often.

About

Avatar for Gordon @Gordon started