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)
Install the Ethernet2 library in Library Manager
Open the head file Ethernet2.h
It ofen located in C:UserUsernameDocumentsArduinolibrariesEthernet2src
We use the D3 as the chip select(W5500) in Maduino Zero Ethernet, modify the w5500_cspin to 3
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:
COMMENTS