0

I am trying to set the ethernet port pins directly to send High / Low signals to light up four LEDs. Is there any way I can simply connect LEDs to the ethernet cable?

What would be the best approach, if using ethernet is not a good option, to light up four LED lights and switch them on/off using a PC.

I am planning to create a command-line tool in Python. So far I have gone through a lot of articles about PySerial, LibUSB etc. and have been suggested to use USB to UART converter modules, or USB to RS-232 converters.

Actually I don't want any interfaces except the PC port and the LEDs as far as possible.

Please suggest!

user2864740
  • 60,010
  • 15
  • 145
  • 220
Nj Subedi
  • 317
  • 4
  • 15
  • "USB to RS-232 converters" sounds good. RS-232/Serial controllers allows pin control from software and also supply enough power/voltage for a LED. RS-232 is *not* Ethernet, of course :) – user2864740 Mar 01 '14 at 08:39

1 Answers1

1

No, it is not possible. There is no sane way to affect the PHY in PC software.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358