KM There is a small notch on the photodiode to help with the orientation, this should be the correct layout:
Edit:
Test with a Nokia 6 at <17% brightness:
result from notebookcheck.com:
Edit2:
I tried to create a pwm signal with the arduino status led:
Code:
void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delayMicroseconds(100);
digitalWrite(13, LOW);
delayMicroseconds(100);
}
The opt101 can also be connected without soldering: