Building An Infrared Remote To Control Triacs

2 replies · 9K views · last reply
Lancelot59
Messages
640
Reaction score
1
Hey there PF!

I'm currently working on building an Infrared Remote to control a series of triacs. The objective is to create a "remote control power bar". The original plan was to use push button switches to toggle the Q lead of a 4013, each of which houses two switching circuits.

Q and NOT-Q toggle when CP receives a clock pulse. R is a reset so I can turn all of the circuits off at once.

The 4013 triggers a MOC3011, which isolates the 4013 from the large AC voltages/currents. Inside inside the 3011 is a LED and a photo-transistor. The LED gets turned on when Q goes high and in turn activated the photo-transistor. In turn the IC triggers a triac.

What I want to do is design the setup to work with either the touch-switches or be triggered by an infrared controlled setup.

Here is a schematic of the original circuit. I've crossed out the touch switches at the top because they didn't work properly. Now there is pair of resistors, a capacitor, and a schmit trigger that generate the clock pulse.

Placeholder graphic reading 'Photo not found. CLICK for Photos' over a blurred photo of a kitten with its mouth open, with a camera icon below.


What I'm thinking of doing is having the infrared remote send a clock pulse to the 4013 instead of directly triggering the MOC3011. That way I can still use physical switches if the remote fails.

I found this schematic on the internet:

Schematic of an 8 channel IR remote control circuit built around a PIC16F630 microcontroller, with a CR2016 lithium battery, an IR LED driven by transistor T1, and outputs RA1, RA2, RC0 to RC3 numbered 1 to 8 connected to a 4MHz crystal oscillator and 15pF capacitors.

Schematic of an 8-channel IR receiver circuit with a PIC16F630 microcontroller, TSOP4838 IR receiver, ULN2803 driver, eight relay outputs OUT1 to OUT8, and a 12V to 5V 7805 regulator section.


The IC ULN2830 is a typo apparently, I think it's supposed to be 2803, which makes it a bunch of darlington pairs. I figure I can eliminate that and program the PIC to generate a clock pulse and trigger the 3014

Current Problems:
1. I don't have a programming board for the 14 pin PIC
2. I don't know how to write in PICBasic

Actually the same site that schematic is from (HERE) has some code for the transmitter and reciever, but I don't know how to modify it to do what I want.

Does anyone here have past experience with this?
 
Attachments
  • Placeholder image reading "Photo not found. CLICK for Photos" over a blurred photo of a kitten yawning with its mouth open, with a camera icon below.
    scan.jpg
    10.2 KB · Views: 472
  • Schematic of an 8-channel IR remote control circuit using a PIC16F630 microcontroller, with a CR2016 3V lithium battery, an IR LED driven by transistor T1, crystal X2 at 4MHz, and outputs RA1, RA2, RC0 to RC3 to pins 1 through 8.
    tx.GIF
    22.2 KB · Views: 739
Last edited:
I would use a PIC or an Arduino to do the control. It's worth learning more about it and putting the tools together for this and future projects, IMO.

You can still use an IR remote control to control the project, if that seems to be the best ergonomic choice here. Have you looked to see if there is an interface circuit for IR remote controls for the PIC or Arduino?