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 »

 

Since Spark Fun discontinued the version of the BlueSmirf that I used in the first edition of Making Things Talk, (the BlueSmirf v1) I’ve had a few requests for the data sheets, etc.  Apparently a number of people (me included) still have them and use them.  The AT commands appear nowhere online that I’ve found, so here’s what I have:

Spark Fun’s Bluesmirf v1 data sheet

BlueRadio’s AT command set for the radio

Sparkfun BlueSMiRF v.2

 Chapter 2, Chapter 6, Chapter 8, Errata  Comments Off on Sparkfun BlueSMiRF v.2
Jan 072008
 

The bad news: Spark Fun changed the radio on the BlueSMiRF radios. The SMiRFs I used in the first edition of the book used the BlueRadios radios. The new SMiRFs use the Roving Networks radios.

The good news: Spark Fun also released the BlueSMiRF v.2, which is slightly cheaper, and uses the Philips BGB203 radio. The command set for the BGB203 is nice, and can do many things the BlueRadios devices could do, and more. I’ll be updating the code examples here on this site, so you know how to use the new radios.

IR Transmitter

 Arduino/Wiring, Chapter 6  Comments Off on IR Transmitter
Oct 072007
 
/*
  IR transmit example
  Language: Wiring/Arduino

  This program reads an analog input on pin 0 and sends 
  the result out as an ASCII-encoded string. The TX line 
  of the microcontroller is connected to a Rentron 
  TX-IRHS IR transmitter which can transmit at 19200 bps.
*/

Continue reading »

RF Transmitter

 Arduino/Wiring, Chapter 6  Comments Off on RF Transmitter
Oct 072007
 
/*
  RF Transmitter
  Language: Wiring/Arduino

  This program reads an analog input on pin 0 and sends 
  the result out as an ASCII-encoded string. The TX 
  line of the microcontroller is connected to an RF 
  transmitter that is capable of reading at 2400 bps.
  
*/

Continue reading »

RF Receiver

 Chapter 6, Processing  Comments Off on RF Receiver
Oct 072007
 
/*
  RF Receive
  Language: Processing 
 
  This program listens for data coming in through a serial port. 
  It reads a string and throws out any strings that contain 
  values other than ASCII numerals, linefeed, or carriage return, 
  or that are longer than four digits. 
  This program is designed to work with a Laipac RF serial receiver 
  connected to the serial port, operating at 2400 bps.
*/

Continue reading »

XBee terminal

 Chapter 6, Processing  Comments Off on XBee terminal
Oct 072007
 
/*
  XBee terminal
  Language: processing

  This program is a basic serial terminal program.  
  It replaces newline characters from the keyboard 
  with return characters.  It's designed for use with 
  Linux, Unix, and OS X and XBee radios, because the 
  XBees don't send newline characters back.
*/

Continue reading »

XBee Analog Duplex Sender

 Arduino/Wiring, Chapter 6  Comments Off on XBee Analog Duplex Sender
Oct 072007
 
/*
  XBee Analog Duplex sender
  Language: Wiring/Arduino

  This sketch configures an XBee radio via the serial port, 
  sends the value of an analog sensor out, and listens for input 
  from the radio, using it to set the value of a PWM output. 
  Thanks to Robert Faludi for the critique and improvements.
*/

Continue reading »

BlueRadios Master Connection

 Arduino/Wiring, Chapter 6  Comments Off on BlueRadios Master Connection
Oct 072007
 
/*
  BlueRadios Master Connection
  Language: Wiring/Arduino

  This program assumes that the microcontroller is connected 
  to a BlueRadios bluetooth radio, and that the radio is in master mode.
  When the program starts, it releases the CTSpin pin 
  of the radio, so the radio can send data to the microcontroller.  
  Then it  sends a connect message and listens.  If more than 
  5 seconds passes, it attempts to connect again.  If it 
  receives a comma, which only appears in the 
  CONNECT,<address> string, it assumes the radio is connected and 
  starts sending data. If it receives an S, it assumes 
  the radio is disconnected and stops sending.
*/

Continue reading »

© 2012 Making Things Talk Suffusion theme by Sayontan Sinha