Main content
Electrical engineering
Course: Electrical engineering > Unit 7
Lesson 4: Spider Bot- 6th graders learn to build a Spider robot
- Fun with Spider Bot
- Parts list for Spider
- Tools list for Spider
- Spider parts and tools
- Spider's click n' stick
- Battery and motor mounts for Spider
- Click n' stick base & batteries
- Spider's motor controller
- Spider's power switch
- Spider's bezel
- Spider's wheels
- Spider's Arduino Nano
- Motor controller connections
- Spider's LED eyes
- Spider's stabilizer bar
- Spider's romance
- Programming Spider
- Ben Eater's Spider
© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice
Motor controller connections
Created by Karl Wendt.
Want to join the conversation?
- wait actually how do you apply power to the arduino?(3 votes)
- A battery holder that is compatible with an arduino should do just fine.(3 votes)
- can you explain me why you are connecting those four wires to particularly to those female headers?(4 votes)
- For the Arduino Uno what would pin 11 be ?(3 votes)
- i have an arduino uno, so where should i put the ground wire and voltage wire(3 votes)
- can i use an arduino uno?(3 votes)
- why the video is so so so slow(2 votes)
- y did you levea out some of the pin numbers at the end(2 votes)
- It wasn't clear to me how to connect the female to female header pins from the motor controller to the aduino. Can someone help me please?(2 votes)
- Ou branche t on les 12 volts ?(1 vote)
- hello,
thanks so much for the video, but i want to make the 2 boards at home can I? and from where can i get a help? i mean is there another website or video to make those boards?
looking forward to hear the answer.(1 vote)- Hello Mohymoh1,
There are many different ways to control motors using a microcontroller. Recommend you look at Instructables.com and search for tutorials on Adafruit and Sparkfun.
Regards,
APD(1 vote)
Video transcript
So in this video,
we're going to show you how to connect the power
wires from the motor controller to the
Arduino and the control wires from the motor
controller to the Arduino. So we're connecting the
red wire to the voltage in. That's the red wire
goes to the VIN, and the black wire's
going to go to the ground. So GND and the red wire goes
to the VIN-- very important that those don't get mixed up. OK, so now we have
our signal wires that are going to come up
from our motor controller, and they're going to allow
our Arduino to tell the motor controller when to make
the motors go and how fast and in what direction. So they happen to be female
header pin connectors, and we need males ones
because of the way that we set up our Arduino. So we're going to
just use some wire, and we're going to push the
wire into the end of it. And then we're
going to, basically, trim the wire off and get
it to the right length. So we'll do this
for all four pins and get the wires
bent straight, and it takes a little bit of doing. You want there to be about a
1/4 of an inch of wire exposed, maybe just a little bit less. And again, we don't
want any exposed wire. So you want it to
be pretty close. I think 3/16 of an inch is
probably even better than a 1/4 of an inch, as far as the
connection there goes. So in any case, we're going
to put our last wire in here. And you do when you some
pliers to push those in. That time, the wire
got bent, and so I'm going to try one more time
to get this wire straightened out and put in place. They're kind of tricky to
get in there sometimes. OK, so now we've got our wires. And now we're going to
run those signal wires to the right ports
on our Arduino. So the first one is
going to go to pin 11. The next one is going
to go to pin 10. The next one after that
is going to go to pin 9, and then the next
one goes to pin 6. No signal wires are
following from left to right in the
same order as they occur on the motor
controller below.