Tham khảo tài liệu 'hacking roomba - tod part 9', kỹ thuật - công nghệ, cơ khí - chế tạo máy phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 222 Part III More Complex Interfacing Lantronix XPort Lantronix was one of the first companies to produce an embedded device server for serial devices thus enabling those devices to be on the Internet. Their Cobox Micro was a module very similar in look to the SitePlayer but included an Ethernet jack. The XPort is a miniaturization of the Micro. The entire device server fits inside of a slightly elongated Ethernet jack. Figure 11-14 shows what an XPort looks like not connected to anything. It is tiny. It s hard to believe there s really a computer in there. Figure 11-14 Lantronix XPort While the SitePlayer is very much aimed toward the hobbyist and includes such hacker-friendly things as standard breadboard pin spacing and 5 V tolerant inputs the XPort is aimed at the professional device integrator. It has inputs and a high-density spacing. These two factors make it a little harder for the typical hacker to use. The XPort evaluation board shown in Figure 11-15 converts it to a more hacker-friendly format. It still requires 5VDC power so a small power supply to use the Roomba s battery is needed. Notice how much more complex it seems compared to the SitePlayer Telnet System box. This is partially because it is an evaluation board and so has extra parts to let engineers properly evaluate the device but also because integrating the XPort just takes more infrastructure when dealing with the 5 VDC and RS-232 world of most hackers. Chapter 11 Connecting Roomba to the Internet 223 Figure 11-15 Lantronix XPort evaluation board If you re designing a new system which will thus likely run on and it needs to be small the XPort is a great product. For hackers or if you re adding to an existing 5V system the SitePlayer or the Cobox Micro is better. Many prefer the SitePlayer because it has a slightly more modern configuration style. Configuring the XPort In its default configuration the XPort responds on a single IP address and on a number of different ports Port 10001