• 1 Post
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
    1. it does nothing 😅 I just forgot to remove it from the sim
    2. you mean like power it with 0+5v? I think it won’t work with negative input voltages then, right? and I’m using tl074 and I’m not sure that 0+5v is enough juice for it, and I use remaining 3 opamps for other stuff, so it’s not really an option for me. the sim didn’t have shottky diodes, so this measurements are not 100% accurate, but I used this approach to protect arduino inputs in another project, and it worked well. And yeah, I cranked up the input signal to +/-10v just to check the clipping, it’ll normally stay within +/-5v

    I already ordered PCB for the prototype. I hope it’ll work fine. Thanks a lot for your help :)



  • No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It’s the other way round, it’ll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it’s not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you’ll get more square-ish wave in 0+5v (I’ve attached the schematics)