Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to make an led glow on one pin of USB port

Status
Not open for further replies.

ronydc

Full Member level 3
Joined
Nov 17, 2005
Messages
166
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,298
Activity points
2,612
dear friends.
i hv a simple requirement . can some one help.?

i jsut need to glow an led on usb port... What should i do.. for tht.

can some one explain with code..? i am not known to VB. OR c++ or any but i know microcontrolers.

thanks in advance
RONY
 

FT232

U cannot just glow a LED on usb port directly..First convert the serial data from USB to RS232 level using FT232(IC) . Then use a ucontroller to read data and convert it into parallel. Then connect as much LEDs as u like.
 

one more .. who has not understood my words..

ok any one there who understands wht i want. to learn.?

-- i wish some one is there. who can really understand wht i need .. ..
friends..!!!

- sad rony..
 

Hello rony,
Sorry to join the negative league of replies but Faizan Jawaid is correct because a USB port is a high speed serial data bus, it is designed to output data as a very high speed bit stream, millions of bits per second, it is just not possible to make a LED glow in a controlled way without using an interface device of some sort to convert the serial message data to a parallel output, as you understand microcontrollers you must know what I mean by this.

It is possible to use some of the FTDI family of chips without a microcontroller to switch the LEDs as they have a parallel interface built in, so with transistor drivers you could then drive up to 8 high brightness LEDs directly from this port. Writing the LED driver program is then quite straigtforward, I think this is what you were originally asking for help with but it is impossible to write this code without details of the interface to the LED.

I realise it is difficult for you to make yourself understood on this forum because English is not your native language but as you have written your original post you seem to be asking for the solution to an impossible task, which is why you are getting some apparently laughable replies.
Best regards,
Bob.
 

Check this:
**broken link removed**
The schematic is in the download archive
**broken link removed**

You need to burn program in the uC, build it simplified without relays, just LEDs. Connect it to PC, install the provided driver and use the provided command line program to toggle LEDs. It's really easy to modify the PC software to suit your needs.
 

    ronydc

    Points: 2
    Helpful Answer Positive Rating
dear dear dear...

all the friends up to mr . DRBob 13

PLEASE READ THE ANSWER PROVIDED BY MR.Eugen_E .

so all of you can understand that what was my question and what is the answer..

---> specially my very knowlegable friend
DRBob. YOU READ MR Eugen_E's answer ..?
so you will feel that there was no problem with my english but the problem was with the understanding ability of my dear friends here.

ANY WAY. my only intention in all this was to learn wht i asked for. and thanks for all of your co-operation.

Rony.
 

Rony,
I FELT SORRY FOR THE WAY YOU HAD BEEN TREATED EARLIER IN THIS THREAD BUT CLEARLY THIS WAS A MISTAKE, ......the rest of this post would not be suitable for publication so I will not write anything that I will later regret...! :cry:
Regards,
Bob.
 

I really don't understand this forum. Why are you all being so nice to that apparent idiot, with poor english knwoledge and bad manners (OK I'm not much better right now either). One thing is, if you cannot express yourself in english, quite another is, when you insult anyone, who tries to clear the issue - tries to add some sense to quite stupidly (yes stupid is the word to use here) started topic. I guess all of you have much higher tollerance, than me. Or is he some sort of VIP, that I'm not aware of. And ronydc, if you are or aspire to be a professional engineer, I feel sorry for any poor soul, which will be forced to work with you!

!!!
 

mater ends here.
nothing to say more..
person with a level finaly got the my point about my question. and i got the answer.
enough.

see this is called the tollerence....

--sad rony
 

well rony , i hope you have reach your point . i have made interfacing to a µc
through the Turbo C++ , and it was very easy just using two function in the C++ which is : oup, inp

these functions is designed to do interfacing all you have to do is to know the number of the port you want to make the interface on . send me if you want a code.



Hope this help you .
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top