??? 08/03/09 16:29 Modified: 08/03/09 16:31 Read: times |
#168111 - Confusing... Responding to: ???'s previous message |
Anurag said:
Connect RED to +5 volts, Black to ground, and Brown gets connected to a LED ( other end of LED goes to ground). Optionally, you may want to add a resistor with LED especially if supply exceeds 5 V. Product info http://www.sparkfun.com/commerce/...ts_id=8630 says, that brown wire is ground and black wire is open collector alarm output. Datasheet, on the other hand, tells that it is just vice versa! And what you tell about the LED is also confusing. If you connect a LED to an open collector output, you cannot hook the other end to ground! An open collector output can only sink current but not source. Connecting a LED to the open collector output (if this thingy can drive a LED at all) makes only sense if you connect the cathode of LED to the open collector output and the anode of LED via a suited current limiting resistor to the supply voltage. Kai |