ZOPT2201 python code

Have questions about a SparkFun product or board? This is the place to be.

Moderators: phalanx, TS-Tim

Post Reply
wymand
Posts: 3
Joined: Wed Dec 27, 2017 4:06 pm

ZOPT2201 python code

Post by wymand » Wed Dec 27, 2017 4:09 pm

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?

wymand
Posts: 3
Joined: Wed Dec 27, 2017 4:06 pm

Re: ZOPT2201 python code

Post by wymand » Wed Feb 28, 2018 4:57 pm

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)

User avatar
DanV
Posts: 381
Joined: Sat Apr 25, 2015 9:29 am

Re: ZOPT2201 python code

Post by DanV » Thu Mar 01, 2018 7:49 am

The datasheet has detailed information on everything. But it is a technical reference, not a tutorial.
https://www.idt.com/document/dst/zopt2201-datasheet

Post Reply