From your diagram:
pin8 = DAC output, goes to 1k resistor. Other side of that 1k resistor connects to + of 10uF cap
and to anode of infrared LED.
The - of the 10uF cap goes to GND. This is correct.
The cathode of the infrared led goes to GND. This is incorrect.
It should go to the other end of the resistor connected to pin 11. That side of the resistor is
currently also connected to GND which is also incorrect. Pin 11 is PWM output.
Pin 9 is IR detector. This is correct.
for the other channel:
DAC = pin2
PWM = pin1. Disconnect cathode of ir led and resistor from GND and connect the two together.
detect = pin0
Comments
pin8 = DAC output, goes to 1k resistor. Other side of that 1k resistor connects to + of 10uF cap
and to anode of infrared LED.
The - of the 10uF cap goes to GND. This is correct.
The cathode of the infrared led goes to GND. This is incorrect.
It should go to the other end of the resistor connected to pin 11. That side of the resistor is
currently also connected to GND which is also incorrect. Pin 11 is PWM output.
Pin 9 is IR detector. This is correct.
for the other channel:
DAC = pin2
PWM = pin1. Disconnect cathode of ir led and resistor from GND and connect the two together.
detect = pin0
regards peter
Made the corrections, still acting the same way. I have no idea what I'm doing wrong.
Has anybody actually done this exercise?
There's gotta be someone who knows what the circuit/code should look like.
Someone from Parallax, perhaps?