Serial-out Color Sensor. Overview. Features

Size: px
Start display at page:

Download "Serial-out Color Sensor. Overview. Features"

Transcription

1 Visit aryaprotech@gmail.com / info@thearyatechnologies.com Contact us@ Serial-out Color Sensor Overview Color sensor identifies primary colors (Red, Green, Blue) and gives serial output of RGB value. It can identify 16.7 million color shades giving RGB contents of detected color. The detected color is identified as amount of three primary color values namely Red, Green and Blue with 8 bit accuracy for each primary color. Any color can be separated or combined into three primary colors Red, Green, and Blue using RGB values. Features Individual RGB Color Detected. Supports Baud rate of 9600 bps. Serial Data Out for RGB values. Works on 5V DC supply. Standard UART Interface. Directly interfaced with any MCU or USB to TTL convertor. 1

2 Applications Object color sensing Robotics for distinguishing/identifying colors Industrial Process Control Ambient light sensing Color Detection & sorting application Specifications Parameter Value Units Remark Working Voltage 5 DC Volts Regulated DC Voltage Current 20 ma - Color Detection Capacity 16.7 millions Output UART baud rate 9600 bps Color Measuring range Nm Response Time 500 ms R=8bit (2^8=256 levels) G=8bit (2^8=256 levels) G=8bit (2^8=256 levels) 256x256x256=16.7 millions shades detection. 8 bit data, no parity, 1 stop bit 2

3 Pin Diagram Pin Pin Name Pin Name +5V Power Supply Regulated 5V supply input TX Transmit Output Output serial data of TTL logic level Gnd Ground Ground level of power supply Principle of Operation The Sensor switches each primary color RGB, one by one and checks intensity of color reflected by the surface of detection. This intensity is converted to 8 bit value. Green surface will strongly reflect green color, while Magenta surface will reflect red & blue color. As the sensor outs all three primary colors, one can easily detect color of object under detection. 3

4 Output Data Format Data containing intensity of primary color will be serially out with baud rate of 9600 bps. It contains 19 bytes. Intensity will be from 0 to 255. For example when blue color is detected, data out is R015G010B185 Here intensity of Blue is 185, while intensity of Red is 15 & intensity of Green is 010. Detail data format is given in table below Byte No Value (ASCII) Description 1 \r Hex value=0x0d Carriage Return Character (Start of packet) 2 R Always R character for Red Color 3 = Always = character Intensity of Red Color out of 255 (here 15) Always Space character 8 G Always G for Green Color 9 = Always = character Intensity of Green Color out of 255 (here 10) Always Space character 14 B Always B for Blue Color 15 = Always = character Intensity of Blue Color out of 255 (here 185) \ n Hex value=0x0a New Line Character (End of packet) 4

5 Interfacing with 8051 Microcontroller Code LCD will display intensity of RGB color. Here baud rate setting is Download source code from link #include<reg51.h> #include <string.h> #define cmdport P2 #define dataport P0 char rcvstr[19]; unsigned char current_byte; char rcvch; unsigned int Ri,Gi,Bi; int num[10]; sbit rs = cmdport^6; //register select pin //sbit rw = cmdport^1; // read write pin sbit e = cmdport^7; //enable pin 5

6 void ser_init(void); void Delay250us (void); void MsDelay (int n); void read_clr(void); void lcdcmd(unsigned char item); void lcddata(unsigned char item); void lcdstr(unsigned char *s); void lcdinit(void); void Delay250us (void) int j ; for(j = 0 ; j < 100 ; j ++) void MsDelay (int n) int j ; for(j = 0 ; j < n ; j ++) Delay250us() ; Delay250us() ; Delay250us() ; Delay250us() ; void ser_init(void) current_byte=0; TMOD=0x20; //Timer 1 Mode 2 TH1=-3; // Bouad Rate-9600 SCON=0x52; // 8 bit,1 stop bit TR1=1; // start timer char getclrinfo(void) char c; while(!ri); RI=0; c=sbuf; return SBUF; //Function to 3 Digit display number on LCD void lcdno3d(unsigned int i) int p; unsigned char c; int k=0; while(i>0) 6

7 num[k]=i%10; i=i/10; k++; if (k==0) num[k]=0; k++; num[k]=0; k++; num[k]=0; k++; if (k==1) num[k]=0; k++; num[k]=0; k++; if (k==2) num[k]=0; k++; k--; for (p=k;p>=0;p--) c=num[p]+48; dataport = c; // rw = 0; rs = 1; e = 1; e = 0; return; // Function to read & extract RGB componant void read_clr(void) do rcvch=getclrinfo(); if(rcvch==0x0a) current_byte=0; Ri=((rcvstr[3]-'0')*100)+((rcvstr[4]-'0')*10)+(rcvstr[5]-'0'); Gi=((rcvstr[9]-'0')*100)+((rcvstr[10]-'0')*10)+(rcvstr[11]-'0'); Bi=((rcvstr[15]-'0')*100)+((rcvstr[16]-'0')*10)+(rcvstr[17]-'0'); 7

