I am attempting to build a remote control with an arduino uno. I have the circuit from this IR Communication - SparkFun Learn set up with only the TSOP382, no IR led yet. And I'm attempting to use the IR library they describe there too. I set this up, installed the library, but after I uploaded an example sketch, I Plugged in the 5v connection to the arduino and it just shorted out. So I unplugged the 5v. Does anybody know why this is happening and/or how it can be solved? Also, has this done any damage to the board? Because I can still turn it on, but whenever I connect something to the ground and the 5v pin it shorts out.
What do you actually mean by "shorted out"?- what actually happened?
It's a shame you have to actually ask that question, but clearly there is not enough information here to render any conclusions whatsoever.
JimboZA:
What do you actually mean by "shorted out"?- what actually happened?
The power turns off. I believe it's due to a short. I could be wrong though
I Plugged in the 5v connection to the arduino
You need to detail what is all about. 5v connection of what?
My guess is that you've wired up the tsop382 back to front.
zoomkat:
You need to detail what is all about. 5v connection of what?
The pin on the arduino marked 5v is connected to pin 3 of the TSOP382 (the Vs pin). Pin 2 of the TSOP (ground pin) is connected to ground on the arduino. Lastly, pin 11 of the arduino is connected to pin 1 of the TSOP (OUT pin). The data sheet of the TSOP 382 labeled ppin 1 as OUT, pin 2 as GND and pin 3 as Vs so I connected them to the arduino accordingly
Let's see a schematic....
JimboZA:
Let's see a schematic....
There's a diagram in the link in the original post. Here it is again: IR Communication - SparkFun Learn under the section that is titled "Receiving IR Example"
I actually meant your schematic, not theirs.
Btw they way they have that square switch shown there is wrong- those pins are always connected internally, not switched. See attached.
Pin one is on the left side looking at the front of it the side you point at the ir transmitter.
if you hooked it up backward its a short and may be shutting down the regulator
I don't have the IR led or the switch in my circuit. All I have is pin 1 of the TSOP to pin 11 of the arduino. Pin 2 of TSOP to pin labeled GND on arduino. Pin 3 of TSOP to the pin Marked 5v on the arduino
trendz3:
I don't have the IR led or the switch in my circuit. All I have is pin 1 of the TSOP to pin 11 of the arduino. Pin 2 of TSOP to pin labeled GND on arduino. Pin 3 of TSOP to the pin Marked 5v on the arduino
Pin one is on the left side looking at the TSOP from the side you point at the IR led
is that how you have it
Okay so I guess there is just a problem with my breadboard. I changed the location of this circuit to a different spot and it works perfectly fine...
Sorry for the bother, but thanks for the help
trendz3:
Okay so I guess there is just a problem with my breadboard. I changed the location of this circuit to a different spot and it works perfectly fine...
If it's a full-size bb, beware that some makes have a gap in the power rails....
JimboZA good point but that don't short to gnd but the board could been the miss wire of the TSOP i have bread boards that the power rail label is red black black red and some are red black red black and a time or too ive jumped them from back to front backward things happen. Kind of lack of sleep wanting to see something come alive.
Glade he got it working just be nice if he show how it was hooked up not working and working
be80be:
that don't short to gnd
We have no evidence there was a short, just the OP's say so. Anyone who labels a post "short coming from the 5v pin" needs to be taken with a pinch of salt.
Unless he takes his meter and beeps out the holes in his bb we won't know.