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 - 16F84A Pic possibility?

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

16F84A Pic possibility? (by Kevin Lay)
Is there a way I can get this to work with the 16f84a pic. I noticed some of the ones in the list already use the same input/outputs as the pic I have. I tried writting a basic ladder diagram to test it and when I loaded it into my pic it just didnt do anything, in the simulation it work. I then wrote the program in C and tested it on my pic and it worked fine. I did something like this.

Input Output
l------ l l-----------------------------------( )------l

I just ran the input to a dipswitch and the output to a LED, The pic is fully functional and has been used for over a year. Its a full kit with leds and dipswitches built into the inputs/outputs. I may have set something wrong? I set the input for RA2 and the output for RB2 and their corresponding pins. Any help would be much appreciated, Id like to get this working for my final school project.

Kevin
Thu Oct 8 2009, 23:28:06
(no subject) (by Jonathan Westhues)
The PIC16F84, and all its variants, are wildly obsolete. They also lack a Timer1 peripheral, which means that there's no good way to measure the cycle time.

There is no reason to expect that a program compiled for one part would run on another. It might work through blind luck, but as you observe, it usually doesn't.

Try a pin-compatible replacement, like the '628A. This is cheaper and has more flash and RAM; so I'm not sure why anyone would still be working with these antiques.
Fri Oct 9 2009, 00:45:08
(no subject) (by Kevin Lay)
Alright thanks Ill do that, Its what our school gave us to build.

Kevin
Fri Oct 9 2009, 15:54:44
DIGITAL SYSTEMS (by ken)
FULLADDER FOR 16F84A PIC
Tue Sep 13 2011, 07:01:56
16F84A Pic (by chanakamilan)
16F84A Pic16F84A Pic
Mon Dec 9 2013, 07:41:52
(no subject) (by s.meiyazhakan)
sir please convert to ld micro .how to convert c code to ld micro help me thak you sir
Wed Jan 8 2014, 09:25:32, download attachment 3phase.txt
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):