Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

Programming for USB Hardware Interfacing

USBIO, USB I/O, USB

Introduction:

Hardware interfacing exists in computing systems between many of the components such as the various buses, storage devices, other I/O devices, etc. A hardware interface is described by the mechanical, electrical and logical signals at the interface and the protocol for sequencing them.

By understanding the programming for USB hardware interfacing you can build data-loggers, robotics interfaces, custom interface hardware, etc. There is a niche segment in the engineering industry that requires engineers or programmers to know the programming methods and techniques in interfacing to various kinds of hardware. IT background programmers may not have knowledge in hardware, while engineering background engineers may not have good command in programming. This short course is aimed to fill the missing skill set to allow engineers and programmers to write software programs that involve hardware interfacing.

Microsoft Visual Basic is the most popular programming languages used in windows programming in Microsoft Windows platform. This course will provide a solid foundation in Visual Basic programming techniques in general. USB hardware interface is described for attendees to understand the working principal, and access methods of these interfaces. Hands-on sessions are followed to learn and practice writing codes for communicating through this interface.



Course Highlights:

This is a 2 days comprehensive hands-on experience in code development and compilation to introduce user on the essential knowledge to understand hardware interfacing for Windows based PC. Some examples of real hardware will be demonstrated to the class as well.



Who Should Attend:

This hands-on course is designed for beginner users who are involved in software programming that requires hardware interfacing. It is especially useful for those who wish to understand and gain essential knowledge on the fundamental of hardware interfacing such as students, lecturers, software engineers, programmers, IT managers, researchers, and scientists. Courses begin with zero-background assumption.



Course Benefit:

Upon the completion of the course, the participants will gain a comprehensive understanding of:

  • Visual Basic programming basics
  • USB communication programming



Course Outcome:

  • Able to use Visual Basic programming language.
  • Able to control hardware from Visual Basic.
  • Able to interface USB with hardware.



Course Methodology:

The participants are taught VB programming techniques in classroom setting, followed by hands-on programming for each module taught. Microsoft Visual Basic 2010 Express Edition will be used for the entire module. Theories and practical exercises are equally emphasized.

Course Duration: 2 days, 9am – 5pm



Course Outline:

Module 1: Getting Started with Visual Basic 2010 (1 Days)

Morning Session

  • Visual Basic 2010 Express Edition Installation
  • Hello World example
  • Working with controls
  • Writing the code
  • Mathematical operations
  • Practical 1 – Design a simple calculator

Evening Session

  • Controlling program flow
  • Looping
  • Basic functions
  • Practical 2 – Design a simple system based on user input



Module 2: Hardware Interfacing using USBIO (1 Day)

Morning Session

  • Getting started with USBIO V1.1
  • Controlling LEDs
  • Reading switches state
  • ON/OFF switching relay circuit
  • Programming 7-segment display
  • Practical 3 – Display count from 0 to 9 at 7 Segment.

Evening Session

  • Practical 4 – Blinking LEDs
  • Practical 5 – Running Light
  • Practical 6 – LEDs patent depends on input switch



Cost of Training:

RM300/pax (conducted in UiTM Pulau Pinang: minimum of 6).

>Training kit is borrowed from us.

> CD/DVD consist of training material is given.

RM1600 in Honorarium (based on RM100/hours x 8 hours x 2 days) + 2 Night of Accommodation & Travel.

>Training kit is borrowed from us (10 units only).



Cost of USBIO Kit (DIY):

> RM100 per unit.



How to Attend, Where and When:

Contact us via:

  • E-mail: samsuls@ppinang.uitm.edu.my
  • Phone: 04-3823359
  • Fax: 04-3822819



Instructors:

SAMSUL SETUMIN (M.Eng, Lecturer)

Faculty of Electrical Engineering,

Universiti Teknologi MARA (UiTM) Cawangan Pulau Pinang,



Instructor’s Biodata:

Click Here !!

