Designing Embedded Internet Devices -  Brian DeMuth,  Dan Eisenreich

Designing Embedded Internet Devices (eBook)

eBook Download: PDF
2002 | 1. Auflage
582 Seiten
Elsevier Science (Verlag)
978-0-08-047717-6 (ISBN)
Systemvoraussetzungen
66,95 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Embedded internet and internet appliances are the focus of great attention in the computing industry, as they are seen as the future of computing. The design of such devices presents many technical challenges. This book is the first guide available that describes how to design internet access and communications capabilities into embedded systems. It takes an integrated hardware/software approach using the Java programming language and industry-standard microcontrollers. Numerous illustrations and code examples enliven the text. This book shows how to build various sensors and control devices that connect to the TINI interfaces, explains how to write programs that control them in Java, and then ties them all together in practical applications. Included is a discussion on how these technologies work, where to get detailed specifications, and ideas for the reader to pursue beyond the book. The accompanying CDROM includes Java source code for all the applications described in the book, as well as an electronic version of the text.

*The first guide to designing internet access and communications capabilities into embedded systems
*Takes an integrated hardware/software approach using the Java programming language an industry-standard
*Accompanying CDROM includes Java source code for all the applications described in the book, as well as an electronic version of the text
Embedded internet and internet appliances are the focus of great attention in the computing industry, as they are seen as the future of computing. The design of such devices presents many technical challenges. This book is the first guide available that describes how to design internet access and communications capabilities into embedded systems. It takes an integrated hardware/software approach using the Java programming language and industry-standard microcontrollers. Numerous illustrations and code examples enliven the text. This book shows how to build various sensors and control devices that connect to the TINI interfaces, explains how to write programs that control them in Java, and then ties them all together in practical applications. Included is a discussion on how these technologies work, where to get detailed specifications, and ideas for the reader to pursue beyond the book. The first guide to designing internet access and communications capabilities into embedded systems Takes an integrated hardware/software approach using the Java programming language an industry-standard

