itracker Arduino environment 1. Pin definition DNCX

Similar documents
smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

Application Note v1.0

Arduino Setup & Flexing the ExBow

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

Topcon Receiver Utility: GNSS Receiver Firmware Update Process. Oscar R. Cantu

XT-1 Configuration Manager User Manual EN

Blue Bamboo P25 Device Manager Guide

MIDLAND PROGRAMING G14

Welcome to Arduino Day 2016

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor

Application Note. Communication between arduino and IMU Software capturing the data

ZX Distance and Gesture Sensor Hookup Guide

Training Schedule. Robotic System Design using Arduino Platform

VBRC 5. Radio Communicator. Installer Manual

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

Introduction to the Analog Discovery

Instructions for getting connected with Incus and using IHearYou

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

Lesson 3: Arduino. Goals

Practical Assignment 1: Arduino interface with Simulink

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio

Arduino Lesson 1. Blink. Created by Simon Monk

uiulearn TUTORIAL INTEGRATIONS> HOW TO USE PANOPTO (STUDENT)

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Rodni What will yours be?

Coding with Arduino to operate the prosthetic arm

Driver focusrite usb devices for windows 7. Driver focusrite usb devices for windows 7.zip

User Manual for use of new IML executable based on VS2010

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

User Guide for TWAIN / DirectX interface for GRYPHAX USB 3.0 cameras

INTRODUCTION to MICRO-CONTROLLERS

Veyron Servo Driver (24 Channel) (SKU:DRI0029)

iphoto Getting Started Get to know iphoto and learn how to import and organize your photos, and create a photo slideshow and book.

Scanner Driver for Ubuntu

Programming 2 Servos. Learn to connect and write code to control two servos.

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

INTRODUCTION to MICRO-CONTROLLERS

1Getting Started SIK BINDER //3

Photoshop CS part 2. Workshop Objective. Getting Started Quit all open applications Single click Adobe Photoshop from the Dock

Downloading a ROBOTC Sample Program

Light Emitting Diode IV Characterization

Servomotor Control with Arduino Integrated Development Environment. Application Notes. Bingyang Wu Mar 27, Introduction

Getting Started Guide

Arduino

User Manual of Alpha 1s for Mac

LAUNCHPAD. Getting Started Guide

SPT2 GPS & GAMETRAKA USER GUIDE

Arduino Starter Kit Manual Example Code Ebook

@ The ULTIMATE Manual

Arduino Platform Capabilities in Multitasking. environment.

ASCOM EF Lens Controller

가치창조기술. Motors need a lot of energy, especially cheap motors since they're less efficient.

Infoblox and Ansible Integration

Endurance R/C Wi-Fi Servo Controller 2 Instructions

Troubleshooting Rig Connection Issues

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link).

Library ebooks and Your Kindle

Omniverse Setup Instructions

WifiBotics. An Arduino Based Robotics Workshop

ROOMPLAYER GUIDE COMPLETE YOUR ROOMPLAYER SETUP WITH THE ROOMPLAYER DESKTOP APP

Adafruit SGP30 TVOC/eCO2 Gas Sensor

In this tutorial you will use Photo Story 3, a free software program from Microsoft, to create digital stories using text, graphics and music.

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

The USB Brotherlink 4 - or Cartridge Cable

Flash Blaster II v.2.00 for the Falcon digital console Falcon ENGLISH

Getting Started with the micro:bit

Click on the numbered steps below to learn how to record and save audio using Audacity.

Gravity: 12-Bit I2C DAC Module SKU: DFR0552

Preface. If you have any TECHNICAL questions, add a topic under FORUM section on our website and we'll reply as soon as possible.

UM10950 Start-up Guide for FRDM-KW41Z Evaluation Board Bluetooth Paring example with NTAG I²C plus Rev February

Silhouette Cameo Cheat Sheet

Obstacle Dodger. Nick Raptakis James Luther ELE 408/409 Final Project Professor Bin Li. Project Description:

Preface. If you have any TECHNICAL questions, add a topic under FORUM section on our website and we'll reply as soon as possible.

Arduino Hacking Village THOTCON 0x9

Getting Started Guide

The wiring is relatively simple. You should put the module on one of the compatible Arduinos. The following are compatible:

Skill Level: Beginner

e-paper ESP866 Driver Board USER MANUAL

Happy Link Software INSTRUCTION MANUAL

COMMISSION BULLSEYE MANUAL. Once you log in, you will find the link to download the plugin. A helper bot is also available to assist you step by step.

User Manual. This User Manual will guide you through the steps to set up your Spike and take measurements.

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Digital Photo Guide. Version 8

Working with Pictures

Dermatology. Written By: Carmen McFatridge KOTM Informatics Educator 2011

ChordPolyPad Midi Chords Player iphone, ipad Laurent Colson

Instructions for the W0NE Remote HF Rig, IC-7300

On the front of the board there are a number of components that are pretty visible right off the bat!

