Smd temt6000 light sensors

There is no difference you had the signal wire connected to the wrong point.

cut 1/4 in , i would recommend it. Resistors are supplied on adhesive bandoliers and can be difficult to remove.

Yes originally I did have it wrong, I understand that now.

Thanks!

Soooo, does it work as expected?

Would be easier to simply wire the sensor between the input and ground and use INPUT_PULLUP.

I was pondering that. Its conceivable the sensor could be mounted some distance from the arduino, perhaps thats why the emitter follower is used.

It’s not an emitter follower.

The only variable is the bias resistor. If the INPUT_PULLUP value of around 50k is OK, then that is the way to go. If you need a lower value, you will need to supply a pull-up resistor.

And I always refer to pull-up as if the sensor is mounted at any distance, you really do not want to connect it your V+, you want it to connect to ground and you might wish to use shielded cable.

All the examples in the vishay app notes show + connection and resistor in the emitter.

The value being between 5 K and 15 K approx, dependent on the sensitivity of the individual transistor

Boardburner2: All the examples in the vishay app notes show + connection and resistor in the emitter.

A bit like the Arduino Tutorial section eh? Connect all your switches to +5 V.

Quite.

Im still not sure why but reading the examples it may make things easier when dealing with a wide variation in component specs.

Sorry guys but I didn't get the emails alerting me to new responses!

It does work. I'm now combining it with a led and a PIR sensor so I can have some light in my staircase at night :-)