Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Generating two Square wave 180 degrees out of phase

Status
Not open for further replies.

vinay13

Newbie level 5
Newbie level 5
Joined
Apr 2, 2013
Messages
10
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Visit site
Activity points
1,354
i want to generate two square waves 180 degrees out of phase of 300KHZ using PWM of pic 18F4620...and the compiler i m using is MIkroC.
i have successfully generated a single square wave at one PWM channel. i need help to generate another square wave of same frequency but 180 degrees out of phase..!!
 

THERE IS AN IC 4048 WHICH GENERATES TWO OUT OF PHASE SQUARES.

YOU CAN SIMPLY USE A UNITY GAIN OPAMP INVERTER HERE AT PICS OUTPUT.
SELECT THE RESISTORS (INPUT AND FEEDBACK ) FOR A GAIN OF ONE BY Ri =Rf/10.

i hope this will do it for you.

select an opamp with a bandwidth of 500 Khz.

another idea is usage of a transistor with SL 100 .

- - - Updated - - -

another idea is like this,

you define output of pins a,b as the positive and negetive of a value stored in a registor.
now vary this value between its positive and negetive.(by software of course). i hope this algorith will work.

I am not familiar with pic platform.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top