8 else rcvstr[current_byte]=rcvch; current_byte++; while(rcvch!=0x0a); TR1=0; //value of Ri,Gi,Bi will be between //write logic as per your requirement lcdcmd(0xc0); lcdno3d(ri); lcdcmd(0xc5); lcdno3d(gi); lcdcmd(0xcb); lcdno3d(bi); //Function to send command to LCD void lcdcmd(unsigned char item) dataport = item; rs= 0; //rw=0; e=1; e=0; //Function to send data to LCD void lcddata(unsigned char item) dataport = item; rs= 1; //rw=0; e=1; e=0; //Function to display string void lcdstr(unsigned char *s) unsigned char l,i; l = strlen(s); // get the length of string for(i=1;i<=l;i++) lcddata(*s); // write every char one by one s++; 8

9 //Function to initialise LCD void lcdinit(void) lcdcmd(0x38); // for using 8-bit 2 row mode of LCD MsDelay(10); lcdcmd(0x0e); // turn display ON for cursor blinking MsDelay(10); lcdcmd(0x01); //clear screen MsDelay(10); lcdcmd(0x06); //display ON MsDelay(10); void main() current_byte=0; strcpy(rcvstr,""); lcdinit(); MsDelay(10); lcdcmd(0x80); MsDelay(10); lcdstr("color Sensor"); lcdcmd(0xc0); MsDelay(10); lcdstr("interface"); MsDelay(100); lcdcmd(0x01); lcdcmd(0x80); lcdstr("r G B"); while(1) ser_init(); read_clr(); 9

10 Interfacing with PC To interface with PC voltage level convertor Max232 is required. 10

11 Code Code is written invb.net 2010 for reading data from color sensor & extract primary colors RGB. Here baud rate setting is 9600 bps. Download source code from link 11

12 Public Class RGB Private _msg As String Dim R As String Dim G As String Dim B As String Dim ir As String Dim ig As String Dim ib As String Private indata As String Dim IsConnected As Boolean Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each str As String In IO.Ports.SerialPort.GetPortNames() Ports.Items.Add(str) Next If (Ports.Items.Count > 0) Then Ports.SelectedIndex = 0 End If IsConnected = False Status.Text = "Disconnected" Status.BackColor = Color.LightPink Button1.Enabled = True Button2.Enabled = False Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If (SerialPort1.IsOpen()) Then Try SerialPort1.Close() Catch ex As Exception MsgBox(ex.Message) End Try IsConnected = False Status.Text = "Disconnected" Status.BackColor = Color.LightPink Button1.Enabled = True Button2.Enabled = False End If Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If (SerialPort1.IsOpen = False) Then SerialPort1.PortName = Ports.SelectedItem SerialPort1.Open() IsConnected = True Status.Text = "Connected" Status.BackColor = Color.LightGreen Button1.Enabled = False 12

13 Button2.Enabled = True End If Private Sub SerialPort1_DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived Try Dim msg As String = SerialPort1.ReadExisting() indata = indata + msg Dim where As Integer = InStr(indata, "R=") If (indata.length > where + 18) Then R = indata.substring(where + 1, 3) G = indata.substring(where + 7, 3) B = indata.substring(where + 13, 3) indata = "" End If 'display the data to the user _msg = msg _msg = _msg.replace(controlchars.cr, "") : DisplayData(msg) Catch ex As Exception End Try #Region "DisplayData" ''' <summary> ''' Method to display the data to and ''' from the port on the screen ''' </summary> ''' <remarks></remarks> <STAThread()> _ Private Sub DisplayData(ByVal msg As String) Display_Data.BeginInvoke(New EventHandler(AddressOf DoDisplay)) #End Region #Region "DoDisplay" Private Sub DoDisplay(ByVal sender As Object, ByVal e As EventArgs) Display_Data.AppendText(_msg) Display_Data.ScrollToCaret() #End Region 13

14 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick RL.Text = R GL.Text = G BL.Text = B ir = CInt(R) ig = CInt(G) ib = CInt(B) Try Label6.BackColor = Color.FromArgb(CType(iR, Byte), CType(iG, Byte), CType(iB, Byte)) Catch ex As Exception End Try Private Sub cmdexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdexit.click Application.Exit() End Class 14

