USING THE AMULET EASYGUI STARTER KIT WITH A PARALLAX BASIC STAMP AND AN ANALOG DEVICES ADXL202EB

Size: px
Start display at page:

Download "USING THE AMULET EASYGUI STARTER KIT WITH A PARALLAX BASIC STAMP AND AN ANALOG DEVICES ADXL202EB"

Transcription

1 USING THE AMULET EASYGUI STARTER KIT WITH A PARALLAX BASIC STAMP AND AN ANALOG DEVICES ADXL202EB INTRO The Amulet EasyGUI Starter Kit not only works well for rapid prototyping, but also fast product implementation and easy, seamless development. In combination with another microprocessor and a peripheral I/O device, the Amulet GUI is a powerful technology. In this experiment, we will be using a Basic Stamp 2 as the externally interfaced microprocessor (because of its popularity and wide spread use in the embedded industry) and an Analog Devices accelerometer specifically part number ADXL202EB, which is a ±2 g dual-axis accelerometer. This app note will specifically highlight the hardware setup and software communications protocol, not the user interface created to demo this experiment.. HARDWARE CONNECTIONS The easiest way to set up this system is to use a Basic Stamp Carrier Board with the Basic Stamp (preferably a Basic Stamp 2 or faster due to timing issues which will be talked about later, click here to jump to that discussion) to talk to the Amulet EasyGUI board via a RS232 (serial) cable. This setup allows for easy connection of the ADXL202EB and Carrier Board for debugging and programming in addition to connecting to the Amulet unit once the Stamp has been programmed. The schematic for the connection between the Stamp and the board is shown below. Basic Stamp Super Carrier Board gnd self test x axis y axis +5 E B D C A ADXL202EB Figure 1. Schematic of Stamp connection to the accelerometer

2 Figure 2. Picture of Basic Stamp, Basic Super Carrier Board, and Analog Devices ADXL202EB accelerometer AMULET PROTOCOL (taken from The communications protocol is half-duplex, with the Easy GUI client acting as master. The Amulet GUI can send five different types of messages: A "Get" byte variable request (Amulet:UART.byteValue()) A "Get" word variable request (word = 2 bytes) (Amulet:UART.wordValue()) A "Get" string variable request (Amulet:UART.stringValue()) An "Invoke" Remote Procedure Call (RPC) (Amulet:UART.invokeRPC()) A "Set" byte variable command. (Amulet:UART.setByteValue()) If the message is valid, the Stamp should either return the requested data (if a "Get" request) or acknowledge the message (if an "Invoke" or "Set" command). If the message is not valid, the server should respond with an acknowledge (0x10). Table 1 in Appendix A defines the five types of messages that can be sent between the GUI and the Stamp. The valid range of variables and Remote Procedure Calls is 0-0xFF. The valid range for variable values returned from the Stamp (in response to the "Get" variable request) is also 0-0xFF. Since this is an ASCII protocol, it takes two bytes to send one-byte variables and RPCs. For example, the variable 0x1A would be transmitted as 0x31, 0x41, where 0x31 is the ASCII representation of the high nibble"1" and 0x41 is the ASCII representation of the low nibble "A". NOTE: The Stamp side must respond to every valid GUI command. It is always acceptable to respond with an acknowledgment. When commands are not responded to within 100ms, a time-out will occur, which then clears out all pending requests. This can result in unexpected behavior.

3 Synchronization--As master, the GUI initiates all communications by sending a message to the Stamp. All valid messages from the GUI to the Stamp start with one of five command bytes: [0x11], [0x12],[0x13],[0x14] or [0x15] -- these are considered the Client Start Of Message (CSOM) characters, with the GUI being the client. NOTE: These five CSOM bytes ALWAYS signify the start of a message and they are not allowed in the body of any message. The only valid characters in the body of a message are: ASCII 0-9 (0x31-0x39), and A-F (0x41-0x46), except in the body of the "Get string" response, where all ASCII characters from '0' -' ~' (0x30-0x7e) are valid. If the Stamp receives any character other than those specified, the message should be considered errant, and the Stamp should start over hunting for a new CSOM character. All Stamp responses must start with the counterpart of the CSOM character that began the message that is being responded to. The valid Server (Stamp) Start Of Message (SSOM) bytes are: [0x21], [0x22], [0x23], [0x24] or [0x25]. The body of the response message starts with the counterpart SSOM and is then followed by any optional response data (in ASCII format). As noted earlier, after receiving the last byte of a valid message from the GUI, the Stamp then has 100ms to respond to the message before the GUI times out. After 100ms, if there is no response, the GUI will consider the message dropped, flush its buffer, and then be ready to transmit any new messages. The GUI will NOT repeat a message after a TIME OUT. SOFTWARE INTERFACE An abbreviated version of the communication protocol used to make the GUI, Stamp, and accelerometer communicate is shown below. The software used to program the Stamp can be found at the following link: The following code snippets were taken from an actual server implementation based on the Basic Stamp 2 micro controller. The code simply polls the serial line with the SERIN command until a valid request is received, handles the request using the IF statements to determine what the GUI is asking for, and then returns to polling the serial line. This sample code, showing only the service routines, is meant to illustrate the workings of the Amulet protocol not implement it. The entire code can be found in Appendix B. serial_in: '*This function will poll the serial line looking for values. It will store the first byte in RxType, *the next in VarType1, the third in VarType2, the fourth in SetVar1, and the fifth in SetVar2. *RxType stores the client s request type, VarType1/2 store which variable is being used, and *SetVar1/2 store which setbyte parameter are being set and are uninitialized otherwise. The *program will hang until all of these variables are filled

4 SERIN 16, 84, [RxType, VarType1, VarType2, SetVar1, SetVar2] IF RxType = $13 THEN setbyte IF RxType = $11 THEN getbyte IF RxType = $12 THEN getstring IF RxType = $14 THEN RPC IF RxType = $15 THEN getword IF RxType > $15 THEN serial_in asking for a setbyte 'asking for a getbyte 'asking for a getstring 'asking for a RPC 'asking for a getword 'value on line is not a function, go back to wait for another command '* Handler for a getbyte function request '* Format of request string = 0x11xx, where xx = variable being requested '* Returns 0x21xxNN, where NN equals the HEX data of the variable xx getbyte: ServerResp1 = $21 IF VarType2 = "5" THEN RateReturn IF VarType2 = "6" THEN TimeReturn IF VarType2 = "7" THEN VariableReturn Variable 5 is being requested so return value stored for rate (in register B20) RateReturn: SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 B20] Variable 6 is being requested so return value stored for time (in register B22) TimeReturn: SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 B22] Variable 7 is being requested so return value stored for variable (in register B21) VariableReturn: SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 B21] '**************************************************************************** '* Handler for a getstring function request '* Format of request string = 0x12xx, where xx = index of string variable '* Returns 0x22xxString+Null to client '**************************************************************************** getstring: ServerResp1 = $22 IF VarType2 = "2" THEN Author_string IF VarType2 = "3" THEN Company_string IF VarType2 = "4" THEN Version_string Variable 2 is being requested, return string associated with that variable Author_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Jacob Horn", NULL] For brevity, the remainder of the string requests have been left out the remaining variables simply request different string values (in the same format as the Author_string)

