With a new presentation coming up titled "Introduction to Arduino," I thought, what best way to show some of the capabilities of the Arduino board then to build a quick power point presenter tool with it.
The first idea that pops has, "Why not use the TV Remote?" Design to be hold in a more ergonomic position that the mouse (for this case).
Step 1: What You Need?
1 x Arduino Leonardo
Don't have components? Don't worry. Just click the component's name.
Step 2: Build Your Circuit.
The connection diagram is very easy, simple connect the GND from the sensor to Arduino GND pin, 5V from the sensor to the 5V pin in the Arduino and the Data pin from the sensor to Digital Pin 2 of the Arduino.
Step 3: Upload The Code.
The second part, we will use the information from step one, and assign the keys to there new functions as PowerPointer pointers.
Start by downloading the IR remote Arduino Library and install it in the correct folder. You can downloaded from there.
Do not forget to follow installation procedure recommend in the github page.
For step one, upload the Code 1 to your Arduino. Open a Serial Monitor window, if everything is ok, you should start to different numbers every time you press on key in the TV remote.
Serial Monitor Output |
Replace my numbers in the "If" structures in the Code 2 and upload.
I used the arrow keys for pushing the slides forward and backward. |
Step 4: Test Your Pointer
On PowerPoint
Now open your presentation and if you are in "Slide Mode", the slides will change back and foreword every time that you press previous selected keys from your TV remote.
Other Arduino board
If you are using other Arduino boards, I think that is also possible to build this project however some changes need to be done.
The big difference is that the Atmega8U2 or equivalent chip, responsible for the communication between the ATmega328 and the computer, needs to be flashed. I did not had the need to do this, because with the Arduino Leonardo, Zero and DUE appear as native keyboard or mouses when defined and connected to your computer.
Thanks for reading.
0 comments:
Post a Comment