EEL 4924 Electrical Engineering Design. (Senior Design) FINAL REPORT. 18 April Project Name: Automatic Camber Adjustment System

Size: px
Start display at page:

Download "EEL 4924 Electrical Engineering Design. (Senior Design) FINAL REPORT. 18 April Project Name: Automatic Camber Adjustment System"

Transcription

1 EEL 4924 Electrical Engineering Design (Senior Design) FINAL REPORT 18 April 2011 Project Name: Team Members: Name: Nick Tseng Name: Michael Liss Project Abstract: The objective of our project was to develop a system that can automatically adjust the camber of an automobile; the camber was adjusted based on tire temperatures. A thermal sensing module consisting of three infrared non-contact thermometers was constructed to provide the inputs for the system. A PIC microcontroller was used to recognize the difference between the inner and outer tire temperatures and adjust the camber angle. A linear actuator was used to provide the force necessary to achieve this optimal camber.

2 Page 2/29 Table of Contents: Introduction 3 The Problem 4 The Solution 4 System Prototype 5 System Communications 6 Installation 7 Areas Targeted for Improvement 8 Conclusion 9 References 10 Code 11 List of Figures: Figure 1: Example of negative camber... 3 Figure 2: System flow chart... 5 Figure 3: Snapshot of LCD... 6 Figure 4: System Prototype... 6 Figure 5: Conceptualization of system... 7 Figure 6: PCB design of system... 7

3 Page 3/29 Introduction: Wheel alignment plays a critical role in setting the handling and stability characteristics of a vehicle. While most consumers overlook the importance of tuning wheel alignment, racecar teams invest significant time and money to ensure optimal alignment. At high speeds, minor adjustments in alignment can significantly impact the tires ability to grip the road. The major angle being addressed by this project is camber. Camber is the angle made between the vertical axis of the wheel and the axis perpendicular to the ground surface (Figure 1). The camber of a vehicle comes into play during high velocity turns; as the vehicle accelerates through a turn, a horizontal force is exerted onto the wheels.. Figure 1: Example of negative camber

4 Page 4/29 The Problem: Measuring the inside, center, and outside temperature of each tire has become the norm in researching the effects of wheel alignment. The problem lies in capturing the temperature data. The typical process involves running test laps, stopping the vehicle, and measuring the tire temperature with a thermal probe which must make physical contact with the tire surface. This process is inaccurate because during the time required to reach the vehicle and capture data the tire temperature will drop. Furthermore, adjusting the camber of a vehicle is currently a manual process. A mechanic must rotate the camber rod with a tool to manipulate the angle; the current method basically employs a trial and error technique to optimize the alignment. The Solution: The inaccuracies caused by delayed measurement can be reduced by integrating non-contact thermal sensors into the vehicle. Coupling the sensors with Xbees allow racing teams to monitor the tire temperatures without stopping the vehicle. The information captured by the IR sensors will also be used to control a powerful linear actuator mounted on the vehicle. The actuators role is to change the camber of the vehicle by compressing or expanding the camber rod. This addition allows the vehicle wheel alignment to adjust/respond to the driving environment in real time.

5 Page 5/29 System Prototype: The current system is comprised of the following main components: IR sensors, PIC microcontroller, Xbee wireless chips, and a linear actuator (Figure 2). The source code is provided at the end of this report. PIC18 Figure 2: System flow chart

6 Page 6/29 System Communications: I 2 C I 2 C is a two wire interface communication protocol that was used to establish a link between the microcontroller and the IR sensors. I 2 C protocol was selected because of its ability to communicate with multiple slave devices using a single data line. UART The sensors return the temperature data in the form of a 15 bit binary number which the PIC converts into temperature readings by dividing and subtracting from the original value. The three temperature readings are sent to the Xbee using the transmitting line of the PIC s UART. The serial communication runs at 9,600bps to match the default 9,600bps speed of the Xbee modules. PWM The actuator is controlled through pulse width modulation. Altering the percent duty cycle of the PWM square wave changes the percent arm extension accordingly. In manual mode, the duty cycle is controlled by a potentiometer connected to the ADC port on the PIC. In automatic mode, the duty cycle increases by approximately 2% every second until the temperature differential across the tire is nulled. Figure 3: Snapshot of LCD Figure 4: System Prototype

7 Page 7/29 Installation: Mounting the sensors onto the suspension ensures the tire will always stay within the sensors line of sight (Figure 5), at a consistent distance. Insulating the system from the vehicle is crucial to prevent malfunctions due to overheating. Although lightweight packaging is desirable, the system s housing also needs to be robust enough to deflect flying debris kicked up from the tire. Actuator Figure 5: Conceptualization of system Figure 6: PCB design of system

8 Page 8/29 Areas Targeted for Improvement: Throughout the development process, several areas in need of improvement have been revealed: Increased range the 1mW Xbee modules lacks the range to transmit information to nearby engineering teams. A more powerful module is necessary to establish reliable wireless communication. Field of view - the current IR sensors being used have a 90 degree field of view. A sensor with a more focused viewing angle could also be positioned farther away from the tire. Ambient temperature the current sensors cannot produce accurate measurements when exposed to ambient temperatures above 85 degrees Celsius. A similarly priced product was later discovered with a larger operating ambient temperature range, up to 125 degrees Celsius. This upgrade would reduce the sensors sensitivity to the heat generated by the racecar. Real time clock right now the system uses the microprocessor s internal oscillator to count seconds. However, because the PIC is running several different processes simultaneously, the period between clock cycles is inconsistent. Over a long period, the real time clock will fail to accurately reflect elapsed time. External devices with dedicated counters are available to improve time keeping abilities in electronics. Such a device should be adopted in a future design. Thermal insulation the thermal packaging was never created for the current design. The system s housing needs to be developed and tested before the system can be installed onto a vehicle. More powerful actuator Obviously a more powerful actuator will need to be used in real world applications. The actuator used in this project was sufficient only for demonstration purposes.

9 Page 9/29 Conclusion: A new system for tuning vehicle camber is on the verge of revolutionizing the traditional methods. Once a concrete system is introduced into the racing market, the technology will quickly evolve and improve. Implementing the design modifications described will help improve the systems operating accuracy and capability. These improvements will move the prototype one step closer to the consumer market. As with any new technology, additional testing and refining is required before the system can become a viable alternative to the current practices in tuning vehicle camber.

