help with IR tachometer and ir decoder and emitter s

The wiring is wrong. See: http://www.reconnsworld.com/ir_ultrasonic_basicirdetectemit.html