Page 1 of 1

ZOPT2201 python code

Posted: Wed Dec 27, 2017 4:09 pm
by wymand
I hope everyone had a Merry Christmas or holiday of choice,

Are there any plans for Python code for the Raspberry Pi
to read the ZOPT2201 UV sensor?

Re: ZOPT2201 python code

Posted: Wed Feb 28, 2018 4:57 pm
by wymand
I can read and write the registers of the ZOPT2201 but have no idea what the sequence is for getting readings.
The device takes a write and then a read but once read a register and/or the device returns to the default
state.

I was able to set modes per the datasheet but am not sure how to read the outputs

Anyone have a detailed list of read/write register values the obtain a reading?

Doug (superannuated but still learning)

Re: ZOPT2201 python code

Posted: Thu Mar 01, 2018 7:49 am
by DanV
The datasheet has detailed information on everything. But it is a technical reference, not a tutorial.
https://www.idt.com/document/dst/zopt2201-datasheet