Help Getting Started
  • 0
  • administrators

    No need for resistors, they are built into the PCBA now. If you pop the bottom cap off you will find a solder jumper for termination. Just a dab of solder will terminate the end of a network, so no more fiddling with resistors. This is shown in the docs but the actual location changed a bit. They are above the main header through holes.

    I have a lot of info to write and diagrams to layout once the hardware is shipped out! If you guys come up with anything feel free to share it here with the community.

  • 0
  • administrators

    I've updated the Github repo to act as a hardware variant in the Arduino IDE. If you check out/download the files and place them in Sketchbook/hardware/CANBusTriple you will see a 'CANBus Triple' hardware variant in the menu and some examples are in there without any Mazda specific code.

    The getting started page will be updated asap!

  • 0
  • There seems to be something wrong with the ino-file. Won't compile (and upload) on both my Mac and Windows pc.

    This is what I'm getting:

    Arduino: 1.6.0 (Mac OS X), Board:"Arduino Leonardo"

    CANBusTriple.ino:12:5: error: stray '' in program
    CANBusTriple.ino:12:5: error: stray '' in program
    CANBusTriple.ino:292:46: error: invalid suffix "c5010e9607f5294d4c0e977919d5d5" on integer constant
    CANBusTriple.ino:353:19: error: too many decimal points in number
    CANBusTriple.ino:381:36: error: too many decimal points in number
    CANBusTriple.ino:497:53: error: stray '#' in program
    CANBusTriple.ino:501:53: error: stray '#' in program
    CANBusTriple.ino:505:54: error: stray '#' in program
    CANBusTriple.ino:509:54: error: stray '#' in program
    CANBusTriple.ino:513:54: error: stray '#' in program
    CANBusTriple.ino:517:54: error: stray '#' in program
    CANBusTriple.ino:526:54: error: stray '#' in program
    CANBusTriple.ino:530:54: error: stray '#' in program
    CANBusTriple.ino:530:175: error: too many decimal points in number
    CANBusTriple.ino:569:54: error: stray '#' in program
    CANBusTriple.ino:573:54: error: stray '#' in program
    CANBusTriple.ino:577:54: error: stray '#' in program
    CANBusTriple.ino:581:54: error: stray '#' in program
    CANBusTriple.ino:585:54: error: stray '#' in program
    CANBusTriple.ino:676:56: error: stray '#' in program
    CANBusTriple.ino:684:56: error: stray '#' in program
    CANBusTriple.ino:4:1: error: expected unqualified-id before '<' token
    CANBusTriple.ino:497:133: error: expected unqualified-id before '<' token
    CANBusTriple.ino:497:174: error: expected unqualified-id before '<' token
    CANBusTriple.ino:501:133: error: expected unqualified-id before '<' token
    CANBusTriple.ino:501:170: error: expected unqualified-id before '<' token
    CANBusTriple.ino:505:134: error: expected unqualified-id before '<' token
    CANBusTriple.ino:505:174: error: expected unqualified-id before '<' token
    CANBusTriple.ino:509:134: error: expected unqualified-id before '<' token
    CANBusTriple.ino:509:174: error: expected unqualified-id before '<' token
    CANBusTriple.ino:513:134: error: expected unqualified-id before '<' token
    CANBusTriple.ino:513:175: error: expected unqualified-id before '<' token
    CANBusTriple.ino:517:134: error: expected unqualified-id before '<' token
    CANBusTriple.ino:517:178: error: expected unqualified-id before '<' token
    CANBusTriple.ino:526:172: error: expected unqualified-id before '<' token
    CANBusTriple.ino:526:219: error: expected unqualified-id before '<' token
    CANBusTriple.ino:530:168: error: expected unqualified-id before '<' token
    CANBusTriple.ino:530:207: error: expected unqualified-id before '<' token
    CANBusTriple.ino:548:196: error: expected unqualified-id before '<' token
    CANBusTriple.ino:548:235: error: expected unqualified-id before '<' token
    CANBusTriple.ino:548:251: error: expected unqualified-id before '<' token
    CANBusTriple.ino:552:196: error: expected unqualified-id before '<' token
    CANBusTriple.ino:552:235: error: expected unqualified-id before '<' token
    CANBusTriple.ino:552:251: error: expected unqualified-id before '<' token
    CANBusTriple.ino:556:196: error: expected unqualified-id before '<' token
    CANBusTriple.ino:556:235: error: expected unqualified-id before '<' token
    CANBusTriple.ino:556:251: error: expected unqualified-id before '<' token
    CANBusTriple.ino:560:102: error: expected unqualified-id before '<' token
    CANBusTriple.ino:569:136: error: expected unqualified-id before '<' token
    CANBusTriple.ino:569:180: error: expected unqualified-id before '<' token
    CANBusTriple.ino:573:136: error: expected unqualified-id before '<' token
    CANBusTriple.ino:573:183: error: expected unqualified-id before '<' token
    CANBusTriple.ino:577:136: error: expected unqualified-id before '<' token
    CANBusTriple.ino:577:185: error: expected unqualified-id before '<' token
    CANBusTriple.ino:581:136: error: expected unqualified-id before '<' token
    CANBusTriple.ino:581:183: error: expected unqualified-id before '<' token
    CANBusTriple.ino:585:136: error: expected unqualified-id before '<' token
    CANBusTriple.ino:585:179: error: expected unqualified-id before '<' token
    CANBusTriple.ino:599:69: error: expected unqualified-id before '<' token
    CANBusTriple.ino:603:68: error: 'Message' does not name a type
    CANBusTriple.ino:603:80: error: 'readQueue' does not name a type
    CANBusTriple.ino:603:90: error: expected unqualified-id before '<' token
    CANBusTriple.ino:607:68: error: 'Message' does not name a type
    CANBusTriple.ino:607:80: error: 'writeQueue' does not name a type
    CANBusTriple.ino:607:91: error: expected unqualified-id before '<' token
    CANBusTriple.ino:647:135: error: 'writeQueue' does not name a type
    CANBusTriple.ino:647:148: error: expected unqualified-id before '<' token
    CANBusTriple.ino:651:129: error: 'writeQueue' does not name a type
    CANBusTriple.ino:651:142: error: expected unqualified-id before '<' token
    CANBusTriple.ino:688:56: error: expected unqualified-id before '<' token
    CANBusTriple.ino:692:280: error: expected unqualified-id before '<' token
    Fout bij compileren.

    What am I doing wrong?

    Xag

  • 0
  • The error messages indicate that there are significantly more lines in your .ino file than are in the correct file.
    I suggest that you use "git clone" to download the repository and place it in the sketchbook/hardware/ folder.
    There are 304 lines in the .ino file which is is at the current head of master branch.

  • 0
  • Thanks Wacky.

    Made the clone and now its working. One thing that may help others is that you have to select the BOARD as being the CanbusTriple and not one of the Arduinos. Sounds logical but I made this mistake and it took a while before I noticed it.

    Time to try it on the car!

  • 0
  • administrators

    Try to keep your local code up to date with the repo, I'm making improvements pretty regularly.

  • 0
  • Thanks Derek, will do.

  • 0
  • Hello friends, I plug in CBT using USB into Windows 7 64-bit OS, it shows up in Device Manager but installation is not successful due to no drivers detected for CBT. Any ideas how to get pass this stage? Many thanks.

  • 0
  • You have installed the Arduino IDE?

  • 18
    Posts
  • 5482
    Views
  • Log in to reply