PART 1 : MR-162. PART 2 : CPU Board. PART 3 : Software Tools. PART 4 : Compile and Download. 1. Introduction 2. Features

Similar documents
PART 1 : MR-16. PART 2 : CPU Board. PART 3 : Software Tools. PART 4 : Compile and Download. 1. Introduction 2. Features

MR-Servo8 User Manual

PART 1 : MR Introduction 2. Features. PART 2 : CPU Board 1. Placement Diagram (Silkscreen) 2. Circuit Diagram 3.

PART 1 : MR Introduction 2. Features. PART 2 : CPU Board 1. Placement Diagram (Silkscreen) 2. Circuit Diagram 3.

ET-BASE AVR ATmega64/128

ET-BASE AVR (ATmega8535)

MR-Servo4433 User Manual

Now you have the basic hardware tools, its time to setup the software environment. The main softwares you will need are:

M32 Development Board

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

Introduction to Microcontrollers

AVR Development Board

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

Getting Started with STK200 Dragon

AVRUSBPRG1 USB AVR IN SYSTEM PROGRAMMER

AVR- M16 development board Users Manual

Installation and Maintenance

ATMega128 Rapid Robot Controller Board [RKI-1148]

Microprocessors And Microcontrollers (Practical)

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:

Programmer AVR USBasp

Wireless Sensor Networks. FireFly 2.2 Datasheet

Zippy AVR Programmer. Zippy Programmer Features. Lomae Pty Ltd PO BOX 1297 Baulkham Hills, NSW,1755 ACN

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller

CEIBO FE-51RD2 Development System

AVR 40 Pin Rapid Robot controller board

2011 Pearson Higher Education, Mazidi, Naimi, and Naimi Pearson Higher Education, 2011 Pearson Higher Education,

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

ATmega128. Introduction

U4DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 19. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

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

AVR Peripheral Board. Campus Component Pvt. Ltd.

Programmer. User Guide

STK User Guide

Lab Course Microcontroller Programming

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

8051 Microcontroller

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

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

U2DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 37. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

Figure 1-1 ISPAVRU1 application

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

Nuvoton 1T 8051-based Microcontroller NuTiny-SDK-N76E885 User Manual

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

ETEE 2201 Electronics Lab IV ET-AVR Board: Downloading and Executing Programs Tutorial

STK200 Starter Kit User Guide May 2004

CEIBO FE-5111 Development System

AVR Development Board

Breeze Board. Type A. User Manual.

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual

Doc: page 1 of 8

AVR Hand Held Programmer

Farklı Arduino Boardlar

U6DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 18. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

Embedded programming, AVR intro

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

ARDUINO MEGA INTRODUCTION

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

STK User Guide

MAVRIC-IIB Mega AVR Integrated Controller II Revision B Technical Manual

AVR Tool Guide. (Version 2.1) WIZnet Inc. Marketing & Sales: Technical Support:

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

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

AVR-TLCD-128CAN development board Users Manual

SH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

User s Manual of Board Micro Controller ET-EASY168 STAMP ET-EASY168 STAMP. Picture displays structure of Board ET-EASY168 STAMP.

AVR MICROCONTROLLER ARCHITECTURTE

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

Breeze Board. Type B. User Manual.

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

EE4380 Microprocessor Design Project

Lecture (02) PIC16F84 (I)

AT89S8252 Development Board V1.0. Manual

CHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution

DIY KIT 123. ATMEL 89xxxx PROGRAMMER

Introduction to 8051 microcontrollers

Bill of Materials: Handheld Game System PART NO

INTERFACING HARDWARE WITH MICROCONTROLLER

APP-IV ATmega Development Kit 2004 by AWC

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

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

SH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)

Keywords Digital IC tester, Microcontroller AT89S52

Cricket Embedded Processor Dual H-Bridge/Bipolar Stepper Controller

AC-PG-USBASP USBASP AVR Programmer

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

Microcontroller Based Data Acquisition System

CEIBO FE-W7 Development System

Presented here is a data acquisition

Lab 1 Introduction to Microcontroller

ECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015

PB-MC-AVR28 28 Pin AVR Full Size Development Board

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

MINI DEVELOPMENT BOARD AVR USERS GUIDE ATMEGA32. make your own intelligent embedded world...

MEXLE. International Educational Platform. International Educational Platform. for Informatics based on Embedded Systems

Transcription:

MR-162 User Manual

C O N T E N T S PART 1 : MR-162 1. Introduction 2. Features PART 2 : CPU Board 1. Placement Diagram (Silkscreen) 2. Circuit Diagram 3. Parts List PART 3 : Software Tools 1. AVR Development Program Installation 2. How to use WinAVR GCC 3. How to use PonyProg2000 PART 4 : Compile and Download