10 Page 10/29 References: 1- "MLX90614ESF Datasheet." Web. Jan < AAA.html>. 2- "PIC18LF46k22 Datasheet." Microchip Technology Inc. Web. Jan < 3- "Wheel and Tire Characteristics." RACELINE CENTRAL. Web. Feb < 4- "L12 Datasheet." Firgelli Technologies. Web. 11 Feb <

11 Page 11/29 Code: #include <p18lf46k22.h> #include <delays.h> #include <pwm.h> #include <i2c.h> #include <usart.h> #include <stdio.h> #include <pconfig.h> #define LINEAR //use linearized readings #pragma config FOSC = INTIO67 #pragma config LVP = OFF #pragma config WDTEN = OFF #define input PORTAbits.RA6 //#define IN1 PORTDbits.RD0 //#define IN2 PORTDbits.RD1 //#define IN3 PORTDbits.RD2 //#define LED PORTDbits.RD3 #define ADDR1 0x20 #define ADDR2 0x22 #define ADDR3 0x24 #define SUCCESS 0 #defineerror 1 char x; unsigned char sensor_addr[3]; float T_ambient[3]; float T_sensor[3]; //general purpose temp int adc_result=102; //used for extracting value from adc int t; //used to display angle int fudge; int time=0; int i; int min=0; int hour=0; int temp0; int temp1; int temp2; int MLX_read(unsigned char,unsigned char); //reads 16 bits from MLX device at addr/register void SetDCPWM1(unsigned int); //sets duty cycle void UpdateTemps(void); //update the 6 temperature readings

