Announcements
This presentation is the property of its rightful owner.
Sponsored Links
1 / 24

Announcements PowerPoint PPT Presentation


  • 48 Views
  • Uploaded on
  • Presentation posted in: General

Announcements. Feb 14 - ESPN will be recruiting via video conference. 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”.

Download Presentation

Announcements

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


Announcements

Announcements

  • Feb 14 - ESPN will be recruiting via video conference


A typical hardware standard

A typical “hardware” standard


How do computers control the world

How do computers control the world?


Each joint is a motor that can be turned on and off with a switch

Each joint is a motor that can be turned on and off with a switch


7 switches to control a whole robot

7 switches to control a whole robot


A computer port

A Computer “port”

  • Connects 1 byte of memory to outside world


A printer port

A printer “Port”

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


Announcements

Address

Data

Memory

r/w


Announcements

I/0 Memory

Data Memory

Program Memory

Fast Specialty Memory


Announcements

Memory mapped I/O

8-bit

Your Program

Driver

Port

A Decimal

Variable

A Binary

Value

A function

call


An example program

an example program

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


Optical isolation

Optical Isolation


Announcements

motor, etc


Announcements

Computer

“dirty” Environment


Mechanical relay

Mechanical Relay


Announcements

Computer

Environment


Announcements

Digital Input


Buying parts

buying parts

http://www.sparkfun.com


  • Login