+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Newbie level 1
    Points: 15, Level: 1

    Join Date
    Aug 2013
    Posts
    1
    Helped
    0 / 0
    Points
    15
    Level
    1

    Help the motor code!

    i am using the Tx and Rx for the manual control to my project, Mop Cleaner.
    but i am a beginner of using MPLAB. i need someone to help me the code.

    first of all, i wan to explain my project working.

    automatic part,
    using the 2 IR sensor with Tx and Rx, if detect the object, the car will move left side. If again, will turn backside.
    and continue forward. so the output to the DC motor. Any1 can help me the code? or just gv me a example also can :) really nid help on my future

    •   Alt21st August 2013, 16:56

      advertising

        
       

  2. #2
    Full Member level 6
    Points: 2,299, Level: 11

    Join Date
    Mar 2013
    Posts
    322
    Helped
    49 / 49
    Points
    2,299
    Level
    11

    Re: Help the motor code!

    usually ultrasonic sensors are used for this purpose , but i guess infra red can be used too .

    check this sample code an di helps it would help
    http://www.codeforge.com/s/0/obstacl...rasonic-sensor



--[[ ]]--