Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Erro pino 6 input

(you are viewing a thread; or go back to list of threads)

Erro pino 6 input (by Giovani lima)
Meu simples programa não aciona o pino 6 como saída, apenas como entrada, já troquei o PIC16F877A e não alterou nada, o que pode ser!
Sat Jan 7 2017, 19:01:25, download attachment Teste_IO.ld
(no subject) (by Ihor Nehrutsa)
Please use Google Translate.

The ld programm is right.

Can you show hardware schematic?
Tue Jan 10 2017, 10:35:42
Error pin 6 input (by Giovani lima)
My simple program does not trigger pin 6 as output, just as input, I already switched the PIC16F877A and did not change anything, what can be!
Thu Jan 19 2017, 18:43:43, download attachment Teste_IO.ld
(no subject) (by Ihor Nehrutsa)
Please read
http://cq.cx/ladder-forum.pl?action=viewthread&parent=5966

1) See page 29 of PIC16F873_874_876_877.pdf:
...
The RA4/T0CKI pin 6 is an open drain output.
...

2) See Choosing an Appropriate Pull-up Pull-down Resistor for Open Drain Outputs.pdf

3) See Snap215.jpg
Fri Jan 20 2017, 02:50:52
(no subject) (by Giovani Lima)
Okay, thanks for the attention, bug fixed.
Fri Jan 20 2017, 20:02:50
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):