Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

16F877a //RS232//MAX232

Status
Not open for further replies.

TKS

New Member
mhh..

Well i all wired the above up like you did in the tutorials from nigel..

i used caps of 1uf but not all the same..

(some say 0,9 and others say 1,1)

mhh..when i read the comport out..i see data but ist not readable..

and when i send to the pic i recieve 0..

mhh..

the problem is think is in the settings of polarity etc..

any one can help..


TKS
 
do you have a real maxim max232 or a clone, some clones require 10µF capacitors
 
My tutorial uses 10uF and 22uF capacitors, which I got off a MAX232 datasheet - and it works fine. Try checking the voltages around the chip, I think pin 2 should be +10V, and pin 6 should be -10V.
 
mhh..

mhh..


well i think the problem is that i do something wrong in software.....


i use a 16F877a do you have some test stuf fot the Hardware serial Uart..??



TKS
 
Re: mhh..

TKS said:
mhh..


well i think the problem is that i do something wrong in software.....


i use a 16F877a do you have some test stuf fot the Hardware serial Uart..??

The voltages above look pretty reasonable!.

My tutorials include an example for the 16F876/7, the 877a should run that without any changes to the code - it's designed so any extra facilities have to be "turned on", rather than the usual MicroChip method of them being on by default!.
 
ok it works now

i use a picbasic org compiler soow..

it was programming fault.

i usead software mode on the hardware pins..

mhh fault.

now it works but sometimes

i recieve 1 string but in parts..
and i'm using..!! 20Mhz pic cpu..?? :(

TKS
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top