diyruz / flower

DIY Zigbee flower sensor
https://modkam.ru/?p=1700
GNU General Public License v3.0
378 stars 80 forks source link

Phototransistor polarity #15

Open senarvi opened 3 years ago

senarvi commented 3 years ago

I'm confused about which way I should mount the phototransistor. I found the datasheet and it says that the notch marks the anode. I guess that means the emitter, i.e. the end that is connected to the resistor. Also in the board there's a dot marked on that side, so I would think that the notch in the phototransistor should be placed where the dot is. However, in the pictures it looks like the notch is on the other side. Also, when measuring the resistance I get maybe more sane values (100 Ω - 100 kΩ depending on the light) when I place the positive probe to the notch side, so that makes me think that the notch marks the collector, but I don't know if I can measure the resistance reliably with a digital multimeter.