Shop OBEX P1 Docs P2 Docs Learn Events
Status LEDs for Transmit and Receive lines — Parallax Forums

Status LEDs for Transmit and Receive lines

Chuck RiceChuck Rice Posts: 210
edited 2008-04-25 23:23 in Propeller 1
I have several protoboards (4) connected serially, using 51 ohm series resistors on the tx and rx lines, and a 10k pullup to 3.3v as shown in the Propeller Cookbook. I would like to add some reassuring blinky lights when data is transmitted.

Where/how would it be best to attach these without interfering with the 115,200 baud traffic?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-25 22:35
    If you really want to attach LEDs without affecting the signal lines, you need to use some kind of buffer. Something like a 74LCX07 which has an open drain output that can drive LEDs and is compatible with a 3.3V supply.
  • tpw_mantpw_man Posts: 276
    edited 2008-04-25 22:37
    You could modify the FDS driver to turn on a pin when in the process of receiving or transmitting data and then attach the LED to that pin.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1010, so be surprised!
  • Chuck RiceChuck Rice Posts: 210
    edited 2008-04-25 22:55
    .
    There does not appear to be a DIP version of that buffer. Would an inverting buffer such as this work as well?

    I am not a true swimmer in the electronics "pool". I have to dog-paddle to keep my head above water.

    .
  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-25 23:09
    Yes, the 74HC05 will also work. Connect the LED's anode through a 100 Ohm resistor to the output pin and ground the cathode. Use the Propeller's 3.3V supply for the 74HC05. When the input pin goes high, the LED will light (with about a 10mA forward current).
  • Chuck RiceChuck Rice Posts: 210
    edited 2008-04-25 23:23
    Perfect! Thanks.

    .
Sign In or Register to comment.