Shop OBEX P1 Docs P2 Docs Learn Events
Prop Backpack question — Parallax Forums

Prop Backpack question

sylvie369sylvie369 Posts: 1,622
edited 2010-10-05 06:12 in Propeller 1
I bought one of the Propeller Backpacks when it was the daily deal last week. I'm looking the thing over, and reading the documentation, and I think it might be an ideal way to do something I've been wanting to do, if I'm understanding it correctly.

In my rockets, I have an altimeter that outputs 5V level serial altitude data at 9600 baud. I've been sending those data through level conversion to an XBee to be transmitted to the ground, and that works beautifully. The ARLISS team I've worked with (See the Stamps in Class forum) is sending those data to an onboard Stamp and recording them to a USB drive, also successfully.

I would like to also add some other data to the datastream from the XBee, from analog sensors.

It seems to me that I could connect the altimeter's serial output to the 5V serial three-pin connector on the Backpack, and read them into the Prop that way, without needing any level conversion. I could (once I learn how) also send the analog sensor data in through the two analog inputs to the Prop. Then I could use the Backpack's Propplug connector at 3.3V to send the data out to the XBee for transmission, again without needing any level conversion.

Am I reading things correctly?

Comments

  • Cluso99Cluso99 Posts: 18,069
    edited 2010-10-04 18:28
    If your datastream is output only (input to the prop) as I think is the case, then you can input it to any spare pin with a 150R series resistor. You will just need to invert the pin in the code (FDX can do this in the mode setting). In fact, the 3pin I/O port could do this too using it's inbuilt 2K2 and 10K pullup.

    And yes, you could do what you say.

    You could also wire an SD card to A4-A7.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-10-04 20:02
    Sylvie369,

    Everything you've said is correct. I would be wary of Cluso's statement about the 150R series resistor, however. That's actually much too low a value. The Prop datasheet specs the maximum forward bias of the input protection diodes at 0.5mA. And (5 - 3.3 - 0.6) / .0005 = 2200 ohms minimum.

    -Phil
  • sylvie369sylvie369 Posts: 1,622
    edited 2010-10-04 20:36
    But if I connect the 5V level serial data into the Backpack to the three-pin connector I don't need to mess with resistors on that line at all, right? Just a straight wire?

    And similarly, the output from the Backpack through the pins of the Propplug connector can go directly to an (3.3V) XBee pin without anything other than just plain wire, right?

    If that's going to work, I think I know how I'm going to spend the off season.
  • Mike GreenMike Green Posts: 23,101
    edited 2010-10-04 20:50
    The 3 pin I/O connector already has the resistors installed, so it can be connected to a 5V logic signal (Gnd,+5V,I/O).

    The PropPlug connector can indeed be connected to a 3.3V device like the xBee without any extra protection.
  • sylvie369sylvie369 Posts: 1,622
    edited 2010-10-05 04:58
    Thanks, all. I guess the Backpack is a much more interesting product than I'd thought. I should have bought two when it was on sale.
  • hinvhinv Posts: 1,255
    edited 2010-10-05 05:47
    I missed the sale. How much were they?
  • hover1hover1 Posts: 1,929
    edited 2010-10-05 06:12
    Daily Deal 09/28/10 - 40% off Propeller Backpack. Optimized for audio/video applications. Now $29.99
    hinv wrote: »
    I missed the sale. How much were they?
Sign In or Register to comment.