Click here to Skip to main content
15,886,798 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: How much RAM will mobo hold Pin
Dan Neely25-Aug-09 3:13
Dan Neely25-Aug-09 3:13 
Questiongetting print job information using c# Pin
mbams21-Aug-09 23:57
mbams21-Aug-09 23:57 
AnswerRe: getting print job information using c# Pin
Garth J Lancaster22-Aug-09 0:33
professionalGarth J Lancaster22-Aug-09 0:33 
GeneralRe: getting print job information using c# Pin
mbams23-Aug-09 1:56
mbams23-Aug-09 1:56 
GeneralRe: getting print job information using c# Pin
Garth J Lancaster23-Aug-09 12:57
professionalGarth J Lancaster23-Aug-09 12:57 
QuestionWindows SDK RegisterDeviceNotification() Failed, Help Pin
jordy_Yun16-Aug-09 16:27
jordy_Yun16-Aug-09 16:27 
QuestionControlling LEDs From USB port Pin
jonhbt14-Aug-09 2:30
jonhbt14-Aug-09 2:30 
AnswerRe: Controlling LEDs From USB port [modified] Pin
Luc Pattyn14-Aug-09 3:40
sitebuilderLuc Pattyn14-Aug-09 3:40 
Hi,

1.
depends on how many LEDs. You could easily connect 3 to one serial port (e.g. a USB-to-RS232C cable); and use the SerialPort class to control the output control lines.

2.
you could connect any number using external logic, basically implementing a shift register (needs data, clock, clear as a minimum; without an additional latch, they would flicker when a new data stream gets sent). This needs an external power supply.

3.
you could connect any number supported by it by using a micro-controller. This too needs an external power supply.

4.
yes C# can be used for such things.

5.
have you googled? searched CodeProject articles? there are several.

[EDIT]
Of course you would need at least a series resistor to limit the current and keep things alive. Depending on the LED and the voltages of the serial port, I would go for 1000 to 4700 ohm. Lower = more current = brighter = more dangerous. Don't go anywhere under 470 ohm!
[/EDIT]

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

modified on Friday, August 14, 2009 10:11 AM

AnswerRe: Controlling LEDs From USB port Pin
Dave Kreskowiak14-Aug-09 3:42
mveDave Kreskowiak14-Aug-09 3:42 
AnswerRe: Controlling LEDs From USB port [modified] Pin
mustang8614-Aug-09 18:43
mustang8614-Aug-09 18:43 
AnswerRe: Controlling LEDs From USB port Pin
mustang8615-Aug-09 13:57
mustang8615-Aug-09 13:57 
QuestionMain Server Storage Device. Pin
Nanda_MR13-Aug-09 18:57
Nanda_MR13-Aug-09 18:57 
QuestionCant find SQLServerCE dll Pin
sohaib_a13-Aug-09 4:45
sohaib_a13-Aug-09 4:45 
QuestionHow to make a raw PDO device accessible from user mode code in control panel? Pin
sinosoidal10-Aug-09 23:10
sinosoidal10-Aug-09 23:10 
AnswerRe: How to make a raw PDO device accessible from user mode code in control panel? Pin
Randor 11-Aug-09 11:49
professional Randor 11-Aug-09 11:49 
GeneralRe: How to make a raw PDO device accessible from user mode code in control panel? Pin
sinosoidal12-Aug-09 1:55
sinosoidal12-Aug-09 1:55 
GeneralRe: How to make a raw PDO device accessible from user mode code in control panel? Pin
Randor 12-Aug-09 10:28
professional Randor 12-Aug-09 10:28 
QuestionHow make my system run fast? Pin
CoderForEver10-Aug-09 9:09
CoderForEver10-Aug-09 9:09 
QuestionBest way to send a signal to a piece of hardware Pin
Wjousts10-Aug-09 8:55
Wjousts10-Aug-09 8:55 
AnswerRe: Best way to send a signal to a piece of hardware Pin
Luc Pattyn10-Aug-09 9:23
sitebuilderLuc Pattyn10-Aug-09 9:23 
GeneralRe: Best way to send a signal to a piece of hardware Pin
Wjousts10-Aug-09 10:25
Wjousts10-Aug-09 10:25 
GeneralRe: Best way to send a signal to a piece of hardware Pin
Luc Pattyn10-Aug-09 10:51
sitebuilderLuc Pattyn10-Aug-09 10:51 
AnswerRe: Best way to send a signal to a piece of hardware Pin
supercat912-Aug-09 6:55
supercat912-Aug-09 6:55 
QuestionMonitoring CPU Pin
red_moon10-Aug-09 6:59
red_moon10-Aug-09 6:59 
AnswerRe: Monitoring CPU Pin
Luc Pattyn10-Aug-09 7:38
sitebuilderLuc Pattyn10-Aug-09 7:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.