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.

[SOLVED] IR receptor doesn't work when MAX232 is connected to VCC

Status
Not open for further replies.

AveztruZ

Newbie level 6
Joined
Jul 25, 2012
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,386
I've got a really strange issue... I have a PIC18F4520 using MAX232 to communicate with my PC, everything was fine. Then I bought a IR receptor and tested it alone with osciloscope, it was also working as expected, but when I connected the IR receptor to the same GND and VCC as the PIC and MAX232 it stopped working.
I removed the MAX232 from the circuit and the IR receptor worked. If I connect again the IR receptor will stop.

I dont wanna have another power supply for IR receptor once it will be a portable device.

Does anyone know what is going on?
 

Would be helpful if you can provide few more details, particularly concerning to the IR receptor interface.



+++
 

Did you verify that the supply voltage is still present and has correct level? Also the sensor output shouldn't be shorted by other circuit parts.

MAX232 is generating nasty current spikes on the supply voltage. You should have bypassing capacitors between VCC and GND near the MAX232 and remote control receiver. It may be helpful to have a RC power supply filter (e.g. 100 ohm/1µF) for the sensor supply.
 

How are you powering the IR receiver? Directly from the Vcc? Thats a strict no-no.

Insert a 330 ohm resistor between Vcc and the module's power pin. Then add a 10uf capacitor across the IR module's power and ground pins. That should resolve the issue.
 
  • Like
Reactions: FvM

    FvM

    Points: 2
    Helpful Answer Positive Rating
Thank you guys... It is working!

I was using a poor osciloscope and didnt see that spikes, with a better one I could see it and I replace the capacitor close to MAX232 with a higher capacitance, and also did this filter that ard said!

there is a doubt left... why 330 ohms and 10uf? could someone explain me!
 

Most datasheets are suggesting 100 ohm series resistor and several µF capacitor. Design criterion is sufficient suppression of 38 kHz noise.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top