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 - PIC16f628A

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

PIC16f628A (by Nikolai)
Hello ,
I have a simple plc board with a 628A on it . I built my first program according to the manual but nothing happens . PICKit 2 reported successful programing . How can I get it to work?
Cheers
Nikolai
Mon Jun 6 2016, 09:39:53
(no subject) (by MGP)
Can you post the program.
Also check the settings (crystal frequency, microcontroller).
Mon Jun 6 2016, 11:09:14
PIC16f628A (by Bozhidar Hristev)
You must set programmer to use configuration from generated .HEX file or set it you self.
Mon Jun 6 2016, 21:32:30
(no subject) (by Nikolai)
Hello,
thank you for the quick reply !
I've set the frequency accordingly and selected the 628 MCU as the 628A is not available in the menu .
Also how can I set the programmer to do that ? I'm running everything on debian .
Cheers
Tue Jun 7 2016, 03:19:29, download attachment led.ld
(no subject) (by MGP)
The 628 is equal as the 628a.

I have made a new program and compiled it with the same output pins.
If this does not work you have made a error in the hardware.

You can also post your schematic if you still have problems.

Good luck
Tue Jun 7 2016, 04:24:07, download attachment Loop-led.hex
(no subject) (by MGP)
The LDfile.
Tue Jun 7 2016, 04:24:44, download attachment Loop-led.ld
(no subject) (by Nikolai)
Hello ,
I don't have a schematic for it since it is an assembled module . In the user manual however states that the configuration bits should be set at 210A ,but it doesn't seem to be working . There are no dedicated jumpers on the board to get it in run state . The only header is th ICSP and it is with a different order to that on the pic kit . The device accepts the program and I can rad the contents . I still haven't compared the two .hex files .
P.S. The cable length is 31cm . Is that ok ?
Fri Jun 10 2016, 08:49:42
(no subject) (by Ihor Nehrutsa)
Can you say model of your module?
Is this part of other device?
Have you a hpoto of module?
May be is any links and sites?
Give more information.

Cable 31 sm must work.
Fri Jun 10 2016, 17:48:12
(no subject) (by Nikolai)
Thank you for your help gentlemen !
The board is this one http://www.sirius-pcb.com/bg/p...-OUT-PIC16F628-Controller.html There's not too much information on the site . The PIC is a 628a but other than that I don't know much about it .
Sun Jun 12 2016, 05:28:01
(no subject) (by MGP)
I would suggest that you take out the pic from the board and program it on a breadboard.
Some programmers will not work if there is a led connected to the program pins.
Sun Jun 12 2016, 11:02:51
(no subject) (by Ihor Nehrutsa)
[email protected] sent 2 files
Tue Jun 14 2016, 03:48:14, download attachment PLC-8 IN x 6 RELAY OUT 12V.PDF
(no subject) (by Ihor Nehrutsa)
[email protected] sent 2 files
Tue Jun 14 2016, 03:48:40, download attachment Protel Schematic.pdf
(no subject) (by Ihor Nehrutsa)
MGP says the right idea.
Tue Jun 14 2016, 03:54:51
(no subject) (by ADAO)
how to power a mini engine with pic16f628a
What is the schematic?´

sincerely

be grateful
Mon Feb 12 2018, 09:25:33
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):