Skip to content

Squama Ethernet


Squama is a series of products. This series of products has a standard appearance, with a general size of 62x30mm. The series integrates an MCU and peripherals with communication function, which is suitable for IoT-related applications.

Squama Ethernet is the first product in the Squama series. Squama Ethernet integrates a high-performance microcontroller based on Cortex M0+ and an Ethernet control chip W5500, which can be used by users to develop Ethernet applications.

WS2812 LED and user buttons are also integrated on the board, which can facilitate some interaction. More importantly, Squama Ethernet supports PoE (Power Over Ethernet), which makes the wiring more concise. Only one network cable is needed to complete signal transmission and power supply.

Squama Ethernet use the Arduino Zero like bootloader, you can use Arduino IDE to develop your application ealisy.


  • ARM Cortex-M0+ MCU running at up to 48MHz (ATSAMD21G18)
  • Arduino Zero bootloader
  • PoE
  • Supports Hardwired TCP/IP Protocols : TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE
  • Supports 8 independent sockets simultaneously
  • Supports Power down mode
  • Supports Wake on LAN over UDP
  • Supports High Speed Serial Peripheral Interface(SPI MODE 0, 3)
  • Internal 32Kbytes Memory for TX/RX Buffers
  • 10BaseT/100BaseTX Ethernet PHY embedded
  • Supports Auto Negotiation (Full and half duplex, 10 and 100* based )
  • Not supports IP Fragmentation
  • WS2812B Led
  • Reset Button and User Button
  • Grove connector for I2C and UART


  • MCU: ARM Cortex-M0+ CPU running at up to 48MHz
  • Clock speed: 48MHz
  • Flash memory: 256KB
  • RAM: 32KB
  • Input voltage: 5V via USB and 48~57V via PoE
  • Output Current @ 5V: 2A
  • Size: 62x30 mm
  • Weight: 15g (without PoE), 20g (with PoE)



  • Squama Ethernet Dev Board x 1
  • PoE Cape x 1 (only for the PoE Version)
  • 5pin header (male and female)
  • 8pin header (male and female)


1. LED indicators:

  • R: Reset (red)
  • P: Power (green)
  • L: D13 (blue)

2. RJ45 Connector, 10/100M

3. WS2812B LED, connected to D12

4. User button, connected to D11

5. PoE Cape

6. Pinout1

7. I2C

8. UART (Use Serial2 in the code)

9. TypeC connector for programming

A. Pinout2*

B. Reset Button

C. ATSAMD21G18 chip



The RX/TX use Serial1 in the code


First download the Arduino IDE from Arduino IDE can be installed and run on Windows, Linux, and Mac OS X operating systems. Download the installer or zip file (Windows only) and install (if you have the zip file, extract it to your Windows computer’s hard drive) it on your operating system.

Once finished, start the Arduino IDE.

Copy and paste the link below into the Additional Boards Manager URLs option in the Arduino IDE preferences (File > Preferences).

Enter longan to install the latest Longan SAMD board

Then you can select the Squama Ethernet board,


Install Ethernet Library

The Arduino Ethernet library work well with Squama Ethernet dev board.

Lets start by installing the library, open your Arduino IDE, Sketch > Include Library > Manage Libraries...

Input ethernet, you will find the library, make sure you are running at V2.0.0 or higher.

Connect Cable

Here you need a network cable and a TypeC cable. Connect the Squama Ethernet Dev Board to the router through the network cable and to the computer through the TypeC cable.

Run Example Code (WebServer)

We take WebServer as an example. First open the code of WebServer.

Some parts of the code may need to be modified. If your router limits the mac to the Internet, then you need to modify the mac address. And the IPAddress on line 28 of the code needs to be modified to the same segment as your gateway address. My gateway address is, so I changed my IPAddress to If you use a Windows operating system computer, You can get your gateway address through win+R > cmd > ipconfig.

// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = {
    0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
IPAddress ip(192, 168, 31, 177);

After the code is uploaded successfully, open the Serial Monitor.

Open the web browser and enter the address displayed on the Serial Monitor, you can get the data sent by Squama Ethernet.

The library also contains a lot of practical examples, including the following, not to introduce them here.

  • AdvancedChatServer
  • BarometricPressureWebServer
  • ChatServer
  • DhcpAddressPrinter
  • DhcpChatServer
  • LinkStatus
  • TelnetClient
  • UdpNtpClient
  • UDPSendReceiveString
  • WebClient
  • WebClientRepeating
  • WebServer

Use the WS2812B on the board

We already add the library to the examples.

Open Arduino IDE, File > Examples > Adafruit DMA neopixel library > strandtest.

Use the USR button on the board

const int pinBtn = 11;
const int pinLed = 13;

void setup()
    pinMode(pinBtn, INPUT_PULLUP);
    pinMode(pinLed, OUTPUT);

void loop()
    int ledst = 1-digitalRead(pinBtn);
    digitalWrite(pinLed, ledst);


1.The board can't be connected to the Internet

  • See if the Green Led light up in the RJ45 connector