Chapter 4

TextFinder update

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.

Chapter 10
Chapter 4
Chapter 6
Chapter 9
Errata
Updates

Comments (0)

Permalink

Clients and Servers and Updates, Oh My!

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 »

Arduino/Wiring
Chapter 10
Chapter 4
Chapter 5
Chapter 6
Chapter 9
Errata
Updates

Comments (0)

Permalink

AirNow Web Page Scraper

<?php

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

Continue Reading »

Chapter 4
PHP

Comments Off

Permalink

Air Quality Meter

/*
  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 »

Arduino/Wiring
Chapter 4

Comments Off

Permalink

SoftwareSerial example #1

/*
  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 »

Arduino/Wiring
Chapter 4

Comments Off

Permalink

SoftwareSerial example #2

/*
  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 »

Arduino/Wiring
Chapter 4

Comments Off

Permalink

Lantronix serial-to-ethernet HTTP request tester

/*
  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 »

Chapter 4
Processing

Comments Off

Permalink

Test Server

/*
  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 »

Chapter 4
Processing

Comments Off

Permalink