5 '*********************************************************************** '* Handler for a setbyte function request '* Format of request string = 0x13xxNN, where xx = variable to be set '* and NN = HEX data '* Returns 0x23xxNN to client '*********************************************************************** setbyte: ServerResp1 = $23 IF VarType2 = "5" THEN Rate IF VarType2 = "6" THEN Time IF VarType2 = "7" THEN Variable Variable 5 has been called to be set Rate: Choose which parameter associated with rate is to be set, using NN values IF SetVar2 = "0" THEN one IF SetVar2 = "1" THEN two IF SetVar2 = "2" THEN five IF SetVar2 = "3" THEN ten one: two: five: ten: B20 = 1 B20 = 2 B20 = 5 B20 = 10 Variable 6 has been called to be set Time: Once again, choose which parameter is to be set using NN values IF SetVar2 = "0" THEN tenseconds IF SetVar2 = "1" THEN thirtyseconds IF SetVar2 = "2" THEN fourtyfiveseconds IF SetVar2 = "3" THEN sixtyseconds tenseconds: B22 = 10 thirtyseconds: B22 = 25 fourtyfiveseconds: B22 = 45 sixtyseconds: B22 = 60 Variable 7 has been called to be set

6 Variable: IF SetVar2 = "0" THEN x IF SetVar2 = "1" THEN y Note that GUI protocol send ASCII representations of numbers, so the format of the numbers upon appearance in the GUI will depend on the formatters used (i.e. decimal format of the ASCII X and Y will return 88 and 89, where as a hex format will return 58 and 59) x: B21 = "X" y: B21 = "Y" setbyteresp: SEROUT 16,84,[ServerResp1, VarType1, VarType2, SetVar1, SetVar2] '* Handler for a invoke function request '* Format of request string = 0x14xx, where xx = variable of function being requested '* Returns 0x24xx to client or 0x10 (and ACK) RPC: Invoke command calibrates the +1g and 1g values for both the X and the Y directions Only an ACK response is needed back ServerResp1 = $10 SEROUT 16,84,[ServerResp1] IF VarType2 = "8" THEN posx IF VarType2 = "9" THEN negx IF VarType2 = "A" THEN posy IF VarType2 = "B" THEN negy The user at this point would be prompted to position the accelerometer to read the positive X forces and a pulse on the X port pin here saves the value of +1g on the X axis posx: PULSIN 4,1,positiveX Data gathered for the 1g value on the Y axis, then subroutine called to calculate the numerical difference between the +1g and 1g values negx: PULSIN 4,1,negativeX GOSUB calc_deltax calc_deltax: deltax = positivex - negativex RETURN For brevity, the routine for calibrating the Y axis has been left out

7 '* Handler for a getword function request '* Format of request string = 0x15xx, where xx = variable being requested '* Returns 0x25xxPPNN, where PP = high byte of variable xx, and NN = low byte of variable xx getword: ServerResp1 = $25 IF VarType2 = "1" THEN YWORDvariable 'Pulse X port pin, read, and save out x acceleration values PULSIN 4,1,xWord 'calculate the scaled g-force value of xword 'xword = (20/deltaX)*(xWord - negativex) + 40 ServerResp2 = xword.highbyte ServerResp3 = xword.lowbyte 'server data sent out over RS232 to client SEROUT 16,84,[ServerResp1, Va rtype1, VarType2, HEX2 ServerResp2, HEX2 ServerResp3] For brevity, the Y acceleration data sampling has been left out. The only difference seen in the Y routine is the port pin number that is used to read and store out the acceleration values is changed to the pin associated with the Y axis of the accelerometer (pin 2 in this case Figure 3. Picture of Amulet GUI attached to the Basic board via a serial cable

8 IMPLEMENTATION OBSERVATIONS While implementing this system there where a few interesting issues that popped up, most dealing with timing concerns. Due to the fact that the serial communications done on the Stamp are done through a software UART (which means there is no serial buffer and that the Stamp can either be using the UART or doing some other type of processing, not both). The combination of the Stamp communication scheme with the Amulet GUI leads to race conditions. The most notable race condition occurs when the GUI requests information from the stamp. The Stamp must listen to the serial line until something is received and at that point process the data that it has received. In some cases GUI requests will be dropped because the Stamp is still processing the previous instruction. In addition to these race conditions we found it difficult to process multiple sized byte requests to be handled i.e. all the Amulet function requests are 3 bytes long, except the setbyte() which is 5 bytes. We would have liked to use a routine like the one that follows: SERIN 16,84,[RxType, VarType1, VarType2] IF RxType <> $13 THEN nomorebytes SERIN 16,84,[SetVar1, SetVar2] nomorebytes: IF RxType = $11 THEN getbyte IF RxType However, we found the routine above to be unable to handle the GUI requests properly, so we went with the code shown earlier. To alleviate these issues, the Amulet OS now supports the Basic Stamp. A META tag, BASICStamp, which inserts a 4ms pause between GUI requests and puts all the GUI requests in uniform 5 byte segments, was added between the Stamp response (ACK) and the next request. In other words, the request for information had to be slowed down. These fixes can be added simply by including the following line in the HTML of your UI: <META NAME="Amulet" Content="BASICStamp"> Once again, tag seen above invokes a 40 ms delay in the GUI requests to the Stamp, and initializes all GUI requests to have the same 5 bytes per request format. We also found that there is no need to interface it to another chip (i.e. something like a Maxim 233A) to provide true serial levels.

9 Appendix A Table 1. Five types of messages can be sent between the client and the server.

