 |
|
 |
| Parallax Forums > Public Forums > BASIC Stamp > ? about motor control | Forum Quick Jump
|
|  jakjr Registered Member

       Date Joined Jul 2004 Total Posts : 88 | Posted 8/1/2004 9:50 PM (GMT -8) |   | | | |
 |  jakjr Registered Member

       Date Joined Jul 2004 Total Posts : 88 | Posted 8/1/2004 10:19 PM (GMT -8) |   | | By the way, I am looking for the most simple way to do this. | | Back to Top | | |
  |  jakjr Registered Member

       Date Joined Jul 2004 Total Posts : 88 | Posted 8/2/2004 8:44 AM (GMT -8) |   | Thanks for the reply.
But I have a few more questions,
Where is the ground wire coming from pin 2 hook into on the BS2 board? Will it go into pin 5 on the serial plug.
Where does the logic supply pin (pin 3) need to be plugged into, will it be pin 3 on the serial plug?
Where does pin 4 need to be plugged in, will it also be pin 3 on serial plug?
Where does the reset pin need to be pluged into, it says it needs to be connected to a digital output normally kept high, would this be an I/O pin? | | Back to Top | | |
  |  jakjr Registered Member

       Date Joined Jul 2004 Total Posts : 88 | Posted 8/2/2004 9:18 AM (GMT -8) |   | Yeah I was looking at the RS-232 connection schematic.
I think I might have figured out (some of it) now.
I connect pin 4 on the motor controller to an I/O pin on the BS2's board, we'll say its I/O pin 1. I connect pin 5 on the motor ontroller to another I/O pin on the Bs2's board, we'll its I/O pin 0.
I then use the SEROUT command to send a peice of data through I/O pin 1 to the motor controller which will then turn the motor on and set the speed/direction.
If the motor needs reset I run a command like LOW 0 HIGH 0 to quickly turn off power to pin 5 on the motor controller.
Hopefully I've got that part right.
Now I still need to know where to connect pins 2/3 on the controller to the BS2's board. Would one be connected to vss and the other vdd? | | Back to Top | | |
  |  jakjr Registered Member

       Date Joined Jul 2004 Total Posts : 88 | Posted 8/2/2004 9:34 AM (GMT -8) |   | GReat, thansk for the help its much appreciated.
Ill be ordering one of those motor controllers along with a BOE bot kit within the next week or two. | | Back to Top | | |
 |  ChipCircuit Fifth Element

       Date Joined Jul 2004 Total Posts : 23 | Posted 8/2/2004 10:26 AM (GMT -8) |   | Here's an interesting idea for you moderators.
Since this is a company site, whenever you mention or talk about a product, post the link for it.
It would save time for us to go hunt it down.
Dave | | Back to Top | | |
 | Forum Information | Currently it is Friday, November 20, 2009 10:15 PM (GMT -8) There are a total of 393,733 posts in 55,521 threads. In the last 3 days there were 83 new threads and 703 reply posts. View Active Threads
| | Who's Online | This forum has 17687 registered members. Please welcome our newest member, mark09. 51 Guest(s), 4 Registered Member(s) are currently online. Details Zoot, Chris Savage (Parallax), Nick McClick, Highlandtinker |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2009 |
|
|