PolyBot Board. User's Guide V1.11 9/20/08



Similar documents
ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

GLOLAB Universal Telephone Hold

EvB 5.1 v5 User s Guide

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

WICE-SPI Hardware Operation Manual

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

ET-BASE AVR ATmega64/128

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

!Operation:!1. Connect an external power source to J1 (+ and - IN terminals). The

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

The CW Machine Hardware

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

Android Controlled Based Interface

Ocean Controls RC Servo Motor Controller

INTRODUCTION TO SERIAL ARM

TEECES DOME LIGHTING SYSTEMS


Pololu DRV8835 Dual Motor Driver Shield for Arduino

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

BUILDING INSTRUCTIONS

ABACOM - netpio.

Lab Experiment 1: The LPC 2148 Education Board

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

DOSISYS. Hands Free Reader LDM LDM 220. User Manual A

AXE114S BINARY CLOCK. revolution Revolution Education Ltd. Web: Version /09/08 AXE114.PMD.

User manual Compact Web PLC WP240 series IEC-line

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

PN532 NFC RFID Module User Guide

How To Power A Power Control On An Ip40 (Ipl) With A Power Supply (Iplug) With An Ip20 Controller (Iphones) With Power Control (Power Control) With No Antenna) With The Ip20 (Power)

AUTOMATIC CALL RECORDER JAMECO PART NO

User Guide Reflow Toaster Oven Controller

RC2200DK Demonstration Kit User Manual

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

AC-PG-USBASP USBASP AVR Programmer

The Programming Interface

MANUAL FOR RX700 LR and NR

Total solder points: 167 Difficulty level: beginner advanced DMX CONTROLLED RELAY K8072 ILLUSTRATED ASSEMBLY MANUAL

KTA-223 Arduino Compatible Relay Controller

EZmoto V2. Product description Rev. 6 10/01/2014. EZmoto V2 Product description Rev.6 10/01/2014

Lab 3: PCB design with EAGLE

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Switch board datasheet EB

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

DDS VFO CONSTRUCTION MANUAL. DDS VFO Construction Manual Issue 1 Page 1

Configure Inverter output for two utility settings, (1)120V/60Hz, (2)220V/50Hz

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

Flight Controller. Mini Fun Fly

How to read this guide

