1. other systems are part of the environmentstimuli sensor control program response actuator stimuli...

30
stimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environment 2. Communicate with other systems a. Mobile robots b. Stationary computers

Upload: others

Post on 10-Mar-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

stimuli

sensor control program

response

actuator

stimuli

sensor control program

response

actuator

1. Other systems are part of the environment

2. Communicate with other systems a.  Mobile robots b.  Stationary computers

Page 2: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

symbol

symbol to signal signal to symbol

symbol

wired or wireless

Page 3: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

RCX Infrared Transmitter/Receiver, IR Tower

Page 4: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 5: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 6: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 7: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 8: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

NXT communication

Page 9: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

NXT communication

Page 10: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

USB 2.0

Point-to-point

Serial

Master/slave

12 M bit/sec

Four wires

Page 11: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

Bluetooth 2.0

Radio waves

Up to 10 m

3 M bit/sec

Page 12: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 13: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 14: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 15: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

Embedded Java

The leJOS API classes provide wired and wireless communication:

USB

Bluetooth

USBSend/USBReceive

BTSend/BTReceive

Page 16: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 17: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 18: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

PC NXT

USB cable

streams outDat

inDat dIn dOut

USBsend USBreceive

Page 19: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 20: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

1. Establish connection

2. Set up data streams

3. Use data streams

Page 21: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

Can also use nxjpcc and nxjpc

Page 22: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

1. Establish connection

2. Set up data streams

3. Use data streams

Page 23: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

PC NXT

radiowaves

streams dos dis

dis dos

BTsend BTreceive

Page 24: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

NXT to NXT wireless

Page 25: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

Situated communication

Page 26: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 27: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 28: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 29: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost
Page 30: 1. Other systems are part of the environmentstimuli sensor control program response actuator stimuli sensor control program response actuator 1. Other systems are part of the environmentHost

Legway