LABORATORY MANUAL EMBEDDED C LABORATORY. M. Tech I Year I Sem R13 DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGG.

LABORATORY MANUAL EMBEDDED C LABORATORY. M. Tech I Year I Sem R13 DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGG. LABORATORY MANUAL EMBEDDED C LABORATORY M. Tech I Year I Sem R13 DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGG. BALAJI INSTITUTE OF TECHNOLOGY & SCIENCE Laknepally, Narsampet, Warangal 1 M.TECH. (EMBEDDED

More information

Human Eye Ball recognition system

Human Eye Ball recognition system Human Eye Ball recognition system Reg no: 10MSE1099 Name:M.V.Raam Vignesh Year: 2Year,III Semester College name: VIT University, Chennai Date:22/11/12 Abstract: The main scope of the project is to bring

More information

e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interfacing External Devices using Embedded C Module No: CS/ES/22

e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interfacing External Devices using Embedded C Module No: CS/ES/22 e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interfacing External Devices using Embedded C Module No: CS/ES/22 Quadrant 1 e-text In this lecture interfacing of external devices

More information

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Form Connection Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Public Class connection '------------------------------------------------ Dim myport As Array

More information

{ int i,j; for(i=0;i<count;i++) for(j=0;j<1275;j++); }

{ int i,j; for(i=0;i<count;i++) for(j=0;j<1275;j++); } RFID based Secured access system using 8051 microcontroller (AT89C51) //Program for RFID based Secured access system using 8051 microcontroller //(AT89C51) #include sfr lcd_data_pin=0xa0; //P2

More information

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

More information

超音波モータ制御プログラムの作成 (v1.2.1)

超音波モータ制御プログラムの作成 (v1.2.1) 超音波モータ制御プログラムの作成 (v1.2.1) 2008 年 11 月 28 日 Masaaki MATSUO 構成機器 モータ本体 : フコク ロータリーエンコーダー内蔵型超音波モータ USB-60E モータ制御部 : フコク 位置決制御ドライバ DCONT-3-60 (SD13) コントローラ : Interface 2 軸絶縁パルスモーションコントローラ ( 直線補間エンコーダ入力 5V)

More information

Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529

Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529 Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529 Contents at a Glance PS PRIMER MSP430 kit... 3 Keypad... 4 Interfacing keypad... 4 Interfacing keypad with MSP430F5529...

More information

Mr.Khaled Anwar ( )

Mr.Khaled Anwar ( ) The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program

More information

MEPCO SCHLENK ENGINEERING COLLEGE, SIVAKASI. Department of Electronics and Communication Engineering COURSE INSTRUCTION MANUAL

MEPCO SCHLENK ENGINEERING COLLEGE, SIVAKASI. Department of Electronics and Communication Engineering COURSE INSTRUCTION MANUAL MEPCO SCHLENK ENGINEERING COLLEGE, SIVAKASI Vision Mission Envisioning a world Lead by our Engineers, holding a Beacon of Hope and Confidence for Generations to come. To Produce Competent, Disciplined

More information

EXPERIMENT NO. 02 ELECTRONIC VOTING MACHINE USING 8051.

EXPERIMENT NO. 02 ELECTRONIC VOTING MACHINE USING 8051. EXPERIMENT NO. 02 ELECTRONIC VOTING MACHINE USING 8051. DOP: DOS: Project Members: 1) Prasad Pawaskar 58 2) Vishal Thakur 72 Page No.-1 AIM: To implement Electronic voting machine using 8051 microcontroller.(at89c51)

More information

LCD AND KEYBOARD INTERFACING

LCD AND KEYBOARD INTERFACING LCD AND KEYBOARD The 8051 Microcontroller and Embedded Systems: Using Assembly and C Mazidi, Mazidi and McKinlay Chung-Ping Young 楊中平 Home Automation, Networking, and Entertainment Lab Dept. of Computer

More information

Overview RFSv4.3 is a RF module providing easy and flexible wireless data transmission between devices. It is based on AVR Atmega8 with serial output which can be interfaced directly to PC. Features 2.4

More information

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

More information

WINTER 14 EXAMINATION Subject Code: Model Answer Page No: 1/ 26

WINTER 14 EXAMINATION Subject Code: Model Answer Page No: 1/ 26 WINTER 14 EXAMINATION Subject Code: 17509 Model Answer Page No: 1/ 26 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer

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

EMBEDDED HARDWARE DESIGN. Tutorial Interfacing LCD with Microcontroller /I

EMBEDDED HARDWARE DESIGN. Tutorial Interfacing LCD with Microcontroller /I EMBEDDED HARDWARE DESIGN Tutorial Interfacing LCD with Microcontroller 2009-10/I LCD (Liquid Crystal Display) has become very popular option for displaying in Embedded Applications. Since they are very