He obtained B. Eng (Hons) in Electronic Engineering from University of Surrey in 2006. He continued his MEng study in Electrical - (Electronic & Telecommunication) at Universiti Teknologi Malaysia and graduated in 2009. His research interests are in computer interfacing, GSM communication and embedded system based on microchip's microcontroller for communication and smart system. He has few years teaching experience from three difference university that are UTeM, UTHM and UiTM. He was a test engineer at Agilent Technologies, Penang. He has more than 7 years of experience using parallel port interfacing circuit for research, and project and now exploring USB interfacing technique.

[Research Interest: Video/Audio/Image Processing, Hardware Interfacing, Embedded System].

READ MORE - Programming for USB Hardware Interfacing

Computer Interfacing Short Course

 

Computer interfacing short course merupakan kursus yang ditawarkan untuk memberi pendedahan tentang bagaimana interaksi diantara computer dengan i/o device (LEDs, Switches, LCD, 7-Segment, joystick dll).

Terdapat beberapa interfacing port yang boleh digunakan untuk tujuan ini. Ianya bermula dengan parallel port yang biasa digunakan untuk printer yang mana sangat terkenal satu ketika dulu. Penghantaran datanya adalah secara serentak 8bit atau lebih dalam satu-satu masa. Kaedah penghantaran seperti ini adalah kaedah penghataran yang sangat cepat berbanding perhantaran secara siri. Walaubagaimanapun, penggunaan wire yang banyak merupakan kekurangan penghantaran data jenis ini.

Kemudian kehadiran serial port (RS232) membuka era baru dalam proses penghantaran data. Ia digunakan untuk pelbagai device yang mana penghantaran datanya secara siri. Ini dapat mengurangkan penggunaan wire dan memudahkan wiring configuration. Kegunaannya masih sehingga ke hari ini, cuma ianya sudah sampai di hujung zaman kegemilangannya.

Apa yang berlaku sekarang ini, kedua-dua port ini tidak lagi menjadi pilihan utama developer kerana adanya port baru yang kita panggil USB port. Walaupun USB merupakan serial transmission, namun ia tidaklah serupa dengan serial port communication dari segi penghantaran datanya. RS232 transmission protocol lebih straight forward berbanding USB protocol. Untuk mengetahui bagaimana ia berfungsi, hadiri short course ini.

READ MORE - Computer Interfacing Short Course

How to memorize OSI layer?

I got it from Dr. Syarifah Hafizah who teaches us Computer Network.

– Credit to her

OSI layer consist of:

Application
Presentation
Session
Transport
Network
Data
Physical

The formula is:

“Please Do Not Trust Sales Person Anymore”

To understand this formula let see the above illustration:

P-lease D-o N-ot T-rust S-ales P-erson A-nymore
P-hysical D-ata N-etwork T-ransport S-ession P-resentation A-pplication

Both have the same PDNTSPA right? That it is. Here you go. Well done.
READ MORE - How to memorize OSI layer?

Network Simulator 2


Network simulation is one of the methods to program and model the behaviour of any network including TCP data transmission. The different between simulation and its real application is the transmission accuracy as the simulator will only give the estimation result based on the ideal case that uses mathematical formula. The software tools used in this assignment is Network Simulator 2 (NS2). It is basically a process of generating a simulation result of a TCP scenario in a simple network topology. Hence, several advantages of this tools are to understand the basic components of TCP transmission, to observe the behaviour of TCP sessions as well as to get used to the NS2 tools. The simple scenario described above can be illustrated in the figure 1. The topology consists of three sources, one gateway and one receiver which the gateway has a TCP packets with droptail queue mechanism.

Tutorial for NS2

READ MORE - Network Simulator 2

How to create partition in windows vista

After searching for a some times, finally I found the useful webpage that tell us how to make a drive partition without using a third party software. Here you go

http://www.lytebyte.com/2007/02/19/how-to-partition-in-windows-vista-extend-and-shrink/

....gtg..
READ MORE - How to create partition in windows vista

Related Posts Plugin for WordPress, Blogger...
 
 
 

Total Pageviews

Advertisements

Cool Text: Logo and Graphics Generator
Home