Front Cover 1
Designing Embedded Internet Devices 4
Copyright Page 5
Contents 7
Acknowledgments 6
Dedication 6
What’s on the CD-ROM? 14
Chapter 1. Introduction 16
Why should you read this book? 16
What this book will do for you 17
How this book is laid out 17
How to get the most out of this book 18
What you should already know 19
Chapter 2. Computer Networks 20
A really simple network 21
A small office and home network 22
Connecting a LAN to the Internet (or a LAN, MAN, WAN) 23
The 10/100 Base- T cable 26
Ethernet address 28
Internet addresses 29
Domain names 29
Network classes 29
Subnetworks 31
DHCP 32
Protocols 33
Client/server 35
Chapter 3. Java Essentials for Embedded Networked Devices 40
For Windows 41
For Linux 43
For Windows 46
For Linux 49
Classes, objects, methods, constructors 52
OOP diagrams 54
Inheritance 56
Errors, exceptions, and exception handling 66
Network Programming 74
Threads 89
Serial ports 100
Chapter 4. Overview of Embedded Networked Devices 108
Chapter 5. Getting Started with TINI 116
The TINI SIMM 117
The socket board 118
Get your TINI running 120
For Windows 122
Windows 95/98 122
Windows 2000, Windows NT, Windows XP 123
Linux 123
Running JavaKit 124
Your first TINI program 129
Windows 132
Linux 134
Hardware 134
First 1-Wire program 135
Compile from Windows, run from Windows 137
Compile from Windows, run from TINI 137
Compile from Linux, run from Linux 139
Compile from Linux, run from TINI 139
Chapter 6. The TINI Hardware 142
Versions 143
A high-level look at TINI 144
The SIMM (Single Inline Memory Module) edge connector 145
The processor and oscillator module 148
The RAM nonvolatizer 159
The CPU Reset circuitry 161
The internal 1-Wire net 162
The external 1-Wire I/O, or iButton interface 164
The RS232 interface 165
The real-time clock 166
Programming example: using the real-time clock 168
The Ethernet controller 170
The I2C interface 172
The CAN interface 173
What's in an E20 socket board? 173
The E20 in greater detail 175
Vinculum Technologies Group 188
Systronix 189
Additional products and vendors 189
Making a custom TINI socket 190
Chapter 7. The TINI Software 192
Terminal 195
Starting slush 206
Slush commands 208
Slush files and environment 214
Tips for your programs 220
TINIConvertor 223
BuildDependency 224
A TINI example 226
Modifying slush 234
Utilities 247
GNUmake 252
Linux 252
Windows 252
JEdit 255
TiniHttpServer 257
TiniInstaller 257
TINIAnt 257
Chapter 8. Enhancing TINI 260
Adding data bus buffer 271
The address decoder 271
Adding an LCD display 275
Adding buttons 288
Adding a keypad 295
Add an LED display 301
Chapter 9. TINI Serial and Parallel I/O 310
A few serial port details 311
TINI serial ports 320
Serial communication software (API) 326
A serial example 328
A parting word on serial ports 345
TINI parallel ports 347
Parallel communication software (API) 349
A simple parallel device example 352
Another example 356
Other ways of handling parallel I/O 359
Chapter 10. Wire Basics for TINI 360
Wire Reset Details 365
Wire Data Communication Details 365
The Read ROM command 369
The Search ROM command 371
Match ROM 373
Skip ROM 373
Memory commands 374
DS2405 Addressable Switch ROM commands 378
The DS2405 Match ROM command 379
The DS2405 Search ROM command 379
DS1920 ROM commands 382
The DS1920 Alarm Search command 382
Communication ports on the PC 386
The 1-Wire Java API, TMEX drivers, and these mysterious things called port adapters 395
Example: finding all 1-Wire devices on a specific port 397
Example: Finding devices by family on a specific port 409
Example: Identifying all software port adapters present 411
Example: Finding the default adapter 413
Example: Finding all 1-Wire devices on any port 415
Example: Controlling the DS2405 addressable switch 416
Example: Measuring temperature with a DS1920 temperature iButton 426
The TINI external 1-Wire bus 434
The TINI internal 1-Wire bus 435
TINI port adapter objects 435
The TINI API 436
Example: Another way of determining the ROM ID for all 1- Wire devices attached to TINI 440
Example: Yet another way of determining the ROM ID for all 1- Wire devices attached to TINI 443
Example: Controlling a DS2405 addressable switch from TINI 445
Example: Using a temperature iButton with TINI 445
Chapter 11. The I2C Bus 448
The master/slave concept in I2C 449
The I2C data format 450
A few words about addressing 454
A typical I2C bus configuration 454
Extensions to the basic concept 455
TINI and I2C: Hardware 455
TINI and I2C: Software 457
Example: Using TINI and I2C to drive a 7-segment LED display 459
Example: A TINI digital thermometer 470
Example: Extending TINI s parallel I/O 470
Chapter 12. Controller Area Network 482
General overview 482
CAN versions 483
Bus states 484
Message coding 486
Frames 487
Priority and arbitration 491
Error detection and handling 492
Synchronization and bit stuffing 493
Bit timing 493
Physical layers and media 496
Higher-layer protocols 497
C390 CAN controllers 498
TINI CAN hardware 499
The CAN classes 502
Another word on bit timing 503
A CAN bus monitor 505
Another CAN example 515
Chapter 13. Connecting TINI to an IP Network 526
Other relevant network commands 529
A simple TINI network 529
A slightly more elaborate TINI network 532
The TINI networking classes 533
How TINI does PPP 535
The physical interface (cabling and modems) 538
Example: Dialing out to an ISP (TINI as a PPP Client) 553
Example: Dialing into TINI from a PC (TINI as a PPP Server) 560
Example: Dialing into TINI from a PC (With Authentication) 569
Rebuilding Slush to include PPP 576
Chapter 14. A Few Final Thoughts 584
Why internet-enable anything? 586
Possibilities 586
Index 592

Erscheint lt. Verlag 27.11.2002
Sprache englisch
Themenwelt Sachbuch/Ratgeber
Mathematik / Informatik Informatik Theorie / Studium
Mathematik / Informatik Informatik Web / Internet
Technik Elektrotechnik / Energietechnik
ISBN-10 0-08-047717-8 / 0080477178
ISBN-13 978-0-08-047717-6 / 9780080477176
Haben Sie eine Frage zum Produkt?
Wie bewerten Sie den Artikel?
Bitte geben Sie Ihre Bewertung ein:
Bitte geben Sie Daten ein:
PDFPDF (Adobe DRM)
Größe: 4,4 MB

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
A practical guide to probabilistic modeling

von Osvaldo Martin

eBook Download (2024)
Packt Publishing Limited (Verlag)
35,99