More information

SC20MPC: 2 Mega Pixels Serial JPEG Camera User Manual. Introduction

SC20MPC: 2 Mega Pixels Serial JPEG Camera User Manual. Introduction 2 Mega Pixels Serial JPEG Camera SC20MPC User Manual, Rev. F (August 2018) For latest user manual, please visit: Introduction The SC20MPC Camera is a highly integrated serial JPEG camera module which can

More information

The SC03MPA camera is capable of outputting JPEG format images and PAL/NTSC video (Video is available only per request).

The SC03MPA camera is capable of outputting JPEG format images and PAL/NTSC video (Video is available only per request). SC03MPA: 0.3 Mega Pixels Serial JPEG Camera User Manual 0.3 Mega Pixels Serial JPEG Camera SC03MPA User Manual, Rev. D (2018) For latest user manual, please visit: Introduction The SC03MPA Camera is a

More information

LCD05 datasheet 1.0

LCD05 datasheet 1.0 LCD05 green displays LCD05 blue displays The I2C and serial display driver provides easy operation of a standard 20 x 4 or 16 x 2 LCD Text display. It requires only a 5v power supply and the two data connections

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

More information

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm ) SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm ) Features 16 x 2 Large Characters RS485 Serial Interface Programmable Device Address Programmable

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

More information

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

Learning VB.Net. Tutorial 10 Collections

Learning VB.Net. Tutorial 10 Collections Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.

More information

8051 Interfacing and Applications Microcontroller

8051 Interfacing and Applications Microcontroller 8051 Interfacing and Applications Objectives: At the end of this chapter, we will be able to: List the different devices that can be interfaced with 8051 Understand the working principle. Develop the following

More information

DO NOT COPY AMIT PHOTOSTUDIO

DO NOT COPY AMIT PHOTOSTUDIO AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights

More information

LCD03 - I2C/Serial LCD Technical Documentation

LCD03 - I2C/Serial LCD Technical Documentation LCD03 - I2C/Serial LCD Technical Documentation Pagina 1 di 5 Overview The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and

More information

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please

More information

ATMEGA32 MUSIC PLAYER

ATMEGA32 MUSIC PLAYER Digital and Analogue Projects EITF40 09/03/2015 ATMEGA32 MUSIC PLAYER Supervised by: Bertil Lindvall Controlled by buttons and accelerometer The purpose of this project was emulating a music player that

More information

SC03MPC: 0.3 Mega Pixels Serial JPEG Camera Infrared User Manual. Introduction

SC03MPC: 0.3 Mega Pixels Serial JPEG Camera Infrared User Manual. Introduction 0.3 Mega Pixels Serial JPEG Camera Infrared SC03MPC User Manual, Rev. C For latest user manual, please visit: Introduction The SC03MPC Camera is a highly integrated serial JPEG camera module which can

More information

ambient XC RS232 Control Command Specification

ambient XC RS232 Control Command Specification ambient XC RS232 Control Command Specification Table of Contents ambient XC RS232 Control Command Specification...1 Goal...2 COM port properties...2 Initialisation of RS232 communication...2 Determine

More information

Page 1 of 7. Samtron/Samsung 20S204DA2

Page 1 of 7. Samtron/Samsung 20S204DA2 Page 1 of 7 Samtron/Samsung 20S204DA2 Disclaimer This documentation based on try & error and should never be treated as official documentation. There is no guarantee that information listed in this document

More information

MCS-51 Serial Port A T 8 9 C 5 2 1

MCS-51 Serial Port A T 8 9 C 5 2 1 MCS-51 Serial Port AT89C52 1 Introduction to Serial Communications Serial vs. Parallel transfer of data Simplex, Duplex and half-duplex modes Synchronous, Asynchronous UART Universal Asynchronous Receiver/Transmitter.

More information

LCD03 - I2C/Serial LCD Technical Documentation

LCD03 - I2C/Serial LCD Technical Documentation LCD03 - I2C/Serial LCD Technical Documentation 2YHUYLHZ The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and the two data

More information

Dual Interface LCD Display Controller

Dual Interface LCD Display Controller Dual Interface LCD Display & Keypad Controller Product specification Nov 2013 V0.a ByVac Page 1 of 11 Contents 1. Introduction... 3 2. Features... 3 3. BV4618, Comparison... 3 3.1.1. BV4618... 3 3.1.2....

More information

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

More information

// sets the position of cursor in row and column