12 Page 12/29 void Print(unsigned int); void main() { char temp[7], counter,n; sensor_addr[0] = ADDR1; sensor_addr[1] = ADDR2; sensor_addr[2] = ADDR3; //clear out the temperature array for(n=0; n<3; n++) { T_ambient[n] = 0; T_sensor[n] = 0; //print temperature to LCD ANSELC = 0b ; //Port C is digital IO (not A/D) (I2C will not work if ANSEL bits hi) OSCCONbits.IRCF0 = 1; OSCCONbits.IRCF1 = 1; OSCCONbits.IRCF2 = 1; //16Mhz internal oscillator TRISCbits.TRISC2=0; //set output pin for PWM TRISAbits.TRISA6=1; //set A6 pin to input used to switch between auto and man. ADCON0=0b ; // ADC port channel 3 (AN3), Enable ADC ADCON1=0b ; // Use Internal Voltage Reference (Vdd and Vss) ADCON2=0b ; // used for adc DDRCbits.RC3 = 1; //Configure SCL //as Input DDRCbits.RC4 = 1; //Configure SDA //as Input SSP1STAT = 0xC0; //Enable SMBus & //Disablw Slew Rate Control SSP1CON1 = 0x28; //Enable MSSP Master SSP1ADD = 0xC7; //Should be 0xC7 //for 20kHz w/ 16MHz Fosc // SSP1ADD = 0x27; //Should be 0x27 //for 100kHz w/ 16MHz Fosc SSP1CON2 = 0x00; //Clear MSSP Conrol Bits

13 Page 13/29 BAUDCON1bits.BRG16 = 0; // use 16 bit baud rate Open1USART(USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_LOW & USART_ASYNCH_MODE & USART_ADDEN_OFF, 25); //open usart port 1 while (!OSCCONbits.HFIOFS); //wait for oscillator stabilization PR2 = 0b ; //don't touch!!! for pwm T2CON = 0b ; //don't touch!!! for pwm CCP1CON = 0b ; //bit 4 and 5 are LS bits keep bits 4 and 5 at 0 and 0 for pwm Delay10KTCYx(0); Delay10KTCYx(130); Delay10KTCYx(0); Delay10KTCYx(130); Delay10KTCYx(0); Delay10KTCYx(130); Delay10KTCYx(0); Delay10KTCYx(130); putc1usart(0x00);// clear LCD putc1usart('i'); putc1usart('n'); putc1usart('s'); putc1usart('i'); putc1usart('d'); putc1usart('e'); putc1usart(0x75); //move to right putc1usart('o');

14 Page 14/29 putc1usart('u'); putc1usart('t'); putc1usart('s'); putc1usart('i'); putc1usart('d'); putc1usart('e'); putc1usart(0x7c); putc1usart(0x0f); putc1usart(55); putc1usart(0x70); putc1usart(0x65); putc1usart(0x05); //draw box while(1){ while(input==1)//main loop { ADCON0bits.GO=1; // for adc while (ADCON0bits.GO); // for adc adc_result=adres; adc_result = adc_result/5; SetDCPWM1(adc_result); t = adc_result/10; t=t-10; UpdateTemps(); //Update the temperature readings putc1usart(140); //move to top

15 Page 15/29 putc1usart(0x43); //move to center sprintf(temp,"%3d'",t); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; //write pwm value to LCD putc1usart(65); //move to middle putc1usart(0x05); //move to left Print(2); putc1usart(65); //move to middle putc1usart(0x43); //move to center Print(0);

16 Page 16/29 putc1usart(65); //move to middle putc1usart(0x80); //move to right Print(1); putc1usart(30); //move to bottom putc1usart(0x23); //move to right sprintf(temp,"%3d ",hour); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; sprintf(temp,":%3d ",min); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; sprintf(temp,":%3d ",time); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]);

17 Page 17/29 counter++; //write outside time value to LCD Delay10KTCYx(0); Delay10KTCYx(120); if(time==59){ time=-1; min++; if(min==59){ min=0; time=-1; hour++; time++; Delay10KTCYx(10); //end main loop while(input==0){ for(i=0; i<1; i++){ UpdateTemps(); putc1usart(140); //move to top putc1usart(0x43); //move to center fudge=adc_result/10; fudge=fudge-10; sprintf(temp,"%3d'",fudge); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; //write pwm value to LCD

18 Page 18/29 putc1usart(65); //move to middle putc1usart(0x05); //move to left Print(2); putc1usart(65); //move to middle putc1usart(0x43); //move to center Print(0); putc1usart(65); //move to middle putc1usart(0x80); //move to right

19 Page 19/29 Print(1); putc1usart(30); //move to bottom putc1usart(0x23); //move to right sprintf(temp,"%3d ",hour); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; sprintf(temp,":%3d ",min); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; sprintf(temp,":%3d ",time); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; //write outside time value to LCD Delay10KTCYx(0); Delay10KTCYx(130); if(time==59){ time=-1; min++; if(min==59){ min=0; time=-1;

20 Page 20/29 hour++; time++; //1secloop UpdateTemps(); temp0=t_sensor[0]; temp1=t_sensor[1]; temp2=t_sensor[2]; if(temp1==temp2){ else if(temp1>(temp2+1)){ if(adc_result>5){ adc_result=adc_result-5; else if(temp2>(temp1+1)){ if(adc_result<199){ adc_result=adc_result+5; SetDCPWM1(adc_result); putc1usart(30); //move to bottom putc1usart(0x23); //move to right sprintf(temp,"%3d ",hour); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; sprintf(temp,":%3d ",min); counter=0;

21 Page 21/29 while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; sprintf(temp,":%3d ",time); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; //write outside time value to LCD putc1usart(140); //move to top putc1usart(0x43); //move to center fudge=adc_result/10; fudge=fudge-10; sprintf(temp,"%3d'",fudge); counter=0; while(temp[counter]!='\0'){ while(busy1usart()); putc1usart(temp[counter]); counter++; //write pwm value to LCD putc1usart(65); //move to middle

22 Page 22/29 putc1usart(0x05); //move to left Print(2); putc1usart(65); //move to middle putc1usart(0x43); //move to center Print(0); putc1usart(65); //move to middle putc1usart(0x80); //move to right Print(1); putc1usart(30); //move to bottom

23 Page 23/29 putc1usart(0x23); //move to right Delay10KTCYx(0); Delay10KTCYx(130); if(time==59){ time=-1; min++; if(min==59){ min=0; time=-1; hour++; time++; void SetDCPWM1(unsigned int dutycycle) { union PWMDC DCycle; DCycle.lpwm = dutycycle << 6; CCPR1L = DCycle.bpwm[1]; CCP1CON = (CCP1CON & 0xCF) ((DCycle.bpwm[0] >> 2) & 0x30); void UpdateTemps(void) { unsigned char n; for(n=0; n<3; n++) { #ifdef RAW T_ambient[n] = MLX_read(sensor_addr[n],0x03); //read ambient from T_sensor[n] = MLX_read(sensor_addr[n],0x04); #endif #ifdef LINEAR T_ambient[n] = MLX_read(sensor_addr[n],0x06); //read ambient from T_sensor[n] = MLX_read(sensor_addr[n],0x07); T_sensor[n]=T_sensor[n]/50.0;

24 Page 24/29 #endif T_sensor[n]=T_sensor[n]-273.0; int MLX_read(unsigned char dev_addr, unsigned char reg_addr) { unsigned char status, data, result_l=0, result_h=0, sign; unsigned int temp; int result; sign = 0; dev_addr = dev_addr<<1; //adjust for RW bit IdleI2C1(); //check for bus idle condition (should always be idle) StartI2C1(); //Send Start bit data = SSP1BUF; //read any previous stored content in buffer to clear buffer full status //****write the address of the device for communication*** do { status = WriteI2C1(dev_addr); //write the address of slave if(status == -1) //check bus { data = SSPBUF; SSP1CON1bits.WCOL=0; while(status!=0); //write until successful communication temp=1; //debug WriteI2C1( reg_addr ); // Write the command (read location) temp=1; //debug IdleI2C1(); // ensure module is idle RestartI2C1(); //repeated start bit // WriteI2C1(dev_addr 0x01); //Send Address with read set WriteI2C1(dev_addr); //Send Address without (Melexis ignores bit anyway) IdleI2C1(); // idle result_l = ReadI2C1(); //read low byte AckI2C1(); //ACK result_h = ReadI2C1(); //read high byte AckI2C1(); //ACK status = ReadI2C1(); //read CRC (but ignore) AckI2C1(); //ACK IdleI2C1(); // ensure module is idle StopI2C1(); // send STOP condition while ( SSP1CON2bits.PEN ); // wait until stop condition is over

25 Page 25/29 #ifdef RAW if(result_h & 0x80) sign = 1; complement) result_h = (result_h & 0x7F); temp = result_h; temp= temp<<8; temp = (temp result_l); result = temp; if(sign) result = 0-result; #endif //get sign bit (device uses sign + magnitude, not 2s //strip sign bit //this is the 16 bit magnitude //change to signed #ifdef LINEAR temp = result_h; temp= temp<<8; temp = (temp result_l); result = temp; #endif //data already in OK format return(result); void Print( unsigned int sensor) { if (T_sensor[sensor] < 100){ TXREG1=(' '); //output 't' to LCD one digit at a time else if (T_sensor[sensor] < 200){ TXREG1=('1'); T_sensor[sensor] = T_sensor[sensor] - 100; if (T_sensor[sensor] < 10){ TXREG1=('0'); else if (T_sensor[sensor] < 20){ TXREG1=('1'); T_sensor[sensor] = T_sensor[sensor] - 10; else if (T_sensor[sensor] < 30){ TXREG1=('2'); T_sensor[sensor] = T_sensor[sensor] - 20; else if (T_sensor[sensor] < 40){ TXREG1=('3');

26 Page 26/29 T_sensor[sensor] = T_sensor[sensor] - 30; else if (T_sensor[sensor] < 50){ TXREG1=('4'); T_sensor[sensor] = T_sensor[sensor] - 40; else if (T_sensor[sensor] < 60){ TXREG1=('5'); T_sensor[sensor] = T_sensor[sensor] - 50; else if (T_sensor[sensor] < 70){ TXREG1=('6'); T_sensor[sensor] = T_sensor[sensor] - 60; else if (T_sensor[sensor] < 80){ TXREG1=('7'); T_sensor[sensor] = T_sensor[sensor] - 70; else if (T_sensor[sensor] < 90){ TXREG1=('8'); T_sensor[sensor] = T_sensor[sensor] - 80; else if (T_sensor[sensor] <100){ TXREG1=('9'); T_sensor[sensor] = T_sensor[sensor] - 90; if (T_sensor[sensor] < 1){ TXREG1=('0'); TXREG1=('.'); else if (T_sensor[sensor] < 2){ TXREG1=('1'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-1; else if (T_sensor[sensor] < 3){ TXREG1=('2');

27 Page 27/29 TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-2; else if (T_sensor[sensor] <4){ TXREG1=('3'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-3; else if (T_sensor[sensor] <5){ TXREG1=('4'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-4; else if (T_sensor[sensor] <6){ TXREG1=('5'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-5; else if (T_sensor[sensor] <7){ TXREG1=('6'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-6; else if (T_sensor[sensor] <8){ TXREG1=('7'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-7; else if (T_sensor[sensor] <9){ TXREG1=('8'); TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-8; else if (T_sensor[sensor] <10){ TXREG1=('9');

28 Page 28/29 TXREG1=('.'); T_sensor[sensor]=T_sensor[sensor]-9; if (T_sensor[sensor] < 0.1){ TXREG1=('0'); else if (T_sensor[sensor] < 0.2){ TXREG1=('1'); else if (T_sensor[sensor] < 0.3){ TXREG1=('2'); else if (T_sensor[sensor] <0.4){ TXREG1=('3'); else if (T_sensor[sensor] <0.5){ TXREG1=('4'); else if (T_sensor[sensor] <0.6){ TXREG1=('5'); else if (T_sensor[sensor] <0.7){ TXREG1=('6'); else if (T_sensor[sensor] <0.8){ TXREG1=('7'); else if (T_sensor[sensor] <0.9){ TXREG1=('8'); else if (T_sensor[sensor] ==0.9){ TXREG1=('9');

29 Page 29/29

Final Design Report 19 April Project Title: Pneumatic Exercise Machine

Final Design Report 19 April Project Title: Pneumatic Exercise Machine EEL 4924 Electrical Engineering Design (Senior Design) Final Design Report 19 April 2011 Project Title: Pneumatic Exercise Machine Team Members: Gino Tozzi Seok Hyun John Yun Project Abstract The goal

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING. EE Microcontroller Based System Design

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING. EE Microcontroller Based System Design DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6008 - Microcontroller Based System Design UNIT III PERIPHERALS AND INTERFACING PART A 1. What is an

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

Usage of the D6T-44L / D6T-8L Thermal sensor

Usage of the D6T-44L / D6T-8L Thermal sensor Application Note 01 Usage of the D6T-44L / D6T-8L Thermal sensor Copyright 2012 OMRON Corporation. All Rights Reserved. 1 1.Connecting to MCU Outer View I/O PIN GND Ground VCC 5V +/-10% SDA I2C(5V) Data

More information

Implementation of Temperature Sensor on PICM4520 Microcontroller

Implementation of Temperature Sensor on PICM4520 Microcontroller Implementation of Temperature Sensor on PICM4520 Microcontroller Application Note Brad Pasbjerg Design Team 7 March 30 th, 2012 1 Table of Contents Cover... 1 Table of Contents... 2 Abstract... 3 Keywords...

More information

GPS Reader. Figure 1: RMC NEMA Tag Definition

GPS Reader. Figure 1: RMC NEMA Tag Definition Douglas Guardino GPS Reader In this project a PIC 18F452 will be used to get one sentence from a GPS and make that sentence available to another PIC. This is done because the GPS puts out a bunch of sentences

More information

1. Features and Benefits

1. Features and Benefits 1. Features and Benefits Single die, low cost 16x4 pixels IR array Factory calibrated absolute PTAT temperature sensor for measuring die temperature Separate channel for connecting additional IR sensor

More information

KJ Joystick I 2 C Development Kit Programming and Application Note. Knowles Acoustics Maplewood Drive Itasca, IL 60143

KJ Joystick I 2 C Development Kit Programming and Application Note. Knowles Acoustics Maplewood Drive Itasca, IL 60143 Joystick I 2 C Development Kit Programming and Application Note KJ 33000 Installed within the Development Kit. Knowles Acoustics 1151 Maplewood Drive Itasca, IL 60143 Sheet 1 of 5 1. DESCRIPTION AND APPLICATION

More information

Using the I 2 C Interface on the ATmega328P and MC908JL16

Using the I 2 C Interface on the ATmega328P and MC908JL16 Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory Using the I 2 C Interface on the ATmega328P and MC908JL16 by Allan G. Weber 1 Introduction This document is

More information

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems MT2 Introduction Embedded Systems MT2.1 Mechatronic systems Mechatronics is the synergistic integration of mechanical engineering, with electronics and intelligent computer control in the design and manufacturing

More information

ADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C

ADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C Data Sheet 10 Channel Analog to Digital Converter with output via I 2 C Introduction Many microcontroller projects involve the use of sensors like Accelerometers, Gyroscopes, Temperature, Compass, Barometric,

More information

PIC Serial Peripheral Interface (SPI) to Digital Pot

PIC Serial Peripheral Interface (SPI) to Digital Pot Name Lab Section PIC Serial Peripheral Interface (SPI) to Digital Pot Lab 7 Introduction: SPI is a popular synchronous serial communication protocol that allows ICs to communicate over short distances

More information

Modern Robotics Inc. Sensor Documentation

Modern Robotics Inc. Sensor Documentation Sensor Documentation Version 1.0.1 September 9, 2016 Contents 1. Document Control... 3 2. Introduction... 4 3. Three-Wire Analog & Digital Sensors... 5 3.1. Program Control Button (45-2002)... 6 3.2. Optical

More information

Using an Analog Devices AD774X Capacitance-to-Digital Converter for Differential Button Sensor Operation

Using an Analog Devices AD774X Capacitance-to-Digital Converter for Differential Button Sensor Operation Using an Analog Devices AD774X Capacitance-to-Digital Converter for Differential Button Sensor Operation Eric Otte April 3 rd, 2010 ECE 480 Executive Summary: Capacitive sensors are increasingly being

More information

The MCU s Pulse. Internal clock or oscillator to synchronize operation. One clock cycle = 1 TOSC = 1/fOSC. t TOSC

The MCU s Pulse. Internal clock or oscillator to synchronize operation. One clock cycle = 1 TOSC = 1/fOSC. t TOSC The MCU s Pulse Internal clock or oscillator to synchronize operation V 0 t TOSC One clock cycle = 1 TOSC = 1/fOSC Clock Cycle The minimum time to perform any operation is one instruction cycle TCY 1 TCY

More information

The Cubesat Internal bus: The I2C

The Cubesat Internal bus: The I2C The Cubesat Internal bus: The I2C Description: The purpose of this document is to describe the internal bus on the Cubesat. The internal bus has been chosen to be the I2C bus Interconnected Integrated

More information

Lab 6 RS-232 Communication The following routines are provided for devices with a single USART peripheral:

Lab 6 RS-232 Communication The following routines are provided for devices with a single USART peripheral: Still More Lab 6 Considerations; Embedded System Power Issues; Project Information Lab 6 RS-232 Communication The following routines are provided for devices with a single USART peripheral: BusyUSART CloseUSART

More information

The I2C BUS Interface

The I2C BUS Interface The I 2 C BUS Interface ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.S.M. 1 Course What is I 2 C? I

More information

11.4 THE SERIAL PERIPHERAL INTERFACE (SPI)

11.4 THE SERIAL PERIPHERAL INTERFACE (SPI) Synchronous Serial IO 331 TRISC6 TRISC[6] Must be 0 so that RC6/TX/CK pin is an output. TRISC7 TRISC[7] Must be 1 so that RC7/RX/DT pin is an input. 11.4 THE SERIAL PERIPHERAL INTERFACE (SPI) The Serial

More information

Capture Mode of Pic18F252

Capture Mode of Pic18F252 Capture Mode of Pic18F252 PIC18F253 has two Capture/Compare/Pulse Width Modulation modules. Some devices such as ADCs, Sensors (position, velocity, accelearstion, temperature [MAX6577 converts the ambient

More information

SquareWear Programming Reference 1.0 Oct 10, 2012

SquareWear Programming Reference 1.0 Oct 10, 2012 Content: 1. Overview 2. Basic Data Types 3. Pin Functions 4. main() and initsquarewear() 5. Digital Input/Output 6. Analog Input/PWM Output 7. Timing, Delay, Reset, and Sleep 8. USB Serial Functions 9.

More information

Application note Differential Pressure Sensor Type D6F-PH (Rev 1.0)

Application note Differential Pressure Sensor Type D6F-PH (Rev 1.0) Application note Differential Pressure Sensor Type D6F-PH (Rev 1.0) Introduction This document provides application information for the thermal flow sensor. This is preliminary and may be changed without

More information

DS Wire Digital Thermometer and Thermostat

DS Wire Digital Thermometer and Thermostat www.maxim-ic.com FEATURES Temperature measurements require no external components with ±1 C accuracy Measures temperatures from -55 C to +125 C; Fahrenheit equivalent is -67 F to +257 F Temperature resolution

More information

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation Embedded systems Exercise session 3 Microcontroller Programming Lab Preparation Communications Contact Mail : michael.fonder@ulg.ac.be Office : 1.82a, Montefiore Website for the exercise sessions and the

More information

Microcontroller based Energy Recording and Data Transfer to Remote Computer in Distribution Network

Microcontroller based Energy Recording and Data Transfer to Remote Computer in Distribution Network 680 Microcontroller based Energy Recording and Data Transfer to Remote Computer in Distribution Network P. Supriya, R. Jayabarathi,T. N. P. Nambiar Abstract A novel method of recording energy at the consumer

More information

Fully Integrated Thermal Accelerometer MXC6225XU

Fully Integrated Thermal Accelerometer MXC6225XU Powerful Sensing Solutions for a Better Life Fully Integrated Thermal Accelerometer MXC6225XU Document Version 1.0 page 1 Features General Description Fully Integrated Thermal Accelerometer X/Y Axis, 8

More information

A0021. Overview. Features. Ordering Information. HSS Touch Signature IC 6 Input - I 2 C. Part Number Format: A X Y Z

A0021. Overview. Features. Ordering Information. HSS Touch Signature IC 6 Input - I 2 C. Part Number Format: A X Y Z VSS NC NC VDD SDA SENSOR 2 SENSOR 1 ADD1 HSS Touch Signature IC 6 Input - I 2 C A0021 Overview The patented AlSentis A0021 Touch IC is a complete 1 6 input touch sensing solution. It includes all signal

More information

Thermo 6 click PID: MIKROE-2769

Thermo 6 click PID: MIKROE-2769 Thermo 6 click PID: MIKROE-2769 Thermo 6 click is a precise and versatile ambient temperature measurement click board, based on the Maxim Integrated MAX31875 temperature sensor. This sensor has a great

More information

BV4205. I2C-10 Channel A to D. Product specification. January 2008 V0.a. ByVac Page 1 of 10

BV4205. I2C-10 Channel A to D. Product specification. January 2008 V0.a. ByVac Page 1 of 10 Product specification January 2008 V0.a ByVac Page 1 of 10 Contents 1. Introduction...4 2. Features...4 3. Physical Specification...4 3.1. Factory (hardware) reset...4 3.2. Analogue Inputs...4 3.3. Voltage

More information

KNJN I2C bus development boards

KNJN I2C bus development boards KNJN I2C bus development boards 2005, 2006, 2007, 2008 KNJN LLC http://www.knjn.com/ Document last revision on December 5, 2008 R22 KNJN I2C bus development boards Page 1 Table of Contents 1 The I2C bus...4

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point. V 2.3 Revised /23/18 OEM-ORP Embedded ORP Circuit Reads Range Response time ORP -19.9mV 19.9mV 1 reading every 420ms Supported probes Calibration Temp compensation Data protocol Default I 2 C address Operating

More information

IoTECH* *Internet of Things Extensible Car Hub. MDR Presentation

IoTECH* *Internet of Things Extensible Car Hub. MDR Presentation IoTECH* *Internet of Things Extensible Car Hub MDR Presentation The IoTECH Team Chris Ingerson CSE Nick Korniyenko EE Nigel Paine CSE Raghid Bahnam EE Prof. Jay Taneja Advisor IoTECH - Problem Statement

More information

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE AVAILABLE Digital Thermometer and Thermostat FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is -67

More information

DEV-1 HamStack Development Board

DEV-1 HamStack Development Board Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,

More information

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z Sensor5 ADD2 ADD1 SCL SDA Sensor6 Sensor7 Sensor1 Sensor0 Reset NC NC Sensor14 Sensor13 HSS Touch Signature IC 15 Input - I 2 C A0061 Overview The patented AlSentis A0061 Touch IC is a complete 1 15 input

More information

or between microcontrollers)

or between microcontrollers) : Communication Interfaces in Embedded Systems (e.g., to interface with sensors and actuators or between microcontrollers) Spring 2016 : Communication Interfaces in Embedded Systems Spring (e.g., 2016

More information

ARM HOW-TO GUIDE Interfacing I2C-7SEG with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing I2C-7SEG with LPC2148 ARM ARM HOW-TO GUIDE Interfacing I2C-7SEG with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Primer Board... 3 I2C (Inter Integrated Circuit)... 3 Seven Segment Display... 4 Interfacing I2C - Seven Segment

More information

Microcontrollers and Interfacing week 10 exercises

Microcontrollers and Interfacing week 10 exercises 1 SERIAL PERIPHERAL INTERFACE (SPI) HARDWARE Microcontrollers and Interfacing week 10 exercises 1 Serial Peripheral Interface (SPI) hardware Complex devices (persistent memory and flash memory cards, D/A

More information

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9 Product specification December 2008 V0.a ByVac 2006 ByVac Page 1 of 9 Contents 1. Introduction...3 2. Features...3 3. Electrical Specification...3 4. I2C set...4 5. The LCD Set...5 5.1. 1...5 5.2. 2...5

More information

Inter-Integrated Circuit Bus IIC I2C TWI

Inter-Integrated Circuit Bus IIC I2C TWI Inter-Integrated Circuit Bus IIC TWI Bus Synchronous, multi-master, multi-slave, packet switched, single ended serial bus Developed by Philips in the early 1980 s (prior to SPI) Intended for on-board communications

More information

USB-910H API DLL and Include File Reference Manual

USB-910H API DLL and Include File Reference Manual USB-910H API DLL and Include File Reference Manual APPLICABLE ADAPTERS This Application Note applies to the following Keterex products: KXUSB-910H. AN2101 Application Note INTRODUCTION The Keterex USB-910H

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

Specification E2 Interface

Specification E2 Interface Specification E2 Interface Version 4.1 Name Date Created: Robert Mayr. 15.04.2011 Checked: Haider A. 15.04.2011 Approved: Reason for change: Text corrections TABLE OF CONTENTS 1 INTRODUCTION... 3 1.1 Overview..................................................................................................................

More information

DS1625. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

DS1625. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT DS1625 Digital Thermometer and Thermostat FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is 67 F to

More information

ECE 4510/5530 Microcontroller Applications Week 10

ECE 4510/5530 Microcontroller Applications Week 10 ECE 4510/5530 Microcontroller Applications Week 10 Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences ECE 4510/5530

More information

Department of Electronics and Instrumentation Engineering Question Bank

Department of Electronics and Instrumentation Engineering Question Bank www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I

More information

Embedded Systems Module. 6EJ505. C Tutorial 3: using the ICD3 rev tjw

Embedded Systems Module. 6EJ505. C Tutorial 3: using the ICD3 rev tjw Embedded Systems Module. 6EJ505 C Tutorial 3: using the ICD3 rev. 27.9.16 tjw Images are reproduced from Reference 1. Microchip permits the use of its images for educational purposes. Main Learning Points

More information

Temperature Sensor Module (TSM) Evaluation Board User Manual

Temperature Sensor Module (TSM) Evaluation Board User Manual Temperature Sensor Module (TSM) Evaluation Board User Manual 8677 rev a Update: 3/2013 1 of 15 Table of Contents 1 Introduction 3 2 Host computer requirements.. 4 3 Installing the software... 4 4 Where

More information

CMPS03 - Compass Module

CMPS03 - Compass Module CMPS03 - Compass Module For documentation on CMPS03 revisions prior to Rev14, click here Earlier versions can be identified by the presence of the silver 8MHz ceramic resonator in the middle of the PCB,

More information

Section 16. Basic Sychronous Serial Port (BSSP)

Section 16. Basic Sychronous Serial Port (BSSP) M 16 Section 16. Basic Sychronous Serial Port (BSSP) BSSP HIGHLIGHTS This section of the manual contains the following major topics: 16.1 Introduction...16-2 16.2 Control Registers...16-3 16.3 SPI Mode...16-6

More information

BV4626 General Purpose I/O. Product specification. Mar 2010 V0.a. ByVac Page 1 of 13

BV4626 General Purpose I/O. Product specification. Mar 2010 V0.a. ByVac Page 1 of 13 General Purpose I/O Product specification Mar 2010 V0.a ByVac Page 1 of 13 Contents 1. Introduction... 3 2. Features... 3 3. Physical Specification... 3 3.1. JP7... 3 3.2. Control Interface... 4 3.3. Serial

More information

KNJN I2C bus development boards

KNJN I2C bus development boards KNJN I2C bus development boards 2005, 2006, 2007, 2008 fpga4fun.com & KNJN LLC http://www.knjn.com/ Document last revision on January 1, 2008 R12 KNJN I2C bus development boards Page 1 Table of Contents

More information

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314 a FEATURES 10-Bit Temperature-to-Digital Converter 35 C to +85 C Operating Temperature Range 2 C Accuracy SPI and DSP Compatible Serial Interface Shutdown Mode Space-Saving MSOP Package APPLICATIONS Hard

More information

VBattery 7 VCC V DD IRLED IS31SE5001 SDA SCL INTB SDB. Figure 1 Typical Application Circuit

VBattery 7 VCC V DD IRLED IS31SE5001 SDA SCL INTB SDB. Figure 1 Typical Application Circuit IR SENSOR FOR TOUCHLESS PROXIMITY July 2013 GENERAL DESCRIPTION The IS31SE5001 is a low-power, reflectance-based infrared light sensor with advanced signal processing and digital output. The sensor can

More information

USART Functions. putsusart puts1usart puts2usart putrsusart putrs1usart putrs2usart. ReadUSART Read1USART Read2USART getcusart getc1usart getc2usart

USART Functions. putsusart puts1usart puts2usart putrsusart putrs1usart putrs2usart. ReadUSART Read1USART Read2USART getcusart getc1usart getc2usart 1 of 11 USART Functions TABLE OF CONTENTS 1 Introduction 2 Function Descriptions 2.1 BusyUSART Busy1USART Busy2USART 2.2 CloseUSART Close1USART Close2USART 2.3 DataRdyUSART DataRdy1USART DataRdy2USART

More information

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

User-configurable Resolution. 9 to 12 bits (0.5 C to C) AT30TS74 9- to 12-bit Selectable, ±1.0 C Accurate Digital Temperature Sensor DATASHEET Features Single 1.7V to 5.5V Supply Measures Temperature From -55 C to +125 C Highly Accurate Temperature Measurements

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

I2C TM Master Library Module (Polled)

I2C TM Master Library Module (Polled) I2C TM Master Library Module (Polled) 1. Introduction... 2 2. Module Features...2 3. List of Component Modules... 3 4. Using the Library Module in a Project... 3 5. List of Shared Parameters... 4 Shared

More information

Internet de les coses aplicat a la millora del servei de Bicing de Barcelona Pàg. 1

Internet de les coses aplicat a la millora del servei de Bicing de Barcelona Pàg. 1 Internet de les coses aplicat a la millora del servei de Bicing de Barcelona Pàg. 1 * Program of the TFG: Internet de les Coses Aplicat a la Millora del Servei de Bicing de Barcelona * /****** I N C L

More information

Parallax LSM9DS1 9-axis IMU Module (#28065)

Parallax LSM9DS1 9-axis IMU Module (#28065) 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

Serial communications with SPI

Serial communications with SPI Serial communications with SPI DRAFT VERSION - This is part of a course slide set, currently under development at: http://mbed.org/cookbook/course-notes We welcome your feedback in the comments section

More information

Shanghai Belling Corp., Ltd BL55028 zip: Tel: Fax:

Shanghai Belling Corp., Ltd BL55028 zip: Tel: Fax: LCD Driver for 76 Display Units BL55028 1 General Description The BL55028 is a general LCD driver IC for 76 units LCD panel. It features a wide operating supply voltage range, incorporates simple communication

More information

EET203 MICROCONTROLLER SYSTEMS DESIGN Serial Port Interfacing

EET203 MICROCONTROLLER SYSTEMS DESIGN Serial Port Interfacing EET203 MICROCONTROLLER SYSTEMS DESIGN Serial Port Interfacing Objectives Explain serial communication protocol Describe data transfer rate and bps rate Describe the main registers used by serial communication

More information

17. I 2 C communication channel

17. I 2 C communication channel 17. I 2 C communication channel Sometimes sensors are distant to the microcontroller. In such case it might be impractical to send analog signal from the sensor to the ADC included in the microcontroller

More information

MN101E50 Series. 8-bit Single-chip Microcontroller

MN101E50 Series. 8-bit Single-chip Microcontroller 8-bit Single-chip Microcontroller Overview The MN101E series of 8-bit single-chip microcomputers (the memory expansion version of MN101C series) incorporate multiple types of peripheral functions. This

More information

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,

More information

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g Pressure 4 click PID: MIKROE 3020 Weight: 24 g Pressure 4 click is an absolute barometric pressure measurement Click board, which features a low power consumption, high precision barometric pressure sensor.

More information

DM-OLED X 64 BLUE GRAPHIC OLED DISPLAY MODULE WITH SPI, I2C INTERFACE

DM-OLED X 64 BLUE GRAPHIC OLED DISPLAY MODULE WITH SPI, I2C INTERFACE 1.3 128 X 64 BLUE GRAPHIC OLED DISPLAY MODULE WITH SPI, I2C INTERFACE Contents Revision History Main Features Pin Description Panel Pin Description Module Pin Description Mechanical Drawing Panel Mechanical

More information

XS S ERIES TM PMB US TM O PTION C ARD

XS S ERIES TM PMB US TM O PTION C ARD XS Series PMBus Option Card XS S ERIES TM PMB US TM O PTION C ARD Document: 40110r01 1 Contents 1 Introduction 4 2 Option Card Connectors 4 2.1 PMBus Address..............................................

More information

Serial Communication

Serial Communication Serial Communication What is serial communication? Basic Serial port operation. Classification of serial communication. (UART,SPI,I2C) Serial port module in PIC16F887 IR Remote Controller Prepared By-

More information

1 Principal Schematic for HTPA32x32d: Digital

1 Principal Schematic for HTPA32x32d: Digital This datasheet is valid for following parts: HTPA32x32dL2.1/0.8HiC[Si] HTPA32x32dL2.1/0.8C[Si] HTPA32x32dL2.1/0.8HiS[Si] HTPA32x32dL2.1/0.8S[Si] 1 Principal Schematic for HTPA32x32d: Digital SCL SDA 32x32

More information

Introduction to I2C & SPI. Chapter 22

Introduction to I2C & SPI. Chapter 22 Introduction to I2C & SPI Chapter 22 Issues with Asynch. Communication Protocols Asynchronous Communications Devices must agree ahead of time on a data rate The two devices must also have clocks that are

More information

DERTS Design Requirements (1): Microcontroller Architecture & Programming

DERTS Design Requirements (1): Microcontroller Architecture & Programming Lecture (5) DERTS Design Requirements (1): Microcontroller Architecture & Programming Prof. Kasim M. Al-Aubidy Philadelphia University 1 Lecture Outline: Features of microcomputers and microcontrollers.

More information

V850ES/SG3, V850ES/SJ3

V850ES/SG3, V850ES/SJ3 APPLICATION NOTE V850ES/SG3, V850ES/SJ3 V850ES/SG3, V850ES/SJ3 Microcontrollers R01AN0930EJ0200 Rev.2.00 Introduction This application note is intended for users who understand the functions of the V850ES/SG3

More information

2G Actuator Communications Protocol Document Rotary & Linear Actuators

2G Actuator Communications Protocol Document Rotary & Linear Actuators 2752 Capitol Drive Suite #103 Sun Prairie, WI 53590 2150080 2G Actuator Packets - Rotary & Linear Revision AI Date 4/25/2018 2G Actuator Communications Protocol Document Rotary & Linear Actuators DOCUMENT

More information

I Introduction to Real-time Applications By Prawat Nagvajara

I Introduction to Real-time Applications By Prawat Nagvajara Electrical and Computer Engineering I Introduction to Real-time Applications By Prawat Nagvajara Synopsis This note is an introduction to a series of nine design exercises on design, implementation and

More information

Tutorial for I 2 C Serial Protocol

Tutorial for I 2 C Serial Protocol Tutorial for I 2 C Serial Protocol (original document written by Jon Valdez, Jared Becker at Texas Instruments) The I 2 C bus is a very popular and powerful bus used for communication between a master

More information

Stepper 6 click. PID: MIKROE 3214 Weight: 26 g

Stepper 6 click. PID: MIKROE 3214 Weight: 26 g Stepper 6 click PID: MIKROE 3214 Weight: 26 g Stepper 6 click is the complete integrated bipolar step motor driver solution. It comes with the abundance of features that allow silent operation and optimal

More information

Lesson I2C. I²C (Inter-Integrated Circuit) Lab Assignment: I2C Slave Driver

Lesson I2C. I²C (Inter-Integrated Circuit) Lab Assignment: I2C Slave Driver Lesson I2C I²C (Inter-Integrated Circuit) Lab Assignment: I2C Slave Driver I²C (Inter-Integrated Circuit) What is I 2 C I2C is pronounced "eye-squared see". It is also known as "TWI" because of the initial

More information

Lab 5: LCD and A/D: Digital Voltmeter

Lab 5: LCD and A/D: Digital Voltmeter Page 1/5 OBJECTIVES Learn how to use C (as an alternative to Assembly) in your programs. Learn how to control and interface an LCD panel to a microprocessor. Learn how to use analog-to-digital conversion

More information

DS1624 Digital Thermometer and Memory

DS1624 Digital Thermometer and Memory Digital Thermometer and Memory FEATURES Temperature Measurements Require No External Components Measures Temperatures from -55 C to +125 C in 0.0625 C Increments Temperature is Read as a 12-Bit Value (2-Byte

More information

Shanghai Belling Corp., Ltd BL55077 zip: Tel: Fax:

Shanghai Belling Corp., Ltd BL55077 zip: Tel: Fax: LCD Driver for 160 Display Units BL55077 1 General Description The BL55077 is a general LCD driver IC for 160 units LCD panel. It features a wide operating supply voltage range, incorporates simple communication

More information

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

User-configurable Resolution. 9 to 12 bits (0.5 C to C) AT30TS75A 9- to 12-bit Selectable, ±0.5 C Accurate Digital Temperature Sensor DATASHEET See Errata in Section 12. Features Single 1.7V to 5.5V Supply Measures Temperature -55 C to +125 C Highly Accurate

More information

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

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net Mega128-Net Development Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN 46268 (317) 471-1577 (317) 471-1580 FAX http://www.prllc.com GENERAL The Mega128-Net development board is designed

More information

Gaussmeter click. PID: MIKROE 3099 Weight: 23 g

Gaussmeter click. PID: MIKROE 3099 Weight: 23 g Gaussmeter click PID: MIKROE 3099 Weight: 23 g Gaussmeter click is a device that is used for measuring the magnetic field in X, Y and Z axes. This Click board features the MLX90393, a micropower magnetometer

More information

User Manual for TeraRanger Evo single point distance sensors and backboards

User Manual for TeraRanger Evo single point distance sensors and backboards User Manual for TeraRanger Evo single point distance sensors and backboards User manual relates to Hardware revision 1.0 Firmware versions 1.0 to 1.1.1 Table of contents: 1 Introduction 3 2 Mechanical

More information

Serial Peripheral Interface Bus SPI

Serial Peripheral Interface Bus SPI Serial Peripheral Interface Bus SPI SPI Bus Developed by Motorola in the mid 1980 s Full-duplex, master-slave serial bus suited to data streaming applications for embedded systems Existing peripheral busses

More information

SmartFan Fusion-4. Speed Control and Alarm for DC Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

SmartFan Fusion-4. Speed Control and Alarm for DC Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling. SmartFan Fusion-4 Speed Control and Alarm for DC Fans The driving force of motor control & electronics cooling. P/N FUS300-F DC Controls SmartFan Fusion-4 is a digital fan speed control and alarm that

More information

Microprocessors/Microcontrollers

Microprocessors/Microcontrollers Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing

More information

Development Hardware. Target Board and In-circuit Debugger

Development Hardware. Target Board and In-circuit Debugger Development Hardware Target Board and In-circuit Debugger Development Hardware :: Slide 1 of 32 Microchip PICDEM 2 Plus Target Board Development Hardware :: Slide 2 of 32 PICDEM 2 Plus Demo Board Development

More information

Mercury System SB310

Mercury System SB310 Mercury System SB310 Ultrasonic Board - Product Datasheet Author Francesco Ficili Date 20/05/2018 Status Released Pag. 1 Revision History Version Date Author Changes 1.0 20/05/2018 Francesco Ficili Initial

More information

Application Note TSYS01

Application Note TSYS01 PRODUCT HIGHLIGHTS High Accuracy up to ±0.1 C Very Small Size Ready for SMT Assembly Multiple Interfaces I2C, SPI Adjustment of High Accuracy Temperature Range on Request Low Current Consumption Low Self

More information

Amarjeet Singh. January 30, 2012

Amarjeet Singh. January 30, 2012 Amarjeet Singh January 30, 2012 Website updated - https://sites.google.com/a/iiitd.ac.in/emsys2012/ Lecture slides, audio from last class Assignment-2 How many of you have already finished it? Final deadline

More information

I 2 C Application Note in Protocol B

I 2 C Application Note in Protocol B I 2 C Application Note in Protocol B Description This document is a reference for a possible coding method to achieve pressure, temperature, and status for SMI part readings using I 2 C. This SMI Protocol

More information

I 2 C Communication. Embedded Systems Interfacing. 25 October 2011

I 2 C Communication. Embedded Systems Interfacing. 25 October 2011 25 October 2011 frametitletypical System Specifications Version 1.0 1992 Up to 400 Kbps 10 bit addresses Version 2.0 1998 Up to 3.4 Mbps New signal levels for High-speed operation Version 2.1 2000 Some

More information

User Manual for TeraRanger Evo with: USB and I2C/UART backboard

User Manual for TeraRanger Evo with: USB and I2C/UART backboard Copyright 2017 User Manual for TeraRanger Evo with: USB and I2C/UART backboard Hardware revision 1.0 Firmware revision 1.0.0 1/13 Copyright 2017 Table of contents: 1 Introduction 3 2 Mechanical integration

More information

I²C GLCD Adapter for KS x64 Manual (1.4)

I²C GLCD Adapter for KS x64 Manual (1.4) I²C GLCD Adapter for KS0108 128x64 Manual (1.4) Luxemburger Str. 31 D 13353 Berlin Phone: +49 (0)30 617 412 48 Fax: +49 (0)30 617 412 47 www.channaa.com 2 1. General discription... 3 2. Pinning Information...

More information

Altimeter / Barometer Module SMD500 ultra low power, low voltage

Altimeter / Barometer Module SMD500 ultra low power, low voltage Altimeter / Barometer Module SMD500 ultra low power, low voltage 1. General Description The SMD500 marks a new generation of high precision digital pressure sensors for consumer applications. Its ultra

More information