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

AI Thread Summary
The discussion focuses on programming an 8051 microcontroller to control a DC motor for a radio-controlled car using mobile commands. Users seek help with coding, specifically in assembly or C, to implement directional movements based on button presses. Forum members emphasize the importance of sharing code attempts for constructive assistance and encourage proper English usage for clarity. Suggestions include providing pseudo-code to outline control algorithms before converting them to C. Clear communication and effort in coding are essential for effective help in technical forums.
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:
Back
Top