// sets the position of cursor in row and column CODE: 1] // YES_LCD_SKETCH_10_14_12 #include //lcd(rs, E, D4, D5, D6, D7) LiquidCrystal lcd(8, 9, 4, 5, 6, 7); int numrows = 2; int numcols = 16; void setup() Serial.begin(9600); lcd.begin(numrows,

More information

Lecture (09) PIC16F84A LCD interface LCD. Dr. Ahmed M. ElShafee

Lecture (09) PIC16F84A LCD interface LCD. Dr. Ahmed M. ElShafee Lecture (09) PIC16F84A LCD interface PIC16F84A LCD interface Assignment 01, 4 Zones fire controller board Assignment 02, automatic water tank controller Dr. Ahmed M. ElShafee ١ ٢ LCD LCD (Liquid Crystal

More information

K191 3 Channel RGB LED Controller

K191 3 Channel RGB LED Controller K191 3 Channel RGB LED Controller 1 Introduction. This kit has been designed to function as a versatile LED control module. The LED controller provides 3 high current channels to create light effects for

More information

: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET

: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET 2006-938: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET David Hergert, Miami University American Society for Engineering Education, 2006 Page 11.371.1 Creating Web

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 67 1. Form Menu Utama LAMPIRAN A: Listing Program Public Class MScreen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form1.Show()

More information

8051SERIAL PORT PROGRAMMING

8051SERIAL PORT PROGRAMMING 8051SERIAL PORT PROGRAMMING Basics of Serial Communication Computers transfer data in two ways: Parallel Often 8 or more lines (wire conductors) are used to transfer data to a device that is only a few

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

DT-ROBOT Line Follower

DT-ROBOT Line Follower DT-ROBOT Line Follower Trademarks & Copyright AT, IBM, and PC are trademarks of International Business Machines Corp. Pentium is a registered trademark of Intel Corporation. Windows is a registered trademark

More information

0.3 Mega Pixels Serial JPEG Camera with NTSC Video

0.3 Mega Pixels Serial JPEG Camera with NTSC Video SC03MPD: 0.3 Mega Pixels Serial JPEG Camera User Manual 0.3 Mega Pixels Serial JPEG Camera with NTSC Video SC03MPD User Manual, Rev. D For latest user manual, please visit: www.jpegcamera.com Introduction

More information

SERIAL RS-232 / RS-422 / RS-485 INTERFACE DEFINITION MODEL TLSD & TLSE FREQUENCY SYNTHESIZERS

SERIAL RS-232 / RS-422 / RS-485 INTERFACE DEFINITION MODEL TLSD & TLSE FREQUENCY SYNTHESIZERS SERIAL RS-232 / RS-422 / RS-485 INTERFACE DEFINITION MODEL TLSD & TLSE FREQUENCY SYNTHESIZERS GENERAL Luff Research s models TLSDxxxxxxxx/xxx & TLSExxxxxxxx/xxx frequency synthesizers are serially controllable

More information

RFT(Robotous Force/Torque Sensor) Series

RFT(Robotous Force/Torque Sensor) Series RFT(Robotous Force/Torque Sensor) Series Installation and Operation Manual REVISION 1.1 1 Contents 1. Caution 4 1.1. Notices 4 1.2. Warning 4 2. Installation 5 2.1. Overview 5 2.2. Power Supply Specifications

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

LCD Micro Serial/I 2 C Interface Module for R.G.B backlights. Technical Data

LCD Micro Serial/I 2 C Interface Module for R.G.B backlights. Technical Data LCD Micro Serial/I 2 C Interface Module for R.G.B backlights Technical Data DS-LCDD5 Features Supports new LCD panels with RGB backlights*. Micro size (53 x 29mm) to piggy-back on the LCD module and form

More information

Document: Datasheet Date: 22-Mar-11 Model #: 3679 Product s Page:

Document: Datasheet Date: 22-Mar-11 Model #: 3679 Product s Page: Email: info@sunrom.com Visit us at http://www.sunrom.com Document: Datasheet Date: -Mar- Model #: 79 Product s Page: www.sunrom.com/p-0.html ST79 - Infrared remote control decoder NEC The main function

More information

ELEG3923 Microprocessor Ch.10 Serial Port Programming

ELEG3923 Microprocessor Ch.10 Serial Port Programming Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.10 Serial Port Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Basics of Serial Communication Serial port programming

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

Laboratory 5 Communication Interfaces

Laboratory 5 Communication Interfaces Laboratory 5 Communication Interfaces Embedded electronics refers to the interconnection of circuits (micro-processors or other integrated circuits) with the goal of creating a unified system. In order

More information

Thomas Liu (Business Manager) //****************************************************************//

Thomas Liu (Business Manager)   //****************************************************************// //****************************************************************// // Program for AM230x series //MCU: AT89S52, Frequency of crystal oscillator: 11.0592MHz //Function: Transmit RH & Temp. Data via PC

More information

User s Manual Closer to Real, Zigbee Module ZIG-100. Wireless Communication. ROBOTIS CO.,LTD

User s Manual Closer to Real, Zigbee Module ZIG-100. Wireless Communication. ROBOTIS CO.,LTD User s Manual 2006-07-06 Closer to Real, Wireless Communication ROBOTIS CO.,LTD. www.robotis.com +82-2-2168-8787 Contents 1. Page 02 2. Zigbee Setting Page 06 3. PC Interface Zig Board Schematic Page 10

More information

Innovati s Bluetooth 100M Universal Wireless Bluetooth Module

Innovati s Bluetooth 100M Universal Wireless Bluetooth Module Innovati s Bluetooth 100M Universal Wireless Bluetooth Module Bluetooth 100M module is a simple to use Bluetooth module, command control through a simple UART Tx and Rx which are connected to other Bluetooth

More information

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm. Large Viewing Area 99mm x 24mm Large Character Size 4.84mm x 9.66mm Features 16x2 Large Characters LCD RS232 Interface Simple Serial Command Wide Range Voltage Operation ( 9-15V ) 8 User s Defined Characters

More information

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Ahmed Okasha okasha1st@gmail.com

More information

RADON SS SENSOR pci/l

RADON SS SENSOR pci/l 1. FEATURES Easy to use advanced technology Delivers complete set of information for instantaneous and average Radon concentrations Ideal for portable, fixed and digital applications 2. SPECIFICATION Measuring

More information

Contents. List of Figures. TermDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3

Contents. List of Figures. TermDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3 TermDriver Datasheet 1 Contents 1 Overview 2 2 Features 2 3 Installation with Arduino 3 4 Operation 4 4.1 ANSI escape codes......................... 5 4.2 High-resolution modes........................

More information

Character Based LCD Module Interface.

Character Based LCD Module Interface. Character Based LCD Module Interface. xboard MINI Documentation www.extremeelectronics.co.in Using LCD Modules. When you start working with LCD modules you will start feeling the real power of MCUs and

More information

MICRO-1356 MULTI-PROTOCOL READER

MICRO-1356 MULTI-PROTOCOL READER MICRO-1356 MULTI-PROTOCOL READER The Micro-1356 reader is a miniature multi-protocol RFID reader suited for embedded applications, such as handheld readers or door key card readers. The Micro-1356 has

More information

Rev Carbon Dioxide (CO2) Gas Sensor. TG100 User Manual

Rev Carbon Dioxide (CO2) Gas Sensor. TG100 User Manual Rev. 2.5 TG100 User Manual The TG100 measuring carbon dioxide (chemical formula CO2) is a NDIR (Non-Dispersive Infrared) gas sensor. As it is contactless, it has high accuracy and longer life than sensors

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

NetMedia 2x16 Serial LCD Display Module V1.5

NetMedia 2x16 Serial LCD Display Module V1.5 NetMedia 2x16 Serial LCD Display Module V1.5 Table of Contents: Pinout... 2 Interfacing... 3 LCD Control Codes... 4 Creating Custom Characters... 6 BasicX-24 Example Program:... 7 2x16 Specifications...

More information

Contents. List of Figures. SPIDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3

Contents. List of Figures. SPIDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3 SPIDriver Datasheet 1 Contents 1 Overview 2 2 Features 2 3 Installation with Arduino 3 4 Operation 4 4.1 ANSI escape codes......................... 5 4.2 High-resolution modes........................ 6

More information

LCD. Configuration and Programming

LCD. Configuration and Programming LCD Configuration and Programming Interfacing and Programming with Input/Output Device: LCD LCD (liquid crystal display) is specifically manufactured to be used with microcontrollers, which means that

More information

HACCOM UM96 DataSheet / UserManual Dimitri Karatsinides

HACCOM UM96 DataSheet / UserManual Dimitri Karatsinides HACCOM UM96 DataSheet / UserManual Dimitri Karatsinides Disclaimer: This document was made during a senior engineering project. Its contents contain information from the original datasheet, as well as

More information

Automated Walker with Patient Monitoring Mechanism. Kailash Kumar Jain Munoth. A Report. Presented to the Faculty of

Automated Walker with Patient Monitoring Mechanism. Kailash Kumar Jain Munoth. A Report. Presented to the Faculty of Automated Walker with Patient Monitoring Mechanism By Kailash Kumar Jain Munoth A Report Presented to the Faculty of Assistive Technology Lab Padmasri Dr. B. V. Raju Institute of Technology Under the Supervision

More information

General. Copyright 2013 EXSEN Company. All Rights Reserved. Rev /5/2013 Page 1 of 6

General. Copyright 2013 EXSEN Company. All Rights Reserved. Rev /5/2013 Page 1 of 6 General World smallest and economic solid state electrochemical CO 2 sensor has been developed for the production. It holds many patents in the structure and the materials of the sensor as well as the

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

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,

More information

Product Model Distance Transfer. LDK : Laser Distance Kit. M2:Model2 30 :30M 60 :60M 100:100M. RS: RS-232 BT: Bluetooth

Product Model Distance Transfer. LDK : Laser Distance Kit. M2:Model2 30 :30M 60 :60M 100:100M. RS: RS-232 BT: Bluetooth The newest generation of Laser distance measurement modules offers measuring ranges up to 30 or 100 meters. The LDK Model 2 series are compact units with small dimensions: only 37.5mmx45.3mmx19.2mm. They

More information

"!#... )*! "!# )+, -./ 01 $

!#... )*! !# )+, -./ 01 $ Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?

More information

Visual Basic: Opdracht Structuur

Visual Basic: Opdracht Structuur Visual Basic: Opdracht Structuur HoofdMenu.vb SubMenu_Kwadraat.vb Form1.vb Form2.vb Submenu_Som.vb Form3.vb Form4.vb SubMenu_Gem.vb Form5.vb Form6.vb Form10.vb SubMenu_Naam.vb Form7.vb Form11.vb Form8.vb

More information

DRAWING AND MOVING IMAGES

DRAWING AND MOVING IMAGES DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,

More information

Robosoft Systems in association with JNCE presents. Swarm Robotics

Robosoft Systems in association with JNCE presents. Swarm Robotics Robosoft Systems in association with JNCE presents Swarm Robotics What is a Robot Wall-E Asimo ABB Superior Moti ABB FlexPicker What is Swarm Robotics RoboCup ~ 07 Lets Prepare for the Robotics Age The

More information

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score

More information

ISL RGB Sensor Tutorial By: Sabrina Jones

ISL RGB Sensor Tutorial By: Sabrina Jones ISL 25129 RGB Sensor Tutorial By: Sabrina Jones Overview The ISL29125 RGB sensor is a breakout board made to record the light intensity of the general red, green, and blue spectrums of visible light, that

More information

SC168MBM 16x8 Characters MODBUS MASTER LCD

SC168MBM 16x8 Characters MODBUS MASTER LCD Product Description SC168MBM is a programmable LCD that serve as MASTER RTU MODBUS device. It reads and display registers values from MODBUS Slave devices through its RS485 port. The LCD can be configured

More information

EZO-CO2. Gaseous CO2. Reads. 0 10,000 ppm. Range. Factory calibrated. Calibration. 1 reading per second. Response time. 1 ppm.

EZO-CO2. Gaseous CO2. Reads. 0 10,000 ppm. Range. Factory calibrated. Calibration. 1 reading per second. Response time. 1 ppm. V 1.0 9/12/18 EZO-CO2 Embedded NDIR CO2 Sensor Reads Range Calibration time Resolution Accuracy Warmup time Cable length Data protocol Default I 2 C address Data format Operating voltage Gaseous CO2 0

More information

Schedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2

Schedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2 Schedule 8:00-11:00 Workshop: Arduino Fundamentals 11:00-12:00 Workshop: Build a follower robot 1:30-3:00 Symposium: Group 1 Sanford Bernhardt, Sangster, Kumfer, Michalaka 3:10-5:00 Workshop: Build a speedometer

More information

KeyVerter. PS/2 Keyboard To RS-232/TTL Converter. Copyright 2003 Intuitive Circuits, LLC

KeyVerter. PS/2 Keyboard To RS-232/TTL Converter. Copyright 2003 Intuitive Circuits, LLC KeyVerter PS/2 Keyboard To RS-232/TTL Converter Copyright 2003 Intuitive Circuits, LLC D escription KeyVerter converts key stroke events from any PS/2 keyboard (small DIN connector) into an RS-232 and

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

EXPERIMENT 8: Introduction to Universal Serial Asynchronous Receive Transmit (USART)

EXPERIMENT 8: Introduction to Universal Serial Asynchronous Receive Transmit (USART) EXPERIMENT 8: Introduction to Universal Serial Asynchronous Receive Transmit (USART) Objective: Introduction To understand and apply USART command for sending and receiving data Universal Serial Asynchronous

More information

CMOS CAMERA MODULE JC418M-J01

CMOS CAMERA MODULE JC418M-J01 CMOS CAMERA MODULE JC418M-J01 Deqing Jiahe Electronic Technology Co., Ltd. TEL: +86-572-8051676 ext. 803 FAX: +86-572-8051676 ext. 801 sales@jiahe-electronic.com Application The JC418M-J01 JPEG compression

More information

S.J.P.N Trust's. Hirasugar Institute of Technology, Nidasoshi.

S.J.P.N Trust's. Hirasugar Institute of Technology, Nidasoshi. S.J.P.N Trust's Tq: Hukkeri Dist: Belagavi DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING LABORATORY MANUAL Name of the Lab: Microcontroller Laboratory Semester: V Subject Code: 15EEL57 Staff Incharge:

More information

LinkSprite JPEG Color Camera Serial UART Interface. User Manual

LinkSprite JPEG Color Camera Serial UART Interface. User Manual LinkSprite JPEG Color Camera Serial UART Interface User Manual July, 2013 LinkSprite Technologies, Inc Doc Title LinkSprite JPEG Color Camera Serial UART Interface User Manual Number LS-Y201-2MP Version

More information

RB-Dfr-12 DFRobot URM04 v2.0 Ultrasonic Sensor

RB-Dfr-12 DFRobot URM04 v2.0 Ultrasonic Sensor RB-Dfr-12 DFRobot URM04 v2.0 Ultrasonic Sensor URM04 is developed based upon our popular URM37 ultrasonic sensor. The RS485 interface allows a number of sensors working together. Up to 32 URM04 may be

More information

Serial:UART/I2C/SPI Text LCD Display Control Module. LCDSP_TG V1.60 user manual

Serial:UART/I2C/SPI Text LCD Display Control Module. LCDSP_TG V1.60 user manual Serial:UART/I2C/SPI Text LCD Display Control Module Product picture: In order to use a Text LCD display, you need connect at least 4 data pins and 2 control pins from your circuit to display, and you also

More information

Serial Ports and COM Ports

Serial Ports and COM Ports o serial port on your PC? No problem! To add a serial port, attach a USB/serial adapter to a USB port. This article focuses on the PC side of serial port communications. I ll show how to use Visual Basic.NET

More information

WiFi to RS-232 adapter user manual

WiFi to RS-232 adapter user manual WiFi to RS-232 adapter user manual WiFi to RS-232 adapter Package Contents: WiFi RS-232 adapter x 1 A4 User manual x 1 Mini USB Cable x 1 White Box Dimension: 11 x 6 x 5 (cm) Total Package Weight: 126

More information

UNIVERSITY OF CONNECTICUT. ECE 3411 Microprocessor Application Lab: Fall Quiz II

UNIVERSITY OF CONNECTICUT. ECE 3411 Microprocessor Application Lab: Fall Quiz II Department of Electrical and Computing Engineering UNIVERSITY OF CONNECTICUT ECE 3411 Microprocessor Application Lab: Fall 2015 Quiz II There are 5 questions in this quiz. There are 9 pages in this quiz

More information

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter Bluetooth V4.1 BLE RS-232 Serial Adapter 1. Package content: BLE RS-232 adapter Model: BLE-232B Package Contents: BLE RS-232 adapter x 1 Screw x2, Screw nut x 2 A4 User manual x 1 Mini USB Cable x 1 White

More information

zigb232 & zigb485 User Guide User Guide TANGENT TECHNOLABS

zigb232 & zigb485 User Guide User Guide TANGENT TECHNOLABS TANGENT TECHNOLABS Device: Power Supply (9-36V) Yellow LED (Traffic) Green LED (Router Device) Blue LED (Coordinator Device) RS232/485 Connector Power Indication LED Technical Specifications: Input Power:

More information

e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interrupt Programming in Embedded C Module No: CS/ES/20 Quadrant 1 e-text

e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interrupt Programming in Embedded C Module No: CS/ES/20 Quadrant 1 e-text e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interrupt Programming in Embedded C Module No: CS/ES/20 Quadrant 1 e-text In this lecture embedded C program for interrupt handling

More information

Year 12 : Visual Basic Tutorial.

Year 12 : Visual Basic Tutorial. Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows

More information

Hello Angles... A First Use Guide to the VS Product Series: RS232 Interface with LD Standard Communication Protocol & Analogue 4-20mA Output Signals.

Hello Angles... A First Use Guide to the VS Product Series: RS232 Interface with LD Standard Communication Protocol & Analogue 4-20mA Output Signals. Hello Angles... A First Use Guide to the VS Product Series: RS232 Interface with LD Standard Communication Protocol & Analogue 4-20mA Output Signals. 1 Who Is This Guide For? The purpose of this guide

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information