Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
Arduino DUE R3 Compatible SAM3X8E 32-bit ARM Cortex-M3 Development Board with USB Cable

Moving to an Arduino Due: A Practical Guide to 3.3 V Signals, Shields and Analogue I/O

An Arduino Due-compatible board can provide useful headroom for a project that has outgrown a smaller AVR board. The important change is not just processor speed: it is a different electrical and software platform. Treat the move as a short engineering migration, particularly if your existing circuit contains 5 V peripherals.

The PMD Way Due collection includes a SAM3X8E Due-compatible board. Use its documentation to identify the supplied hardware, and use the official Arduino material to understand the reference design. Compatible-board revisions can differ in connectors, regulators and supporting components.

Understand what changes when you choose a Due

The reference Due uses a SAM3X8E Arm Cortex-M3 processor running at 84 MHz. It provides many digital connections, multiple hardware serial interfaces and dedicated analogue outputs. Arduino’s Due hardware documentation is the starting point for the board overview and pinout.

Those resources are useful for a controller with several serial peripherals or for experiments that need more working memory than a small AVR board. They do not automatically make an existing sketch portable. Libraries that manipulate AVR registers or assume particular timer hardware need a supported implementation for the Due.

Make a voltage map before connecting anything

The Due’s GPIO operates at 3.3 V and must not be exposed to 5 V signals. Do not confuse the board’s power-input options or its 5 V supply header with its signal ratings. Arduino explicitly distinguishes these in the Due datasheet.

Create a row for every peripheral and write down its supply, output voltage and input requirements. Inspect pull-up resistors on breakout boards as well: a device powered from 5 V can pull an otherwise idle bus above the Due’s permitted level. Changing a software setting cannot solve that electrical problem.

Interface checks before connecting a peripheral
Connection What to establish
Digital output into the Due The highest possible output voltage stays within the Due input rating.
Due output into a peripheral The receiving input reliably recognises the Due’s high level.
I2C bus Pull-ups connect to a suitable rail and the complete bus is electrically compatible.
Analogue input The entire signal range, including transients and startup, remains within the allowed input range.

If translation is needed, choose it for the direction, speed and signalling method involved. Avoid assuming one generic converter suits every interface. Disconnect power before changing wiring, and check the translator’s own supply sequence requirements.

A fitting shield still needs an electrical review

The familiar header arrangement can make a shield look interchangeable with one used on a Mega or Uno. Inspect what the shield actually drives. A shield might contain compatible chips but connect a reset line or pull-up to an unsuitable voltage.

Check the schematic, the role of IOREF and how the shield obtains SPI. On the Due, use the documented SPI header rather than assuming the Uno’s D11–D13 mapping. Also distinguish that peripheral header from an AVR programming connector: a familiar arrangement of pins is not evidence that an AVR ISP tool can program the SAM3X.

Write a pin-allocation sheet before stacking shields. Include interrupt, reset and chip-select signals. Test each shield alone, then combine them; this makes electrical conflicts and library interactions easier to isolate.

Choose the right USB path

The reference design has programming and native USB ports. The programming path uses a separate interface, whereas native USB involves the main processor directly. Select the board entry and port that correspond to the connector actually in use, following the official Due documentation.

For first tests, record which connector you used and which serial interface your sketch opens. A missing message may be a routing mistake rather than failed hardware. A sketch that interferes with native USB may also require a documented recovery procedure before it can be replaced.

Use a known data-capable cable and start without attached peripherals. Keep any erase or recovery operation deliberate: it changes the program stored on the board. Do not begin troubleshooting by randomly pressing controls while a connected mechanism can move.

Use analogue resolution honestly

The Due supports 12-bit analogue conversion, but the Arduino API defaults to a lower resolution for compatibility. The analogReadResolution reference explains how to request the supported resolution. Asking for more bits than the converter provides does not create extra measurement detail.

As an idealised calculation, a 3.3 V span divided into 4,096 steps gives about 0.81 mV per step. That is a quantisation step, not a promise of 0.81 mV accuracy. Reference error, sensor error, noise, source impedance and layout all influence the result.

A useful bench exercise is to measure several known voltages within the permitted range and compare readings with a suitable meter. Record the reference conditions and repeat the test after the board warms up. If noise dominates, investigate wiring and power before averaging enough samples to hide the symptom.

Do not assume the DAC reaches either supply rail

A DAC creates a voltage-related output, while PWM switches between digital states. They solve different problems. The official Due technical description notes that its DAC output range is approximately 0.55–2.75 V, rather than a full 0–3.3 V swing.

Check the permitted load and use suitable buffering where needed. A DAC pin is not a speaker driver, motor supply or general power output. If you need a particular output range, design the analogue scaling and protection around the converter’s actual behaviour.

A migration sequence that keeps faults manageable

  1. Compile the smallest version of the application for the correct Due platform.
  2. Resolve unsupported libraries before connecting the complete circuit.
  3. Verify power rails and every external signal voltage.
  4. Bring up one interface at a time, keeping a short test log.
  5. Test startup, disconnection and recovery with the complete application.

This sequence separates software portability from electrical compatibility. Once both are established, the Due becomes a useful platform for expanding a project without carrying hidden assumptions from the previous board.

Previous article Getting Started with a SAMD21 Zero-Compatible Board: Debugging, USB and Pin Planning
Next article Choosing an Arduino-Compatible Board: Turn Your Project into a Hardware Checklist