Shop OBEX P1 Docs P2 Docs Learn Events
JBot Package - Page 2 — Parallax Forums

JBot Package

2»

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2007-04-17 18:49
    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

    regards peter
  • White PawnWhite Pawn Posts: 5
    edited 2007-04-18 01:23
    Thanks for all your help.

    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?
Sign In or Register to comment.