4-Channel IR Circuit Help! :( - Urgent

Discussion in 'The Projects Forum' started by infrared, Apr 25, 2010.

  1. infrared

    Thread Starter New Member

    Apr 25, 2010
    9
    0
    Ok here it is....I have a project in for Thursday, ive been tearing my hair out for weeks trying to get this to work. My problem is:
    Button 1 + 3 moves motor A clockwise.

    Button 2 + 4 moves motors A + B clockwise.
    Motors latch, it should be momentery, stop when button is let go

    It is supposed to:
    The buttons should be momentary
    Button 1 should move motor A one way
    Button 2 should move motor A the other
    Button 3 move motor B one way
    Button 4 move motor B the other
    And be momentary.

    Are my positive wires position causing the problem?

    Will
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,348
    Hello,

    Is the HT12 transmitter providing 38 kHz modulation on the led?
    You are using a tsop 2238 as IR reciever, that expects a 38 kHz modulated IR signal.

    Bertus
     
  3. infrared

    Thread Starter New Member

    Apr 25, 2010
    9
    0
    Yes it is 38khz

    Will
     
  4. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,348
    Hello,

    The problem lies with the HT12D.
    According to the datasheet the outputs are latching.

    Greetings,
    Bertus
     
  5. infrared

    Thread Starter New Member

    Apr 25, 2010
    9
    0
    How can I make them "un latch"? and how do I get the motors to work correctly?

    Switch 5 is supposed to select latching (open) moment (close) but does not work

    Will.
     
  6. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    You need an HT12a. Pin 15 is the Latch/momentary on the HT12a is a SOP package and pin 14 on the DIP

    The HT12D has no such function.
     
  7. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,348
    Hello,

    Switch 5 on the transmitter is there to have a continuous stream of data.
    It has nothing to do with the receiver.

    [​IMG]

    Bertus
     
  8. infrared

    Thread Starter New Member

    Apr 25, 2010
    9
    0
    But the schematic says that HT12A pin 14 decides latch or not, pin 15 goes to the signal generator

    Also does anyone know why my motors are not working properly, buttons 1 + 2 should move motor A left and right and buttons 3 + 4 should move motor B left and right but:

    Button 1 + 3 moves motor A clockwise.

    Button 2 + 4 moves motors A + B clockwise.

    Will
     
  9. infrared

    Thread Starter New Member

    Apr 25, 2010
    9
    0
    This is what the schematic was based on, it says on page 2 jumper 1 close = moment and open = latch :S

    Will
     
  10. infrared

    Thread Starter New Member

    Apr 25, 2010
    9
    0
    The emitter is maplin code YH70M

    The receiver is TSOP2238

    Will
     
  11. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,348
    Hello,

    As I told you in post #7 the HT12D has latching outputs.
    The output will stay the same until an other command is recieved.

    You can use 4 and gates on the 4 data outputs and combine that with the valid signal to drive the motors.

    Bertus
     
  12. pradeepsk

    New Member

    Jul 23, 2010
    1
    0
    1. First check output in receiver by connecting LED's at the place of transistor (if ok)
    2. Give power to the motor from different source or from other point (but not from the rely coil points for any circuit)

    pradeep
     
Loading...