PART 1 : MR-162 1. Introduction MR-162 is a small pre-assembled CPU board, which has an ISP(In-System Programming) port, reset button, 8MHz X-tal, and 35 I/O port pins. The MR-162 uses an Atmega162V(Atmel AVR series) CPU chip as a controller. The Atmega162V has 16K bytes In-System Programmable Flash memory, 1K bytes SRAM, 512 bytes EEPROM and many other peripherals. The user can download a program to the board without a ROM Writer using the ISP function. A free C-compiler (WinAVR) is available. 2. Features Atmega162V (Atmel AVR series, 8MHz(8 MIPS)) 16K bytes ISP flash, 1K bytes SRAM, 512 bytes EEPROM, four Timers, ADC 8ch, UART ISP port Internal Calibrated RC Oscillator ISP download indicating LED 32 I/O port pins Reset button Free Windows C compiler (Win AVR GCC) ISP downloader (Optional)

PART 2 : BOARD 1. Placement Diagram(Silkscreen) Fig 1.1 MR-162 CPU board silkscreen.

2. Circuit Diagram

3. Parts List NO Reference Parts name Value Qty. Remark 1 C1, C2 Capacitor 20pF 2 Ceramic Condenser 2 C3 1uF/16V 1 Electrolytic Condenser 3 C4 104 1 Monolithic Condenser 4 D1 Diode D1N4148 1 DIP type 5 LED1 LED RED 3ø 1 6 J1, J2 Connector CON20 1 1Line Header(male) 7 J3 CON10AP 1 HIF3F/10PIN 8 R1 Resistor 10KΩ 1 1/4W DIP type 9 R2 330Ω 1 1/4W DIP type 10 SW1 S/W Tack S/W(Small) 1 11 U1 MCU ATmega162V/TQFP 1 AVR Microcontroller 12 X1 X-TAL 8MHz 1 ATS type 13 PCB 1 Main PCB 14 Downloading Adapter 1 Option 15 Ribbon Cable 1 Option (1 m) Fig 2.1 Downloading Adapter Fig 2.2 Ribbon cable

PART 3 : Software Tools 1. AVR Development Program Installation AVR Development Tools There are many different kinds of development tools for AVR microcontrollers. Atmel, the AVR CPU manufacturer, provides some AVR development tools free. WinAVR GCC is a free Windows C-compiler. Wavrasm : AVR assembler, Atmel. AVR Studio : AVR Emulator/Simulator, Atmel. AVR ISP : ISP downloading program, Atmel. PonyProg2000 : ISP downloading program, Lancos. (Recommended) WinAVR GCC : C-compiler, GNU. (Recommended) The AVR ISP downloading program does not support ATmega16 but the PonyProg2000 program does. System requirements for AVR development tools Windows 9X/ME or NT/2000/XP Pentium-133 or higher At least 4 Mbytes of RAM CD-ROM Drive PonyProg2000 installation:

Go to http://www.lancos.com/ and download the latest version of PonyProg. Refer to How to use PonyProg for Microrobot AVR Products(Eng).pdf for details. WinAVR GCC installation Refer to How to use WinAVR for Microrobot AVR Products(Eng).pdf. 2. How to use WinAVR Gcc Refer to How to use WinAVR for Microrobot AVR Products(Eng).pdf. 3. How to use PongProg2000 Refer to the PonyProg Manual for Microrobot AVR Products.pdf and the Security Bit Setting for ATMega Family.pdf files.

PART 4 : Compile and Download Compile the source file and download the executable file in the following order: Supply DC 5V to the J1 s (or J2 s) #1 pin and GND to the #20 pin. Connect the downloading adapter to the PC printer port. Then connect the downloading adapter to the CPU board by using the ribbon cable. Download sample code from our website ( How to use WinAVR for Microrobot AVR Products(Eng).pdf ). Create a source folder and copy the prototype sample code, including the makefile, from the file you ve downloaded. Make your own source file by changing the sample source file. If you change the source file name, don t forget to change the makefile too. Type make all to compile it. Debug and recompile if there are any errors or warnings. If there are no errors, the Errors: none message appears. Run PonyProg2000. Do I/O port setup properly. Refer to PonyProg Manual for Microrobot AVR Products.pdf. Select Device AVR micro ATmega162. Select File Open Program File and load the hex file. Select Command Program or press Ctrl + P to start downloading. If a Program Failed message appears, select Command Erase or press Ctrl + E to erase the flash memory, and then try to program it again. Remove the ribbon cable from the CPU board and restart the board. www.microrobot.com