A typical hardware standard
Download
1 / 24

A typical “hardware” standard - PowerPoint PPT Presentation


  • 88 Views
  • Uploaded on

A typical “hardware” standard. How do computers control the world?. Each joint is a motor that can be turned on and off with a switch. 7 switches to control a whole robot. A Computer “port”. Connects 1 byte of memory to outside world. A printer “Port”.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' A typical “hardware” standard' - edolie


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript




A computer port
A Computer “port” switch

  • Connects 1 byte of memory to outside world


A printer port
A printer “Port” switch

  • Computer connects an internal byte variable to the printer switches, and changes the values to tell the printer what to print


Address switch

Data

Memory

r/w


I/0 Memory switch

Data Memory

Program Memory

Fast Specialty Memory


Memory mapped I/O switch

8-bit

Your Program

Driver

Port

A Decimal

Variable

A Binary

Value

A function

call


An example program
an example program switch

Private Sub Write_Port(value As Integer)

txtByteOut.Text = (value) 'decimal

Status = cbUSBDOut(DeviceNum, RELAY_PORT, value)

If value < 16 Then

txtHexOut.Text = "0" & (Hex(value))

Else

txtHexOut.Text = (Hex(value))

End If ' hex

txtBinary.Text = CBin(value) 'binary

End Sub


The overriding concern
the overriding concern switch

  • the computer power levels (+/- 5, +/- 12) are EXTREMELY sensitive to surges

  • industrial machinery regularly injects surges into its power lines (+24 vdc)

  • computer power (clean) MUST be kept separate from industrial power (dirty)

  • reference pt (ground) is connected between the two in ONE PLACE ONLY



motor, etc switch


Computer switch

“dirty” Environment



Computer switch

Environment



Buying parts
buying parts switch

http://www.sparkfun.com


ad