XBee USB Adapter Board (#32400)

Real Time Clock USB Evaluation Board V3.0

Glolab Talking Phone Dial Monitor

BMD16N-SD. version 1.2

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

STK User Guide

GLOLAB Two Wire Stepper Motor Positioner

Assembly and User Guide

Advanced Data Capture and Control Systems

DK40 Datasheet & Hardware manual Version 2

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Keep it Simple Timing

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

FLYPORT Wi-Fi G

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

Assembly Instructions: Shortwave Radio Kit

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB.

Copyright 2012 by Fen Logic Ltd. All rights reserved.

ECEN 1400, Introduction to Analog and Digital Electronics

Analog control unit for mobile robots

USB to RS-422/485 Serial Adapter

POCKET SCOPE 2. The idea 2. Design criteria 3

Robot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6

Arduino Lesson 0. Getting Started

WHO ANSWERED FIRST? FIND OUT WITH THIS QUIZ BUZZER KIT

CHAPTER 11: Flip Flops

SYSTEM 4C. C R H Electronics Design

Bluetooth UART/RS232 Module

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

C220 PRELIMINARY TUBE PREAMPLIFIER SERVICE MANUAL. SERIAL NO. WS1001 And Above C220. Serial Number W S1001 And Above CONTENTS

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Single Port Gigabit Ethernet Media Converter Board (P/N xxx) User s Manual And Troubleshooting Guide

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

step 1 Unpack the lunchbox And check whether you have got all the components~ If you have questions please contact us at: info@unitunlikely.

UM1724 User manual. STM32 Nucleo boards. Introduction

SM1231 USER GUIDE SM1231 RF MODULE USER GUIDE

7-SEGMENT DIGITAL CLOCK

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

SYSTEM 45. C R H Electronics Design

BrightSign Expander Hardware Guide

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

Alpha 10 SERVICE MANUAL. Downloaded from MAX 10 Meter Amateur Transceiver AM/FM/CW/SSB 6 BAND PROGRAMMABLE MODEL AM-1000.

Transcription:

PolyBot Board User's Guide V1.11 9/20/08

PolyBot Board v1.1 16 pin LCD connector 4-pin SPI port (can be used as digital I/O) 10 Analog inputs +5V GND GND JP_PWR 3-pin logic power jumper (short top 2 pins for regulated 5V, short bottom 2 pins for direct power to logic) 6 digital I/O RJ-45 Download Connector External Servo Power Reset SW1 200 ma Solenoid/ relay output 8 Digital inputs +5V GND 8 Servo Outputs Servo Power GND +5V JP_BL shorting this enables LCD backlight Ground External Motor Power Jumpers for Servo Power (jumpers run horizontally) 4 DC motor outputs DC Power Jack (center plug is positive) Jumpers for Motor Power (jumpers run horizontally) Notes: When using external servo power, remove the Servo Power Jumpers When using external motor power, remove the Motor Power Jumpers Do not plug in servos backwards. White wire on servo goes to the servo output pin.

Powering the PolyBot board Main power is applied to the PolyBot board through the DC power jack located on the lower right portion of the board. The center plug is the positive terminal. The voltage sent here is used to power the microcontroller, LCD, and support chips. The board may be operated in one of 2 modes determined by the JP_PWR jumper. If the top 2 pins of JP_PWR are shorted, then the voltage sent on the DC power jack is regulated to +5V. Use this setting if you intend to use a battery with a voltage greater than 7V. The other mode for JP_PWR is enabled when the lower 2 pins are shorted. In this setting the voltage applied to the DC power jack is directly connected to the microcontroller, LCD, and support chips. Use this setting only if your battery voltage is between 4.5V and 5.5V. This setting is optimal for use with 4 AA rechargeable batteries (4 x 1.2V). If you plan to also use an AC wall adapter with this jumper setting, make sure you use one which is a regulated type (like a 319986PS). Warning: When sending the battery voltage directly to the board components, be careful not to apply more than 5.5V. Doing so will burn out a number of components on the board! Using separate servo and motor batteries The PolyBot board has jumpers that allow running the microcontroller at one voltage and the servos/motors at a different voltage. When these jumpers are connected, the voltage applied to the DC power jack is used to power the motors and the servos. Removing both the JP_MTR jumpers allows a different voltage to be applied to the DC motors. There are 2 jumpers to handle more current. Once the jumpers have been removed, the motor power can be connected to the 2 right inputs of the screw terminal block located just right of the RJ-45 jack. Motor power should be between 5V and 36V. Removing both the JP_SRV jumpers allows a different voltage to be applied to the servos. There are 2 jumpers to handle more current. Once the jumpers have been removed, the servo power can be connected to the 2 left inputs of the screw terminal block located just right of the RJ-45 jack. Servo power should be between 5V and 6V. With all jumpers removed (JP_MTR and JP_SRV), you may run the motors, servos, and board logic at 3 different voltages. Warning: If you plan to use a different voltage for the motors or servos than the voltage for the logic, then make sure the appropriate jumpers are removed.

Downloading a program to the PolyBot board Before a program can be downloaded, the PolyBot board needs to be in download mode. Enter download mode by resetting the board with the download cable connected. The LCD should show a countdown timer. You must start the download before the timer reaches 0. After you have compiled a program into a.hex file, use the 'avrdude' program to download the.hex file into the flash memory. For example, if you wanted to download a file 'test.hex' using com3, then use the following command: avrdude -pm32 -Pcom3 -cbutterfly -b57600 -u -U flash:w:test.hex If you have the default Makefile, you can just type 'make download'. Over-current and reverse polarity protection The PolyBot board comes with a resettable fuse. This fuse is rated at 1.85A. If the current drawn by the board exceeds this rating the fuse will trip. If this occurs, you will need to remove power from the board and then reconnect power. If your application requires greater current, you can substitute the fuse with one with a higher current rating. The fuse will also trip if power is applied to the board with reverse polarity. If this occurs, again you will need to remove power and then reconnect with the correct polarity. One thing to note is that when the fuse does trip, the fuse itself becomes very hot and stays hot until power is removed. When the fuse is operating normally, it is only warm to the touch. The external motor and servo power inputs are not run through this fuse. There is no protection on either of those inputs. Analog and digital inputs The analog and digital inputs accept.1 spacing headers. Next to each input is a +5V and ground header port. You can make sensor connectors with 4 male header pins. Cut one of the pins and the header will plug into the input. The digital inputs already have pull up resistors to 5V. DC motor outputs On the board are 2 754410 chips which provide a total of 4 1-amp DC motor outputs. If you have a motor that needs more current, you can bridge 2 or more outputs for more of current. Just connect the corresponding outputs pins together to drive the motors. You must ensure that your software drives the motor outputs correctly, otherwise you will short power and ground. DC motors generate a lot of electrical noise and one way to reduce this is to place capacitors across the motor terminals as close as possible to the motor itself. Do this if you find that operating DC motors affects the operation of the board.

Servo output ports There are 8 servo outputs port which can be used to control standard hobby servos. The 3 pins for each connector are the servo signal, power, and ground. If the servo jumpers are in place the voltage sent to the servos is the voltage on the power jack. Relay/solenoid output port A relay or solenoid can be controlled using the 2-pin relay/solenoid port. Connect these pins to the coil of a relay or solenoid. The relay/solenoid port uses a 2n3904 to supply up to 200mA of current to activate a relay or solenoid. If you find that you need more current than 200mA, you may substitute the 2n3904 transistor with one that supplies more current (for example, a 2n6427). 1000mA is the recommended maximum current to run through this output port. CON1 and SPI Detail The following detail the pinout for the CON1 and SPI ports CON1 Gnd PD2 +5V PD3 (RX) PD0 PC0 SPI MOSI MISO SCK SS (PB5) (PB6) (PB7) (PB4) (TX) PD1 PC1 RJ-45 connector pinout This is the pinout of the connector on the as viewed on the board: Gnd SCK MISO MOSI +5V (PB7) (PB6) (PB5). TX RX (PD1) (PD0) Reset

PolyBot Board assembly instructions Before you start: The following instructions will help you assemble the board and perform incremental tests. Use these instructions as a checklist as you install each component. Step 1: IC Sockets and Headers When installing headers, make sure they are attached at a right angle to the circuit board (when soldering the female headers, use the male headers to keep them aligned). The male headers need to be cut as they come attached in one row. 1. Solder in all the IC sockets. Make sure the notch on the socket matches the notch printed on the circuit board. Make sure you install sockets in the correct locations removal is very difficult. NOTE: Do not install any chips in the sockets at this point. 2. Solder in the JP_SRV and JP_MTR headers. Each is a 2x2 male header. 3. Solder in the JP_BL header. This is a 1x2 male header. 4. Solder in the JP_PWR header. This is a 1x3 male header. 5. Solder in the Relay header. This is a 1x2 male header. 6. Solder in the A_INPUT headers. These are 1x10 female headers. NOTE: Make sure the 3 headers are aligned because you will be connecting sensors perpendicular to the connectors. Use the 1x16 male header or the 2x3 male headers to keep the connectors aligned as you solder them. It is very important to keep the connectors aligned. 7. Solder in the D_INPUT headers. These are 1x8 female headers. NOTE: Make sure the 3 headers are aligned because you will be connecting sensors perpendicular to the connectors. Use the 1x16 male header or the 2x3 male headers to keep the connectors aligned as you solder them. It is very important to keep the connectors aligned. 8. Solder in the servo headers. These are four 2x3 male headers. 9. Solder in the SPI and CON1 headers. These are 1x4 female headers. 10. Solder in the LCD connector. This is a 1x16 female header. Try to keep this connector as close to perpendicular to the PCB as possible since the LCD plugs into this connector. Step 2: Power Supply 1. Solder the Red PWR LED. The longer leg goes into the hole closer to the ATMega32. 2. Solder the R_PWR resistor. This is a 330 Ohm resistor (orange-orange-brown). 3. Solder F1, 1N5401 (silver band faces up), 7805, and the 1uH inductor. 4. Solder C15. This capacitor is polarized. Make sure the arrows point towards the F1 fuse. 5. Solder in the power jack.

6. Install a jumper across the lower 2 pins of JP_PWR. You are now ready to apply power to the board. Apply 5V (4xAA rechargeable batteries not alkaline) to the power jack. The Red power LED should turn on and stay lit. Leave the power connected for a minute or so; the LED should stay lit during this time. If power and ground are shorted, the LED should turn off while power is connected. Remove power and the Red LED should fade off. If the LED turns off immediately, check the C15 capacitor (470uF). Step 3: Assemble the download board 1. Solder the Green (TX) LED to the download board. The longer leg of the LED goes into the left hole (the hole towards the 1K resistor). 2. Solder the 330 Ohm resistor (orange-orange-brown) and 1K resistor (brown-blackred). 3. Solder the 3 capacitors:.01uf (103),.01uF (103), and 10uF (this is polarized)

Step 4: Downloading to the ATMega32 1. Solder the 1x16 male headers to the LCD display. Install the JP_BL jumper. 2. Solder the Reset resistor (47K, yellow-purple-orange), R_RELAY (1K, brownblack-red), R_BL (10 ohm, brown-black-black-gold), and R_LED (330, orange-orangebrown). 3. Solder the RJ-45 jack. 4. Solder the 16 Mhz crystal, the 22pF capacitors, and C11 (104 capacitor). 5. Solder the SW1 and RST switch. 6. Install the ATMega32 microcontroller. Note the orientation of the chip. 7. Install the LCD display. 8. Solder the green LED. The longer leg goes in the hole closer to the ATMega32. Connect the PolyBot board and download board with an ethernet cable. Apply power to the PolyBot board. Make sure the compiler and PolyBot board library are installed on the computer you will use. Download the drivers for the USB download board (go to www.ftdichip.com and download the latest VCP drivers for the 232R). Connect the cable to the download board and to the USB port of the computer. Install the driver and make sure the COM port is set to 57600 baud. Open a command line terminal and go to the directory where you installed the PolyBot board library. Reset the board while the download board is connected. You should see a countdown timer appear on the LCD. The board is now ready to accept a program download. Next, type make download. The program should download to the board and you should see the countdown timer again. Press SW1 and your program should start running. The display should print the message 'PolyBot Board'. If it does, continue to the next step. Step 5: Install remaining components 1. Solder the D1 diode. The silver band point toward the right side. 2. Solder the.01uf capacitor (103). 3. Solder both resistor networks. The side with the gray dot should point toward the right side. 4. Solder and install all remaining components. Your PolyBot board is now complete! Make sure to test all inputs and outputs for functionality.

Parts list.1uf capacitor.01uf capacitor 22pF capacitor RJ-45 connector 1.0uH inductor Tactile switch 4 pin terminal block 10k potentiometer 36 pin female header 470uF capacitor 74hc374 74hc04 Cd4051 74hct541 16 MHz crystal 1n4001 1n5401 1.85A fuse 47k resistor network 1K resistor 10 ohm resistor 330 ohm resistor 47K ohm resistor 10 pin ribbon cable 74hc244 5V regulator 40 pin male double header 16 pin female single header 8 pin female single header 10 pin female single header 16x2 LCD with backlight Red LED Green LED Shorting blocks 20 pin socket 16 pin socket 14 pin socket 40 pin socket 2.1mm DC power jack ATMega32 microcontroller TI 754410 H-bridge Part number 80-C315C104M5U 80-C315C103M5U 140-50N2-220J 154-UL6882 434-23-1R0 653-B3F-1000 158-P02EK381V4 652-3352T-1-203 517-974-01-36 199216CH 45858 45209 13098 99303 137891CH 35975 36249 200029CH 98087 29882 30867 31149 135538 74HC244 7805T HEADD40 FHEADS16 FHEADS8 FHEADS10 LCD16X2BL LED3R LED3G HDSHOB ICS20 ICS16 ICS14 ICS40 G7946 ATMEGA32-16PI-ND 296-9911-5-ND Supplier Electronics Goldmine Digikey Digikey