1 / 24

Announcements

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Announcements • Feb 14 - ESPN will be recruiting via video conference

  2. A typical “hardware” standard

  3. How do computers control the world?

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

  5. 7 switches to control a whole robot

  6. A Computer “port” • Connects 1 byte of memory to outside world

  7. A printer “Port” • Computer connects an internal byte variable to the printer switches, and changes the values to tell the printer what to print

  8. Address Data Memory r/w

  9. I/0 Memory Data Memory Program Memory Fast Specialty Memory

  10. Memory mapped I/O 8-bit Your Program Driver Port A Decimal Variable A Binary Value A function call

  11. 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

  12. Optical Isolation

  13. motor, etc

  14. Computer “dirty” Environment

  15. Mechanical Relay

  16. Computer Environment

  17. Digital Input

  18. buying parts http://www.sparkfun.com

More Related