-->
Page 1 of 1

IR Receiver and ESP VCC

PostPosted: Mon Aug 24, 2015 9:15 pm
by martinayotte
Many of your maybe remember my post of 2 months ago where I've stated that I had random/inconstant recording on an IR receiver ...
This investigation task has been put on selves since awhile, I've un-dusted it last few days.
Putting a oscilloscope on the IR Receiver , I saw some spikes to LOW, even without IR activities, especially on RESET.
Adding PullUp didn't help. Looking the specs of IR838 or VS838, the sensor is supposed to be working as low a 2.5V.
So, I've decide to add a diode and 100uF cap to separate it from the ESP VCC.
Bingo ! No more random/inconstant spikes !
ESP is rely a VCC Power gourmant !!! :D

Re: IR Receiver and ESP VCC

PostPosted: Tue Aug 25, 2015 5:15 am
by gerardwr
Nice tip!

I have a sketch that receives (interrupt driven) data from a cheap 433Mhz RF receiver.

Running on a "real" Arduino the data is read consistently, but when I run the sketch on the ESP data is less reliable.

I thought it may be caused by inaccuracy in the mills() result, but maybe it's the power supply.

Will give it a try.

THX.

Re: IR Receiver and ESP VCC

PostPosted: Mon Oct 01, 2018 5:53 am
by buzzy
martinayotte wrote:Many of your maybe remember my post of 2 months ago where I've stated that I had random/inconstant recording on an IR receiver ...
This investigation task has been put on selves since awhile, I've un-dusted it last few days.
Putting a oscilloscope on the IR Receiver , I saw some spikes to LOW, even without IR activities, especially on RESET.
Adding PullUp didn't help. Looking the specs of IR838 or VS838, the sensor is supposed to be working as low a 2.5V.
So, I've decide to add a diode and 100uF cap to separate it from the ESP VCC.
Bingo ! No more random/inconstant spikes !
ESP is rely a VCC Power gourmant !!! :D


Sorry for the newbie reply, but would you mind explaining a bit more how you connected the diode and capacitor? I just want to be sure you are talking about the 3.3v VCC or the OUTPUT pin on the ESP. Thanks!

Re: IR Receiver and ESP VCC

PostPosted: Mon Oct 01, 2018 7:29 am
by QuickFix
buzzy wrote:explaining a bit more how you connected the diode and capacitor?

I assume:
  • Anode of diode to VCC of ESP
  • Cathode of diode to VCC of IR receiver
  • Positive of capacitor to VCC of IR receiver
  • Negative of capacitor to GND of IR receiver
(Sorry, not able to draw up some nice picture at the moment). :oops: