Io Tiny Vs. Ezb-v4 - Is Analog I/o Different?

 
#1

Hey gang,
I have two EZB-V4's and three IO Tinys (which I really love). I was having an issue with a Sharp IR sensor with the IO Tiny - it just never worked. I changed sensors, redid the wiring, etc and no luck.

Removed the sensor and wired up to one of my EZB-V4s. It works fine. Is there something different in the analog voltages OR is it possible my IO Tiny has a bad port?

#2

I doubt there is any difference, but I could be wrong... Check your Sharp IR sensor's voltage rating... If it is 5V you may have trouble getting it to work properly as the IO pins on the ioTiny and ezb are 3.3v... Something to check. FYI the IR sensors I use are rated at 3.3v and have no issues using them with either the ioTiny or the ezb4

#3

It’s strang it works on the exp v4 then. It is a 5V unit sensor.

I’ve tried both analog channels on the IO tiny with the same result.

I have some of the voltage regulators too. I could pull power for the analog signal from one of the digital channels through a regulator and send the signal wire to the analog input.

I think I will also try switching out the tiny.

#4

Ok neither worked. What is the part number if the sharp sensor that you use that is designed for a 3v source?

#5

This one should work but I have never tried it...
Sharp 10 to 150cm IR sensor

These are the ones I use... I use them as a proximity sensor (like in a robot hand to indicate whether an object is in it or not) not a distance sensor...
Sharp IR sensor

#6

Sharp have both analog and digital sensors:

https://www.pololu.com/category/79/sharp-distance-sensors

User-inserted image

RichardR is a digital so is 0 or 1 (object or not) you can connect to a digital port.

The analogis a different story, they measure distance and translate the distance to a voltage.

There are two versions: 5v and 3V

Quote:


The GP2Y0A60SZ supports two operating modes: 5V and 3V. In 5V mode, the recommended operating voltage is 2.7 V to 5.5 V, and the output voltage differential over the full distance range is approximately 3 V, varying from around 3.6 V at 10 cm to 0.6 V at 150 cm. In 3V mode, the recommended operating voltage is 2.7 V to 3.6 V, and the output voltage differential over the full distance range is approximately 1.6 V, varying from around 1.9 V at 10 cm to 0.3 V at 150 cm. The GP2Y0A60SZ datasheet (701k pdf) contains a plot of analog output voltage as a function of the distance for the two modes.



I would use a 5V version (you will need a 5v source)

#7

@mstephens_42,

Can you post your model ?