connect two pics


Results 1 to 29 of 29

Threaded View

  1. #1
    Join Date
    Jun 2006
    Posts
    14

    Default connect two pics

    Hi to the forum!

    I already searched the forum about how to connect two pics, i found that many ppl suggesting using serin2 and serout2 commands.

    Iam builiding a robot for avoiding obstacles. One PIC16f877a is used for collecting data(actually the voltage is changing) with a/d channels from a sharp IR sensor and display them on a lcd, I want when the sensor gets a minimal voltage value (indicating the robot is close to an obstacle) then the second PIC 16f84 become active (with a l293d chip) to make the dc motors moves the way I want.

    Is there a simpler way to just make the second PIC enable for some minutes to just run the program with the dc motors, and then become inactive again without serial communication?

    I know the simplier solution is to put everything on PIC 16f877a but for some strange reason the big PICs dont work well with l293d and dc motors only the smaller ones like pic16f84 or pic16f628 do thats why i need 2 pics.

    Any help will be very much appreciated.

    Thank you very much.
    Last edited by soki; - 19th September 2008 at 15:09.

Similar Threads

  1. Free Project - 245 LED Display
    By T.Jackson in forum Code Examples
    Replies: 221
    Last Post: - 16th August 2009, 04:59
  2. Retrieving infos from multiple PICs on a bus/chain
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th October 2007, 04:42
  3. connect 2 PICs
    By drama in forum mel PIC BASIC
    Replies: 1
    Last Post: - 4th October 2007, 16:55
  4. Multiple PIC's with 1 crystal
    By puma in forum Schematics
    Replies: 11
    Last Post: - 20th March 2007, 17:02
  5. Replies: 5
    Last Post: - 20th August 2006, 23:09

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