Control an LED via USB/RS232 adapter

From ThorstensHome
Revision as of 12:53, 30 September 2012 by WikiSysop (Talk)

Jump to: navigation, search

Today I connected my USB to serial adapter to my computer. Then I looked up which pin is TXD and which is GND. Then I used python's serial library to switch on TXD, connected TXD to GND and the result can be seen here:

Led-on-rs232.png

Why does this work? Because there is a limiter that limits the power so the LED does not break.

See also