Difference between revisions of "Maduino Zero Canbus with RS485"

From MakerFabsWiki
Jump to: navigation, search
Line 1: Line 1:
 
'''''Attention!!! This product has not been released.''''' <br>
 
'''''Attention!!! This product has not been released.''''' <br>
 
==Introduce==
 
==Introduce==
Maduino Zero Canbus with RS485 is an IoT (Internet of things) Solution based on the 32-bit Atmel’s SAMD21 MCU.<br>
+
Maduino Zero Canbus with RS485 is an IoT (Internet of things) Solution based on the 32-bit Atmel's SAMD21 MCU.<br>
 
[[File:Maduino_RS485_101.jpg|500px]]<br>
 
[[File:Maduino_RS485_101.jpg|500px]]<br>
  
 
==Features==
 
==Features==
 +
*ATMEL SAMD21G18A: 32-bit ARM® Cortex®-M0 up to 48MHz, 256KB flash, 32KB SRAM, LQFP48v • Powered by a lithium battery (3.4-4.2V) or AC-DC Adapter.<br>
 +
*Arduino Compatible: Compatible with Arduino IDE.<br>
 
*Implements CAN V2.0 at 1M/s.<br>
 
*Implements CAN V2.0 at 1M/s.<br>
 +
*MCP2515 CAN Bus controller and MCP2551 CAN Bus transceiver.<br>
 +
*Allows for Transmission Speeds Up to 16Mbps of RS-485.<br>
 
*AutoDirection Enables Driver Automatically on Transmission of RS-485.<br>
 
*AutoDirection Enables Driver Automatically on Transmission of RS-485.<br>
 
*Allowing Up to 128 Transceivers on the Bus of RS-485.<br>
 
*Allowing Up to 128 Transceivers on the Bus of RS-485.<br>
 
*Extended ESD Protection for RS-485 I/O Pins and CANBUS I/O Pins.<br>
 
*Extended ESD Protection for RS-485 I/O Pins and CANBUS I/O Pins.<br>
 
+
*Integrated DB9 male connector.<br>
 +
*Industrial standard 9 pins sub-D connector.<br>
 +
*5V power supply.<br>
  
 
==Diagram==
 
==Diagram==
  
 
[[File:Maduino_RS485_102.jpg|500px]]<br>
 
[[File:Maduino_RS485_102.jpg|500px]]<br>
 +
  
 
==Usage==
 
==Usage==
 +
===Software setup===
 +
*After installed Arduino, there is no package to support the board (Arduino zero) that is needed to be installed.<br>
 +
*select tools ->Board -> Board Manager, search "Arduino zero" and install "Arduino SAMD Boards".<br>
 +
*Select Tools ->Board -> Arduino Zero (Native USB Port), select Tools -> Port -> com…<br>
 +
 +
===Test===
  
 +
*The sensors or devices which can carry on RS485 or CANbus are connected to the board through cables. in this project, use the same board instead of the device being tested, and connected two board by cables or Dupont Lines to check the communication between boards.<br>
 +
*The pins connection is:<br>
 +
 +
*One board upload the code xxxx , and the other upload the code xxx. Both programs include the functions which can realize receiving and sending data in RS485 communication mode and CANBUS communication mode.<br>
 +
*After the upload is successful, open the Serial Monitor and you can observe that the board is receiving and sending data cyclically through CANBUS.<br>
 +
[[File:Maduino_RS485_102.jpg|500px]]<br>
 +
*Send data through the Serial Monitor, and receive the data through RS485 communication on another board.<br>
 +
[[File:Maduino_RS485_102.jpg|500px]]<br>
 +
[[File:Maduino_RS485_102.jpg|500px]]<br>
  
 
==F&Q==
 
==F&Q==

Revision as of 10:24, 21 October 2020

Attention!!! This product has not been released.

Introduce

Maduino Zero Canbus with RS485 is an IoT (Internet of things) Solution based on the 32-bit Atmel's SAMD21 MCU.
Maduino RS485 101.jpg

Features

  • ATMEL SAMD21G18A: 32-bit ARM® Cortex®-M0 up to 48MHz, 256KB flash, 32KB SRAM, LQFP48v • Powered by a lithium battery (3.4-4.2V) or AC-DC Adapter.
  • Arduino Compatible: Compatible with Arduino IDE.
  • Implements CAN V2.0 at 1M/s.
  • MCP2515 CAN Bus controller and MCP2551 CAN Bus transceiver.
  • Allows for Transmission Speeds Up to 16Mbps of RS-485.
  • AutoDirection Enables Driver Automatically on Transmission of RS-485.
  • Allowing Up to 128 Transceivers on the Bus of RS-485.
  • Extended ESD Protection for RS-485 I/O Pins and CANBUS I/O Pins.
  • Integrated DB9 male connector.
  • Industrial standard 9 pins sub-D connector.
  • 5V power supply.

Diagram

Maduino RS485 102.jpg


Usage

Software setup

  • After installed Arduino, there is no package to support the board (Arduino zero) that is needed to be installed.
  • select tools ->Board -> Board Manager, search "Arduino zero" and install "Arduino SAMD Boards".
  • Select Tools ->Board -> Arduino Zero (Native USB Port), select Tools -> Port -> com…

Test

  • The sensors or devices which can carry on RS485 or CANbus are connected to the board through cables. in this project, use the same board instead of the device being tested, and connected two board by cables or Dupont Lines to check the communication between boards.
  • The pins connection is:
  • One board upload the code xxxx , and the other upload the code xxx. Both programs include the functions which can realize receiving and sending data in RS485 communication mode and CANBUS communication mode.
  • After the upload is successful, open the Serial Monitor and you can observe that the board is receiving and sending data cyclically through CANBUS.

Maduino RS485 102.jpg

  • Send data through the Serial Monitor, and receive the data through RS485 communication on another board.

Maduino RS485 102.jpg
Maduino RS485 102.jpg

F&Q

You can list your question here or contact support@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.

Resources