User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 391,708 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,407 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser:
Views: 1441 | Replies: 18
Reply
Join Date: Sep 2006
Posts: 260
Reputation: Colin Mac is on a distinguished road 
Rep Power: 2
Solved Threads: 16
Colin Mac Colin Mac is offline Offline
Posting Whiz in Training

Re: self-learning remote control car

  #11  
Jun 16th, 2008
Taking the simplest case, say your car only moves forwards and backwards. For every command you send, you store the values in memory, and your car moves for a certain time for each.

When you send the repeat command, you read the values back from memory one by one and move accordingly.
Reply With Quote  
Join Date: Jun 2008
Posts: 10
Reputation: seesy123 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
seesy123 seesy123 is offline Offline
Newbie Poster

Re: self-learning remote control car

  #12  
Jun 17th, 2008
Salem how to store in array using mplab...i just know using MPLAB..do you know how to write the command...tomorrow i send the assemble code to you then see whether you can modify it or not...thanks
Reply With Quote  
Join Date: Jun 2008
Posts: 10
Reputation: seesy123 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
seesy123 seesy123 is offline Offline
Newbie Poster

Re: self-learning remote control car

  #13  
Jun 17th, 2008
Colin Mac ,i know what you mean store command in memory...i not sure izit use the PIC memory or use a IC memory and someone told me that PIC16F84A no enough memory space to store command..do you know how to write the command that can call out the instruction back from memory..
Reply With Quote  
Join Date: Sep 2006
Posts: 260
Reputation: Colin Mac is on a distinguished road 
Rep Power: 2
Solved Threads: 16
Colin Mac Colin Mac is offline Offline
Posting Whiz in Training

Re: self-learning remote control car

  #14  
Jun 17th, 2008
Originally Posted by seesy123 View Post
Colin Mac ,i know what you mean store command in memory...i not sure izit use the PIC memory or use a IC memory and
PIC memory.
someone told me that PIC16F84A no enough memory space to store command.

According to the PIC16F84A data sheet, it has 68 bytes of general purpose RAM and 1K of program code.
.do you know how to write the command that can call out the instruction back from memory..
I don't use that micro. It's all in the link I gave you if you read it.

Why is it someone would give you this project and expect it in a month if you have no experience in programming micros. If it's a school project, I think it's asking for much considering you have to design and build a remote controlled car at the same time.
Last edited by Colin Mac : Jun 17th, 2008 at 12:35 pm.
Reply With Quote  
Join Date: Jun 2008
Posts: 10
Reputation: seesy123 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
seesy123 seesy123 is offline Offline
Newbie Poster

Re: self-learning remote control car

  #15  
Jun 19th, 2008
[quote=Colin Mac;629099]PIC memory.
that's school project..i post the schematics of the remote control car.so can you check see got any problem in this circuit.i think my problem is don't know how to write the program to make it repeat the instruction without controlling.i just know write how to control the car using remote control but don't know how to write the program to repeat the same work.
Attached Images
File Type: jpg PIC16F84A&PT2272receiver1.JPG (17.9 KB, 7 views)
File Type: jpg PT2262 transmitter.JPG (86.4 KB, 6 views)
File Type: jpg H-bridge motor.JPG (49.5 KB, 7 views)
Reply With Quote  
Join Date: Sep 2006
Posts: 260
Reputation: Colin Mac is on a distinguished road 
Rep Power: 2
Solved Threads: 16
Colin Mac Colin Mac is offline Offline
Posting Whiz in Training

Re: self-learning remote control car

  #16  
Jun 19th, 2008
There's no part no. shown for the RF transmitter module. The datasheet for the encoder shows it interfaced to a transmitter you must build. Are you building the transmitter yourself? The IC in your motor pic isn't an
LM2930. It looks like a H-bridge IC. You can get those with diodes built in.
Last edited by Colin Mac : Jun 19th, 2008 at 10:08 am.
Reply With Quote  
Join Date: Jun 2008
Posts: 10
Reputation: seesy123 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
seesy123 seesy123 is offline Offline
Newbie Poster

Re: self-learning remote control car

  #17  
Jun 19th, 2008
ya..i'm wrong..is L293D for motor pic..izit the transmitter can buy in market but i think have many different types and frequency.if i want build it.. how..izit refer back the datasheet of PT2262 that i had attached the pic..actually i copy the schematics from senior..
Last edited by seesy123 : Jun 19th, 2008 at 10:25 pm.
Attached Images
File Type: jpg remote control encoder.JPG (53.0 KB, 4 views)
Reply With Quote  
Join Date: Sep 2006
Posts: 260
Reputation: Colin Mac is on a distinguished road 
Rep Power: 2
Solved Threads: 16
Colin Mac Colin Mac is offline Offline
Posting Whiz in Training

Re: self-learning remote control car

  #18  
Jun 20th, 2008
The L293D has diodes, you don't need extra. See.
I don't know about the PT2262.
There is a simpler design for a 4-bit RF Tx/Rx halfway down the page here.
Reply With Quote  
Join Date: Jun 2008
Posts: 10
Reputation: seesy123 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
seesy123 seesy123 is offline Offline
Newbie Poster

Re: self-learning remote control car

  #19  
Jun 25th, 2008
i'm planning to use this website http://pro-radio.ru/user/uploads/126799.pdf on page 9 and place a PIC18F2525 between the RX and motor..The PIC will listen to the RX and pass what it hears/sees on to the motors.To record the PIC will also compress (more on that in another post) and record what it gets from the RX and still passes it on.

To playback the PIC reads the old commands from its memory and sends them on to the motors.
so now i think i need to learn another new language PIC C compiler
Last edited by seesy123 : Jun 25th, 2008 at 8:33 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Assembly Marketplace
Thread Tools Display Modes

Other Threads in the Assembly Forum

All times are GMT -4. The time now is 2:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC