Hi guys, I am communicating to 4 motors via CAN bus shield on my MEGA. It works perfectly fine but if I run the Arduino for around 30min without any problem, I will turn the Arduino off. When turning it back on, the system powers up and then just fades as it looses power.
I determined the problem lies with the MCP 2515 CAN bus shield and replaced it. this happened two more times.
I have noticed the board is rated for SPI speed of 10mhz and I'm running at 16mhz because that is the rating of the motors. Could this be the problem?
Id like to mention that I am also running an ethernet shield on top of the CAN shield if maybe this could add some strain to the CAN shield?
Are there any CAN bus shields you would recommend I use instead?
Picture attached of the shields I am currently using.
When you post the schematic, also post links to technical information on the hardware devices. Without enough information your question cannot be properly answered, there may be guesses. How about I ask you to run Boston Ma to Chicago Il in 1 minute. I bet you cannot go that fast either. What is your limit? Hardware also has limits which are published for a reason.
Hi guys, Thanks for your replies and sorry for the delayed reply.
I have reduced the buadrate to 500k instead of the 1mbps with the hopes of putting less stress on the shield and I am running it now to see if it will hold up. Also purchased 2 other types of CAN bus shields that might be a bit more robust.
mikb55
Appologies, 16MHz is the clock speed of the shield. That value seems to be fixed, I cant change it.
gilshultz
Thank you, I understand what you mean. I am going to run a stress test and see if the shield last with the minor changes I made and if not I'll send the schematic with and all required info.
I will get back to you guys in the coming week an update.