Shop OBEX P1 Docs P2 Docs Learn Events
Stamp 2pe capabilities — Parallax Forums

Stamp 2pe capabilities

william chanwilliam chan Posts: 1,326
edited 2008-09-22 20:59 in BASIC Stamp
Hi,

Can the Stamp 2pe

1. directly read temperature from LM34 temperature sensor?
2. directly control a Infra-red LED to send 1200 baud data to a PC?

Thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-09-22 19:53
    William,

    The answer to your first question is, no, not directly. But with a little support circuitry you could do it. As for number 2, yes. With a properly configured circuit you could send serial data via IR.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-09-22 20:59
    William,

    The MoboStamp-pe includes a BS2pe and can read the LM34 directly via its onboard 10-bit ADC (AVR coprocessor). There are two conditions to observe:

    1. You don't need readings below 5°F. (Lower readings require an auxiliary negative supply and an ADC that can handle negative voltages. Even then, you could get around this limitation by adding a diode to the ground connection of the LM34.)

    2. You're not powered from the USB port but are using an external supply with the onboard 5V regulator. (This is because the USB supply can dip as low as 4.3V, and the AVRs use Vdd as a reference for A/D conversions. Alternatively, the AVR can be set to use its internal reference, but you won't get as much dynamic range on the high end unless you divide down the LM34's output.

    -Phil
Sign In or Register to comment.