Decibit Development Kit (DDK)

Similar documents
ZIC2410 User Guide Device-Programmer Software Manual

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

Wireless Sensor Networks. FireFly 2.2 Datasheet

Programming Microcontroller Assembly and C

Getting Started. With the Y-Lynx Starter Kit. of the XEMICS XE1283 Transceiver. Y-Lynx web:

USB-COMi-TB USB to Industrial Single RS-422 / 485 Adapter Manual. Specifications and Features

keyestudio Keyestudio MEGA 2560 R3 Board

D8000 SERIES QUICK START GUIDE

DEMO XTR-8LR100 DEMO XTR-8LR10 User Manual

Getting Started with STK200 Dragon

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

Atmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents

ARDUINO LEONARDO WITH HEADERS Code: A000057

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

512 Channel Serial to DMX Transmitter PRO

M32 Development Board

EZRadio-2WayLink-DK EZRADIO TWO-WAY LINK DEVELOPMENT KIT USER S GUIDE. 1. Overview

HAND HELD PROGRAMMER QUICK START GUIDE

Robosoft Systems in association with JNCE presents. Swarm Robotics

Commercial Grade USB to RS-422/485 Adapter User's Manual

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

Doc: page 1 of 8

Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22

CMT2110A/2210A One-Way RF Link Development Kits User s Guide

AVR Standalone ISP Programmer V2 Instructions

CSCI 6907 PROJECT PROPOSAL LIGHTS OUT MANAGEMENT

Supplement for module D041 incl. ATMega8 Prozessor

[WIR-1286]868MHz LORA Wireless Module. Page 1. LORA 868MHz Wireless serial link [WIR-1286]

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

The Atmel ATmega328P Microcontroller

ED1021 I/O Expander with UART interface & analog inputs

The Atmel ATmega168A Microcontroller

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Bolt 18F2550 System Hardware Manual

Getting Started. With the Y-Lynx Starter Kit. Transce iver. of the XEMICS XE1205TrueRF tm. Y-Lynx web:

FERGUSON BEAUREGARD. RTU-5000 Configurator User Manual

DIGITAL TRANSDUCER TESTER & PC-INTERFACE (AVA-03) 16-APR-2015 PAGE 1 OF 9 1. GENERAL

ATMega128 Rapid Robot Controller Board [RKI-1148]

ARDUINO LEONARDO ETH Code: A000022

AVR-P development board Users Manual

User s Manual Closer to Real, Zigbee Module ZIG-100. Wireless Communication. ROBOTIS CO.,LTD

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

USB485. USB to RS485 Converter Card. User Manual for connecting with Windows Vista Version 1.01

AVR Development Board

Pridgen Vermeer Robotics Xmega128 Manual

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

Atmel ATtiny1634 MCU Atmel ATA SBC LIN transceiver with integrated voltage regulator Touch. Three Atmel QTouch buttons One Atmel QTouch slider

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

ET-BASE AVR ATmega64/128

HV-320 DVB-T FPV TV Transmitter Box Quick Installation Guide

Pridgen Vermeer Robotics ATmega128 Revision 0

Wi125 Evaluation Kit User Manual

Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4465

ARDUINO MEGA ADK REV3 Code: A000069

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

IO Expansion Shield User Manual

COMP2121 Experiment 4

ARDUINO MICRO WITHOUT HEADERS Code: A000093

The watchdog is connected to the internal USB header and reset switch header on the majority of motherboards.

C1098 JPEG Module User Manual


Arduino ADK Rev.3 Board A000069

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Cerebot Nano Reference Manual. Overview. Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A

ARDUINO MEGA 2560 REV3 Code: A000067

Characteristic. Power. Application. 01M Extra characteristics - CMD UART:115200,8N1 - CMD interface : AT CMD with UART. 01M work mode.

lumentouch SPECIFICATION SHEET Client: Project name: Order #: Type: Qty: FEATURES AND BENEFITS PACKAGE CONTENT HOW TO ORDER LTO

Doc: page 1 of 6

AN2792 Application note

ARDUINO UNO REV3 Code: A000066

EX KVIS RS232/422/485 3-in-1 Serial to USB Adapter (w/ 4KV Isolation, 15KV ESD Surge Protection)

