Go Down

Topic: Counter red light (Read 125 times) previous topic - next topic

bimector

I need a sensor that counter a number of impluses. This impluses was genered by a red led.
Now use the devduino and a small sensor (TP-12 Optical Pulse Sensing Probe for Energy Monitoring), but not work very when use 3.3 volts.
Is work very well, when use 5 volts.

weedpharma

Why not use 5v??

Weedpharma

bimector

Because the devduino work with two battery type AAA.

weedpharma

After looking at the specifications, I would like to see how you have connected it.

http://www.tespro.com.cn/en/TP-12.php

Specifically which model do you have?

Weedpharma

weedpharma

On further looking, I think you may have the RS232 version. If so your problem will probably be the RS232 standard. The standard requires a certain minimum voltage to work. 3.3v may simply be too low to power the sensor.

Weedpharma

bimector

Yes, now I used Tp-12.

But have problems to counter when used 3.3V. The switch not stabilized signal output.

I try two diferentes modes, digital read and interupt mode.

weedpharma

Please give the full model number and supply a drawing of how it is connected.

Weedpharma


weedpharma

How about letting us know how and why!

Weedpharma


bimector

Ok.

Change port input digital to analog. Now, I reading analog port input state for sensor.

Go Up