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 - 16F877A

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

16F877A (by ELy)
Hi guys,
I try do make my program run in a 16F877A but its not work. My doubt is about configuration before burn the program in the hardware. What can possible wrong?
The frequency of crystal its the same in the code and on the circuit.
The simulation in proteus 8 works perfectly.
Thanks
Thu Nov 5 2015, 16:11:03, download attachment ELETRONICA X.ld
(no subject) (by MGP)
It should work, are the baudrates the same?
Do you have a schematic?
Thu Nov 5 2015, 16:44:37
(no subject) (by ELy)
In the code i am using 2400 baudrate, associated with a crystal of 4mHz.
The schematic is attached.
Thu Nov 5 2015, 17:25:00, download attachment Schematic.jpg
(no subject) (by Ahmad Elbadri)
maybe i can't help but i confirm it's working with the PIC16F877A in another project of mine so double check your connections ;)
Thu Nov 5 2015, 19:00:49
(no subject) (by ELy)
Ahmad, what program you use to burn the code on the pic?
My suspects is on the burn process.
Thanks
Thu Nov 5 2015, 19:20:11
(no subject) (by ELy)
Ahmad, if possible, send to me all configuration that you use on your project (baudrate, cycle time, crystal frequency, ...).
Thanks
Thu Nov 5 2015, 19:29:12
(no subject) (by MGP)
You must use a 5V regulator not a 3V3.
3V3 is for a 18LF877A.
Fri Nov 6 2015, 02:54:57
(no subject) (by MGP)
Sorry, I mean a 16LF877A not a 18LFxxx
Fri Nov 6 2015, 07:17:57, download attachment Snap54.jpg
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):