Controlling a DC Motor with 8051 Microcontroller for a Radio-Controlled Car

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
sushant15488
Messages
6
Reaction score
0
hey ny1 can give me the 8051 microcontroller programming... to control dc motor ...? we r making a radio conrol car...with the help of mobile...when we press 2 ...car move if forward direc. when 4 then move in left n when press 6 move in...right ...whe press 8 thne backward ..when press 5 then stop...
 
Physics news on Phys.org
we have used ...H bridge..to move motor in both direc.?
can ny1 ...have program for that in assembly or in c
 
First of all; welcome to PF.

1)We do not hand out answers here. Show us your code or your attempt and someone will try to assist you.

2)Use proper English when requesting help. Your "sentences" are hard to read as it currently is.
 
i don't have code rite now......
 
Well show us your attempt at the problem when you have it.
 
ranger said:
First of all; welcome to PF.

1)We do not hand out answers here. Show us your code or your attempt and someone will try to assist you.

2)Use proper English when requesting help. Your "sentences" are hard to read as it currently is.

can u help me ...for that...we need only coding section...
 
so i will show my attempt next time...
 
sushant15488 said:
so i will show my attempt next time...

If you have trouble coding the c initially, just post some pseudo-code to show what kind of control algorithm you have in mind. At least if we see your pseudo-code, we can guide you somewhat in how you should convert that to c.

And yes, please type out the words in full -- you are using a full-size keyboard after all. Texting shorthand does not belong in a web-based technical forum like the PF.
 
Last edited: