Go Down

Topic: CAN-Bus-Shield program implementation (Read 1 time) previous topic - next topic

FaisalEIT

Oct 08, 2012, 03:08 pm Last Edit: Oct 09, 2012, 11:32 am by FaisalEIT Reason: 1
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. :)


Coding Badly


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.

FaisalEIT

Srry for that. :~

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

PaulS

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?

Go Up