Difference between revisions of "Maduino Zero Ethernet"
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
− | Maduino Zero Ethernet.<br> | + | Maduino Zero Ethernet is an IoT (Internet of things) Solution based on the 32-bit Atmel's SAMD21 MCU and Ethernet Communication Controller W5500, which is can be used for comunication application, etc. <br> |
+ | |||
+ | The Maduino Zero Ethernet based on the Arduino, users can program it with Arduino IDE, which is very easy especially suit for the none-programmers. There are also guide for users to learn how to use this board, with which the starters can learn the hardware and programming skill quickly.<br> | ||
+ | |||
+ | This guide help you the basic usage of Maduino Zero Ethernet. <br> | ||
+ | |||
+ | '''Model: [https://www.makerfabs.com/maduino-zero-ethernet.html Maduino Zero Ethernet OAC866ET]'''<br> | ||
+ | [[File:Maduino_Zero_Ethernet_SHOW_01.jpg|500px]] | ||
== Features == | == Features == | ||
− | + | • ATMEL SAMD21G18A: 32-bit ARM® Cortex®-M0 up to 48MHz, 256KB flash, 32KB SRAM, LQFP48<br> | |
− | + | • Powered by lithium battery(3.4-4.2V) or MicroUSB<br> | |
− | + | • W5500,Ethernet Communication controller<br> | |
− | + | • Interface: I2C/SPI/UART/ADC/DAC/I2S/38*GPIO<br> | |
− | + | • Arduino Compatible: You can play it with Arduino IDE<br> | |
− | + | • More cost-effective and high quality than Arduino Zero<br> | |
− | + | • Working Temperature: -20 ~ +85℃<br> | |
− | + | • Default baud rate: 115200bps<br> | |
− | + | • Size: 40*55mm<br> | |
− | + | ||
+ | == Interface Function == | ||
+ | [[File:Maduino_Zero_Ethernet_01.JPG|700px]]<br> | ||
+ | ①Micro USB: USB to serial communication and supply power<br> | ||
+ | ②CHG: 5V power input, can connect the solar panel to charge the lipo battery.<br> | ||
+ | ③VBAT: 3.7V Lipo battery connector<br> | ||
+ | ④Switch: Power switch<br> | ||
+ | ⑤ANT1: NFC Antenna IPX Interface<br> | ||
+ | ⑥STA: status indicate, connected to D2<br> | ||
+ | ⑦NET: Power indicate<br> | ||
+ | ⑧SWD: Bootloader downloading<br> | ||
+ | ⑨RESET: Reset button for ATSAMD21G18<br> | ||
+ | |||
+ | [[File:Maduino_Zero_Ethernet_02.JPG|700px]]<br> | ||
+ | |||
+ | ①Micro SD Card Holder<br> | ||
+ | |||
+ | ==Usage== | ||
+ | '''Warning''': Don't operate when in power supply on (That is, don't plug or unplug the Antenna, SD Card, in case of short-circuit that may burn the IC down.) | ||
+ | |||
+ | Note After [https://www.arduino.cc/en/Guide/HomePage a Arduino IDE] installed, there is no package to support Maduino Zero(Arduino Zero ), we need to install the Arduino Zero package in Arduino IDE to continue. | ||
+ | |||
+ | |||
+ | ===1. Install Software for the Arduino/Genuino Zero=== | ||
+ | |||
+ | The following screens show how to install software for the Maduino(Arduino/Genuino) Zero boards in the Arduino IDE. <br> | ||
+ | |||
+ | |||
+ | 1.1. Open the Boards Manager | ||
+ | From the top Arduino IDE menu, select Tools-> Board-> Boards Manager… to open the Boards Manager dialog box. | ||
+ | [[File:Arduino_Board_V1.0.png]] | ||
+ | |||
+ | |||
+ | 1.2. Select Arduino SAMD Boards and Install | ||
+ | In the '''Boards Manager''' dialog box, type '''Arduino Zero''' into the search field to easily find the Arduino SAMD package for 32-bits ARM Cortex-M0+ boards as shown in the image below. Install it. | ||
+ | [[File:Arduino_BoardManager_V1.0.png]]<br> | ||
+ | |||
+ | 1.3. Find the Arduino Zero Boards on the Arduino IDE Menu | ||
+ | After the software package has been installed, the new Arduino boards can be seen on the Arduino IDE Board menu found under '''Tools →Board''' as shown in the image below. | ||
+ | |||
+ | [[File:Arduino_Serial.png]] | ||
+ | |||
+ | A new section called '''Arduino SAMD (32-bits ARM Cortex-M0+) Boards''' can be seen on the Board menu which contains Arduino M0, M0 Pro, Zero, MKR boards and others. This means the right package has been installed and Maduino ready to go. | ||
+ | |||
+ | |||
+ | ===2. Hardware Connection=== | ||
+ | • Plug a Ethernet cable.<br> | ||
+ | • Plug a Micro USB Cable to Maduino Zero Ethernet<br> | ||
+ | [[File:Maduino_Zero_Ethernet_03.jpg]]<br> | ||
+ | *Note1: You can supply power by a 3.7V lithium battery after you upload the program to the board.<br> | ||
+ | *Note2: a 3.7V lithium battery normal voltage is 3.7V, but the range voltage often from 3.4V to 4.2V<br> | ||
+ | *Note3: Both the battery or the MicroUSB can be used for power supply. While MicroUSB connected, the board will be powered by MicroUSB, while MicroUSB removed, it will switch to battery automaticly.<br> | ||
+ | |||
+ | |||
+ | |||
+ | ====3. Program the Maduino Zero==== | ||
+ | Select the desired '''Arduino/Genuino Zero(Native USB port)''' board from the Arduino IDE Board menu and then select the correct Port number from the menu item below Board on the Tools Menu. The Maduino board can now be programmed in the usual manner.<br> | ||
+ | [[File:Arduino_Zero_NativeUSB_V1.0.png]]<br> | ||
+ | Select Arduino/Genuino Zero(Native USB port) | ||
+ | Open our programming code [https://github.com/Makerfabs WebserverADC.ino]<br> | ||
+ | Click Verify button to compile it.<br> | ||
+ | [[File:VerifyButton01.png]]<br> | ||
+ | If there is no any errors, it will show Done compiling.<br> | ||
+ | [[File:Arduino_Done_Compiling_V1.0.png]] | ||
+ | Click Upload button to upload firmware to the Maduino Zero Ethernet board.<br> | ||
+ | [[File:UploadButton01.png]]<br> | ||
+ | After done uploading, it will show the programming OK, as below:<br> | ||
+ | [[File:Arduino_Done_Uploading_V1.0.png]] | ||
+ | From the top Arduino IDE menu, select '''Tools → Serial Monitor'''… to open the Serial Monitor dialog box.<br> | ||
+ | [[File:SerialMonitor01.png]] | ||
+ | Select baud rate 115200, it will shows the board begin to works:<br> | ||
+ | [[File:Ethernet_SerialMonitorShow_V1.0.png]] | ||
+ | 4. Result Show<br> | ||
+ | [[File:Ethernet_ResultShow_V1.0.png]] | ||
== FAQ == | == FAQ == | ||
Line 19: | Line 99: | ||
== Resources == | == Resources == | ||
− | *[http://makerfabs.com/wiki/index.php?title=File: | + | *[http://makerfabs.com/wiki/index.php?title=File:EthernetDemoCode.zip EthernetDemoCode] |
Revision as of 01:42, 28 November 2019
Contents
Introduction
Maduino Zero Ethernet is an IoT (Internet of things) Solution based on the 32-bit Atmel's SAMD21 MCU and Ethernet Communication Controller W5500, which is can be used for comunication application, etc.
The Maduino Zero Ethernet based on the Arduino, users can program it with Arduino IDE, which is very easy especially suit for the none-programmers. There are also guide for users to learn how to use this board, with which the starters can learn the hardware and programming skill quickly.
This guide help you the basic usage of Maduino Zero Ethernet.
Model: Maduino Zero Ethernet OAC866ET
Features
• ATMEL SAMD21G18A: 32-bit ARM® Cortex®-M0 up to 48MHz, 256KB flash, 32KB SRAM, LQFP48
• Powered by lithium battery(3.4-4.2V) or MicroUSB
• W5500,Ethernet Communication controller
• Interface: I2C/SPI/UART/ADC/DAC/I2S/38*GPIO
• Arduino Compatible: You can play it with Arduino IDE
• More cost-effective and high quality than Arduino Zero
• Working Temperature: -20 ~ +85℃
• Default baud rate: 115200bps
• Size: 40*55mm
Interface Function
①Micro USB: USB to serial communication and supply power
②CHG: 5V power input, can connect the solar panel to charge the lipo battery.
③VBAT: 3.7V Lipo battery connector
④Switch: Power switch
⑤ANT1: NFC Antenna IPX Interface
⑥STA: status indicate, connected to D2
⑦NET: Power indicate
⑧SWD: Bootloader downloading
⑨RESET: Reset button for ATSAMD21G18
①Micro SD Card Holder
Usage
Warning: Don't operate when in power supply on (That is, don't plug or unplug the Antenna, SD Card, in case of short-circuit that may burn the IC down.)
Note After a Arduino IDE installed, there is no package to support Maduino Zero(Arduino Zero ), we need to install the Arduino Zero package in Arduino IDE to continue.
1. Install Software for the Arduino/Genuino Zero
The following screens show how to install software for the Maduino(Arduino/Genuino) Zero boards in the Arduino IDE.
1.1. Open the Boards Manager
From the top Arduino IDE menu, select Tools-> Board-> Boards Manager… to open the Boards Manager dialog box.
1.2. Select Arduino SAMD Boards and Install
In the Boards Manager dialog box, type Arduino Zero into the search field to easily find the Arduino SAMD package for 32-bits ARM Cortex-M0+ boards as shown in the image below. Install it.
1.3. Find the Arduino Zero Boards on the Arduino IDE Menu After the software package has been installed, the new Arduino boards can be seen on the Arduino IDE Board menu found under Tools →Board as shown in the image below.
A new section called Arduino SAMD (32-bits ARM Cortex-M0+) Boards can be seen on the Board menu which contains Arduino M0, M0 Pro, Zero, MKR boards and others. This means the right package has been installed and Maduino ready to go.
2. Hardware Connection
• Plug a Ethernet cable.
• Plug a Micro USB Cable to Maduino Zero Ethernet
- Note1: You can supply power by a 3.7V lithium battery after you upload the program to the board.
- Note2: a 3.7V lithium battery normal voltage is 3.7V, but the range voltage often from 3.4V to 4.2V
- Note3: Both the battery or the MicroUSB can be used for power supply. While MicroUSB connected, the board will be powered by MicroUSB, while MicroUSB removed, it will switch to battery automaticly.
3. Program the Maduino Zero
Select the desired Arduino/Genuino Zero(Native USB port) board from the Arduino IDE Board menu and then select the correct Port number from the menu item below Board on the Tools Menu. The Maduino board can now be programmed in the usual manner.
Select Arduino/Genuino Zero(Native USB port)
Open our programming code WebserverADC.ino
Click Verify button to compile it.
If there is no any errors, it will show Done compiling.
Click Upload button to upload firmware to the Maduino Zero Ethernet board.
After done uploading, it will show the programming OK, as below:
From the top Arduino IDE menu, select Tools → Serial Monitor… to open the Serial Monitor dialog box.
Select baud rate 115200, it will shows the board begin to works:
FAQ
You can list you question here or contact with support@makerfabs.com for technology support. A detailed descriptions of your question will be helped to solve your question.