Creating Transparent Floors. Creating Transparent Floors. Contents. Introduction. Requirements. By Cyclonesue, 1 July 2006

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014

OverDrive for Kindle, Kindle Paperwhite, Kindle Voyage, and Kindle Oasis (not Kindle Fire and Fire Tablet) Contents

Tel & Fax : Install and Operate Sharp Shape USB3D Foot Scanner Copyright, Sharp Shape, July 2014

Users Guide. Meditory CORPORATION. Version 2015C v1.0 7/20/2015

QUICKSTART

Oldham Lifelong Learning Service Frances Hill

Transcription:

1. Pin definition 1

2. PC Software install 2.1 JTAG drivers Before we proceed make sure that our system has the necessary JTAG JLink drivers for us to use the JLink module to program the nrf52 device via the Arduino IDE. The driver is available for free and is downloadable at the link below: https://www.segger.com/downloads/jlink 2.2 Getting your Arduino IDE ready for development In this first tutorials we will see how we can use the Arduino IDE with the itracker module. Since the itracker's core chipset is the nrf52832 from Nordic semi-conductor, we can program the nrf52 chipset right from withing the Arduino IDE 1. Download the Arduino IDE from the arduino.cc website https://www.arduino.cc/en/main/software 2. Run the executable on the desktop and proceed to File -> Preferences menu 3. Add https://sandeepmistry.github.io/arduino-nrf5/package_nrf5_boards_index.json as an "Additional Board Manager URL" 4. Open the Boards Manager from the Tools -> Board menu and install "Nordic Semiconductor nrf5 Boards" 5. Select your nrf5 board from the Tools -> Board menu NOTE: During installation it takes the Arduino IDE a few minutes to extract the tools after they have been downloaded, please be patient. 2.3 OS Specific Setup OS X No additional setup required. Linux For 64-bit Linux users, libc6:i386, libstdc++6:i386, libncurses5:i386 and libudev1:i386 need to be installed : 1. sudo dpkg --add-architecture i386 2. sudo apt-get update 3. sudo apt-get install libc6:i386 libstdc++6:i386 libncurses5:i386 libudev1:i386 2

Windows Driver Setup for mbed devices Download mbed Windows Serial driver Driver Setup for Segger J-Link 1. Download Zadig 2. Plugin Segger J-Link or DK board 3. Start Zadig,Select Options -> List All Devices 4. Plug and unplug your device to find what changes, and select the Interface 2 from the device dropdown 5. Click Replace Driver After above done, the device manager will display the BULK interface like below. 3

NOTE: To roll back to the original driver go to: Device Manager -> Right click on device -> Check box for "Delete the driver software for this device" and click Uninstall Now your itracker Board is ready to accept sketches from the arduino IDE. another step to make our development a little bit more easier is to add the itracker module in the IDE as a board. Let s do that next: 4

3. Add a itracker board in nrf5 Boards Modify \AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.4.0\boards.txt Add below information at the end (port from nrf52dk.name=nordic Semiconductor nrf52 DK) itracker.name=itracker itracker.upload.tool=sandeepmistry:openocd itracker.upload.protocol=jlink itracker.upload.target=nrf52 itracker.upload.maximum_size=524288 itracker.upload.setup_command=transport select swd; itracker.upload.use_1200bps_touch=false itracker.upload.wait_for_upload_port=false itracker.upload.native_usb=false itracker.bootloader.tool=sandeepmistry:openocd itracker.build.mcu=cortex-m4 itracker.build.f_cpu=16000000 itracker.build.board=itracker itracker.build.core=nrf5 itracker.build.variant=itracker itracker.build.variant_system_lib= itracker.build.extra_flags=-dnrf52 itracker.build.float_flags=-mfloat-abi=hard -mfpu=fpv4-sp-d16 itracker.build.ldscript=nrf52_xxaa.ld itracker.build.lfclk_flags=-duse_lfxo itracker.menu.softdevice.none=none itracker.menu.softdevice.none.softdevice=none itracker.menu.softdevice.s132=s132 itracker.menu.softdevice.s132.softdevice=s132 itracker.menu.softdevice.s132.softdeviceversion=2.0.1 itracker.menu.softdevice.s132.upload.maximum_size=409600 itracker.menu.softdevice.s132.build.extra_flags=-dnrf52 -DS132 -DNRF51_S132 itracker.menu.softdevice.s132.build.ldscript=armgcc_s132_nrf52832_xxaa.ld below is the effect for Arduino ide. 5

in \AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.4.0\variants folder, copy nrf52dk folder and rename as itracker. Modify \AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.4.0\variants\iTracker\va riant.h like below to change the UART mapping. 6

4. Test itracker s Bluetooth function 4.1 install the BLEPeripheral library. 4.2 Select a BLE example 7

4.3 Set the board and burn softdevice. Board select itracker Softdevice select S132 Programmer select J-link Click nrf5 Flash SoftDevice 4.4 Verify and upload led_switch example When burn success, the UART assistant will show below: 8

9

5. Test using Phone APP 10