Hi, I'm trying to let work this component:
http://www.solarbotics.com/products/pna4602/
I have two of these components, and the first maybe is broken because I believed that was a TSOP and so I made the wrong wiring, sò I inverted the GND with Vsupply.
The 2nd one doesn't work, and checking the wiring and redoing it I committed an error
...maybe in this one I did the wrong wiring too and I inverted Vsupply with Vout.
Could it break in this way?
The code that I am trying is this one:
#include <IRremote.h>
int RECV_PIN = 10;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
Serial.println("ENABLED");
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
}
I tried with a lot of controller...but nothing!!! ![]()
Thank you in advance for the support...
p.s. You can see in the code that I used the IRRemote library