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 - problem with port A - 16F877A

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

problem with port A - 16F877A (by Alex)
Hello, i hava made a ladder that toggles 2 leds (ladder attach), the thing is that all outputs are in port A and all inputs are in port B, specifically port RA4 keeps in one state all the time, but when i change port RA4 to port RD1 i works ok, i am using relay arduino board that works with low level, would it be possble some noise causing this as all outputs are close togheter, watch video please:


https://www.youtube.com/watch?v=PsopEd3PRlE&feature=youtu.be
Sun Jan 12 2020, 19:37:38, download attachment control_tolva_pata.ld
(no subject) (by José)
I'll test your ladder tonight with another 16F877 board, and let you know if it works or not...

José


PS: which version did you use ?
Mon Jan 13 2020, 01:28:53
DRIVING LEDS WITH OPEN DRAIN PORT EXPANDER OUTPUTS (by Ihor Nehrutsa)
RA4 - Output is open drain type. See the pdf.

https://www.maximintegrated.co...ocuments/app-notes/2/2198.html
Mon Jan 13 2020, 01:59:13, download attachment PIC16F873_874_876_877.pdf
(no subject) (by José)

Ihor is right ; it seems to be the explaination for your pb !
Search for "open drain" in his attached pdf.
Mon Jan 13 2020, 12:21:43
(no subject) (by Alex)
thanks all for your reply, i´ll check it :)
Mon Jan 13 2020, 20:38:34
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):