.n0rig.,
By chip, do you mean the PIC or are you interfacing the PIC to some chip on the car? You only need serin and serout if you're interfacing to a computer or another IC. Or do you mean to talk from one PIC (on the remote) to the PIC on the car?Code:Anyways, what I will need most help in will be the serout and serin to connect to the chip on the car to make the car move forward, back, etc.
I doubt you can control the motors like a servo. Rumble packs are typically DC brushed motors with a counterweight on the end that act like pager motors or the vibration ringer in a cellphone. They'll be full on or off like a standard DC motor. You'd have to use PWM with some type of interface circuitry or buy a motor controller that can interface with the PIC.
If you'd like to dive further into motor control, a quick Google search turned this up:
http://www.newark.com/pdfs/techartic...ksBrochure.pdf
http://ww1.microchip.com/downloads/e...tes/00893a.pdf
http://ww1.microchip.com/downloads/e...tes/00905a.pdf
http://www.seattlerobotics.org/encod...implemotor.htm
I haven't looked at this in detail, but you might get away building this and using pulsout:
http://www.aaroncake.net/CIRCUITS/motorcon.asp
However, I think this would do everything you want and pretty cheaply:
http://www.parallax.com/Store/Access...%2cProductName




Bookmarks