Difference between revisions of "SunFounder Mercury Board"

From Wiki
Jump to: navigation, search
Line 13: Line 13:
 
The Mercuryboard has pins of several functions, which is marked on the board. GND: ground. There are multiple GND pins on Mercury. They are connected with each other, so you can connect any of them in your circuit.<br>
 
The Mercuryboard has pins of several functions, which is marked on the board. GND: ground. There are multiple GND pins on Mercury. They are connected with each other, so you can connect any of them in your circuit.<br>
 
5V&3.3V: There are 5V and 3.3V voltage regulator chips on the board, thus able to supply 5V and 3.3V. You can choose which to use based on actual situations.<br>
 
5V&3.3V: There are 5V and 3.3V voltage regulator chips on the board, thus able to supply 5V and 3.3V. You can choose which to use based on actual situations.<br>
'''Analog  pins''': You can tell from the pin name  A0-A15:  A is short for analog. These pins can read values  of  analog  sensors  and  convert  them  to  digital  ones  which  we  can  read.By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and [http://www.arduino.cc/en/Reference/]
+
'''Analog  pins''': You can tell from the pin name  A0-A15:  A is short for analog. These pins can read values  of  analog  sensors  and  convert  them  to  digital  ones  which  we  can  read.By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and [http://www.arduino.cc/en/Reference/AnalogReference analogReference()] function.

Revision as of 02:03, 10 April 2017

Overview

SunFounder Mercury board is totally compatible with the official Arduino Mega2560, with also ATmega2560 as the processor,the same Optiboot bootloaderas Uno.Also it has 54 digital I/Os pins, 16 analog inputs, 256KB program storage, 16MHz crystal oscillator, etc.
Features that make it unique: beautiful red PCB, parallel yellow and red pins, colorful design; uses FTDI232R for USB-to-serial; adopts Type-C, so far the only USB port that supports reversible plug orientation; all I/O ports with two pins (male and female), free to use -just plug Dupont wires regardless of M or F; adds a 5V power switch to control the board power, which may be expected by mass hobbyists (switch off the board when not in use, avoiding frequent plugging); reset button at the board side for convenience; Atmega2560 Microcontroller is packaged in patch which can save much space.

Introduction

The SunFounder Mercury Board is a microcontroller board based on the ATmega2560. It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller;

Power Types(USB Port/Jack)

Every Arduino board needs a way to be connected to a power source. You can power the Mercuryboard by connecting it to your computer via a Type-C USB cable, or by an AC-to-DC adapter or battery. The jack supports a voltage range of 7-12V. Though you're not recommended to use as up to12V, because the adapter is AC to DC, a slight fault in the filter can cause the board to be burnt. You may consider our 9V adapter (on Amazon http://www.amazon.com/dp/B01ABTKHIO).
You can upload the code to the board via the USB cable.
Speaking of power, there is apower switch which is unique among Arduino compatibles. After you've finished an experiment or want to take a break, just switch off the board –in the long term, USB plugging/unplugging can be reduced.

Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)

The Mercuryboard has pins of several functions, which is marked on the board. GND: ground. There are multiple GND pins on Mercury. They are connected with each other, so you can connect any of them in your circuit.
5V&3.3V: There are 5V and 3.3V voltage regulator chips on the board, thus able to supply 5V and 3.3V. You can choose which to use based on actual situations.
Analog pins: You can tell from the pin name A0-A15: A is short for analog. These pins can read values of analog sensors and convert them to digital ones which we can read.By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and analogReference() function.