Arduino Dock 2. The Hardware

Similar documents
Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

ARDUINO MEGA 2560 REV3 Code: A000067

keyestudio Keyestudio MEGA 2560 R3 Board

ARDUINO UNO REV3 Code: A000066

ESPino - Specifications

ARDUINO MICRO WITHOUT HEADERS Code: A000093

ARDUINO MEGA ADK REV3 Code: A000069

ARDUINO YÚN MINI Code: A000108

Omega MP. Multi-Programming Shield for Atmel Microcontrollers. User Manual

ARDUINO INDUSTRIAL 1 01 Code: A000126

ARDUINO M0 PRO Code: A000111

Intel Galileo gen 2 Board

Arduino ADK Rev.3 Board A000069

Sanguino TSB. Introduction: Features:

ARDUINO YÚN Code: A000008

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

ARDUINO LEONARDO WITH HEADERS Code: A000057

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

ARDUINO LEONARDO ETH Code: A000022

ARDUINO PRIMO. Code: A000135

Alessandra de Vitis. Arduino

2.2" TFT Display. Created by lady ada. Last updated on :19:15 PM UTC

AlphaBot2 robot building kit for Arduino

IDUINO for maker s life. User Manual. For IDUINO development Board.

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Getting to know the Arduino IDE

ARDUINO BOARD LINE UP

Atmel Microprocessor Programming With AVRISPmkii

Prototyping Module Datasheet

Cookie User Manual. For NuMicro Edition 1.0. Rev. 1.0 Release: forum.coocox.org.

ARDUINO MINI 05 Code: A000087

USER MANUAL ARDUINO I/O EXPANSION SHIELD

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

Module 003: Introduction to the Arduino/RedBoard

ArduCAM CC3200 UNO board

How to Use an Arduino

PICado Alpha Development Board V1.0

Official Publication Date: 12/18/2018 Official Expiration Date: Until Next Release

MINITRONICS v1.0 DATASHEET

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / Version Description Date. 0.1 Initiate 2014-Jun-21

AVR Prog-S. Programmer for AVR microcontrollers. User Manual

Omega-328 SB. Rapid Prototyping tool with Shield Base for Atmel AtmegaXX8 Microcontrollers. User Manual

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

3.3V regulator. JA H-bridge. Doc: page 1 of 7

BB-303 Manual Baseboard for TMCM-303

Overview. Introduction. Key Features

Mechanical specifications Dimensions (L x W x H) 290 x 125 x mm Weight 445 g. Female DC Barrel Jack Socket 5.5x2.1 mm

OBSTACLE AVOIDANCE ROBOT

PN532 NFC RFID Module User Guide

Thank you for purchasing the RGB Multi-MCU base and driver board from SuperTech-IT and TheLEDCube.com

Boson Development Board <9hz Boson

Introducting Itsy Bitsy 32u4

BILLING AND CONTROLLING OF INDIVIDUAL LOADS OF A COMPOSITE SYSTEM USING SIMPLE ANDROID APPLICATION

EasyAVR6 Development System

ARDUINO UNO R3 BASED 20A ROBOT CONTROL BOARD [RKI-1580] Page 1

Building and using JasperMIDI

JeeNode V2. A small *duino-ish MPU board with a wireless RF module. Jean-Claude Wippler jeelab.equi4.com March 2009

Goal: We want to build an autonomous vehicle (robot)

