Serin picbasic


Closed Thread
Results 1 to 9 of 9

Thread: Serin picbasic

  1. #1
    Join Date
    Dec 2009
    Posts
    6

    Red face Serin picbasic

    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!

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    Quote Originally Posted by azra01 View Post
    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
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Dec 2009
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    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?

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Lightbulb

    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
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Dec 2009
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    Can you please post link for this? I can't find it...

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Lightbulb

    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    Dec 2009
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    I don't understand again. How can I control this circuit with PC with software programmed in Visual Studio 2005?

  8. #8
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    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...
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Dec 2005
    Location
    Salt Lake City, Ut, USA
    Posts
    108


    Did you find this post helpful? Yes | No

    Default

    Could he be referring to driving an led directly from a serial port? 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

Similar Threads

  1. PicBasic SERIN
    By azra01 in forum General
    Replies: 1
    Last Post: - 9th January 2010, 01:56
  2. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  3. Problem with PBP interrupt and Serin, please help
    By rgregor in forum mel PIC BASIC
    Replies: 0
    Last Post: - 22nd August 2006, 19:02
  4. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 15:54
  5. PicBasic Fundamentals
    By Billyc in forum General
    Replies: 9
    Last Post: - 4th May 2004, 10:04

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts