/CanDuino

its a Can enabled Arduino, Can...Duino

Primary LanguageHTML

CanDuino

its a Can enabled Arduino, Can...Duino

Make sure to take The most recent version for projects. Check The issues page for any know issues and if they have been fixed or not.

Onve the board has been made, follow these instructions to program

If you only partily follow these along with other internet suggestions then I don't care if you fail or break the board. Follow these fully and nothing else. If it still doesn't work, THEN go use the internet.

  1. BOOTLOADING

a) get another arduino board

b) upload the blink sketch to it (VERY IMPORTANT TO DO THIS AND CONFIRM YOU FOUND A WORKING BOARD)

c) upload the ArduinoISP sketch to your now working arduino

d) disconnect all boards from the computer

e) conect wires as follows (Orginal Arduino -> New Canduino):

  5V -> 5V
  
  GND -> GND
  
  SCK (Pin 13) -> SCK
  
  MISO (Pin 12) -> MISO
  
  MOSI (Pin 11) -> MOSI
  
  Pin10 -> RESET  

f) make sure the settings in the IDE are:

  Board: Arduino/Genuino UNO
  
  Port: The one it connects to
  
  Programmer: "Arduino as ISP"

g) connect the Working Arduino (that is now coneected to the new Canduino) to the computer

h) click burn bootloader (may need to change heartbeat to 20 from 40)

i) when done disconnect the USB and all wires between the boards

  1. UPLOADING CODE

a) conect the new bootloaded Canduino to the computer via USB

b) open your sketch

c) change the board to "Arduino Pro or Pro Mini"

  Select "ATmega 328P (5V, 16 MHZ)" as the Processor, but uno seems to also work now???

d) upload CAN test code - example sketch CAN receive_check and/ or CAN send_check to ensure CAN functionality

e) upload your sketch

e) enjoy