![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Can anyone help me with a project?
I was thinking about interfacing a toy car to a computer port and then control the toy car's motion using keyboard input and using Visual Basic Program. If I press the up arrow key the toy car will move forward If I press down it will move backwards, left if I press left arrow key and right if I press right arrow key. Please help me Sincerely, andales |
|
|
|
|
|
|
(permalink) |
|
Are you open to what type of computer port to use ?
It would be best to put a micro controller in the car. You will also need h-bridges to convert the control signals to levels that can run the motors. It will be a lot of learning and fun (some misinformed would call it work) but it can be done. The printer port could be used and would not require a micro controller. But you would have that massive cable to deal with. Are you still interested ? Last edited by 3v0; 5th October 2007 at 05:26 PM. |
|
|
|
|
|
|
(permalink) |
|
I'm just guessing here, but I think those micro R/C cars have controls that are just switches (i.e. full left, full right, full forward, full reverse). I think it's the same deal with cheap R/C toys, with the exception of maybe a pot control for the throttle?
So to make it work without having a cable tethered to your computer, and with the least amount of parts, I'd say hack the R/C controller. Use the parallel port and interface that with the controller: transistors or h-bridges for the switches, and a programmable resistor for the pot. Voila! Seems like an awesome project - good luck! Last edited by Hank Fletcher; 6th October 2007 at 02:14 AM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
yes of course. I am still interested. I will be using the parallel port. so What should be the configuration of the wires of the cable?what devices I shoould use?Do i need to use Max 232? can i have a schematics if possible? |
||
|
|
|
|
|
(permalink) | |
|
Quote:
http://www.beyondlogic.org/ecp/ecp.htm What's the toy car you're using? I still say hacking an existing R/C toy is the best way to go, but maybe the toy you have doesn't even have R/C to begin with? Even given the extra work it would take, I'd highly recommend adding an R/C component to your design over trying to plug a parallel port cable directly into your toy. How fun is that going to be, dragging a thick cable a whole three metres (because I don't think the parallel port is good for much longer than that) across your desk? |
||
|
|
|
|
|
(permalink) |
|
RC would would be an improvement. IFF you do not want to go with RC
They used to sell toy cars and such with a remote that was connected to the toy with wires. To use one of these you would just replace the mechanical switches with transistors or relays controlled by the port. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Can you give me all the information includin schematics and VB source code? |
||
|
|
|
|
|
(permalink) | |
|
Quote:
The other reason I can't give you all the information you need is because I have no idea what you have to begin with. Get a cheap RC car, take it apart and put it back together again. By the time you've done that and read up on the parallel port, you should have all the answers you need. Last edited by Hank Fletcher; 8th October 2007 at 05:57 PM. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
Look at this zip, it will give you an insight to the parallel port, theres also some of my VB source code you can use.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 11:22 AM. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
I have bought two types of Toy cars. One is bounded and the other is wireless. So how do I replace the mechanical switches with transistors or relays controlled by the port.? Can I have schematics? |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Computer Controlled Router Monitor (switch) | dannix | General Electronics Chat | 2 | 16th July 2007 07:21 PM |
| computer controlled power switch | Michael Daly | Electronic Projects Design/Ideas/Reviews | 2 | 25th June 2007 06:14 PM |
| RC car controlled via computer | drage | Electronic Projects Design/Ideas/Reviews | 6 | 22nd October 2006 11:37 AM |
| IR computer interface | bogdanfirst | General Electronics Chat | 3 | 24th January 2004 09:02 PM |
| computer printer port interface | bogdanfirst | Electronic Projects Design/Ideas/Reviews | 10 | 26th September 2003 07:27 AM |