Pages: [1]   Go Down
Author Topic: CAN-Bus-Shield program implementation  (Read 998 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys. For about 3 weeks I am working on a project in our university which contains to build about five can-bus shields and writing a protocol for transmitting and receiving
Data like barometric pressure.(Its a project in which we build an aircraft )Well after building and testing the hardware with simple programs I got stuck on writing a code for not just two CAN interfaces but about four. smiley-sweat This code should include filters and masks which make the nodes easier to communicate.

Now my Question to the community: Do u have any experience with such a project? Do u have any Idea of an possible implementation?
I just need an example to imagine how it could looks like.

Thanks a lot ahead. smiley

« Last Edit: October 09, 2012, 04:32:05 am by FaisalEIT » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 200
Posts: 12773
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


You are not going to get any help until you...

• Indicate which shield you have.

• Post your code.

• Describe what you are trying to accomplish and what you've done that worked.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Srry for that. smiley-confuse

I am using a MCP 2515 CAN BUS Shield and an Arduino AtMega 328P. 
My library is in the attachement.

I dont have any Code.... thats why am asking for help.
Thanks

* mcp_can.zip (16.21 KB - downloaded 16 times.)
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
For about 3 weeks I am working on a project in our university which contains to build about five can-bus shields and writing a protocol for transmitting and receiving
Data like barometric pressure.
You've spent three weeks writing a protocol and
Quote
I dont have any Code
What have you been doing?
Logged

Pages: [1]   Go Up
Jump to: