MR-Servo8 User Manual

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

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

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.

MR-Servo4433 User Manual

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

ET-BASE AVR ATmega64/128

Using Arduino Boards in Atmel Studio 7

M32 Development Board

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

AVR IN SYSTEM PROGRAMMER USERS GUIDE

AVR 40 Pin Rapid Robot controller board

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Doc: page 1 of 8

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

ATMega128 Rapid Robot Controller Board [RKI-1148]

Introduction to Microcontrollers

Installation and Maintenance

AVR- M16 development board Users Manual

8051 Microcontroller

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

Bill of Materials: Handheld Game System PART NO

ET-BASE AVR (ATmega8535)

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

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

STK User Guide

MicroCamp ATmega8 Activity Kit manual

Wireless Sensor Networks. FireFly 2.2 Datasheet

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

STK User Guide

Microprocessors And Microcontrollers (Practical)

Getting Started with STK200 Dragon

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

EMB128. ere co., ltd.

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

Doc: page 1 of 6

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

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

Revision: 05/05/ E Main Suite D Pullman, WA (509) Voice and Fax. Various power connectors. 3.3V regulator

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

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

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

*on-board power supply capability limited. External battery should be used for higher power servos.

Doc: page 1 of 6

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

Lab Course Microcontroller Programming

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

Introduction to 8051 microcontrollers

AVRUSBPRG1 USB AVR IN SYSTEM PROGRAMMER

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

AVR Peripheral Board. Campus Component Pvt. Ltd.

AVR-TLCD-128CAN development board Users Manual

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

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

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

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

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

ATmega128. Introduction

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

The Atmel ATmega328P Microcontroller

Wasp Embedded Controller

ISPcable II. User s Guaid. Programer for AVR, AT89S and AT90S Atmel microcontrollers with serial interface. REV Beta 1.1. Many ideas one solution

Embedded programming, AVR intro

CHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

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

ARDUINO MEGA 2560 REV3 Code: A000067

Figure 1-1 ISPAVRU1 application

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

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

CEIBO FE-51RD2 Development System

SH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A

ATmega48/88/168 Development Board

Cricket Embedded Processor Dual H-Bridge/Bipolar Stepper Controller

ARDUINO MEGA INTRODUCTION

AVR Development Board

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

AVR Development Board

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

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

Programmer AVR USBasp

AVR MICROCONTROLLER ARCHITECTURTE

Intel Galileo gen 2 Board

Ant6. 6 Channel H Bridge 3-Axis Bipolar Stepper Motor Controller. Technical Reference Manual PCB Rev 1.0.

STK200 Starter Kit User Guide May 2004

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

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

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

USER GUIDE. ATmega328P Xplained Mini User Guide. Introduction

S3F8S5A Development Kit

Rhino Robot Control Board [RKI-1550]

The Atmel ATmega168A Microcontroller

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

CSE 466 Exam 1 Winter, 2010

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

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Transcription:

MR-Servo8 User Manual

C O N T E N T S PART : MR-Servo8. Introduction. Features 3. Control PART : CPU Board. Placement Diagram (Silkscreen). Circuit Diagram 3. Parts List PART 3 : Software Tools. AVR Development Program Installation. How to use WinAVR GCC 3. How to use PonyProg000 PART 4 : Compile and Download. Compile and Download PART 5 : Source Codes

PART : MR-Servo8. Introduction MR-Servo8 is a small pre-assembled R/C(Radio Control) servomotor controller, which has 6 R/C servo connectable I/O pins. The MR-Servo8 can control up to 8 R/C servos at the same time. The MR-Servo8 uses an ATmega8(Atmel AVR series) CPU chip as a controller. The ATmega8 has a 4K bytes In-System Programmable Flash memory, 8 bytes SRAM, 56 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.. Features ATmega8 (Atmel AVR series, 6MHz X-tal(6 MIPS) but internal 8MHz RC Oscillator setting is required for the RC Servo Source Example. Refer to Security Bit Settings for ATMega Family.pdf for the setting. ) 8K bytes ISP flash, K bytes SRAM, 5 bytes EEPROM, three Timers, ADC 8ch, UART 6 R/C servos connectable (6 I/O port pins) Controls up to 8 R/C servomotors at the same time C source code Free Windows C compiler(winavr AVR GCC) ISP downloader(optional) On board piezo Buzzer 3. Control The board has sixteen I/O port pins and can control 8 servomotors at the same time. The ATmega8 CPU has three internal counters. The board generates up to eight periodic pulses using the timers. The periodic pulses control R/C servomotors.

PART : BOARD. Placement Diagram(Silkscreen) Fig. ATmega8 Servomotor control board silkscreen.

