Coder Social home page Coder Social logo

can-bus_shield's Introduction

SparkFun CAN-Bus Shield

SparkFun CAN-BUS Shield

SparkFun CAN-BUS Shield (DEV-13262)

This shield give the Arduino CAN-BUS capability.

Repository Contents

  • /Hardware - Eagle design files (.brd, .sch)
  • /Libraries - Libraries for use with the CAN-Bus Shield.
  • /Production - Production panel files (.brd)

Documentation

Product Versions

GitHub Version History

  • V1.3 - This is version 1.3 of the shield. Currently live.
  • V1.2 - This is version 1.2 of the shield. Retired

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact [email protected].

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

This is a collaboration with SK Pang Electronics. A portion of each sale goes back to them for product support and continued development.

can-bus_shield's People

Contributors

michael-bell avatar nseidle avatar robert-hunke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

can-bus_shield's Issues

Was soll diese Zeile bezwecken?

` // load CNF1..3 Register

RESET(MCP2515_CS);

spi_putc(SPI_WRITE);

spi_putc(CNF3);

/* spi_putc((1<<PHSEG21)); // Bitrate 125 kbps at 16 MHz

spi_putc((1<<BTLMODE)|(1<<PHSEG11));

spi_putc((1<<BRP2)|(1<<BRP1)|(1<<BRP0));

*/

/*

spi_putc((1<<PHSEG21));		// Bitrate 250 kbps at 16 MHz

spi_putc((1<<BTLMODE)|(1<<PHSEG11));

spi_putc((1<<BRP1)|(1<<BRP0));

*/

spi_putc((1<<PHSEG21));		// Bitrate 250 kbps at 16 MHz

spi_putc((1<<BTLMODE)|(1<<PHSEG11));

//spi_putc(1<<BRP0);

spi_putc(speed);`

"spi_putc(speed)" Was hat das Register was dort beschrieben wird mit Speed zu tun? Verstehe das nicht so ganz.. Das ist doch das Register für die Interrupts?!

Micro SD Card Socket

Hey Toni, this is pretty much my fault. The updated micro sd footprint is the Micro SD 1:1

9-pin connector pinout

Thanks for the work on this board - certainly worth a beer! I'm just trying to get it to work and noticed that the pinout on the 9-way connector appears to be non-standard. Every CAN bus I've ever worked with has this configuration:
pin 2: CAN-Low (CAN-)
pin 3: GND (Ground) - NOT ALWAYS USED
pin 7: CAN-High (CAN+)
pin 9: CAN V+ (Power) - NOT ALWAYS USED
I don't think there is anything in the ISO standard, but it's on the Wiki page for CAN so it must be true :)
It's not a huge issue - I can re-wire my 9-pin connector, but it does make the board harder to use with other CAN products (e.g. the ones from Kvaser, Softing, Vektor, ATI etc) which all use pins 2 & 7. If the board ever does get re-spun it might be something to put on the to-do list.

Shield on Arduino Mega

Hi, I'm trying to connect this shield to an Arduino Mega. Unfortunately it always result in a "Can't init CAN" message in the Serial monitor. I tried bending the SPI connectors (10-13) slightly to the side and connected wires from 50-53 on the Mega to 10-13 on the shield, but it still doesn't work. Any ideas?
Someone tried this before as succeeded, but probably with an other version of the lib, since I can't finde the file he mentioned anymore: http://forum.arduino.cc/index.php?topic=123367.0

Thank for the help. Best regards

Edit: Merry Christmas ;)

Terminating Resistor

Hi,

I just got my Shield delivered, and am trying to hook it up to an esp32, but with no success, aside from the obvious software meddling I need to do to get things going, I was also wondering if the shield has a 120ohm resistor between CANH and CANL already on the board, or if we are meant to place one externally if termination is needed. I've looked through the schematics and it doesn't seem that there is one in there, but I doubt that sparkfun did not consider the terminating resistor, so any pointers here would be much appreciated.

Thanks,
Adamos

Errors on Arduino Due but not other Arduino. Canbus.cpp:16:20: fatal error: avr/io.h: No such file or directory

Help!! I have two Sparkfun CanBus shields and both work great on Uno, nano, etc. But when I try to compile on a Due, I get this error:

Canbus.cpp:16:20: fatal error: avr/io.h: No such file or directory

I've tried to narrow down what is causing the problem, but I cant. All of the example code works for the Due, plus a newer FASTLed library also works on Due after it was updated to work with Due, since it showed the same errors originally. I dont know what changes were made though.

Thanks!

Can Bus Ecu Demo

I"ve been trying to hook it up to my car it is giving me random weird values like 1 or 255 for Engine RPM and 191 or 255 for Vehicle speed. Any idea what maybe the source of error ?
@ToniCorinne

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.