Log in

View Full Version : Serin picbasic



azra01
- 17th December 2009, 13:27
Hello!

I'm interested in how to turn on and turn off LED which is connected on Serial (COM) port on computer. I want to use Visual Studio 2005 for turning on and turning off the LED, and for receiving I want to use PIC16F84A which is programmed in PICBasic. If there is any method without using PIC, also tell me. Thanks!

Acetronics2
- 17th December 2009, 13:39
Hello!

. If there is any method without using PIC, also tell me. Thanks!

Hi,

YES ... its name is DS 2405 from Dallas ...

you can use either your PC or a small µP to drive them ... Dallas also give a PC driving soft on its site ! ( "One Wire viewer" )

Alain

azra01
- 17th December 2009, 13:42
Hi,

In my shops there aren't DS2405. I want to control my LED on COM port with VISUAL STUDIO 2005. How to do this?

Acetronics2
- 17th December 2009, 13:51
I Think Mel ( Melanie ) posted a nice PIC program to do that ( written on a table towel ! if my souvenirs are right ).

VB 2005 will still be your part ...

Might be retrieverable through the SEARCH function of this forum.

Alain

azra01
- 17th December 2009, 13:56
Can you please post link for this? I can't find it... :)

Acetronics2
- 17th December 2009, 16:06
Here it is ...

http://www.picbasic.co.uk/forum/showthread.php?p=2078#post2078

Alain

azra01
- 17th December 2009, 19:30
I don't understand again. How can I control this circuit with PC with software programmed in Visual Studio 2005?

mackrackit
- 17th December 2009, 21:44
You write a program on you PC to send a command via serial.
Have the PIC programmed to look for a certain command from the PC.
If the PIC likes what it sees from the PC...

kevlar129bp
- 18th December 2009, 22:38
Could he be referring to driving an led directly from a serial port? :eek: That's kinda how I read his first post... shift register, maybe? (his post said without the pic, from vs2005). Maybe he needs to word-up on bit-banging the parallel port instead?

Just my $.02

Chris