Author Topic: transform sine wave into square  (Read 776 times)

0 Members and 1 Guest are viewing this topic.

Offline rabochidTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
  • From the cradle to the grave
transform sine wave into square
« on: November 15, 2010, 06:05:40 AM »
I wonder if I can transform a sine wave signal into square with this circuit

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,920
  • Helpful? 97
Re: transform sine wave into square
« Reply #1 on: November 15, 2010, 08:59:22 AM »
Yes, IF the sine wave amplitude is large enough to pass as a logic level signal after the voltage drop of the diode and the OR gate is not CMOS.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: transform sine wave into square
« Reply #2 on: November 15, 2010, 10:13:19 AM »
And even so, it won't have a symmetric (50/50) output.

What is it for?
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline rabochidTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
  • From the cradle to the grave
Re: transform sine wave into square
« Reply #3 on: November 18, 2010, 08:56:05 AM »
I have a wheel encoder with sine wave like output ,I want to make it square to treat information with a microcontroller

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,920
  • Helpful? 97
Re: transform sine wave into square
« Reply #4 on: November 18, 2010, 12:08:49 PM »
What are the voltage levels of this 'sine' wave?
What is the maximum frequency?

 


Get Your Ad Here