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.

Help me with my robot

Status
Not open for further replies.

username134

Newbie level 4
Newbie level 4
Joined
Sep 13, 2012
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,315
im using pic16f877a as the mcu and l293d as driver and the motors are servo. It has three switches the middle should make the two motors move while the left switch should make the left motor move and the right switch should make the right motor move. here is the image https://obrazki.elektroda.pl/30_1347521858.png and the code is also provided
 

Attachments

  • robot code.txt
    2 KB · Views: 109

im using pic16f877a as the mcu and l293d as driver and the motors are servo. It has three switches the middle should make the two motors move while the left switch should make the left motor move and the right switch should make the right motor move. here is the image https://obrazki.elektroda.pl/30_1347521858.png and the code is also provided

Where is the code? zip and post your proteus .dsn file. Are you using PWM?

Check this simulation.
 

Attachments

  • motor_v2.rar
    18.2 KB · Views: 85
Last edited:
Hi

In your Program u need to provide some delay, for the micro controller execution time will depend on the crystal frequency.
and in this simulation u have used the pwm (CCP1,CCp2), but there is no initialization for the duty cycles.. so if u are using this pwm means u need to initial ccp mod orelse remove the connection, i think this will work fine...
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top