Arduino Ethernet. Arduino Ethernet Rev. 2 board front view with optional PoE module. (

Adafruit Mini TFT " 160x80

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Grove - Multichannel Gas Sensor

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

AC-PG-USBASP USBASP AVR Programmer

Amarjeet Singh. January 30, 2012

Exen Mini. Setup Guide - V1. nerdonic.com

AC-PG-USBASP USBASP AVR Programmer

um-fpu64 Floating Point Coprocessor 28-pin Breakout Board Introduction Bare um-fpu64 28-pin Breakout Board

ITM-MKR680. User s Guide. Document ITM-MKR680 User s Guide 02/11/2018

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

Ultratronics v1.0 DATASHEET

Arduino Uno R3 INTRODUCTION

arduino mega D4F69C4DABCA73DE7282FD2C4B5B8 Arduino Mega / 6

Breeze Board. Type A. User Manual.

Pmod modules are powered by the host via the interface s power and ground pins.

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

Freedom FRDM-KV31F Development Platform User s Guide

EPT-200TMP-TS-U2 TMP102 Temperature Sensor Docking Board Data Sheet

Please refer to "4. Evaluation Board" on page 2 for more information about these steps. Figure 1. System Connections

Demand Side Management by Using GSM Interfacing with Arduino (UNO)

General-Purpose Microcontroller Module 12a Hardware Reference Release 1.4a (October 11, 2017)

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Stand-alone programming AVRs using CircuitPython

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

Raspberry Pi Compute Development board

EZ GUI Expansion Board Design Guide

MEGATRONICS v3.0 DATASHEET

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS. Via di Corticella, Bologna, Italy

Atmega Fuse Repair Programmer Schematic

USB-to-I2C. Ultra Hardware User s Manual.

Description. Overview. Features S90-MTM-DEV-2. MTM Development Board 2.0 Datasheet

IOX-16 User s Manual. Version 1.00 April Overview

TLE9869 Eval.Kit V1.0 Users Manual

Farklı Arduino Boardlar

Transcription:

Arduino Dock 2 The Arduino Dock 2 is our supercharged version of an Arduino Uno R3 board. These two boards share the same microcontroller, the ATmel ATmega328P microcontroller (MCU), and have identical pin layouts. This allows you to use any Arduino shields that you ve used with the Arduino Uno R3 with the Arduino Dock and the Omega. The Omega can program the microcontroller while connected to the board. This means you can wirelessly connect to the Omega, and then program the MCU for a wireless Arduino experience! The Hardware The Arduino Dock includes an In-Circuit Serial Programming (ICSP) header to break out the SPI pins which can be used to program the Arduino Dock s microcontroller with an external programmer. Additionally, there is a USB-host port that is connected to the Omega which can be https://docs.onion.io/omega2-docs/arduino-dock-2.html 1/10

used for any sort of USB type application. You can power the dock using a microusb connection, or using the DC Barrel jack. Connecting an Omega To connect an Omega to the Arduino Dock, line up the Omega s edges with the purple lines on the Arduino Dock s as demonstrated below: https://docs.onion.io/omega2-docs/arduino-dock-2.html 2/10

Make sure your Omega is pushed all the way down as demonstrated in the picture below: https://docs.onion.io/omega2-docs/arduino-dock-2.html 3/10

You may need to line up the pins with the holes before pressing the Omega into the Dock. The Expansion Header The Expansion Header is a convenient tool that gives you easy access to the Omega s GPIOs, and allows you to connect Onion Expansions directly. The Expansion Header is labelled to show you what GPIO is connected to each header. It follows the same layout as the Expansion Header found on the Expansion Dock and Power Dock. Note:If you own an Omega2 or Omega2+ and intend to use the PWM expansion with a DC power supply, please take note there is likely to be a short circuit between the barrel jack and the metal case of the Omega itself. We recommend inserting a thin plastic sheet between the expansion and the omega to break this short. For more information, see the PWM Expansion article. The pinout diagram below shows the Expansion Header s connections and the possible multiplexing options: https://docs.onion.io/omega2-docs/arduino-dock-2.html 4/10

By default, the Serial, SPI, and I2C pins implement these communication protocols and cannot be used as GPIOs. Similarly, the I2S and PWM pins are set to GPIO mode by default. To learn more on changing the functionality of the Omega s pins, see the Multiplexing GPIOs section of our article on the Omega s GPIOs. The ATmega Headers The ATmega headers are a breakout of the ATmega s pins. They are arranged and spaced in the exact same way as an Arduino Uno R3, so all your Arduino Shields are compatible. These pins are also labelled for your convenience. Note: Remember that the ATmega runs on 5V, and therefore it reads 5V as logical high. https://docs.onion.io/omega2-docs/arduino-dock-2.html 5/10

The MicroUSB Port The MicroUSB Port is used to supply power to the Arduino Dock, which in turn supplies power to the Omega and the ATmega328P chip. The MicroUSB Port receives 5V power and uses it directly to power the ATmega328P chip. The Dock comes equipped with a voltage regulator to step the voltage down to the required 3.3V for the Omega. No USB-to-Serial There is no USB-to-Serial Chip on the Dock. This means that you will not be able to connect to the Omega serially over the Micro-USB port. You can still connect to your Omega s terminal with SSH, you can learn how to do that in this guide to connecting to the Omega. https://docs.onion.io/omega2-docs/arduino-dock-2.html 6/10

DC Barrel Jack The DC barrel jack may also be used to provide power to the Omega using a DC power adapter. We recommend any DC power supply that provides 5V and at least 0.5A. It is safe to use power supplies that provide more than 0.5A at 5V. Note that the Arduino Dock s DC barrel jack should only be used with 5V DC power supplies. If a higher voltage is used, your Omega and Arduino Dock have a high chance of being damaged! Reset button The Reset Button on the Dock is connected directly to the Omega s Reset GPIO. Pressing this button do one of two things: reboot, or factory restore. Reboot Momentarily pressing the reset button and letting go will initiate a reboot of the Omega OS. Factory Restore Pressing and holding the reset button for 10 seconds then releasing will trigger a factory restore. Warning: This will reset your Omega to the default filesystem of the last firmware update, this will delete ALL of your data! Micro-Controller Reset Button In addition to the Omega s reset button, the Arduino Dock 2 comes with a microcontroller reset button. This button can be used to reset the ATmega chip whenever you d like. This will NOT reset the Omega. Omega USB Port https://docs.onion.io/omega2-docs/arduino-dock-2.html 7/10

The Omega s USB Port can be used to connect to all sorts of devices, namely a USB storage device to extend the storage space of your Omega. The USB port supports USB 2.0, and is a type A connector. Omega to ATmega MCU Connections The Arduino Dock is designed to make the on-board microcontroller the Omega s helper and coprocessor. So it was important to include a few key connections between the Omega and the microcontroller. Since the microcontroller operates at 5V and the Omega operates at 3.3V, the Arduino Dock features a 3.3V to 5V Logic Level converter for all connections between the microcontroller and the Omega. This allows each device to operate at it s own voltage but still gives them the ability to understand each other. The table below shows the connections between the Omega and the ATmega Microcontroller: Omega Pin UART1 I2C GPIO 15 GPIO 16 GPIO 17 GPIO 19 ATmega Pin Serial Pins I2C SPI SCK SPI MOSI SPI MISO Reset The purposes of these connections are covered in the subsections below. UART Connection The UART connection is used to provide two-way communication between the Omega and the ATmega MCU. The ATmega s serial port is connected to the Omega s UART1 serial port. See the article on Communicating with Serial Devices for more info. https://docs.onion.io/omega2-docs/arduino-dock-2.html 8/10

I2C The I2C connection provides I2C connectivity between the Omega and the ATmega. In most cases, the Omega is set up as the master, and the ATmega as the slave. This is useful when using 5V I2C devices. Plug them into the ATmega s I2C pins and the Omega will be able to read them thanks to the on-board logic level shifter. See the article on Communicating with I2C Devices for more info. SPI and Reset Connection The four SPI connections are used to upload the ATmega with sketches using your Omega. See the article on Flashing the Arduino Dock s Microcontroller for more info. The reset connection is used to reset the ATmega chip. This can be done using the reset button, or using the Omega s GPIO 19. Mechanical Drawings We ve made available a detailed diagram of the dimensions and geometry of the Arduino Dock 2. Using the Dock The Arduino Dock 2 is loaded with features that allow you to use your Omega with the ATmega chip with ease. You can program or reset the micro-controller using the Omega s GPIOs, and even connect to the ATmega s serial port using the Omega s UART. Programming the Arduino Micro-Controller Follow the steps in our Flashing the Microcontroller to learn how to upload sketches (programs) to the Arduino micro-controller onboard the Arduino Dock. Communicating over UART https://docs.onion.io/omega2-docs/arduino-dock-2.html 9/10

The easiest way to get the Arduino Dock MCU and Omega communicating is through serial. There are no fancy protocols, just data being sent back and forth. It s important to remember that the ATmega s serial is connected to UART1 on the Omega. Take a look at our Communicating with Serial Devices article for ideas on how to get your Omega communicating with the Arduino Dock s microcontroller! Communicating with I2C The Arduino Dock 2 connects the microcontroller s I2C lines to that of the Omega, effectively, adding the microcontroller as a slave to the Omega s I2C bus. Take a peek at our Communicating with I2C Devices article for more information on I2C and how the Omega can interact with I2C devices. On the microcontroller side, the Wire Library can be used to facilitate I2C communication. https://docs.onion.io/omega2-docs/arduino-dock-2.html 10/10