TI ARM Lab 7 Accelerometers
|
|
|
- Gwendoline June Greene
- 10 years ago
- Views:
Transcription
1 TI ARM Lab 7 Accelerometers National Science Foundation Funded in part, by a grant from the National Science Foundation DUE Acknowledgements Developed by Craig Kief, Brian Zufelt, and Jacy Bitsoie at the Configurable Space Microsystems Innovations & Applications Center (COSMIAC). Co-Developers are Bassam Matar from Chandler-Gilbert and Karl Henry from Drake State. Funded by the National Science Foundation (NSF). Lab Summary This lab introduces the concepts of the I 2 C and how it is implemented on the ARM processor. Lab Goal The goal of this lab is to continue to build upon the skills learned from previous labs. This lab helps the student to continue to gain new skills and insight on the C code syntax and how it is used in the TI implementation of the ARM processor. Each of these labs will add upon the previous labs and it is the intention of the authors that students will build with each lab a better understanding of the ARM processor and basic C code, syntax and hardware. Even though these tutorials assume the student has not entered with a knowledge of C code, it is the desire that by the time the student completes the entire series of tutorials that they will have a sufficient knowledge of C code so as to be able to accomplish useful projects on the ARM processor. Learning Objectives The student should begin to become familiar with the concept of the accelerometer and ways to accomplish simple projects. An accelerometer is a device that will measure acceleration forces. These forces may be static, like the constant force of gravity pulling at your feet, or they could be dynamic - caused by moving or vibrating the accelerometer. By measuring the amount of static acceleration due to gravity, you can find out the angle the device is tilted at with respect to the earth. By sensing the amount of dynamic acceleration, you can analyze the way the device is moving. An accelerometer can help the designer understand the system better. Is it driving uphill? Is it going to fall over when it takes another step? Is it flying horizontally or is it dive bombing your professor? A designer can write code to answer all of these questions using the data provided by an accelerometer. In the computing world, IBM and Apple have recently started using accelerometers in their laptops to protect hard drives from damage. If you accidentally drop the laptop, the accelerometer detects the sudden free-fall, and switches the hard drive off so the heads don't crash on the platters. In a similar fashion, high g accelerometers are the industry standard way of detecting car crashes and deploying airbags at just the right time. The ADXL345 is a small, thin, ultralow power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface. The ADXL345 is well suited for mobile device applications. It measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Its high resolution (3.9 mg/lsb) enables measurement of inclination changes less than 1.0. Grading Criteria N/A
2 Time Required Approximately one hour Lab Preparation It is highly recommended that the student read through this entire procedure once before actually using it as a tutorial. It is also recommended that the tutorial software was run first to preload compiler options and source files. Equipment and Materials It is assumed that the student has already completed prior labs and the software is installed properly. Software needed Quantity Install the tutorial software from the autoinstaller located at 1 Hardware needed Quantity The hardware required is the TI Stellaris LaunchPad Kit and the Digilent 1 Orbit board Additional References Current TI ARM manuals found on TI web site: 2
3 Lab Procedure: Install/Connect board to computer Plug in the supplied USB cable to the top of the Evaluation Kit and Digilent Orbit board as shown in Figure 1. Ensure the switch on the board is set to DEBUG and not DEVICE. It is assumed that the evaluation board is properly installed and operating. Launch the Code Composer software. The easiest way to find it, is to go to Start, All programs and then look in the area identified in Figure 2. Figure 1.Stellaris and Orbit Combination Figure 2.Code Composer Figure 3.Workspace Launcher 3
4 The designer will be presented with the choices shown in Figure 3. The Code Composer wants to know where the workspace is located. If the auto installer was used to set up the lab files, it will automatically load up shells that were used for the workshop and these tutorials. In that case, use the path as shown in the picture in Figure 3. The student will know if they have used the auto installer program as they will be presented with a picture as shown in Figure 4 where the shells of all lab projects are installed. What is desired is to have the student step through the Lab_7 exercise. First however, read through this procedure so the student knows more about where they are going. Each tutorial/lab presents new information related to C code and to its use in programming the ARM processor. Figure 4. Shell of Projects It is now important to spend a couple of minutes to explain a little more about the accelerometer used in this project. If you are looking on the Orbit board, there is a small chip in the upper right quadrant. It has a cross on it with a X and Z lettering. This is the ADXL345 chip. Figure 5. ADXL345 As can be seen in Figure 5, it has a 3-axis sensor that can be used to detect the orientation of the board. In this tutorial, only the X axis will be measured. This is to keep the tutorial as simple as possible. As a result, the function will have three returned values: -1 (going left), 0 (standing still), or 1 (going right). The chip is 4
5 very sensitive. The system transfers data on an I 2 C line. The ADXL345 has a I 2 C output and the ARM processor has I 2 C inputs as shown in Figure 6 from the datasheet. Figure 6. Connection Diagram This protocol interface has a unique set of waveforms to allow the system to know when to start and stop the transfer of data. This waveform is shown in Figure 7 and is how the processor knows when to receive data. Figure 7. I 2 C Waveform Timing Diagram The entire code for this project is given at the end of this tutorial in attachment 1. This initially looks like a large amount of very complex code however, when you remember that much of the LED portion has been presented in previous labs it is less scary. Add to that the fact that another large portion of the code is nothing more than delays to slow the system down for human consumption and it is less scary. Some of the first code seen is shown below: #define ACCEL_W 0x3A #define ACCEL_R 0x3B #define ACCEL_ADDR 0x1D These three lines above are the definition parameters for the device. They are taken from the ADXL345 datasheet as shown below. It clearly defines the address as x1d, the read as x3b and the write as x3a. Figure 8. Datasheet Excerpt 5
6 The next set of code shown below is a new topic. It is called a function prototype. Most experienced designers like to have the main starting portion of their code appear at the top of the main.c file. The beginning of the program is normally identified with void main(void) {. To make things cleaner, most designers will use the function prototypes to declare the functions at the top of the file and then further down in the program after the main function, will do the full explanation and declaration of what the functions actually do. In this case, there are two function prototypes. The first is to initialize the accelerometer and the second is to read the chip. The next portion of the code initializes the LEDs. This is very similar to what has been done in previous labs. All peripherals must be initialized before they can be used. The way this code is designed to operate is to have the LEDs fall or flow downhill based on the way the board is tilted. If the board is tilted 90 degrees to the left, the LEDs will fall down to the bottom. If the board is tilted the other direction, the LEDs will still attempt to fall to the bottom. After this section of the code, the two functions that were prototyped earlier are expanded upon. Open the main.c file that is in the lab installer for Lab 7. When this is compared to the code in attachment 1, it is clear to see that the code for the LED waterfall is missing. The task of this tutorial is to type on this code. When done, debug/compile and download. Run the program and make sure the LEDs flow appropriately. As a challenge exercise, reduce the time to flow the lights from one end to the other or light up the Stellaris board with different color LEDs when extremes are hit. The start of the main function outlines how to setup a peripheral to be used. The I 2 C controller is housed within a GPIO port. Thus setting up the Chip to use this peripheral is a three-step process. 1. Setup the core to enable the I 2 C hardware. This is part of the SysCtl set of functions outline in the Driver users guide. The Driver users guide provides an outline of all the available functions found in the Stellaris API 2. Setup the GPIO port to use the I 2 C controller. This is part of the GPIO set of functions found within the Driver users guide. 3. Finally, Setup the I 2 C controller with the settings for the bus you are plugging it into. Like the UART, I 2 C has many settings and options. This is part of the I2C set of functions found within the Driver users guide. 6
7 Attachment 1: main.c file /******************************************************* Project : Orbit Lab 7 ATE (ACCEL) Version : 1.0 Date : 2/20/2013 Author :BrianZufelt / CraigKief Company : COSMIAC/UNM Comments: This source provides an introduction to the sensing capabilities for embedded systems. The student will read accelerometer data and toggle the proper LED for the application selected. ****************************************************** Chip type : ARM LM44F120H5QR Program type : Firmware Core Clock frequency : MHz *******************************************************/ #define ACCEL_W 0x3A #define ACCEL_R 0x3B #define ACCEL_ADDR 0x1D // Define needed for pin_map.h #define PART_LM4F120H5QR #include"inc/hw_memmap.h" #include"inc/hw_types.h" #include"inc/hw_i2c.h" #include"driverlib/gpio.h" #include"driverlib/pin_map.h" #include"driverlib/sysctl.h" #include"driverlib/i2c.h" voidaccel_int(); // Function to initialize the Accelerometer signedintaccel_read();// Function to read the Accelerometer voidmain(void) { signedshortintled_value = 1; SysCtlClockSet(SYSCTL_SYSDIV_1 SYSCTL_USE_OSC SYSCTL_OSC_MAIN SYSCTL_XTAL_16MHZ); //setup clock SysCtlPeripheralEnable(SYSCTL_PERIPH_I2C0); // Enable I2C hardware SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB); // Enable Pin hardware GPIOPinConfigure(GPIO_PB3_I2C0SDA); GPIOPinConfigure(GPIO_PB2_I2C0SCL); // Configure GPIO pin for I2C Data line // Configure GPIO Pin for I2C clock line GPIOPinTypeI2C(GPIO_PORTB_BASE, GPIO_PIN_2 GPIO_PIN_3); // Set Pin Type // Enable Peripheral ports for output SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOC); //PORTC GPIOPinTypeGPIOOutput(GPIO_PORTC_BASE, GPIO_PIN_6 GPIO_PIN_7); // LED 1 LED 2 GPIOPinTypeGPIOOutput(GPIO_PORTB_BASE, GPIO_PIN_5); // LED 4 SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD); //PORT D GPIOPinTypeGPIOOutput(GPIO_PORTD_BASE, GPIO_PIN_6); // LED 3 //setup the I2C GPIOPadConfigSet(GPIO_PORTB_BASE, GPIO_PIN_2, GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_STD); GPIOPadConfigSet(GPIO_PORTB_BASE, GPIO_PIN_3, GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_OD_WPU); // SCL MUST BE STD // SDA IS OPEN DRAIN 7
8 I2CMasterInitExpClk(I2C0_MASTER_BASE, SysCtlClockGet(), false); // The False sets the controller to 100kHz communication Accel_int(); // Function to initialize the Accelerometer while(1){ // Fill in this section to read data from the Accelerometer and move the LEDs according to the X axis LED_value = LED_value + Accel_read(); //Accel_read only returns 1,0 or -1 //if decrementing, going to the right on leds if(led_value<= 1){ // Cycle through the LEDs on the Orbit board GPIOPinWrite(GPIO_PORTC_BASE, GPIO_PIN_6 GPIO_PIN_7, 0x40); // LED 1 on LED 2 Off GPIOPinWrite(GPIO_PORTD_BASE, GPIO_PIN_6, 0x00); // LED 3 off, Note different PORT GPIOPinWrite(GPIO_PORTB_BASE, GPIO_PIN_5, 0x00); // LED 4 off LED_value = 1; // reset value to maintain range elseif(led_value == 2){ // Cycle through the LEDs on the Orbit board GPIOPinWrite(GPIO_PORTC_BASE, GPIO_PIN_6 GPIO_PIN_7, 0x80); // LED 1 off LED 2 on GPIOPinWrite(GPIO_PORTD_BASE, GPIO_PIN_6, 0x00); // LED 3 off, Note different PORT GPIOPinWrite(GPIO_PORTB_BASE, GPIO_PIN_5, 0x00); // LED 4 on elseif(led_value == 3){ // Cycle through the LEDs on the Orbit board GPIOPinWrite(GPIO_PORTC_BASE, GPIO_PIN_6 GPIO_PIN_7, 0x00); // LED 1 off LED 2 off GPIOPinWrite(GPIO_PORTD_BASE, GPIO_PIN_6, 0x40); // LED 3 on, Note different PORT GPIOPinWrite(GPIO_PORTB_BASE, GPIO_PIN_5, 0x00); // LED 4 0ff elseif(led_value>= 4){ // Cycle through the LEDs on the Orbit board GPIOPinWrite(GPIO_PORTC_BASE, GPIO_PIN_6 GPIO_PIN_7, 0x00); // LED 1 off LED 2 Off GPIOPinWrite(GPIO_PORTD_BASE, GPIO_PIN_6, 0x00); // LED 3 off, Note different PORT GPIOPinWrite(GPIO_PORTB_BASE, GPIO_PIN_5, 0x20); // LED 4 on LED_value = 4; // reset value to maintain range voidaccel_int(){ // Function to initialize the Accelerometer I2CMasterSlaveAddrSet(I2C0_MASTER_BASE, ACCEL_ADDR, false); // false means transmit I2CMasterControl(I2C0_MASTER_BASE, I2C_MASTER_CMD_BURST_SEND_START); // Send Start condition I2CMasterDataPut(I2C0_MASTER_BASE, 0x2D); // Writing to the Accel control reg // Delay for first transmission I2CMasterDataPut(I2C0_MASTER_BASE, 0x08); // Send Value to control Register I2CMasterControl(I2C0_MASTER_BASE, I2C_MASTER_CMD_BURST_SEND_FINISH); // Send Stop condition while(i2cmasterbusbusy(i2c0_master_base)){; // Wait for I2C controller to finish operations signedintaccel_read() {// Function to read the Accelerometer signedint data; signedshort value = 0; // value of x unsignedchar MSB; unsignedchar LSB; I2CMasterSlaveAddrSet(I2C0_MASTER_BASE, ACCEL_ADDR, false); I2CMasterDataPut(I2C0_MASTER_BASE, 0x32); I2CMasterControl(I2C0_MASTER_BASE, I2C_MASTER_CMD_SINGLE_SEND); SysCtlDelay( ); // Delay for first transmission I2CMasterSlaveAddrSet(I2C0_MASTER_BASE, ACCEL_ADDR, true); // false means transmit //Request LSB of X Axis // false means transmit 8
9 I2CMasterControl(I2C0_MASTER_BASE, I2C_MASTER_CMD_SINGLE_RECEIVE); //Request LSB of X Axis, read from the bus LSB = I2CMasterDataGet(I2C0_MASTER_BASE); I2CMasterSlaveAddrSet(I2C0_MASTER_BASE, ACCEL_ADDR, false); I2CMasterDataPut(I2C0_MASTER_BASE, 0x33); I2CMasterControl(I2C0_MASTER_BASE, I2C_MASTER_CMD_SINGLE_SEND); SysCtlDelay( ); // Delay for first transmission I2CMasterSlaveAddrSet(I2C0_MASTER_BASE, ACCEL_ADDR, true); I2CMasterControl(I2C0_MASTER_BASE, I2C_MASTER_CMD_SINGLE_RECEIVE); // false means transmit //Request LSB of X Axis // false means transmit //Request LSB of X Axis MSB = I2CMasterDataGet(I2C0_MASTER_BASE); value = (MSB << 8 LSB); //bit shift 8 bits and or with LSB. Value is 16 bits. if(value < -250 ){ data = -1; elseif (value > 250){ data = 1; // testing axis for value else{ data = 0; return data; // return value 9
10 Attachment 2: Block Diagram of the Pins Used in Projects 10
Embedded Systems Design Course Applying the mbed microcontroller
Embedded Systems Design Course Applying the mbed microcontroller Serial communications with SPI These course notes are written by R.Toulson (Anglia Ruskin University) and T.Wilmshurst (University of Derby).
MSP-EXP430G2 LaunchPad Workshop
MSP-EXP430G2 LaunchPad Workshop Meet the LaunchPad Lab 1 : Blink LaunchPad LEDs By Adrian Fernandez Meet the LaunchPad MSP430 MCU Value Line LaunchPad only $4.30 A look inside the box Complete LaunchPad
Application Note: AN00141 xcore-xa - Application Development
Application Note: AN00141 xcore-xa - Application Development This application note shows how to create a simple example which targets the XMOS xcore-xa device and demonstrates how to build and run this
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,
Software User Guide UG-461
Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment
Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial
Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Embedded Processor Hardware Design January 29 th 2015. VIVADO TUTORIAL 1 Table of Contents Requirements... 3 Part 1:
Lab 1 Course Guideline and Review
Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller
ADXL345-EP. 3-Axis, ±2 g/±4 g/±8 g/±16 g Digital Accelerometer. Enhanced Product FEATURES GENERAL DESCRIPTION ENHANCED PRODUCT FEATURES APPLICATIONS
Enhanced Product 3-Axis, ±2 g/±4 g/±8 g/±16 g Digital Accelerometer FEATURES Ultralow power: as low as 23 µa in measurement mode and 0.1 µa in standby mode at VS = 2.5 V (typical) Power consumption scales
Serial Communications
April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output
Designing VM2 Application Boards
Designing VM2 Application Boards This document lists some things to consider when designing a custom application board for the VM2 embedded controller. It is intended to complement the VM2 Datasheet. A
EMBEDDED C USING CODEWARRIOR Getting Started Manual
Embedded C using CodeWarrior 1 68HC12 FAMILY EMBEDDED C USING CODEWARRIOR Getting Started Manual TECHNOLOGICAL ARTS, INC. Toll-free: 1-877-963-8996 (USA and Canada) Phone: +(416) 963-8996 Fax: +(416) 963-9179
Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers. User s Guide
Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers User s Guide Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware
BLE113 DEVELOPMENT KIT
BLE113 DEVELOPMENT KIT QUICK START Thursday, 14 March 2013 Version 1.5 Copyright 2000-2013 Bluegiga Technologies Bluegiga Technologies reserves the right to alter the hardware, software, and/or specifications
Raspberry Pi. Hans- Petter Halvorsen, M.Sc.
Raspberry Pi Hans- Petter Halvorsen, M.Sc. Raspberry Pi 2 https://www.raspberrypi.org https://dev.windows.com/iot Hans- Petter Halvorsen, M.Sc. Raspberry Pi 2 - Overview The Raspberry Pi 2 is a low cost,
Lab 1: Introduction to Xilinx ISE Tutorial
Lab 1: Introduction to Xilinx ISE Tutorial This tutorial will introduce the reader to the Xilinx ISE software. Stepby-step instructions will be given to guide the reader through generating a project, creating
Lab Experiment 1: The LPC 2148 Education Board
Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,
Serial Communications
Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation
Pmod peripheral modules are powered by the host via the interface s power and ground pins.
Digilent Pmod Interface Specification Revision: November 20, 2011 1300 NE Henley Court, Suite 3 Pullman, WA 99163 (509) 334 6306 Voice (509) 334 6300 Fax Introduction The Digilent Pmod interface is used
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control
Accessing I2C devices with Digi Embedded Linux 5.2 example on Digi Connect ME 9210
Accessing I2C devices with Digi Embedded Linux 5.2 example on Digi Connect ME 9210 Document History Date Version Change Description 17/09/2010 Initial entry/outline 24/02/2011 V1.1 Retested with latest
MicroMag3 3-Axis Magnetic Sensor Module
1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI
AN1754 APPLICATION NOTE
AN1754 APPLICATION NOTE DATA LOGGING PROGRAM FOR TESTING ST7 APPLICATIONS VIA ICC by Microcontroller Division Application Team INTRODUCTION Data logging is the process of recording data. It is required
SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network
u Today: Wired embedded networks Ø Characteristics and requirements Ø Some embedded LANs SPI I2C LIN Ethernet u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network Network from a High End
Pre-tested System-on-Chip Design. Accelerates PLD Development
Pre-tested System-on-Chip Design Accelerates PLD Development March 2010 Lattice Semiconductor 5555 Northeast Moore Ct. Hillsboro, Oregon 97124 USA Telephone: (503) 268-8000 www.latticesemi.com 1 Pre-tested
Programmazione Microcontrollori
Programmazione Microcontrollori 2013/2014 1 Programmazione Microcontrollori Cosa Serve PC withwindows (XP/ Vista / 7 / 8 / ) Developmentboard(STM32-XX Discovery) MINI USB cable Keil uvision IDE for ARM
The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications
The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications Joshua Ellul [email protected] Overview Brief introduction to Body Sensor Networks BSN Hardware
Flight Controller. Mini Fun Fly
Flight Controller Mini Fun Fly Create by AbuseMarK 0 Mini FunFly Flight Controller Naze ( Introduction 6x6mm. 6 grams (no headers, 8 grams with). 000 degrees/second -axis MEMS gyro. auto-level capable
ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering
ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering Daniel Estrada Taylor, Dev Harrington, Sekou Harris December 2012 Abstract This document is the final report for ENGI E1112,
Chapter 5 Real time clock by John Leung
Chapter 5 Real time clock 5.1 Philips PCF8563 Real time clock (RTC) Philips PCF8563 (U5) is an I 2 C compatible real time clock (RTC). Alternatively, this chip can be replaced by a software module like
Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family
Renesas Capacitive Touch Lab R8C/36T-A Family Description: This lab will cover the Renesas Touch Solution for embedded capacitive touch systems. This lab will demonstrate how to setup and run a simple
DS1621 Digital Thermometer and Thermostat
www.maxim-ic.com FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is -67 F to 257 F in 0.9 F increments
Frequently Asked Questions (FAQs)
Frequently Asked Questions (FAQs) OS5000 & OS4000 Family of Compasses FAQ Document Rev. 2.0 Important Notes: Please also reference the OS5000 family user guide & OS4000 user guide on our download page.
Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A
Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface
DS1721 2-Wire Digital Thermometer and Thermostat
www.dalsemi.com FEATURES Temperature measurements require no external components with ±1 C accuracy Measures temperatures from -55 C to +125 C; Fahrenheit equivalent is -67 F to +257 F Temperature resolution
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes
Tutorial for MPLAB Starter Kit for PIC18F
Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is
DS1621 Digital Thermometer and Thermostat
Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent
Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board
Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Abstract This application note is a tutorial of how to use an Arduino UNO microcontroller to
AN2680 Application note
Application note Fan speed controller based on STDS75 or STLM75 digital temperature sensor and ST72651AR6 MCU Introduction This application note describes the method of defining the system for regulating
An Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
Application Note 120 Communicating Through the 1-Wire Master
www.dalsemi.com Application Note 120 Communicating Through the 1-Wire Master INTRODUCTION The DS1WM 1-Wire Master was created to facilitate host CPU communication with devices over a 1-Wire bus without
Android Application Development and Bluetooth Technology
Android Application Development and Bluetooth Technology James Cracchiolo 3/28/14 Table of Contents Introduction page 3 Objective page 3 What is Bluetooth? page 3 What is Android? page 4 Materials Needed
Raghavendra Reddy D 1, G Kumara Swamy 2
Car Accident Detection, Communication And Tracking Using ARM7 Controller Raghavendra Reddy D 1, G Kumara Swamy 2 1 PG Scholar, Dept of ECE, Malla Reddy Engineering College (Autonomous), Hyderabad, India.
CB-OLP425 DEVELOPMENT KIT GETTING STARTED
CB-OLP425 DEVELOPMENT KIT GETTING STARTED Document Revision Document number: 9142285 Release: Jan 29, 2014 09:42 Document version: 12 Copyright 2014 u-blox AG. The contents of this document can be changed
FLYPORT Wi-Fi 802.11G
FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB
2013 G Miller. 3 Axis Brushless Gimbal Controller Manual
2013 G Miller 3 Axis Brushless Gimbal Controller Manual P a g e 2 When you receive your 3 axis controller board from dys.hk in the packet will be the following items the sensor 3rd Axis board the main
PowerPC Microprocessor Clock Modes
nc. Freescale Semiconductor AN1269 (Freescale Order Number) 1/96 Application Note PowerPC Microprocessor Clock Modes The PowerPC microprocessors offer customers numerous clocking options. An internal phase-lock
AN601 I2C 2.8 Communication Protocol. SM130 SM130 - Mini APPLICATION NOTE
AN601 I2C 2.8 Communication Protocol SM130 SM130 - Mini APPLICATION NOTE 2 1. INTRODUCTION This application note explains I2C communication protocol with SM130 or SM130-Mini Mifare module based on the
Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)
Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding
Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z
Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z This tutorial is intended for starting a new project to develop software with Freescale FRDM-KL25Z board
Design Considerations in Adding USB Communications to Embedded Applications
Design Considerations in Adding USB Communications to Embedded Applications Designing universal serial bus (USB) communications into an application enables a system to communicate with a variety of USB
A DIY Hardware Packet Sniffer
A DIY Hardware Packet Sniffer Affordable Penetration Testing for the Individual Veronica Swanson: University of California, Irvine CyberSecurity for the Next Generation North American Round, New York 15
Board also Supports MicroBridge
This product is ATmega2560 based Freeduino-Mega with USB Host Interface to Communicate with Android Powered Devices* like Android Phone or Tab using Android Open Accessory API and Development Kit (ADK)
An introduction to nxpusblib. March 2012
An introduction to nxpusblib March 2012 Agenda NXP USB portfolio Demo using LPC1800- Out of the Box What is nxpusblib? How to use nxpusblib? Why to use nxpusblib? Summary 2 NXP USB Portfolio NXP MCU the
Monitoring Software using Sun Spots. Corey Andalora February 19, 2008
Monitoring Software using Sun Spots Corey Andalora February 19, 2008 Abstract Sun has developed small devices named Spots designed to provide developers familiar with the Java programming language a platform
EasyC. Programming Tips
EasyC Programming Tips PART 1: EASYC PROGRAMMING ENVIRONMENT The EasyC package is an integrated development environment for creating C Programs and loading them to run on the Vex Control System. Its Opening
Design and Implementation of an Accidental Fall Detection System for Elderly
Design and Implementation of an Accidental Fall Detection System for Elderly Enku Yosef Kefyalew 1, Abubakr Rahmtalla Abdalla Mohamed 2 Department of Electronic Engineering, Tianjin University of Technology
Serial port interface for microcontroller embedded into integrated power meter
Serial port interface for microcontroller embedded into integrated power meter Mr. Borisav Jovanović, Prof. dr. Predrag Petković, Prof. dr. Milunka Damnjanović, Faculty of Electronic Engineering Nis, Serbia
Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev
Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev Abstract: The paper discusses the issues of microcomputer protocol implementation at local interconnect network for automobile
HP03 BAROMETER MODULE 2007-1-17 Version: 1.1
. Integrated pressure sensor. Pressure Range 300-1100hpa. 16 Bit Σ Δ ADC. 11 coefficients for software compensation stored on chip. I 2 C Serial Interface. One system clock line (32768Hz). One hardware
SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
Wireless Temperature
Wireless Temperature connected freedom and Humidity Sensor Using TELRAN Application note TZ1053AN-06 Oct 2011 Abstract Dr. C. Uche This application note describes the complete system design (hardware and
Freescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2
3.2 inch QVGA TFT Color LCD - User s Guide 3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2 Give graphics and to your application! EA2-USG-0701 v2.1 Rev A 3.2 inch QVGA TFT Color LCD - User s Guide
Detecting Human Falls with a 3-Axis Digital Accelerometer
Detecting Human Falls with a 3-Axis Digital Accelerometer By Ning Jia Foreword For a human, experiencing a fall unobserved can be doubly dangerous. The obvious possibility of initial injury may be further
Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM
TWR-MECH Mechatronics Board TOWER SYSTEM Get to Know the Tower Mechatronics Board Primary Connector / Switch MCF52259 Connectors for Up to Eight Servos SW4 (Reset) USB OTG 5V Supply Touch Panel Socket
AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi.
Design Examples of On Board Dual Supply Voltage Logic Translators Prepared by: Jim Lepkowski ON Semiconductor Introduction Logic translators can be used to connect ICs together that are located on the
DRV8312-C2-KIT How to Run Guide
DRV8312-C2-KIT How to Run Guide Version 1.1 October 2011 C2000 Systems and Applications Team This Guide explains the steps needed to run the DRV8312-C2-KIT with the software supplied through controlsuite.
Field Software Updates Using TPMS LF An example using the Low Frequency radio (LFR) for wireless software updating
Freescale Semiconductor Document Number: AN5149 Application Note Rev. 1.0, 8/2015 Field Software Updates Using TPMS LF An example using the Low Frequency radio (LFR) for wireless software updating 1 Introduction
Chapter I Model801, Model802 Functions and Features
Chapter I Model801, Model802 Functions and Features 1. Completely Compatible with the Seventh Generation Control System The eighth generation is developed based on the seventh. Compared with the seventh,
Lab 3: Introduction to Data Acquisition Cards
Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied
An internal gyroscope minimizes the influence of dynamic linear acceleration on slope sensor readings.
TECHNICAL DATASHEET #TDAX06070X Triaxial Inclinometer with Gyro ±180⁰ Pitch/Roll Angle Pitch Angle Rate Acceleration SAE J1939, Analog Output or RS-232 Options 2 M12 Connectors, IP67 with Electronic Assistant
PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)
PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware
Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah
(DSF) Soft Core Prozessor NIOS II Stand Mai 2007 Jens Onno Krah Cologne University of Applied Sciences www.fh-koeln.de [email protected] NIOS II 1 1 What is Nios II? Altera s Second Generation
Animated Lighting Software Overview
Animated Lighting Software Revision 1.0 August 29, 2003 Table of Contents SOFTWARE OVERVIEW 1) Dasher Pro and Animation Director overviews 2) Installing the software 3) Help 4) Configuring the software
SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9
SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9 Learning Goals: At the end of this lab, the student should have basic familiarity with the DataMan
In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1
RN-WIFLYCR-UM-.01 RN-ISP-UM In-System Programmer 2012 Roving Networks. All rights reserved. Version 1.1 1/19/2012 USER MANUAL www.rovingnetworks.com 1 OVERVIEW You use Roving Networks In-System-Programmer
This idea could limit unnecessary visits and help developing countries to provide healthcare remotely as well.
I. The Healthcare Problem a. Explanation of why this solution is needed. b. How we can solve the problem. c. The components needed to solve the problem. II. Bluetooth Enabled Medical Device Architecture
PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram
TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools
L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0
L16 GNSS Engine EVB User Guide L16_EVB_UGD_V1.0 Document Title L16 EVB User Guide Version 1.0 Date 2012-07-18 Status Document Control ID Released L16_EVB_UGD_V1.0 General Notes offers this information
NG360 Inclinometer with digital RS485 communications port and 360 degree measuring range
Inclinometer with digital RS485 communications port and 360 degree measuring range Features integrated 16bit microprocessor RS485 bus output signal no measuring range limitation 0.01 degree resolution
Bluetooth to Serial Adapter
Bluetooth to Serial Adapter Third Edition, Oct 2007 Version 3.0 771-BTS1009C3-001 Contents 1.0 Features....P.2 2.0 Package Content....P.2 3.0 Hard Drives Requirement.P.2 4.0 Specifications.P.3 5.0 Pin
Adafruit MCP9808 Precision I2C Temperature Sensor Guide
Adafruit MCP9808 Precision I2C Temperature Sensor Guide Created by lady ada Last updated on 2014-04-22 03:01:18 PM EDT Guide Contents Guide Contents Overview Pinouts Power Pins I2C Data Pins Optional Pins
RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards
RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards 2012 Roving Networks. All rights reserved. Version 1.0 9/7/2012 USER MANUAL OVERVIEW The RN-131 and RN-171 WiFly radio modules are complete, standalone
ECP240-32 & ECP240-32EX
ECP240-32 & ECP240-32EX Hardware Manual 11Fl., 684-2, Deungchon 3-Dong, Gangseo-Gu, Seoul, Korea TEL: +82 2 2605 1486 FAX: +82 2 2605 1489 http://www.udptech.co.kr Contents 1. PRODUCT OVERVIEW...1 1.1
2. Scope of the DE0 Board and Supporting Material
1 Getting Started with Altera s DE0 Board This document describes the scope of Altera s DE0 Development and Education Board and the supporting materials provided by the Altera Corporation. It also explains
7a. System-on-chip design and prototyping platforms
7a. System-on-chip design and prototyping platforms Labros Bisdounis, Ph.D. Department of Computer and Communication Engineering 1 What is System-on-Chip (SoC)? System-on-chip is an integrated circuit
Benefits and Potential Dangers of Using USB for Test & Measurement Applications. Benefits of Using USB for Test and Measurement
Benefits and Potential Dangers of Using USB for Test & Measurement Applications What is USB? USB (Universal Serial Bus) is a standard that was developed by a group of manufacturers (including Intel, Microsoft,
NB3H5150 I2C Programming Guide. I2C/SMBus Custom Configuration Application Note
NB3H550 I2C Programming Guide I2C/SMBus Custom Configuration Application Note 3/4/206 Table of Contents Introduction... 3 Overview Process of Configuring NB3H550 via I2C/SMBus... 3 Standard I2C Communication
USER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
No serious hazards are involved in this laboratory experiment, but be careful to connect the components with the proper polarity to avoid damage.
HARDWARE LAB 5/DESIGN PROJECT Finite State Machine Design of a Vending Machine Using Xilinx ISE Project Navigator and Spartan 3E FPGA Development Board with VHDL Acknowledgements: Developed by Bassam Matar,
Getting Started with Embedded System Development using MicroBlaze processor & Spartan-3A FPGAs. MicroBlaze
Getting Started with Embedded System Development using MicroBlaze processor & Spartan-3A FPGAs This tutorial is an introduction to Embedded System development with the MicroBlaze soft processor and low
HP4000EX Hardware Manual
INFORMATION TO USER CAUTION RISK OF ELECTRIC SHOCK, DO NOT OPEN! CAUTION: TO REDUCE THE RISK OF ELECTRIC SHOCK, DO NOT REMOVE COVER (OR BACK). NO USER SERVICEABLE PARTS INSIDE. REFER SERVICING TO QUALIFIED
ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction
Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the
USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual
USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on
Embedded Component Based Programming with DAVE 3
Embedded Component Based Programming with DAVE 3 By Mike Copeland, Infineon Technologies Introduction Infineon recently introduced the XMC4000 family of ARM Cortex -M4F processor-based MCUs for industrial
Keeper Care System Data Manager Version 1.2.6
Automated Inventory Solutions, Inc. User Manual Keeper Care System Data Manager Version 1.2.6 Automated Inventory Solutions Phone: (304)725-4801 Fax: (304)725-6983 www.aisvendors.com Email: [email protected]
Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED
Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED www.analog.com www.hittite.com THIS PAGE INTENTIONALLY LEFT BLANK PLL & PLL with Integrated VCO Evaluation
Future Technology Devices International Ltd
Future Technology Devices International Ltd Datasheet UMFT200XD Breakout Modules 1 Introduction UMFT200XD is a USB to I 2 C breakout module The UMFT200XD breakout module utilizes FTDI s FT200XQ IC to convert
