About this video
The presenter wires a 38 kHz IR receiver module to an Arduino so the Bit-zee bot can be driven by a universal remote. The receiver's signal lead goes to digital pin 12, with power and ground on the other two legs. A quick test with the forward button runs the motors, and the presenter promises the code in a later video.
You'll be able to
- identify the three legs of an IR receiver and connect them to power, ground, and a digital pin
- explain why the receiver is bent back to widen its reception angle
- test an input device by checking the output it controls
Key words
- IR receiver module
- A component that picks up infrared signals, such as those from a remote, and outputs a digital signal.
- Digital pin
- An Arduino input or output pin that reads or sends on or off signals.
- Breadboard
- A reusable board with connected holes used to prototype circuits without soldering.
- Ground
- The common return path and 0 volt reference for a circuit.
Transcript
So this is our 38 kilohertz IR receiver module. And it works with our universal remote that you can see here. And you can see it lighting up as we push different buttons. And that's the same remote we took apart in our reverse engineering videos. So we're going to plug this into our bread board, and then we're going to bend it back.
And the reason we're bending it back is that it allows you to trigger it from more different locations in the room. And the lead that is on the left hand side when you're looking at the Bit-zee Bot is the one that we want to connect to our Arduino, digital pin out number 12.
So we're running that straight back to our digital pin out. And then we're going to connect the other two leads, the center and the one on the right, to our positive and our ground. So we've got a ground pin there on the front side of our Arduino. And we're just going to run that black wire, which is our ground wire, to that ground on our Arduino.
And right now, we're just sort of sizing the wiring. And that goes to the center of our IR receiver module. And then there's also a five volt out positive. So we're going to connect that to our receiver module as well. And we're connecting that to the leg on the right side of the receiver module and, again, to the five volts out.
And now we're going to test our module. We've already loaded some code. And we're going to push our forward button. And you can see it's running our motors there, so that's working. We'll provide the code in our videos that talk about the Arduino.
Video © Khan Academy, used under CC BY-NC-SA. Watch on Khan Academy. Puzzicle is not affiliated with Khan Academy.