Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] PIC 16f876a circuit diagram and 1st program not working

Status
Not open for further replies.
sir i have attached project file as followsand i am using
MPLAB X IDE
xc compiler
controller 16f876a

- - - Updated - - -

after building i am expoting hex file to JDM .

- - - Updated - - -

and configuration bits in jdm was as Capture.PNG
 

Attachments

  • T1.rar
    91.1 KB · Views: 37

sir post the includeed delay file . file is missing in rar file.
 

It comes with XC8 compiler. use <> to include it and not " ". If you copy delays.h file from compiler folder to project folder then use " " in include directive.
 
  • Like
Reactions: embpic

    embpic

    Points: 2
    Helpful Answer Positive Rating
sir it gives error as
Code:
main.c:3: error: can't open include file "delays.h": No such file or directory

- - - Updated - - -

sir now instead of giving 2.14v now it giving 0.64v

- - - Updated - - -

yes worked it but not any ones fault except controller. because controller was get off. but how's the program was getting burn and detect the controller i had placed.
is it like that even if controller is not working then also program get burn and it programmer recognize it?
 

PICpgm software screen shot i have uploaded as follows
 

Attachments

  • picpgm_screen.rar
    389.2 KB · Views: 35

In the options tab check "Program Configuration Bits" then write and post screenshot of Config Mem and Config Bits tabs. Also reply working of hardware.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top