My serial monitor does not respond to IR remote signal...

This is the circuit I made

#include <IRremote.h>

int RECV_PIN = 11;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup() {
Serial.begin(9600);
irrecv.enableIRIn();
}

void loop() {

if (irrecv.decode(&results)) {

Serial.println(results.value, HEX);
irrecv.resume();
}
}

and this is the code I used. I have IRremote library, and compiling and uploading was successful.
What I want to do is to print out hex signals that are sent from the remote control I have,
and the problem is nothing happens on the serial monitor.

I have two types of IR receivers

and This is the remote control i have

and lastly I'm using Macbook and Arduino UNO.

Help me please!

You would get more help if you didn't cross post, if you read the rules and posted the code correctly and gave the receiver's part number instead of a stupid mechanical drawing of it.

Also an IR remote does not send hex characters as such.

Also you should not connect the 5V pin to Vin.

did you already tryed a athor remote? like from your tv?
with libary do you use?

I have the same problem.
What's wrong?

ThePhenomenalCheese:
I have the same problem.
What's wrong?

How must we know? Did you use the same schematic as @newc33? If so, why did you short 5V and Vin together?

Did you use te same code? If not, post your code?

And lastly do not hijack threads; just follow this one. Or even better, start your own thread (with the schematic diagram and code).

Is your serial monitor set to 9600 baud?