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.

need pic16f677a - CAN schematic

Status
Not open for further replies.

abishekmudalur

Member level 1
Joined
Aug 1, 2008
Messages
36
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
coimbatore,india
Activity points
1,519
need pic16f877a - CAN schematic

hi to all....
in my project,i m in need to make a CAN network.....
i m using pic16f877a.....
i planned to use mcp2515-mcp2551( CAN controller-tranceiver)
can anyone paste schematic......
 
Last edited:

Re: need pic16f877a - CAN schematic

here i enclosed my schematic....
it contain
pic16f877a
3switches in portD
3LEDs in portE
rs232 serial communication
can-spi conection
plz check & tell if anything s wrong....
 
Last edited:

Hi,

I've uploaded several appnotes and sample code, one in particular has the schematic to interface a MCP2515 and PIC16F876 with example code, just modify accordingly.

This should get you started in the right direction. I take a look at your schematic later today. If you have any other question just drop me a PM
 

Attachments

  • 00212c.pdf
    418.7 KB · Views: 135
  • 00212.zip
    59.5 KB · Views: 99
  • 00215c.pdf
    171.9 KB · Views: 119
  • an215bsc.zip
    8.7 KB · Views: 89
  • 00713a.pdf
    141.6 KB · Views: 109
  • 00872a.pdf
    207.8 KB · Views: 116
  • 51454a.pdf
    437.6 KB · Views: 144
  • 2515_1939_1.01.zip
    16.7 KB · Views: 99
hi all

In PIC 16F877 there is no inbuild support for CAN interface, u need to connect external CAN driver. it i sbetter if u use Microchip PIC18, PIC24H, dsPIC30F and dsPIC33F Microcontrollers with embedded CAN Controllers.

ur task become easier.

--
Ashad Mustufa
eLab Solution Provider
 
Last edited:

yea...tats k....but i m doing project using pic16f877a only.....half way crossed....still CAN only left....so i planned to use mcp2515,mcp2551 along with 16f877a.....
 

I think you already studied in detail about CAN protocol, it has its own memory map and addressing method. I know you already used the PIC16F877 but it is thankless job to implement all these addresses and HW feature through programming.
Again my suggestion, read the CAN Bus in detail. After that you will reveal that it is much easier to change the PCI16F877 with CAN enabled controller than implementing this feature by programming.

--
Ashad Mustufa
eLab Solution Provider
 

thnks sir...but i already made the PCB with all the external components with 16f877a and mcp2515,mcp2551.....so i cant change my design again....it ll take more cost since i designed 5 PCBs....cost s not a matter.....but i hv very little time only.....still only 20 more odd days to go....so i m in a deep critical stage....
 

Attached is a CAN example project compiled using CCS. Node B incorporates a 16F876 with a MCP2510. You should be able to modify the code to incorporate the components you have selected and your design.

This source code you start you off in the right direction.
 

Attachments

  • CCS_CAN_EX.zip
    46.3 KB · Views: 99

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top