For people who’ve had trouble getting TextFinder to work with Arduino 1.0-rc1, Michael Margolis has released a new version of the library that should compile for both the older Arduino 0022 and the newer Arduino 1.0-rc1. You can find it on the Arduino playground.

The following examples are affected by this:

 

Chapter 4

Chapter 6

Chapter 9

Chapter 10

The code in my gitHub repository for these examples is up to date for Arduino 1.0-rc1.

 

If you’re trying to use any of the Ethernet examples or the Wifi example straight from the 2nd edition of Making Things Talk, you’re probably getting some errors related to the definition of Client and Server. Here’s how to fix them.

Continue reading »

AirNow Web Page Scraper

 Chapter 4, PHP  Comments Off on AirNow Web Page Scraper
Oct 072007
 
<?php

/*
        AIRNow Web Page Scraper
        Language: PHP
        Reads a web page and returns one line from it.
*/

Continue reading »

Air Quality Meter

 Arduino/Wiring, Chapter 4  Comments Off on Air Quality Meter
Oct 072007
 
/*
  Air Quality meter
  Language: Wiring/Arduino (pin numbers defined for Arduino)
  
  Microcontroller is connected to a Lantronix serial-to-ethernet device. This program connects to a HTTP server through the Lantronix module, makes a HTTP GET request for a PHP script, and parses the returned string.
  Lantronix device communicates at 9600-8-n-1 non-inverted (true) serial.
  Lantronix serial settings:
  Baudrate 9600, I/F Mode 4C, Flow 00
  Port 10001
  Remote IP Addr: --- none ---, Port 00000  
  Connect Mode : D4
  Disconn Mode : 00
  Flush   Mode : 00
 */

Continue reading »

SoftwareSerial example #1

 Arduino/Wiring, Chapter 4  Comments Off on SoftwareSerial example #1
Oct 072007
 
/*
  SoftwareSerial example
  Language: Wiring/Arduino
  This program uses the SoftwareSerial library to send serial messages 
  on pins 8 and 9.  

  // include the SoftwareSerial library so you can use its functions:
*/

Continue reading »

SoftwareSerial example #2

 Arduino/Wiring, Chapter 4  Comments Off on SoftwareSerial example #2
Oct 072007
 
/*
  SoftwareSerial example
  Language: Wiring/Arduino

  This program is a variation on the networked air quality meter. 
  It uses the SoftwareSerial library to send serial messages 
  on pins 8 and 9.  
*/

Continue reading »

Lantronix serial-to-ethernet HTTP request tester

 Chapter 4, Processing  Comments Off on Lantronix serial-to-ethernet HTTP request tester
Oct 072007
 
/*
  Lantronix serial-to-ethernet HTTP request tester
  Language: Processing

  This program sends serial messages to a Lantronix 
  serial-to-ethernet device to get it to connect to a 
  remote webserver and make an HTTP request. To use this program, 
  connect your PC to the Lantronix module’s serial port as you 
  did when you were configuring the Lantronix module earlier.
  
*/

Continue reading »

Test Server

 Chapter 4, Processing  Comments Off on Test Server
Oct 072007
 
/*
  Test Server Program
  Language: Processing

  Creates a server that listens for clients and prints 
  what they say.  It also sends the last client anything that's  
  typed on the keyboard.
*/

Continue reading »

© 2012 Making Things Talk Suffusion theme by Sayontan Sinha