Pololu Robotics & Electronics
Menu
My account Comments or questions? About Pololu Contact Ordering information Distributors

QTR 8RC Analog output problem


#1

Hi, I have a problem with QTR-8RC analog output.
I read QTRAExample.ino and use A0~A5 analog input with my arduino R3.
But the output always as below…

0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0

any idea with this problem?


#2

Hello.

The QTR-8RC is the version of that sensor array with a digital output, and the QTR-8A is the version with the analog output. You are using the example for the QTR-8A. If you have the QTR-8RC, you should use the example for the QTR-8RC. If you continue to have problems after loading the correct example sketch, could you post pictures of your setup showing your connections?

Grant


#3

Have you wired in the VCC (5v as standard, 3V3 if you’ve jumped the bypass) and the GND (ground)? The problem is probably that you’ve used analog pins and the QTR-8RC is digital, though you can use the analog pins for digital… Make sure you’ve read the docs and followed correct set up :slight_smile: