Building Wireless Sensor Networks

Errata for Building Wireless Sensor Networks

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date Submitted
PDF, ePub Page 149
Figure 5-6

In figure 5-6, the voltage regulator in the diagram is wired differently than the component specified should be. The specified component is a LD1117V33, for which the pins are (L to R): GND, Vout, Vin. However, the pins on the component in the figure are (L to R): Vin, GND, Vout. The component in figure 5-4 is wired correctly, however.

Thomas Weisbach  May 18, 2013 
PDF Page 154
line 48 of Processing code

Regarding the problem reported by Mark Widick. I'm seeing this issue too. A '/' is needed in the path between dataPath("") and "" to get that code to behave correctly. I'm running Processing 2.0b8.

Thomas Weisbach  May 15, 2013 
Other Digital Version 4792
entire page

Kindle version Error on both MAc os10.8 and WIndows 7. Software error code. No thermometers print. I have not corrected the 300k ohm to 300 ohm resistor error noted in the errata. Is this due to the newer versions of processing? How do I point to the files so they are seen by Processing? (log4j:ERROR) I suspect it is something I am not doing correctly as both computers have the issue. Most recent JAVA upgrade in both computer systems. Thanks, Mark Widick log4j:ERROR Could not read configuration file [/Users/processingonly/Desktop/Processing Folder/code/Simple_Sensor_Network/]. /Users/processingonly/Desktop/Processing Folder/code/Simple_Sensor_Network/ (No such file or directory) at Method) at<init>( at<init>( at org.apache.log4j.PropertyConfigurator.doConfigure( at org.apache.log4j.PropertyConfigurator.configure( at Simple_Sensor_Network.setup( at processing.core.PApplet.handleDraw( at processing.core.PGraphicsJava2D.requestDraw( at at Available serial ports: log4j:ERROR Ignoring configuration file [/Users/processingonly/Desktop/Processing Folder/code/Simple_Sensor_Network/]. Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 [0] "/dev/tty.Bluetooth-PDA-Sync" [1] "/dev/cu.Bluetooth-PDA-Sync" [2] "/dev/tty.Bluetooth-Modem" [3] "/dev/cu.Bluetooth-Modem" [4] "/dev/tty.usbserial-A6023W4B" [5] "/dev/cu.usbserial-A6023W4B" ** Error opening XBee port: com.rapplogic.xbee.api.XBeeException ** Is your XBee plugged in to your computer? Did you set your COM port in the code near line 20?

Mark Widick  May 03, 2013 
PDF Page 20
in section 'screen'

In this section the 'ls' command is used twice in the form 'ls dev/tty.*' but in this situation it would be better to use 'ls /dev/tty.*'

Thomas Weisbach  Apr 29, 2013 
Printed Page 92
diagram (schematic)

The voltage divider as diagrammed will result in DECREASED voltage as the light INCREASES and vice-versa. From the software, it looks to me like you are expecting the reverse. I checked an example digi website and they reversed GND and V+ in your diagram (connect the photocell to V+, ... and R1 to Gnd). I tried that and then it worked as expected: Voltage increased with increased light.

Dave Collins  Mar 06, 2013 
Printed Page p. 29
2nd paragraph

You describe PAN addresses as 16-bit, while later using 64-bit PAN IDs, which is confusing. I initially thought this was a mistake (as did p. 76 errata submitted by Vincenzo Pil), but apparently there is a PAN ID and an Extended PAN ID. Please clarify.

Anonymous  Nov 05, 2012 
PDF Page 70
Xbee connection step 4 and 5

In step 4, "Use yellow (or another color) hookup wire to connect pin 2 (TX/DOUT) of the XBee to digital pin 0 (RX) on your Arduino". But the Figure 3-9 shows that the yellow hookup wire is connected to pin 1 (TX) on Arduino. The similar mistake also appeared in step 5. Please the author clarify this suspect mistake. Thanks and regards, Milton

Milton Wong  Aug 12, 2012 
Printed Page 220
3rd para - "To read this in on an Arduino"

The sentence in para 3 reads - "To read this in on an Arduino connected to a router XBee that you configured as described above, ..." The description of the configuration is missing, but I assume the Arduino Tx and Rx pins should be connected to the XBee Din and Dout, respectively. Could I use Figure 4-9 on page 103, the "Romantic lighting sensor BASE schematic" but change the LED connection on the Arduino from pin 11 to pin 9 to agree with the LED callout in the sketch on page 220? I'm setting up a home security system with motion detectors, light control, siren, cameras and other sound. The first design was PLC control but I wanted to display the system on any computer in my house (now I'll be able to do it from anywhere!) Not impossible with PLC's and C# but costly. Then I discovered the Arduino and bought Tom Igoes book, "Making Things Talk." When I read about XBee's and then discovered your book, I new I was on the right track. Thanks to your book, the dream is close to reality. Thanks again! Brian Mills

Brian Mills  Mar 09, 2012 
Printed Page 97
Point 7

PAN ID: ________ not formatted consisently like, for example, under point 2 on page 95.

David Ray  Mar 24, 2011 
Printed Page 130
Table 5-7

In Table 5-7 Length is LSB 0X11=17 Frame Data Byte count is 18. I believe that length in Table 5-7 should read LSB 0x12.

laserled  Mar 20, 2011