AVR Development Board

JMY505G User's Manual

Alessandra de Vitis. Arduino

This 4-port RS-422/485 Adapter is provided with an external switching power adapter in the package.

TCS-NET GENERAL PURPOSE INTERFACE

LPC2148 DEV BOARD. User Manual.

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

PICAXE DEVELOPMENT BOARD (AXE091)

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

Figure 1. JTAGAVRU1 application The JTAGAVRU1 is supported by AVR Studio. Updated versions of AVR Studio is found on

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

TMR1F USER GUIDE AND EVALUATION KIT MANUAL

Serial Communication. Simplex Half-Duplex Duplex

MMusb245RL User s manual. Many ideas one solution

USB-LT02_B. User s Manual

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

AVR 40 Pin Rapid Robot controller board

APPLICATION NOTE. How to Securely Switch Atmel s LIN Transceiver ATA6662/ATA6662C to Sleep Mode ATA6662/ATA6662C. Concerning Atmel ATA6662

USB485 USB to RS485 Converter Card

PROFI-5053 PROFIBUS Remote I/O Module Quick Start Guide

USER MANUAL. Fastrax EV322 Evaluation Board REV 1.0

Centre for Instrumentation, Control and Automation User s Guide to the MAD 2 Microcontroller Board

ET-AVRProg mini. Technical Specifications of ET-AVRProg mini

SMiRF v1 Serial Miniature RF Link 8/25/2004

Chapter 2 ICB Architecture Chapter 3 Board Components GPIO Interface RS-232 Interface RS-485 Interface...

Matrix-605 WinCE ARM9 Industry Box Computer User Guide

Transcription:

Decibit Development Kit (DDK) Contents 1 CDROM 1 USB Programmer 1 USB cable 2 Modules DCBT-24AX 2 Hand-Held-Tester 6 AA size batteries 1 Printed datasheet Product code of modules: D24-AX-01-1CB Option "C" Programmer: USB type LPT type CDROM: Programmer (dspiu.exe 32-bit, Decibit) Assembler (avrasm2.exe 32-bit, Atmel) C/C++ Compiler (WinAVR) Example codes (SetupDDK.exe) USB Driver 1

Getting Started 1) Install code examples with SetupDDK.exe. 2) Install USB driver. 3) Plug USB programmer to your PC / Laptop. 4) Place batteries in HHT's. Run CODE_0 Example 1) Open code_0 folder and double click!module.bat" to execute script. 2) Insert one RF module to programmer socket. 3) Press ENTER to start loading code into module. 4) Take programmed module from programmer and place in HHT. See page 5 for detailed explanations. This code only awaits sequence of button presses to show how to erase user code. See note below. Run CODE_1 Example 1) Open code_1 folder and double click!module1.bat" to execute script. 2) Insert one RF module to programmer socket. 3) Press ENTER to start loading code into module 1. 4) Take programmed module from programmer and place in HHT. 5) Double click!module2.bat" to execute script. 6) Insert other RF module to programmer socket. 7) Press ENTER to start loading code into module 2. 8) Take programmed module from programmer and place in other HHT. Observe LED's at both HHT, they toggle at each completed data transmission. See note below to erase user code after your tests. Other code examples are loaded similarly into modules. Note: All examples make use of Button_1 press to invalidate user code. Here is the procedure: Press Button_1 and keep it down, then press reset Button_3. Release reset Button_3 and then release Button_1. Press reset Button_3 again to see that module is in code loading mode. Indicator is that all LED's stay off. 2

CODE 1 Continuous Ping-Pong without timeout. Demonstration of D_TX and D_RX functions. Module 1 starts sending (TX). Module 2 starts receiving (RX). When 248 bytes data is received, the same data is sent back and so forth, forever. Even if link was down for any time period, the sequence will always catch up and the cycle will continue without glitches. CODE 2 Compatible with CODE_1. Continuous Ping-Pong with 2 second timeout at both TX and RX. To see timeout, press and hold reset Button_3 on one HHT. After 2 seconds, LED_2 on other HHT will go off. CODE 3 Remote control, 2-way acknowledged. Press buttons to control LED's on other HHT. Button_1 @ HHT_1 controls LED_1 @ HHT_2 Button_2 @ HHT_1 controls LED_2 @ HHT_2 (Toggle mode) (Sustaining mode) LED status on HHT_1: LED_1 LED_3 ON ON transfer in progress ON OFF transfer failed (1 sec timeout) OFF OFF transfer success In this example, the sender knows for 100% certain whether the receiver has received the data packet or not, as indicated by the table above. Another example of how powerful D_TX / D_RX functions are. CODE 3.1 Same as CODE_3. Dimmer function, instead switching on/off LED's. Button_1 to dim up, Button_2 to dim down. 3

