Main content
Electrical engineering
Course: Electrical engineering > Unit 7
Lesson 5: Bit-zee Bot- Bit-zeeeeeeeeeee
- Bit-zeeeeeeeeeee (long version)
- Parts for Bit-zee and It-zee
- Tools for Bit-zee and It-zee
- Introduction
- Planning and propulsion
- Parts
- Chassis/frame
- Wheel mounts and fenders
- Component mounting holes
- Batteries/power
- Battery wires
- Power wires and on/off switch
- Motors/propulsion
- Motor controller functions
- Motor controller
- Motor controller connections
- Arduino connections
- Digital camera connections
- Digital camera connections II
- 5 volt power distribution board
- Digital recorder/player connections
- Power connector for the Arduino
- Prototype board
- Motor controller connection to Arduino
- Camera connection to the Arduino
- Bumper switches
- LED eyes
- IR sensor
- Chassis modifications
- Camera wiring update
- Programming
© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice
Motor controller connection to Arduino
In this video we show you how to determine which wire is which and how to connect them to your Arduino. Created by Karl Wendt.
Want to join the conversation?
- Karl, when this playlist finishes, can you make it one of the items in the Khan Academy Store?(4 votes)
- Most of the fun that comes from Bit-zee bot is seeing your own creation come to life! So, although they could add it in the store, it would lose much of it's original meaning. If you don't see why, just try building one yourself! :)(8 votes)
- why do i keep getting this
IRrecord.cpp: In function ‘void setup()’:
IRrecord.cpp:36:3: error: ‘Serial’ was not declared in this scope
IRrecord.cpp: In function ‘void storeCode(decode_results*)’:
IRrecord.cpp:55:5: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘DEC’ was not declared in this scope 72:37
IRrecord.cpp:78:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:86:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:89:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:92:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:95:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘DEC’ was not declared in this scope 96:30
IRrecord.cpp:99:5: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘HEX’ was not declared in this scope 99:36
IRrecord.cpp: In function ‘void sendCode(int)’:
IRrecord.cpp:109:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:113:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘HEX’ was not declared in this scope 114:33
IRrecord.cpp:119:5: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘HEX’ was not declared in this scope 120:31
IRrecord.cpp:131:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘HEX’ was not declared in this scope 132:33
IRrecord.cpp:137:7: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:: error: ‘HEX’ was not declared in this scope 138:33
IRrecord.cpp:144:5: error: ‘Serial’ was not declared in this scope
IRrecord.cpp: In function ‘void loop()’:
IRrecord.cpp:154:5: error: ‘Serial’ was not declared in this scope
IRrecord.cpp:159:5: error: ‘Serial’ was not declared in this scope(4 votes) - Karl, can you create a pdf of the list you are using and put a link up?(3 votes)
- There is a non-pdf version that you can check out, although im not sure if there is a pdf version :
https://www.khanacademy.org/science/discoveries-projects/robots/Bit-zee/a/parts-for-bit-zee-and-it-zee
hope this helps!(1 vote)
- I built one of these- It didn't work perfectly, but I did work.
Does it matter which brand of blowdryer thing you use?(3 votes)- Honestly you don't even need a hair dryer, DC motors from your local Jameco with some Lego wheels will work fine.(5 votes)
- I started one of these but i found the tap light base was too small to fit everything in the height was 3/4 of and inch what was yours?(1 vote)
- Who is the guy building all the robots?(1 vote)
- Atin video 23.Connecting the motor controller to the Arduino, he mentions that pin out locations can be found online. Where exactly is that webpage? 2:18(1 vote)
- Why didn't you just use different colored wires so you would know which to connect where?(1 vote)
- How can i connect motor driver L293D to Areduino.(1 vote)
- Atin video 23.Connecting the motor controller to the Arduino, he mentions that pin out locations can be found online. Where exactly is that webpage? 2:18(0 votes)
Video transcript
In this video, we're going to
connect our motor controller to our Arduino. We've run the wires from
the motor controller underneath the Arduino. We just need to figure out
which wires are which so we can determine what pins
to connect those wires to. So, we're setting our
multimeter to open, and this will allow us
to test for continuity. [BEEPING] So when you hear
the beep, it means that there's a continuous
electrical flow there, and it'll allow us to
identify which wire is which. So when we don't hear a beep,
it means it's not the same wire. [BEEPING] But when we do, that means
that wire is continuous. So we know which wire is which. So we can use our multimeter
to tell us which wire is which. So we're going to take that wire
there, which is our L1 wire, and we've already
created a list of where we want our pin outs to go. So our L1 wire, we're saying,
is going to go to pin D10. So when we create our
code on our computer, we'll use this list to tell
us which pin out is which in the code. And that'll help us
make sure that we get all of our functionality
all lined up correctly. OK, so we've got
our first one done, and now we need to move
on to the next one. We're going to use
our multimeter again. And so we're just
going to go to L2. And so we're going to
connect L2 to digital pin 8. And so we'll turn our multimeter
to open again, and we'll-- [BEEPING] OK, so we're going to go through
and take a look at where L2 is, see if we can figure
out which wire that is. [INTERMITTENT BEEPING] OK, so it's our second
wire down there. That's where L2 is. And we determined in our
list that we created, that L2 was going to be
a D8, digital pin eight. So we'll finish connecting
the rest of the wires using the same method, just
checking your continuity, and then connecting
them to the same pin out that is on our list. If you're going to use
the same code is as us, make sure that you
follow the same pin outs, and we'll post that online. The D9 pin out that's
listed in this list here was actually inaccurate,
so we crossed that out. Because we were using D9 as
you can see at the top there. In the next video,
we're going to show you how to wire up the camera
and the sound card.