EasyManuals Logo

Arduino Pro Mini User Manual

Arduino Pro Mini
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #239 background imageLoading...
Page #239 background image
What If It Doesnt Work?
If you cannot make this chapters code run, you should download the code
from the books website and try to run it. Make sure youre using the correct
serial port in the
code/RemoteControl/TvRemoteUI/js/remote.js
file.
In this chapter, we mainly used LEDs and an Ethernet shield, so all of the
advice from Chapter 3, Building Binary Dice, on page 39, and Chapter 10,
Networking with Arduino, on page 163, also applies to this chapter.
In addition, you have to be careful of more things. The distance between an
infrared LED and its receiver is important. To be on the safe side, you should
position the LED near the receiver. It should also be placed right in front of
the receiver, and you should make sure theres not too much ambient light
that might disturb the infrared signal.
For debugging purposes, its useful to replace an invisible infrared LED with
a regular LED from time to time. This way, you can see whether your circuit
works in principle.
If youre trying to control a Mac, you should unpair any other remote controls
in the Security area of the Macs System Preferences window.
Finally, you might be using a device that uses a protocol that isnt supported
by the IRremote library. In this case, you have to add it. This can be tricky,
but IRremote is open source, so at least its possible.
Exercises
Build an emulator for a remote control you find in your household. Make
its commands available via serial port and via Ethernet.
Instead of controlling the Arduino via a serial monitor or web browser,
control it using a Nintendo Nunchuk. You could move the analog stick
up and down to control your TV sets volume, and you could move it left
or right to change the channel.
Design a real universal remote control based on an Arduino. Look for a
touchscreen, a button pad, an SD card shield, and a Bluetooth module.
I bet you didnt think you could build a device like thisbut you know
everything you need to do it now.
report erratum discuss
What If It Doesnt Work? 223
www.it-ebooks.info

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino Pro Mini and is the answer not in the manual?

Arduino Pro Mini Specifications

General IconGeneral
BrandArduino
ModelPro Mini
CategoryMotherboard
LanguageEnglish

Related product manuals