CODE 4 Enhanced ShockBurst data transfer, 2-way. Similar to CODE_3. Data packets may be received or be lost, even that automatic repeat and acknowledge feature is used. More than one button press may be needed to get the data through. Result is acceptable, but poor in comparison to CODE_3. CODE 5 ShockBurst data transfer compatible with nrf24xx @ 1 Mbps, 1-way. No ACK used, thus result is much more poor than CODE_4. This type transfer is equal to broadcasting without any feedback. CODE 6 Some non-rf related examples. Writing and reading of EEPROM and FLASH memories. Clock output example. CODE 7 (if requested) SPI data communications with PC via USB programmer itself. Control LED's on HHT by keyboard input from PC Control PC through button press on HHT CODE 8 (if requested) RS232 serial data input/output on I/O pins by bit-bang. 9600 115200 baud. 4

CODE 0 The following is a simple but complete and valid user code example written in AVR assembler. It is only 7 actual code lines, highlighted in gray..include "m168def.inc" ;AVR specific definitions.include "nrf24l01.inc" ;Nordic specific definitions.include "header.inc" ;user code general header file.cseg ;code segment.include "interrupt.asm" ;general interrupt routines I_RESET: ;all I/O pins are High-Z initially ;after any reset condition sbi ddrb,ddb3 ;push pull low output => LED_1 on nop ;no operation sbi portb,portb5 ;pull-up input => Button_1 ready for use call D_DELAY ;1000 cycles delay ;~125µs @ 8 MHz sbis pinb,pinb5 ;skip next instruction ;if Button_1 was not pressed call D_ERASE ;void user code if Button_1 was pressed ;to be able to download new user code ;after next reset _end0: rjmp _end0 ;endless loop.eseg ;EEPROM segment.org $1FF ;last EEPROM address $1FF.db $FE ;as example $FE to validate user code ;just anything other than $FF.exit In this example code, first LED_1 is turned on. Then I/O pin PB5 for Button_1 is setup as pull up input. This way a button press to ground can be detected. Then a function call to delay 125 µs is executed. If Button_1 was pressed, D_ERASE function call is executed, thus this user code is practically deleted from the module. The same module can then be put in USB programmer and reprogrammed again. If Button_1 was not pressed, LED_1 will keep on burning while application is stuck in the endless loop. 5

Hand-Held-Tester (HHT) Module DCBT-24AX 3 LED's 3 Buttons Battery holder 3 x AA HHT to module connections: 1 GND 2 LED_3 OUTPUT PB6 3 BUTTON_3 RESET 4 LED_2 OUTPUT PB1 (Clock Out) 5 BUTTON_2 INPUT PB4 6 LED_1 OUTPUT PB3 7 BUTTON_1 INPUT PB5 8 VCC 6

USB Programmer (Universal Serial Bus Type) To read and write EEPROM and user FLASH program memory via SPI. Tiny size. USB cable connector Module connector J1 Connector for Transceiver Modules USB connection to host PC Desktop / Laptop Supported OS: Windows Vista, Windows Vista 64 Windows XP, Windows XP 64 Windows Server 2003, Windows Server 2003 64 Windows 2000 Windows ME Windows 98 Install driver either by running the exe file in drivers folder on the CD or let windows detect the USB hardware when plugged and let search for drivers from CDROM location. 7

LPT Programmer (Parallel Port Type) (*) To read and write EEPROM and user FLASH program memory via SPI. J1 Connector for Transceiver Modules J2 Connector for Remote Control LPT Parallel Port connection USB connection for 5 V power supply only (*) obsolete item 8