5 5 4 4 3 3 D D C C B B A A 3 X 8 Header 00mil www.microrobot.com <Doc>.0 MR-Servo4433 A Title Size Document Number Rev Date: Sheet of PB4(MISO) PB3(MOSI) PB0(ICP) PC0(ADC0) PB3(MOSI) PB(OC) PC5(ADC5) PB(/SS) /RESET PB5(SCK) PB5(SCK) PC(ADC) PB4(MISO) PC(ADC) PC4(ADC4) PC3(ADC3) PB5(SCK) PB(/SS) PC3(ADC3) PD3(INT) PC5(ADC5) PD4(TO) PD0(RXD) PD(TXD) PD7(AIN) PB(OC) PD(INT0) PD5(T) PD6(AIN0) PC(ADC) PC(ADC) PC4(ADC4) PC0(ADC0) PB0(ICP) PD0(RXD) /RESET PD(INT0) PD4(TO) PD5(T) PD7(AIN) PD6(AIN0) PD3(INT) PD(TXD) U ATMega8/TQFP 30 3 3 9 0 3 4 5 6 7 3 4 5 6 7 8 4 5 0 8 7 8 9 3 6 9 PD0(RXD) PD(TXD) PD(INT0) PD3(INT) PD4(TO/XCK) PD5(T) PD6(AIN0) PD7(AIN) PB0(ICP) PB(OC) PB(SS/OCB) PB3(MOSI/OC) PB4(MISO) PB5(SCK) PC0(ADC0) PC(ADC) PC(ADC) PC3(ADC3) PC4(ADC4/SDA) PC5(ADC5/SCL) GND AREF A GND PB6(XTAL/TOST) PB7(XTAL/TOST) PC6(RESET) GND ADC6 ADC7 S SLIDE C3 uf Y 6MHz S3 Tack R4 0K C 0pF C 0pF J4 567-P J3 CON0AP 3 5 7 9 4 6 8 0 R 470 J 5045-P J5 567-P D LED C5 04 BZ BTG-47 S Tack C6 04 R5 0K C4 00uF/0V J SERVO HEADER 48 R 470 D LED D3 LED R3 470. Circuit Diagram

3. Parts List NO Reference Parts name Value Qty. Remark C, C Capacitor 30pF Ceramic Condenser C3 uf Electrolytic Condenser 3 C4 00uF/0V Electrolytic Condenser 4 C5, C6 04(0.uF) Monolithic Condenser 5 D, D, D3 LED RED 3ø 3 6 J Connector 5045 5V Power Part 7 J HEADER PIN(Male) SERVO HEADER 48PIN 8 J3 CON0AP HIF3F/0PIN 9 J4, J5 567 Battery Power Part 0 R, R, R3 Resistor 470Ω 3 R4, R5 0K SP BUZZER BTG-47 PIEZO 3 S S/W SLIDE S/W 4 S, S3 Tack S/W 5 U MCU ATmega8/TQFP AVR Microcontroller 6 Y X-TAL 6MHz ATS type 7 Printed Circuit Board(PCB) Main PCB 8 Battery Holder & Power Connector 505-P AA size * 4 9 Pin head Screw 4 3ø 0 Nut 3ø Flat head Screw 4 3ø Downloading Adapter Option 3 Ribbon Cable Option (m)

Fig. Downloading Adapter Fig. Ribbon cable Fig.3 Battery Holder & Power Connector

PART 3 : Software Tools. 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. PonyProg000 : ISP downloading program, Lancos. (Recommended) WinAVR GCC : C-compiler, GNU. (Recommended) System requirements for AVR development tools Windows 9X/ME or NT/000/XP Pentium-33 or higher At least 4 Mbytes of RAM CD-ROM Drive AVR ISP installation: Run setup.exe in the CD s avr_isp folder.

WinAVR GCC installation Refer to How to use WinAVR for Microrobot AVR Products(Eng).pdf.. How to use WinAVR Gcc Refer to How to use WinAVR for Microrobot AVR Products(Eng).pdf. 3. How to use PongProg000 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 and Download Compile the source file and download the executable file in the following order. Put four batteries into the battery holder and insert the power connector to J of the Main PCB. Connect the downloading adapter to the PC printer port. Then connect the downloading adapter to the CPU board by using the ribbon cable. Turn on the power switch S on the control board. LED D turns on. 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. Type make all on the DOS command line platform to compile it. Debug and recompile if there are any errors or warnings. If there are no errors, the Errors: none message appears. Run PonyProg000. Do I/O port setup properly. Refer to PonyProg Manual for Microrobot AVR Products.pdf. Select Device AVR micro ATmega8. 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.

PART 5 : Source Codes Refer to OWL ROBOT User Manual(Eng,mega8).pdf. www.microrobot.com