350 likes | 532 Views
1. Other systems are part of the environment. stimuli. response. sensor. control program. actuator. 2. Communicate with other systems. Mobile robots Stationary computers. stimuli. response. sensor. control program. actuator. symbol. symbol. symbol to signal. signal to symbol.
E N D
1. Other systems are part of the environment stimuli response sensor control program actuator 2. Communicate with other systems • Mobile robots • Stationary computers stimuli response sensor control program actuator
symbol symbol symbol to signal signal to symbol wired or wireless
symbol 0 or 1 symbol 0 or 1 symbol to signal signal to symbol
symbol 0 or 1 symbol 0 or 1 symbol to signal signal to symbol 26 usec 0 0 1 1
symbol 0 or 1 symbol 0 or 1 symbol to signal signal to symbol 2400 bit/sec … 0 0 16 IR bursts 1 1 417 usec
symbol 0 or 1 symbol 0 or 1 symbol to signal signal to symbol 2400 bit/sec 1 0
Sends out IR messages every 0.5 sec • Receives and counts IR messages
Sends out IR messages every 0.5 sec • Receives and counts IR messages
NXT communication Serial Port Profile
Point-to-point Serial Master/slave 12 M bit/sec USB 2.0 Four wires
Bluetooth 2.0 Radio waves Up to 10 m 3 M bit/sec
Embedded Java The leJOS API classes provide wired and wireless communication: USB Bluetooth USBSend/USBReceive BTSend/BTReceive
USBSend USBReceive streams outDat dIn inDat dOut USB cable PC NXT
1. Establish connection 2. Set up data streams 3. Use data streams
1. Establish connection 2. Set up data streams 3. Use data streams
BTSend BTReceive streams dos dis dis dos radiowaves PC NXT