10 Appendix B ****** *The main loop of this code waits for valid Client Start of Message (CSOM) characters then jumps to *the appropriate service routine ****** '{$Stamp BS2} ********* '* Pin setup /********* LOW 8 'set PIN8 = GND HIGH 0 'set PIN0 = +5 INPUT 2 'set PIN2 (C on Accel) as Ay input INPUT 4 'set PIN4 (D on Accel) as Ax input LOW 6 'turn self test OFF ****************** '*Variable declarations ****************** NULL CON 0 'Null character for end of getstring ServerResp1 VAR BYTE 'ServerResp variables set up to contain the values that will ServerResp2 VAR BYTE 'be sent back to client (GUI) from the server (Stamp) ServerResp3 VAR BYTE xword VAR WORD 'This variable stores X axis accelerometer data RxType VAR BYTE 'This section of variables stores the data that comes in off the VarType1 VAR BYTE 'serial line from the GUI (RxType = function type, VarType1 VarType2 VAR BYTE and VarType2 = variable bits, and SetVar1/SetVar2 = SetVar1 VAR BYTE parameter bits) SetVar2 VAR BYTE positivex VAR WORD 'These variables are used by the invoke function to store the negativex VAR WORD g force configuration data that is collected during the config deltax VAR BYTE 'process '************* '* Main Loop '************* serial_in: '*This function will poll the serial line looking for values. It will store the first *byte in RxType, *the next in VarType and the third in VarType2. The program *will hang until all of these *variables are filled

11 SERIN 16, 84, [RxType, VarType1, VarType2, SetVar1, SetVar2] IF RxType = $13 THEN setbyte IF RxType = $11 THEN getbyte IF RxType = $12 THEN getstring IF RxType = $14 THEN RPC IF RxType = $15 THEN getword IF RxType > $15 THEN serial_in asking for a setbyte 'asking for a getbyte 'asking for a getstring 'asking for a RPC 'asking for a getword 'value on line is not a function, go back to wait for another command '* Handler for a getbyte function request '* Format of request string = 0x11xx, where xx = variable being requested '* Returns 0x21xxNN, where NN equals the HEX data of the variable xx getbyte: ServerResp1 = $21 IF VarType2 = "5" THEN RateReturn IF VarType2 = "6" THEN TimeReturn IF VarType2 = "7" THEN VariableReturn Variable 5 is being requested so return value stored for rate (in register B20) RateReturn: SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 B20] Variable 6 is being requested so return value stored for time (in register B22) TimeReturn: SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 B22] Variable 7 is being requested so return value stored for variable (in register B21) VariableReturn: SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 B21] '**************************************************************************** '* Handler for a getstring function request '* Format of request string = 0x12xx, where xx = index of string variable '* Returns 0x22xxString+Null to client '* Returns requested data back to the screen '**************************************************************************** getstring: ServerResp1 = $22 IF VarType2 = "2" THEN Author_string IF VarType2 = "3" THEN Company_string IF VarType2 = "4" THEN Version_string IF VarType2 = "4" THEN Version_string IF VarType2 = "C" THEN Accelerometer_string IF VarType2 = "D" THEN Stamp_string IF VarType2 = "E" THEN Board_string

12 Author_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Jacob Horn", NULL] Company_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Amulet Technologies", NULL] Version_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Version 2.0.1", NULL] Accelerometer_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Analog Devices ADXL202EB", NULL] Stamp_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Basic Stamp 2", NULL] Board_string: SEROUT 16,84,[ServerResp1, VarType1, VarType2, "Super Carrier Board", NULL] '*********************************************************************** '* Handler for a setbyte function request '* Format of request string = 0x13xxNN, where xx = variable to be set '* and NN = HEX data '* Returns 0x23xxNN to client '*********************************************************************** setbyte: ServerResp1 = $23 IF VarType2 = "5" THEN Rate IF VarType2 = "6" THEN Time IF VarType2 = "7" THEN Variable Variable 5 has been called to be set Rate: Choose which parameter associated with rate is to be set, using NN values IF SetVar2 = "0" THEN one IF SetVar2 = "1" THEN two IF SetVar2 = "2" THEN five IF SetVar2 = "3" THEN ten one: two: B20 = 1 B20 = 2

13 five: ten: B20 = 5 B20 = 10 Variable 6 has been called to be set Time: Once again, choose which parameter is to be set using NN values IF SetVar2 = "0" THEN tenseconds IF SetVar2 = "1" THEN thirtyseconds IF SetVar2 = "2" THEN fourtyfiveseconds IF SetVar2 = "3" THEN sixtyseconds tenseconds: B22 = 10 thirtyseconds: B22 = 25 fourtyfiveseconds: B22 = 45 sixtyseconds: B22 = 60 Variable 7 has been called to be set Variable: Choose parameter to be set IF SetVar2 = "0" THEN x IF SetVar2 = "1" THEN y Note that GUI protocol send ASCII representations of numbers, so the format of the numbers upon appearance in the GUI will depend on the formatters used (i.e. decimal format of the ASCII will return 88 and 89, where as a hex format will return 58 and 59) x: B21 = "X" y: B21 = "Y" setbyteresp: SEROUT 16,84,[ServerResp1, VarType1, VarType2, SetVar1, SetVar2]

14 '* Handler for a invoke function request '* Format of request string = 0x14xx, where xx = variable of function being requested '* Returns 0x24xx to client or 0x10 (and ACK) RPC: Invoke command simply calibrates the +1g and 1g values for both the X and the Y directions Only an ACK response is needed back ServerResp1 = $10 SEROUT 16,84,[ServerResp1] IF VarType2 = "8" THEN posx IF VarType2 = "9" THEN negx IF VarType2 = "A" THEN posy IF VarType2 = "B" THEN negy The user at this point would be prompted to position the accelerometer to read the positive X forces and a pulse on the X port pin here saves the value of +1g on the X axis posx: PULSIN 4,1,positiveX Data gathered for the 1g value on the X axis, then subroutine called to calculate the numerical difference between the +1g and 1g values for scaling purposes negx: PULSIN 4,1,negativeX GOSUB calc_deltax Now gather +1g value on Y axis posy: PULSIN 2,1,positiveY Gather 1g value on Y axis, then go to subroutine to calculate difference in +1g and 1g values for scaling reasons negy: PULSIN 2,1,negativeY GOSUB calc_deltay calc_deltax: deltax = positivex - negativex RETURN calc_deltay: deltay= positivey - negativey

15 '* Handler for a getword function request '* Format of request string = 0x15xx, where xx = variable being requested '* Returns 0x25xxPPNN, where PP = high byte of variable xx, and NN = low byte of variable xx getword: ServerResp1 = $25 IF VarType2 = "1" THEN YWORDvariable 'Pulse X port pin, read, and save out x acceleration values PULSIN 4,1,xWord 'calculate the scaled g-force value of xword 'xword = (20/deltaX)*(xWord - negativex) + 40 ServerResp2 = xword.highbyte ServerResp3 = xword.lowbyte 'server data sent out over RS232 to client SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 ServerResp2, HEX2 ServerResp3] YWORDvariable: PULSIN 2,1,yWord calculate the scaled g-force value of yword yword = (20/deltaY)*(yWord negativey) + 40 ServerResp2 = yword.highbyte ServerResp3 = yword.lowbyte SEROUT 16,84,[ServerResp1, VarType1, VarType2, HEX2 ServerResp2, HEX2 ServerResp3] END

THE AMULET PROTOCOL FOR THE MOTOROLA MC68HC11

THE AMULET PROTOCOL FOR THE MOTOROLA MC68HC11 THE AMULET PROTOCOL FOR THE MOTOROLA MC68HC11 INTRO When choosing a technology to incorporate into a project, the robustness of that technology is highly valuable. The Amulet EasyGUI Browser Chip (and

More information

Implementing Serial I/O with RobotBASIC

Implementing Serial I/O with RobotBASIC Implementing Serial I/O with RobotBASIC R obotbasic has commands that can utilize any serial com port (real or virtual) on a PC to do serial I/O with any device that can communicate using Asynchronous

More information

Design Brief 205 Understanding the Anadigm Boot Kernel (ABK)

Design Brief 205 Understanding the Anadigm Boot Kernel (ABK) Design Brief 205 Understanding the Anadigm Boot Kernel (ABK) Introduction This document describes the Anadigm Boot Kernel (ABK) and the ABK command language. Overview The Anadigm Boot Kernel is a set of

More information

ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual

ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual Contents 1 The Controller Box 1 2 Basic Programming of the Controller Box 2 2.1 Program Directives.....................................

More information

Easy GPS Readings for the Basic Stamp Chip. By Randy R. Price Kansas State University Biological and Agricultural Engineering Department

Easy GPS Readings for the Basic Stamp Chip. By Randy R. Price Kansas State University Biological and Agricultural Engineering Department Easy GPS Readings for the Basic Stamp Chip By Randy R. Price Kansas State University Biological and Agricultural Engineering Department Introduction: Small microcontrollers, such as the Basic Stamp II

More information

PINK (Parallax Internet Netburner Kit - #30013)

PINK (Parallax Internet Netburner Kit - #30013) Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Flex Series User Guide

Flex Series User Guide User Programmable Current 4..20mA Digital RS485 Dual & Single Axis Up to 360º 2016 Flex Series User Guide Sensor Installation, Wiring, Flexware App Instructions Page 1 of 33 Page 2 of 33 Table of Contents

More information

Transmitting GPS position by an Iridium phone

Transmitting GPS position by an Iridium phone Transmitting GPS position by an Iridium phone F. SIGERNES AND JEFF HOLMES University Centre in Svalbard (UNIS), Box 156, N 9170 Longyearbyen, Norway Abstract This document describes how to send GPS information

More information

Project Final Report Internet Ready Refrigerator Inventory Control System

Project Final Report Internet Ready Refrigerator Inventory Control System Project Final Report April 25, 2006 Dustin Graves, dgraves@gwu.edu Project Abstract Appliance vendors have started producing internet enabled refrigerators which allow users to keep track of refrigerator

More information

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site:  Forums: forums.parallax.com Sales: Technical: Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

BASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1

BASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1 599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: info@parallax.com Technical: support@parallax.com Web Site: www.parallax.com Educational: www.stampsinclass.com

More information

HMC1022 Digital Compass

HMC1022 Digital Compass Key Features Based on Honeywell s HMC1022 solid-state magnetic sensor Choice of 2 Interface Options (UART/I2C) Standard Pin Headers come soldered Plug and Play Module SPECIFICATIONs Angular Measuring Range

More information

Chapter #3: Tilt with the Memsic Accelerometer

Chapter #3: Tilt with the Memsic Accelerometer Chapter 3: Chapter Name Page 61 Chapter #3: Tilt with the Memsic Accelerometer Acceleration is a measure of how quickly speed changes. Just as a speedometer is a meter that measures speed, an accelerometer

More information

PDN609 Stepper Motor Controller Data Sheet

PDN609 Stepper Motor Controller Data Sheet PDN609 Stepper Motor Controller Data Sheet Serial Interface Stepper Motor Sequencer IC 2009 Paladin Semiconductor Corporation Page 1 Functionality & Feature Set One Wire Interface Step Interval Adjustable

More information

Memsic 2125 Accelerometer Demo Kit (#28017) Tilt and Rotation Measurement

Memsic 2125 Accelerometer Demo Kit (#28017) Tilt and Rotation Measurement 599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: info@parallaxinc.com Technical: support@parallaxinc.com Web Site: www.parallaxinc.com Educational:

More information

BV4505. IASI-Keypad Controller. Product specification. January 2009 V0.a. ByVac Page 1 of 13

BV4505. IASI-Keypad Controller. Product specification. January 2009 V0.a. ByVac Page 1 of 13 Product specification January 2009 V0.a ByVac Page 1 of 13 Contents 1. Introduction...3 2. Features...3 3. Electrical Specification...3 3.1. Keypad Interface...3 4. Key Values Returned...3 5. Factory Reset...3

More information

ZX-17 Serial Real-Time Clock application board

ZX-17 Serial Real-Time Clock application board ZX-1 Serial Real-Time Clock application board This application board is used for making the real-time clock data for any microcontroller system. It interfaces via a serial line. ZX-1 provides all time

More information

Understanding the RCtime Instruction and Creating Strings in EEPROM

Understanding the RCtime Instruction and Creating Strings in EEPROM Stamp Applications no. 15 (May 96): Understanding the RCtime Instruction and Creating Strings in EEPROM BS2 Programming Hints by Scott Edwards TWO BS2-RELATED TOPICS keep coming up lately; how to use the

More information

SRF02 Ultrasonic range finder Technical Specification

SRF02 Ultrasonic range finder Technical Specification SRF02 Ultrasonic range finder Technical Specification I2C Mode For Serial mode click here I2C Communication To use the SRF02 in I2C mode, make sure nothing is connected to the mode pin, it must be left

More information

ADVANCED VEHICLE TECHNOLOGIES, Inc. AV. AVT-718 LIN Support. Introduction. Firmware. Hardware. Inc.

ADVANCED VEHICLE TECHNOLOGIES, Inc. AV. AVT-718 LIN Support. Introduction. Firmware. Hardware. Inc. ADVANCED VEHICLE TECHNOLOGIES, Inc. AV Inc. AVT-718 LIN Support This document describes LIN mode operations for the AVT-718 interface. LIN mode was first introduced in the AVT-718 firmware version 2.6.

More information

CLCD1 Serial 1 wire RS232 LCD development board

CLCD1 Serial 1 wire RS232 LCD development board CLCD1 Serial 1 wire RS232 LCD development board Can be used with most 14 pin HD44780 based character LCD displays Use with 1,2,3 or 4 line displays. (Four line LCD shown above) Shown assembled with optional

More information

OPERATING MANUAL AND TECHNICAL REFERENCE

OPERATING MANUAL AND TECHNICAL REFERENCE MODEL WFG-D-130 HIGH SPEED DIGITAL 3 AXIS FLUXGATE MAGNETOMETER OPERATING MANUAL AND TECHNICAL REFERENCE December, 2012 Table of Contents I. Description of the System 1 II. System Specifications.. 2 III.

More information

' You should have received a copy of the GNU General Public License ' along with this program. IF NOT, see <

' You should have received a copy of the GNU General Public License ' along with this program. IF NOT, see < ' {$STAMP BS2} ' {$PBASIC 2.5} ' Gimme Sugar v1.1 - A Basic Stamp software for gesture controlled sugar dispencer ' Copyright (C) 2007 Anna Keune, Jari Suominen ' For more details: mlab.taik.fi/paja '

More information

PAK-XI PS/2 Coprocessor Data Sheet by AWC

PAK-XI PS/2 Coprocessor Data Sheet by AWC PAK-XI PS/2 Coprocessor Data Sheet 1999-2003 by AWC AWC 310 Ivy Glen League City, TX 77573 (281) 334-4341 http://www.al-williams.com/awce.htm V1.0 30 Oct 2003 Table of Contents Overview...1 If You Need

More information

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site:  Forums: forums.parallax.com Sales: Technical: Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Parallax BASIC Stamp IIsx

Parallax BASIC Stamp IIsx Parallax BASIC Stamp IIsx The Parallax BASIC Stamp IIsx module is an extended form of the BASIC Stamp II that incorporates several key features of the Scenix Semiconductor SX microcontroller and an advanced

More information

IS-Dev Kit-8 User Manual

IS-Dev Kit-8 User Manual IS-Dev Kit-8 User Manual Revision A IS-Dev Kit-8 Version 1.0 NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655) Phone 480-991-0942 Fax 480-998-1435 e-mail

More information

Sender Receiver Sender

Sender Receiver Sender EEE 410 Microprocessors I Spring 04/05 Lecture Notes # 19 Outline of the Lecture Interfacing the Serial Port Basics of Serial Communication Asynchronous Data Communication and Data Framing RS232 and other

More information

Prop-1 Programming Basics

Prop-1 Programming Basics Prop-1 Programming Basics Team EFX-TEK teamefx@efx-tek.com www.efx-tek.com Why Use a Programmable Controller? No off-the-shelf product exists that meets the requirements of your application Off-the-shelf

More information

8051 Serial Communication

8051 Serial Communication 8051 Serial Communication Basics of serial communication Parallel: transfers eight bits of data simultaneously over eight data lines expensive - short distance fast Serial : one bit at a time is transferred

More information

PIC-I/O Multifunction I/O Controller

PIC-I/O Multifunction I/O Controller J R KERR AUTOMATION ENGINEERING PIC-I/O Multifunction I/O Controller The PIC-I/O multifunction I/O controller is compatible with the PIC-SERVO and PIC-STEP motor control modules and provides the following

More information

YOU WILL NOT BE ALLOWED INTO YOUR LAB SECTION WITHOUT THE REQUIRED PRE-LAB.

YOU WILL NOT BE ALLOWED INTO YOUR LAB SECTION WITHOUT THE REQUIRED PRE-LAB. Page 1/5 Revision 3 OBJECTIVES Explore and understand microprocessor interrupts. In part A of this lab, you will use XMEGA external interrupt system. Learn how to utilize asynchronous serial communication.

More information

Pedometer 3 Click. PID: MIKROE 3259 Weight: 24 g

Pedometer 3 Click. PID: MIKROE 3259 Weight: 24 g Pedometer 3 Click PID: MIKROE 3259 Weight: 24 g The Pedometer 3 click is a tri-axis acceleration sensing Click board utilizing the KX126-1063. An advanced three-axis acceleration sensor, the KX126-1063

More information

I2C and SPI Foundation

I2C and SPI Foundation Revision 30 September 2010 Release I2C and SPI Foundation 17 March 2018 changed ref: command f to x Introduction I2C (I squared C) and SPI (Serial peripheral Interface) are two main ways that microcontrollers

More information

Demystifying Character Based LCDs

Demystifying Character Based LCDs Column #31, September 1997 by Jon Williams: Demystifying Character Based LCDs There is no doubt that Scott s LCD Backpack has saved countless Stamp projects from oblivion and, in the process, has become

More information

EWAVE Inc Gracefield Ln. Dallas, Texas (972)

EWAVE Inc Gracefield Ln. Dallas, Texas (972) EWAVE Inc. 7419 Gracefield Ln. Dallas, Texas 75248 (972) 248-2931 www.electrowave.com STAMPER User s Manual Version 1.0 Ewave Radio Modems covered in this manual: STAMPER INTRODUCTION... 3 1.1 FEATURES

More information

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer Help Volume 1992-2002 Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer Agilent Technologies 16550A 100 MHz State/500 MHz Timing Logic Analyzer The Agilent

More information

CAUTION: TTL Only, Do Not Use ± 12 V RS-232

CAUTION: TTL Only, Do Not Use ± 12 V RS-232 DIRRS+ Digital Infra-Red Ranging System Ideal for robotics projects Singles (SKU #35090) 4 Pack (SKU #35100) Infrared Distance Measurement 5V Output Signal 3 Output Modes Reliable Optics Easy to use Open

More information

Mechatronics and Pneumatics Kit Manual

Mechatronics and Pneumatics Kit Manual ME2110: CREATIVE DECISIONS AND DESIGN Mechatronics and Pneumatics Kit Manual GEORGE W. WOODRUFF SCHOOL OF MECHANICAL ENGINEERING GEORGIA INSTITUTE OF TECHNOLOGY Introduction This document describes the

More information

DIRRS+ Digital Infra-Red Ranging System Ideal for robotics projects. Singles (SKU # Pack (SKU #35100)

DIRRS+ Digital Infra-Red Ranging System Ideal for robotics projects. Singles (SKU # Pack (SKU #35100) Ltd DIRRS+ Digital Infra-Red Ranging System Ideal for robotics projects a division of Singles (SKU #35090 4 Pack (SKU #35100) Infrared Distance Measurement 5V Output Signal 3 Output Modes Reliable Optics

More information

CDN36X Series DeviceNet Gateway User Manual

CDN36X Series DeviceNet Gateway User Manual CDN36X Series DeviceNet Gateway User Manual CDN366 1 isolated RS232 channel CDN367 1 isolated RS422/RS485 channel Table of Contents CHAPTER 1 OVERVIEW...4 CHAPTER 2 INSTALLATION...5 MOUNTING...5 WIRING...6

More information

IS-Dev Kit-1 Users Manual

IS-Dev Kit-1 Users Manual IS-Dev Kit-1 Users Manual Revision A IS-Dev Kit-1 Version 1.1 NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655) Phone 480-991-0942 Fax 480-998-1435 e-mail

More information

Parallel-to-Serial and Serial-to-Parallel Converters

Parallel-to-Serial and Serial-to-Parallel Converters Session 1532 Parallel-to-Serial and Serial-to-Parallel Converters Max Rabiee, Ph.D., P.E. University of Cincinnati Abstract: Microprocessors (MPUs) on a computer motherboard communicate in a parallel format

More information

Hitachi H48C 3-Axis Accelerometer Module (#28026)

Hitachi H48C 3-Axis Accelerometer Module (#28026) Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Getting Started with the HCS12 IDE

Getting Started with the HCS12 IDE Getting Started with the HCS12 IDE B. Ackland June 2015 This document provides basic instructions for installing and using the MiniIDE Integrated Development Environment and the Java based HCS12 simulator.

More information

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

Getting Started. With the Y-Lynx Starter Kit. Transce iver. of the XEMICS XE1205TrueRF tm. Y-Lynx   web: Getting Started With the Y-Lynx Starter Kit of the XEMICS XE1205TrueRF tm Transce iver Y-Lynx e-mail: info@y-lynx.com web: www.y.lynx.com Getting S tart ed with the Y-L ynx XE1 205TrueRF tm Start er Kit

More information

Slave Embedded Serial Bluetooth board Features and Benefits

Slave Embedded Serial Bluetooth board Features and Benefits ZX-BLUETOOTH : Slave Embedded Serial Bluetooth board 1 ZX-BLUETOOTH Slave Embedded Serial Bluetooth board Features and Benefits Simple serial UART communications and control Seamless connectivity with

More information

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems PD215 Mechatronics Week 3/4 Interfacing Hardware and Communication Systems Interfacing with the physical world A compute device (microprocessor) in mechatronic system needs to accept input information

More information

RoboStamp Basic Software (A tutorial by Technotutorz)

RoboStamp Basic Software (A tutorial by Technotutorz) RoboStamp Basic Software (A tutorial by ) The Robostamp robotic kit is one of the robots used as standard in the workshops. Two versions can be built up: the izebot and the RoboTank. The Robostamp can

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2 Chapter 5 Table of Contents Chapter 5: Communications 5 1 SR55 Communications Overview 5 2 Modbus Serial Communications Overview 5 2 Modbus TCP Network Communications Overview 5 2 EtherNet/IP Network Communications

More information

RS232-ADC16/24 Manual

RS232-ADC16/24 Manual RS232-ADC16/24 Manual Version 1.11 Copyright taskit GmbH 2009 www.taskit.de Page 1/22 Table of contents 1 Features...3 2 Introduction...3 3 Bringing into service...4 4 Application Sample...5 5 Frame layout...6

More information

C:\Users\Jacob Christ\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

C:\Users\Jacob Christ\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx ELEC 74 Worksheet 1 Logic Gate Review 1. Draw the truth table and schematic symbol for: a. An AND gate b. An OR gate c. An XOR gate d. A NOT gate ELEC74 Worksheet 2 (Number Systems) 1. Convert the following

More information

IS-Dev Kit-7 & 7D User s Manual

IS-Dev Kit-7 & 7D User s Manual IS-Dev Kit-7 (ISC15ANP4) IS-Dev Kit-7 & 7D User s Manual Revision A Firmware Version 2.4 IS-Dev Kit-7D (ISC01P) NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655)

More information

SCA8X0-21X Demo Kit User Manual. Doc.Nr C

SCA8X0-21X Demo Kit User Manual. Doc.Nr C SCA8X0-21X0-3100 Demo Kit TABLE OF CONTENTS SCA8X0-21X0-31X0 DEMO KIT 1 Introduction...3 2 Quick start for using the SCA8X0-21X0-31X0 DEMO KIT...3 3 Hardware...4 4 GUI software...4 4.1 Resetting GUI and

More information

Introduction to Embedded System I/O Architectures

Introduction to Embedded System I/O Architectures Introduction to Embedded System I/O Architectures 1 I/O terminology Synchronous / Iso-synchronous / Asynchronous Serial vs. Parallel Input/Output/Input-Output devices Full-duplex/ Half-duplex 2 Synchronous

More information

Dual-axis Electronic Digital Magnetic Compass Module User s Guide

Dual-axis Electronic Digital Magnetic Compass Module User s Guide Dual-axis Electronic Digital Magnetic Compass Module User s Guide 2004-2011 Sure Electronics Inc. MB-SM15114_Ver1.0 Table of Contents Chapter 1. UART Communication Protocol...1 1.1 Parameter Settings...

More information

BV4501 IASI Twin Relay. Product specification. December 2008 V0.a. ByVac Page 1 of 12

BV4501 IASI Twin Relay. Product specification. December 2008 V0.a. ByVac Page 1 of 12 IASI Twin Relay Product specification December 2008 V0.a ByVac Page 1 of 12 Contents 1. Introduction...4 2. Features...4 3. Electrical Specification...4 4. Factory Reset...4 5. IASI Command set...5 5.1.

More information

C:\Users\jacob\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

C:\Users\jacob\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx ELEC 74 Worksheet 1 Logic Gate Review 1. Draw the truth table and schematic symbol for: a. An AND gate b. An OR gate c. An XOR gate d. A NOT gate ELEC74 Worksheet 2 (Number Systems) 1. Convert the following

More information

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

[WIR-1286]868MHz LORA Wireless Module.   Page 1. LORA 868MHz Wireless serial link [WIR-1286] [WIR-1286]868MHz LORA Wireless Module http://www.robokitsworld.com Page 1 Contents 1) Features:... 4 2) Block Diagram..... 3) Description:... 4 4) PIN Configurations... 4 5) Module Specifications:... 5

More information

Home Automation, Inc. Omni-Link. Serial Protocol Description

Home Automation, Inc. Omni-Link. Serial Protocol Description Home Automation, Inc. Omni-Link Serial Protocol Description This document contains the intellectual property of Home Automation, Inc. (HAI). HAI authorizes the use of this information for the sole purpose

More information

AMS0805-WAH Utility Software Guide

AMS0805-WAH Utility Software Guide AMS0805-WAH Utility Software Guide Version 1.0 Amosense Co., Ltd. 17-2 Jamwon-dong, Seocho-gu Seoul 137-902 Korea Tel: +82-2-544-1351 Fax: +82-2-517-7183 *Specification are subject to change without prior

More information

EDBG. Description. Programmers and Debuggers USER GUIDE

EDBG. Description. Programmers and Debuggers USER GUIDE Programmers and Debuggers EDBG USER GUIDE Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging

More information

AXE131 OLED/LCD DRIVER KIT

AXE131 OLED/LCD DRIVER KIT AXE131 OLED/LCD DRIVER KIT AXE131 Serial Driver Kit (no display supplied) AXE131Y Serial OLED Kit (8x2 yellow on black OLED display) Introduction: The serial OLED/LCD module allows PICAXE microcontroller

More information

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies 1 Table of Contents 1 Getting Started... 3 Help Contents... 3 Overview... 3 2 Device Setup... 3 Device Setup... 3 Cable Diagram... 4 Modem

More information

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES Microcomputer/Controller Featuring the Philips LPC2106 FEATURES Powerful 60 MHz, 32-bit ARM processing core. Pin compatible with 24 pin Stamp-like controllers. Small size complete computer/controller with

More information

OLED Engineering Kits User Manual

OLED Engineering Kits User Manual OLED Engineering Kits User Manual Revision C Firmware Version 1.X NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655) Phone 480-991-0942 Fax 480-998-1435 e-mail

More information

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3 USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3 CONTENTS 1 INTRODUCTION... 3 2 INTERFACE DESIGN... 4 2.1 Connectivity... 5 2.2 Analog Interface... 6 2.3 I 2 C Interface... 7 2.4 I 2 C Operations...

More information

EEM336 Microprocessors I. I/O Interface

EEM336 Microprocessors I. I/O Interface EEM336 Microprocessors I I/O Interface Introduction Basic I/O interface Handshaking process Serial and Parallel communication I/O interface examples 2 Chapter Objectives Upon completion of this chapter,

More information

AXE033 SERIAL/I2C LCD & CLOCK

AXE033 SERIAL/I2C LCD & CLOCK AXE033 SERIAL/I2C LCD & CLOCK The serial LCD and clock module allows microcontroller systems (e.g. PICAXE) to visually output user instructions or readings, without the need for a computer. This is especially

More information

Learn how to communicate

Learn how to communicate USART 1 Learn how to communicate Programmed I/O (Software Polling) Interrupt Driven I/O Direct Memory Access (DMA) 2 Programmed I/O (Polling) Processor must read and check I/O ready bits for proper value

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

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

Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4465 Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4465 Keywords: MAXQ, MAXQ610, UART, USART, serial, serial port APPLICATION NOTE 4465 Using the Serial Port on the

More information

Tag Interface. 1. Introduction. 2. Control Modes. Olufemi Omojola, Rich Fletcher Physics and Media Group MIT Media Lab, January 2000

Tag Interface. 1. Introduction. 2. Control Modes. Olufemi Omojola, Rich Fletcher Physics and Media Group MIT Media Lab, January 2000 Tag Interface Olufemi Omojola, Rich Fletcher Physics and Media Group MIT Media Lab, January 2000 1. Introduction The concept of a common control model for all tag readers is targeted towards a single interface

More information

Max. Shock Acc. :147 m/s{15g} Time: 11ms Pulse Wave: Half Since Wave Pulse (3 times in X,Y,Z) IEC IEC Fast Transient Power Module

Max. Shock Acc. :147 m/s{15g} Time: 11ms Pulse Wave: Half Since Wave Pulse (3 times in X,Y,Z) IEC IEC Fast Transient Power Module FEATURES Multi Drop Configuration of up to 32 units Baud Rates Ranging from 300 to 38,400bps 1:1 /1:N / N:M (RS-422) Communication is Supported Supports Full-Duplex (RS-422) and Half-Duplex (RS-485) Built-in

More information

Use the BS1 s Debug Output For Stamp-PC Communication

Use the BS1 s Debug Output For Stamp-PC Communication Stamp Applications no. 20 (October 96): Use the BS1 s Debug Output For Stamp-PC Communication Plus a big-digit clock demo for the BASIC Stamp II by Scott Edwards GIVE ME ONE MORE PIN! That seems to be

More information

VS-LC101/ VS-LC102 RS-232 command set

VS-LC101/ VS-LC102 RS-232 command set VS-LC101/ VS-LC102 RS-232 command set No Issue Date Description Apply Firmware 1 2015/09/14 First version. v3.1.5.28 2 2018/04/27 1. RS-232 command(control Protocol) will respond ACK 2. RC pass-through

More information

You designed a board with the MAX3420E hooked to your favorite microcontroller. You fire it up, plug into USB, and...nothing. What now? Read on.

You designed a board with the MAX3420E hooked to your favorite microcontroller. You fire it up, plug into USB, and...nothing. What now? Read on. Maxim > Design Support > Technical Documents > Application Notes > Interface Circuits > APP 3663 Keywords: USB,MAX3420E,Debug,Connector,Checklist APPLICATION NOTE 3663 Bringing Up a MAX3420E System Oct

More information

APPLICATION NOTE 5306 Programming Baud Rates of the MAX3108 UART

APPLICATION NOTE 5306 Programming Baud Rates of the MAX3108 UART Maxim > Design Support > Technical Documents > Application Notes > Interface Circuits > APP 5306 Keywords: UART, RS232, RS485, SPI, I2C, half duplex, HDX, full duplex, FDX, WLP, wafer level package, FIFO,

More information

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform. Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project

More information

These three counters can be programmed for either binary or BCD count.

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

Installation and Programming Manual. Niobrara Research & Development Corporation P.O. Box 3418 Joplin, MO USA

Installation and Programming Manual. Niobrara Research & Development Corporation P.O. Box 3418 Joplin, MO USA DUCM DF1 Manual DUCM DF1 Installation and Programming Manual This manual describes the DUCM application for interfacing DF1 slaves to a Modbus or RNIM serial network. Effective: February 16, 2017 Niobrara

More information

Column #119: Ping I See You. Column #119 March 2005 by Jon Williams: Ping I See You

Column #119: Ping I See You. Column #119 March 2005 by Jon Williams: Ping I See You Column #119 March 2005 by Jon Williams: Ping I See You I used to work for a man named Bob who insisted and quite frequently that most of us needed to be exposed to the same piece of information five to

More information

Common Computer-System and OS Structures

Common Computer-System and OS Structures Common Computer-System and OS Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Oct-03 1 Computer-System Architecture

More information

Design and Implementation Interrupt Mechanism

Design and Implementation Interrupt Mechanism Design and Implementation Interrupt Mechanism 1 Module Overview Study processor interruption; Design and implement of an interrupt mechanism which responds to interrupts from timer and UART; Program interrupt

More information

8051 Timers and Serial Port

8051 Timers and Serial Port 8051 Timers and Serial Port EE4380 Fall 2001 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Timer: Mode 1 Operation (recap) 16 bit counter. Load the

More information

M500 Smart Modem. User s Reference Manual

M500 Smart Modem. User s Reference Manual M500 Smart Modem User s Reference Manual Software Version 1.2.3 January 23, 2007 Copyright 1997-2007 Micro-Comm, Inc. Table Of Contents Introduction...3 Allen-Bradley DF1 and Modbus Protocol Support...4

More information

TrackPoint Engineering Specification Version 4.0 Serial Supplement

TrackPoint Engineering Specification Version 4.0 Serial Supplement TrackPoint Engineering Specification Version 4.0 Serial Supplement B. Olyha CSS Electronic Engineering J. Rutledge Mathematical Sciences Originator Contacts Bob Olyha IBM T. J. Watson Research Center Route

More information

ETH to 232 (A) User Manual

ETH to 232 (A) User Manual ETH to 232 (A) User Manual ETH to 232 (A) is data transparent transmission equipment for convert TCP or UDP socket data to RS232, small size, low power, powered by ARM processors, high speed, high Stability.

More information

Serial Communications

Serial Communications 1 Serial Interfaces 2 Embedded systems often use a serial interface to communicate with other devices. Serial Communications Serial implies that it sends or receives one bit at a time. Serial Interfaces

More information

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 1/24/2011

RN-174. WiFly GSX Super Module. Features. Description. Applications.   rn-174-ds v1.1 1/24/2011 www.rovingnetworks.com rn-174-ds v1.1 1/24/2011 WiFly GSX Super Module Features Development board containing the RN-171 module, status LEDs, power regulator Supports chip antenna (-C), PCB Trace antenna

More information

ENGR PBASIC programming

ENGR PBASIC programming ENGR 1100 PBASIC programming Variables Why variables? To store values, Why store variables? To count, Why count? To control and keep track of the number of times something happens Variables Variables can

More information

YOU WILL NOT BE ALLOWED INTO YOUR LAB SECTION WITHOUT THE REQUIRED PRE-LAB.

YOU WILL NOT BE ALLOWED INTO YOUR LAB SECTION WITHOUT THE REQUIRED PRE-LAB. Page 1/5 Revision 2 OBJECTIVES Learn how to use SPI communication to interact with an external IMU sensor package. Stream and plot real-time XYZ acceleration data with USART to Atmel Studio s data visualizer.

More information

C1098 JPEG Module User Manual

C1098 JPEG Module User Manual C1098 JPEG Module User Manual General Description C1098 is VGA camera module performs as a JPEG compressed still camera that can be attached to a wireless or PDA host. Users can send out a snapshot command

More information

Logosol Joystick Node LS-731

Logosol Joystick Node LS-731 Features 2 and 3 axis models Travel ±20 deg Non contact hall effect joystick Mechanical MTBF 15,000,000 cycles 3 pushbuttons Up to 2 stick pushbuttons 8 LEDs Member of Logosol s distributed motion control

More information

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 3/3/2011

RN-174. WiFly GSX Super Module. Features. Description. Applications.   rn-174-ds v1.1 3/3/2011 www.rovingnetworks.com rn-174-ds v1.1 3/3/2011 WiFly GSX Super Module Features Development board containing the RN-171 module, status LEDs, power regulator Supports chip antenna (-C), PCB Trace antenna

More information

Homework 9: Software Design Considerations

Homework 9: Software Design Considerations Homework 9: Software Design Considerations Team Code Name: Mind Readers Group No. 2 Team Member Completing This Homework: Richard Schuman E-mail Address of Team Member: _rschuman_ @ purdue.edu Evaluation:

More information

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this? Introduction the Serial Communications Huang Sections 9.2, 10.2, 11.2 SCI Block User Guide SPI Block User Guide IIC Block User Guide o Parallel vs Serial Communication o Synchronous and Asynchronous Serial

More information

Tutorial Introduction

Tutorial Introduction Tutorial Introduction PURPOSE: This tutorial describes the key features of the DSP56300 family of processors. OBJECTIVES: Describe the main features of the DSP 24-bit core. Identify the features and functions

More information

revolution GETTING STARTED Appendix H - Frequently Asked Questions (FAQ). Section 1 92

revolution GETTING STARTED Appendix H - Frequently Asked Questions (FAQ).  Section 1 92 Section 1 92 Appendix H - Frequently Asked Questions (FAQ). Where can I purchase PICAXE microcontrollers? All microcontrollers can be purchased from within the PICAXE section of the online store at www.tech-supplies.co.uk

More information