the OP is having troubles expressing troubles s/he is having.What seems to be the trouble?
View attachment 117397
This is my schematics. the only modification is that is used 10uf cap instead of the 1uf cap in the schematics.
Nerd is right. Your caps may be too large, that happened to me once. Are you really using the original MAX232 chip?Hi.
First thought:
Change your caps. I use 0.1uF.
Second thought:
Upload your schematic and a picture of circuit. Include the code as well. Also a description of what you want to happen, and what is actually happening.
Why do you think the caps are too large? It seems to me that over-large caps just reduce the ripple and output impedance.Nerd is right. Your caps may be too large, that happened to me once. Are you really using the original MAX232 chip?
Other brands, such as the SP232A, require the use of much smaller capacitors, like the 0.1uF that has been sugessted. Although I've seen cases for 1uF too.
Check your chip's original datasheet.
I have no idea, I don't know the innards of those chips, and don't know how exactly they raise their outputs to the standard RS232 level.Why do you think the caps are too large?
They use capacitor charge pumps similar to the ICL7660. No magic.I have no idea, I don't know the innards of those chips, and don't know how exactly they raise their outputs to the standard RS232 level.
I wonder then, if the caps were so large that they wouldn't have enough time to acquire a charge high enough for the pump-circuit to function properly... or is that irrelevant?They use capacitor charge pumps similar to the ICL7660. No magic.
Tantalum. Don't know if you will get electrolytics that small.Thanks guys for your comment.
i will get 0.1uf cap at the electronics store. should it be a tantalum or electrolytic cap ?
i have attached the source code and the enlarged image of the schematics.
is there anything wrong with the source code or schematics?
View attachment 117458
Just as a real quick look. I would not use interrupts till you get things started. I would just poll the register. You are just adding to your misery right now. Get the thing working then you can add interrupts.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
T | RS232 to TTL custom board, no output from MAX232 | General Electronics Chat | 25 | |
O | MAX232 for ±25V from 5V supply | General Electronics Chat | 35 | |
T | Max232 capacitor placing issues | Microcontrollers | 11 | |
MAX232 Heating issue..! | General Electronics Chat | 23 | ||
Question about serial comms between a pic and a pc using a max232 | Microcontrollers | 11 |
by Jake Hertz
by Aaron Carman
by Duane Benson