Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Rob Gnarly
#88334 Hiya I have recently entered the world of microcontrollers.
I have put together a circuit to turn up and down an LED's brightness with OSC -> PWM and it works well.
Next I added a passive RC filter and had things still working fine. Finally I attempted to step my 0 - 3.3 voltage up to 0 - 5v using a TL072Cp op amp, and I've run into some issues. I'm powering the op amp from the 5v pin but the same issue seems to be present when I use an external 5v supply. Basically the LED remains on and unchanging. I tested the circuit before the op amp and the values seem to be changing fine still with OSC so is something to do with op amp, I tested with another of the same op amp but same issue, here is my badly drawn schematic, if anyone could please help me understand what I'm doing wrong that'd be greatly appreciated! :D

Image
User avatar
By bobby hamus
#89020
Rob Gnarly wrote:Hiya I have recently entered the world of microcontrollers.
I have put together a circuit to turn up and down an LED's brightness with OSC -> PWM and it works well.
Next I added a passive RC filter and had things still working fine. Finally I attempted to step my 0 - 3.3 voltage up to 0 - 5v using a TL072Cp op amp, and I've run into some issues. I'm powering the op amp from the 5v pin but the same issue seems to be present when I use an external 5v supply. Basically the LED remains on and unchanging. I tested the circuit before the op amp and the values seem to be changing fine still with OSC so is something to do with op amp, I tested with another of the same op amp but same issue, here is my badly drawn schematic, if anyone could please help me understand what I'm doing wrong that'd be greatly appreciated! :D

Image


Any Update on this OP?