Shop OBEX P1 Docs P2 Docs Learn Events
QTI with msr1? — Parallax Forums

QTI with msr1?

p00ndawgp00ndawg Posts: 70
edited 2010-07-22 17:11 in Propeller 1
Has anyone had any success using the two?

I tried quite a few things but the values would not update.

qti sensor
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/qti/List/0/SortField/4/ProductID/100/Default.aspx


msr1
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/msr1/List/0/SortField/4/ProductID/584/Default.aspx


And was using this object:
http://obex.parallax.com/objects/584/


I used rctime to run this and got no results. I tried pulling the signal high and low just to get something out of it with the msr1 but that did not do anything either.
I ran it on a bs2 board and it worked.

Post Edited (p00ndawg) : 7/22/2010 1:51:28 PM GMT

Comments

  • LeonLeon Posts: 7,620
    edited 2010-07-22 04:05
    What are they?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • StefanL38StefanL38 Posts: 2,292
    edited 2010-07-22 06:12
    OK after searching for the term QTI and msr1 I know what it means:

    I will give an example how I think a good "I did my part"-posting looks like:

    copy&paste the productdescription form the parallax store
    The QTI Sensor is an infrared emitter/receiver that is able to differentiate between a dark surface) with low IR reflectivity)
    and a light surface (with high IR reflectivity). These little sensors can be very handy for line following, maze navigation, or
    sensing the outer rim of a SumoBot ring. Wiring options allow it to be used digitally for fast black/white line following, or as
    an analog sensor to detect different shades of gray. A daylight filter is built into the sensor.

    link to QTI Sensor

    here is the QTI-sensor manual

    The msr1 is the Propeller Robot Control Board

    manual of the msr1
    schematic of the msr1

    I have connected the QTI-sensor too the MSR1-board at connector ...... like shown in the schematic of the attached picture (your schematic with addtional markings where you connected the sensor)

    I'm using the QTI-sensor with the Octal QTI Line Sensor Driver object from the obex.

    I'm trying to use the sensor with the attached code (your COMPLETE code attached as a proptool-archive to the posting)


    Well - this prepares forum-members very well to analyse what's wrong with your setup.
    Nobody is forced to click on any link and read additional information. Every reader CAN do it easily

    best regards

    Stefan
  • p00ndawgp00ndawg Posts: 70
    edited 2010-07-22 13:47
    Im not sure what I did, I had more stuff I had written to post and it didnt come out. Ill try to fix the OP.
    I should probably use preview.

    Post Edited (p00ndawg) : 7/22/2010 1:52:23 PM GMT
  • LeonLeon Posts: 7,620
    edited 2010-07-22 14:05
    You probably edited it and forgot to save it. I'm always doing that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • KyeKye Posts: 2,200
    edited 2010-07-22 14:18
    Okay, so I wrote that object for the MSR1 and I have gotten it to work perfectly. However, you need to bypass the voltage translaters.

    Thus your going to need to directly connect the propeller chip's I/O pins to the QTI line sensors and power the sensors with 3.3V.

    What I did was I made port A (pins 0 -7) on the MSR1 connect to the QTI line sensors. First, note that the QTI line sensors are wired akwardly so you'll need to change the pin positions in QTI line sensor headers. After that you have to disable the voltage translators and then solder wires from behind the voltage translators (near the prop) to the pin connectors on the output of the MRS1.

    Bascially its a bit of soldering on the MSR1 board that needs to be done.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,

    Post Edited (Kye) : 7/22/2010 2:25:08 PM GMT
  • p00ndawgp00ndawg Posts: 70
    edited 2010-07-22 16:07
    thanks kye. Thats what I thought I was going to have to do. Will I end up losing pins 0 - 7 because of this?
  • StefanL38StefanL38 Posts: 2,292
    edited 2010-07-22 16:25
    if - what kye said fixes the problem - good.

    if not use the description of the picture to ATTACH your spin-fileS to a posting

    best regards

    Stefan
  • KyeKye Posts: 2,200
    edited 2010-07-22 16:46
    No, pins 0-7 just become 3.3v tolerant only pins because the translators will be bypassed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • p00ndawgp00ndawg Posts: 70
    edited 2010-07-22 16:50
    dang that sucks, I need those 5v.
    Thanks for the help.
  • hover1hover1 Posts: 1,929
    edited 2010-07-22 17:11
    For Input or Output? For input, it's quite easy. Put a 1K-10K resistor in line with the input signal. For output, your receiving device might be able to read 3.3 volts as a high.

    For your reading pleasure, How to safley interface a 5 volt signal to the Propeller:

    http://forums.parallax.com/showthread.php?p=585920

    Jim


    p00ndawg said...
    dang that sucks, I need those 5v.
    Thanks for the help.
Sign In or Register to comment.