CMU232 User Manual Last Revised October 21, 2002

Similar documents
Ocean Controls KT-5221 Modbus IO Module

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

DMC-8 (SKU#ROB )

PAK-Vb/c PWM Coprocessor Data Sheet by AWC

DASL 120 Introduction to Microcontrollers

The Guitar Chord Learning System

MD04-24Volt 20Amp H Bridge Motor Drive

B Robo Claw 2 Channel 25A Motor Controller Data Sheet

Radio Module for MHz. Band RMCx4-1 ; RMCx9-1

The NMIH-0050 H-Bridge

UART2PPM. User s Guide. Version 2.04 dated 02/20/16. Gregor Schlechtriem

Tarocco Closed Loop Motor Controller

B RoboClaw 2 Channel 30A Motor Controller Data Sheet

WTDIN-M. eeder. Digital Input Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

WTDOT-M. eeder. Digital Output Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

Frequency Synthesizer Project ECE145B Winter 2011

Revision WI.232FHSS-25-FCC-R and RK-WI.232FHSS-25-FCC-R USER S MANUAL

Micro Fox PicCon Manual

Circuit Board Assembly Instructions

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

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

Contents. Warranty and Disclaimer 2 Introduction 3

USING RS-232 to RS-485 CONVERTERS (With RS-232, RS-422 and RS-485 devices)

Application Note #1216

Servo 8 Torque Board Doc V 1.2

TMC603EVAL MANUAL Evaluation board for the TMC603 three phase motor driver with BLDC back EMF commutation hallfx

EL7302. Hardware Design Guide

instruction manual for Open LRS New Generation

ZX-SERVO16. Features : Packing List. Before You Begin

Guardian and DL3282 Modem Interface Technical Service Application Note

Hardware Guide. Control Made Simple. Model 401A Signal Generator

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT

SC16A SERVO CONTROLLER

SMARTALPHA RF TRANSCEIVER

Application Note #1245

Trademarks & Copyright

WTPCT-M. eeder. Pulse Counter/Timer Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

BV4112. Serial Micro stepping Motor Controller. Product specification. Dec V0.a. ByVac Page 1 of 18

Blue Point Engineering

Chapter 15: Serial Controlled (HF) Radio Support

Eight channel remote relay card. Total solder points: 277 Difficulty level: beginner advanced K8056 ILLUSTRATED ASSEMBLY MANUAL

MiniProg Users Guide and Example Projects

16 Bit Micro Experimenter Assembly and Check out Instructions

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

MAINTENANCE MANUAL DIGITAL SELECTOR MODULE 19D902519G1 INCLUDING DIGITAL SELECTOR 1 (150 BAUD DATA) AND DIGITAL SELECTOR 2 (9600 Hz CLOCK)

Bill of Materials: PWM Stepper Motor Driver PART NO

Multi-Channel High Performance Data Acquisition System and Digital Servo Controller Module

LC-10 Chipless TagReader v 2.0 August 2006

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

Design and Development of Smart. Harmonic Analyzer

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

High Current DC Motor Driver Manual

TB6612FNG Dual Motor Driver Carrier

Serial Servo Controller

Penrose Quantizer Assembly Guide

Line-to-line RMS Volts, 3 phases 4 digits (XXX.X) Volts

RN-41-SM. Class 1 Bluetooth Socket Module. Features. Applications. Description. Block Diagram. rn-41sm-ds 9/9/2009

PROMAG RWM600A. ISO/IEC15693 Advanced Reader Module. Overview. Features. Application. Specifications. Application Circuit

2F. No.25, Industry E. 9 th Rd., Science-Based Industrial Park, Hsinchu, Taiwan Application Note of OGM220, AN001 V1.8

Professional Development Board (#28138)

BeeLine TX User s Guide V1.1c 4/25/2005

Harris IRT Enterprises, Inc. Digital Resistance Tester Model A

Adafruit 16-channel PWM/Servo Shield

GP4 PC Servo Control Kit 2003 by AWC

HB-25 Motor Controller (#29144)

TRXQ1 RXQ1 FM NARROW BAND TRANSCEIVERS. RXQ1 Version. Applications. TRXQ1 Version

Advanced RTK GPS / Compass module with 100x100 mm ground plane and 32-bit MCU

HURRICANE Radio Modem. FULL DUPLEX Radio MODEM

Programming the Dallas/Maxim DS MHz I2C Oscillator. Jeremy Clark

QLG1 GPS Receiver kit

MAINTENANCE MANUAL DIGITAL SELECTOR MODULE 19D902519G1 TABLE OF CONTENTS

CIC ENGINEERING 345 CENTER STREET EAST PEORIA, IL PH FAX µmpis Control Software

20-27B. Tone Panel. Version 1.10

Technical information: Compact PIC 16F84A/628A APRS Tracker for Portable Rigs

AAØZZ Control Board for Si570 Daughtercard

RS232-B1 User Manual V1.2 05/10/2017

era, eric, era-lora, eric-lora & eric-sigfox Evaluation Board with GNSS

OEM 100. User Manual. Figure 1: OEM 100 Module with HG Rectangular Antenna Board

2W UHF MHz Radio Transceiver

Servo and Motor Controller

GPS Evaluation Kit EVA1035-H

Servo Sequencer Servo Robot motion controller & General Purpose microcontroller board

Stensat Transmitter Module

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

Simple Servo USER Instructions

Understanding the Arduino to LabVIEW Interface

Ultrasonic Multiplexer OPMUX v12.0

Servo Animator version Table of contents

NM-251D-HDT Heading Converter User Guide V1.00

Complete 2.4 GHz RF Transceiver Module with Built-In RFDP8 Application Protocol Part Numbers RFD21733, RFD21735, RFD21737, RFD21738, RFD21739

CDM10V programming user manual describes the COOLDIM_PRG_BOARD burner board usage, the UART protocol handling and the fusing details.

PICee Development System

7I33 / 7I33TA MANUAL Quad analog servo amp interface

Multi-Channel RS-232 Serial RF Transceiver

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

RF Wireless Serial Device Server

Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

Transcription:

CMU232 User Manual Last Revised October 21, 2002

Overview CMU232 is a new low-cost, low-power serial smart switch for serial data communications. It is intended for use by hobbyists to control multiple devices that use the RS232 protocol while only using one serial line. It essentially acts as a multiplexer for serial data, switching between three possible slave devices. Capabilities RS232 Line Booster Baud Rate Converter TTL to RS232 Logic Converter Null Modem on Each Port 4 high-resolution general-purpose servo outputs and connectors, with selectable internal/external power source 50mhz SX Processor Serial Smart Switch Merge Mode 128k EEPROM Configurable status LEDs TTL line filtering Updates All updates and the latest news and revisions can be found online at http://www.cs.cmu.edu/~cmu232 CMU232 Manual Page 2

Board Layout!!!!!Finish Labelling this page CMU232 Manual Page 3

Assembled View CMU232 Manual Page 4

Ports Power The input power to the board goes through a 5-volt regulator. It is ideal to supply the board with between 6 and 7 volts of DC power that is capable of supplying at least 200mA of current. GND VDD Programming Port The programming port allows the firmware to be downloaded to the SX28 using a SX-Key / Blitz or equivalent programmer. These can be purchased from Parallax Inc (www.parallaxinc.com). Most users will not need to use this option. CMU232 Manual Page 5

Servo Connectors The CMU232 allows 4 servos to be controlled using either on board power or a separate power supply. Each connector, from SV1 to SV4 can be connected to one hobby servo, giving a total of 4 servos. Ground (Black) Positive Power (Red) PWM Signal (White) Servo Power: JP2 controls servo power. To use the on board power supply, put a jumper at JP2. Jumper You may also supply a separate power supply to the servos. This is recommended. To do this, connect GND and +5V from your separate power supply source as so. Ground +5V CMU232 Manual Page 6

Serial Ports The CMU232 allows for four serial ports to be connected. One of these is the master port and the other three are referred to as slave ports. Master Port Slave Ports 1, 2, 3 Each Port is structured exactly the same way, and allows for both 5V TTL Logic and 12V Logic. There is also a null modem selector per each port. Using 5V TTL Logic To use 5V TTL Logic, connect the RX, TX and GND lines as so: PC TX, Board RX GND PC RX, Board TX You can easily null modem TTL Logic by switching the connector around (reversing TX and RX) since ground is the middle pin. CMU232 Manual Page 7

Using 12V Logic Serial Communications First you must connect a jumper between terminals N x and T x to enable use of 12V Logic. Jumper To enable normal operation, you will need to add 2 jumpers at NM x and then connect the serial port. This port provides full level shifting for communication with a computer easily. Though it only uses 3 of the 10 pins it is packaged in a 2x5 configuration to fit standard 9 pin ribbon cable clip-on serial sockets and 10 pin female clip on serial headers that can both attach to a 10 wire ribbon cable. GND PC TX, Board RX PC RX, Board TX Jumpers If you wish to null modem the port, just change the direction of these two jumpers as so: GND PC RX, Board TX PC TX, Board RX Jumpers CMU232 Manual Page 8

Finally to connect the 10 pin header to a 9 pin female serial ribbon cable head, connect as so: 1 5 6 The provided ribbon cable and connectors should make this an easy task. CMU232 Manual Page 9

Switches Main Power The main power switch is located here. The red LED right above it indicates that the board is powered. Programming Switch To change the board settings, the programming switch must be in the program position, marked by a! on the board. For most operations the programming switch should remain in the normal operation mode position. To change from programming mode to normal operation, the programming switch must be toggled, and the board must be reset by physically turning the board off and back on again. You will be able to tell whether the board is in programming mode by how many green status LEDs are on. If all the green status LEDs are on, then it is in programming mode. CMU232 Manual Page 10

Setting up the board If your board has already been programmed, you can turn it on and you will see some of the green status port LEDs light up as well as the main power red LED light up. If all the green LEDs are on, you are in programming mode. If you wish to get out of programming mode, move the programming switch to the other position and reset the board. If your board has not been programmed, you must use the programming port described earlier and an SXKey to flash the firmware onto the chip. You must next download default settings for the board to operate. To do you must download the CMU232 Settings Programmer available at the CMU232 website at http://www.cs.cmu.edu/~cmu232 Follow these steps to first load the settings onto your CMU232 board: 1. Put the programming switch into programming mode and turn on the board. All the green LEDs should be lit. 2. Open the CMU232 Settings Programmer program. 3. Connect your computer COM port to the Master Serial Port of the CMU232. 4. Click Open COM Port 5. Click Load Current Settings if you wish to see what settings are currently on our board. 6. Select the settings that you wish to use on the board and click on Save Current Settings. You may wish to click Load Current Settings afterward to check that your settings have correctly been entered onto the board s memory. CMU232 Manual Page 11

CMU232 Runtime Commands These commands apply only to the default Smart Switch mode of operation for CMU232. Switching to Slave 1 / Slave 2 / Slave 3 To switch to each slave, the default character sequence is a \ followed by the number of the slave device that you wish to switch to. For example to switch to slave 3, you would type into the master line: \3 You can use custom switch characters if you wish by programming them using the CMU232 Settings programmer. Sending a \ character The CMU232 ignores any letter after the first switch character (default = \ ) if that letter isn t a switch command or a servo command. However, if you just wanted to pass a \ from the master line to the slave, you would just have to duplex the \ character. Example, to send a \ you would type into the master line: \\ Setting Servo Duty Cycle To set servo duty cycle, the command sequences involves sending the first switch character (default = \ ), the letter s or S, the number of the servo that you wish to control (1 through 4), the duty cycle that you wish the servo to be at (0 to 255), and a carriage return character ( \r ). For example to set servo 3 to duty 145, you would type: \s3145<enter> You should not enter any spaces between characters. The CMU232 will ignore all input from the master until a carriage return character ( \r ) is detected after the initial \s string. CMU232 Manual Page 12

Parts Listing Description Quantity Digikey Total Price Each Price Power In Pin 1 WM2700-ND 0.59 0.59 Dual Row Headers (2*28 at least) 1 929852-01-36-ND 4.62 4.62 Single Row Headers (37 pins at least) 1 MHB50K-ND 2.72 2.72 SPST Switches 2 EG1847-ND 1.11 2.22 Red Power LED 1 67-1125-ND 0.18 0.18 Green Status LEDs 4 67-1127-ND 0.17 0.68 330 Ohm for LEDs 5 330QBK-ND 0.06 0.3 100 Ohm for Analog Filters 4 100QBK-ND 0.06 0.24 10 KOhm I2C Pullups 2 10KQBK-ND 0.06 0.12 4.7 Kohm for SX MCLR Pullup 1 4.7KQBK-ND 0.06 0.06 50mhz Resonator 1 250-15060-ND 1.53 1.53 1uF Electrolytic Caps for Max232 10 P2105-ND 0.42 4.2 0.1uF Ceramic Cap for SX Bypass 1 P4923-ND 0.55 0.55 100uF Low ESR Electrolytic Cap for Servos 1 P10323-ND 0.76 0.76 10uF 35V Electrolytic Cap for Before Regulator 1 P5178-ND 0.21 0.21 100uF Low ESR Cap for After Regulator 1 P10323-ND 0.76 0.76 0.01 or 0.001uF Ceramic Caps for Filtering 4 0.5 2 5 Volt Regulator 1 LM2940CT-5.0-ND 1.65 1.65 16 pin 0.3" DIP socket 2 AE8916-ND 0.36 0.72 8 pin 0.3" DIP socket 1 AE8908-ND 0.29 0.29 28 pin 0.3" DIP socket 1 AE8928-ND 0.63 0.63 MAX232 Level Shifter (DIP) 1 MAX232CPE-ND 3.31 3.31 Ubicom SX28 Microcontroller (DIP) 1 SX28AC75/DP-ND 5.18 5.18 Microchip 24LC01 EEPROM (DIP) 1 24LC01B/P-ND 0.41 0.41 33.93 CMU232 Manual Page 13

Full Schematic (also available online in higher resolution) CMU232 Manual Page 14

Layout (available online in higher resolution) CMU232 Manual Page 15