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.

max232 capacitor value

Status
Not open for further replies.

abishekmudalur

Member level 1
Member level 1
Joined
Aug 1, 2008
Messages
36
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
coimbatore,india
Activity points
1,519
hi
i m using uart communication wit pic 16f877a...
i hv used 470nF capacitors in the max232 side....is it ok...???
my system gets reset ,when i m using uart....all other progrms working properly....
i checked the same program in some other kit..its working correctly...
wats the prob....??
 

processor reset is not due to capacitor, but you wont get serial output if you use wrong values of cap.... when does the controller reset??? does it happen everytime????? which place of execution of code do you think it gets reset.. which controller are you using????? Does it have an internal watch dog timer??? If so it is getting reset???????????
 

Value of capacitor depends of version of MAX232 chip used. For MAX232CPE its 0.1uF, for other version it is usually between 1uF to 10uF.

Read the datasheet to know which one you're supposed to use.
 
my controller resets wen serial_out or serial_in occurs.....
i m using 16f877a..
i removed the wdt by "#fuses NOWDT" in the program....
here s my design
one more mistake i made....i wrongly placed 220nF instead of 22pF with crystal osc.....ll it make any difference??
 

capacitors will not be the reason for reset...
you should check your config bits for WDT, BOR etc...
also the crystal capacitors should be 22pf not 220nF...
 

thanx....
wat abt crystal capacitors....tat also i need to change???
plz check my diagram.....
 
Last edited:

Yes, 22pF capacitor is necessary, so better get it replaced.

Also, one more piece of suggestion, place 0.1uF across VDD & GND of the MCU to bypass any possible noise in power supply due to oscillation.
 

Yes, 22pF capacitor is necessary, so better get it replaced.

Also, one more piece of suggestion, place 0.1uF across VDD & GND of the MCU to bypass any possible noise in power supply due to oscillation.

Why only 0.1uF across VDD & GND of the MCU has to be used to bypass any possible noise in power supply due to oscillation? Is there any formulae to calculate the value of capacitor?
 
Last edited:

Connect a capacitor between Vcc and ground of max 232. And check proper ground for micro controller and max232.
 

yes amayilsamy i think u r right so put value on capacitor c3,c4,c5,c6 to 1uF 63v and also put capacitor on max232 vcc means pin no 16 to gnd 100uF 25v .
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top