[ DaveAK ] shares his ultimate (uncompleted, never unequivocally complete, are they ) CAN Shield.
Now we comprehend that there are a couple of CAN implementations out there, but the more the merrier, right?
This a uses the MCP2515/MCP2551 chips similar to many of them do. It has a switchable CS pin so that you can use other SPI shields with it that might have hardwired D10 as CS. It has a switch to pull power from the CAN Bus if desired, if you longed for to increase a WiFi or Bluetooth block for example. And for newbies similar to me it's an wholly by hole pattern creation it an easy DIY project.
I've moreover created a library that's a total doing of the MCP2515 SPI order set. It doesn't nonetheless have any wrappers for filters or masks, but these are all available by the read and write commands. we have a elementary Init function that takes a train speed and timepiece magnitude and calculates out all the vital bit timing parameters, that creates it flattering candid to setup and use.
via [ Arduino Forum ]
This access was postedby d.gomba@arduino.cc on Thursday, December 16th, 2010 and is filed beneath Coding , English , Hardware , IC , Libraries , MCP2515 , Protocols , Shields .You can follow any responses to this access by the RSS 2.0 feed.You can leave a reply , or trackback from your own site.
No comments:
Post a Comment