Progress !

Well the break out boards turned up. Sadly they didn’t work or something was wrong, however in a bit of disastrous soldering I managed to destroy the ISM chip.

Anyway I’ve redesigned the break out to be alot more simple. Those are on the way. Also ordered some new ISM300’s. :/

In the mean time  the nice people at Maxim sent me 2 free PARASITE POWER DS18S20 TO-92 L/F Temperature modules. Using the following link I’ve managed to make a pair of DS18B20’s talk to my Arduino.

So my first stab at a telemetry string is as follows :

$$Ava,5620,TIME,24.44,24.56,

a nice cosy 24.5’C in the room 🙂

It’s a very simple Sketch :

#include <OneWire.h>
#include <DallasTemperature.h>
#define ONE_WIRE_BUS 2
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
int counter;
void setup(void)
{
Serial.begin(9600);
sensors.begin();
}
void loop(void)
{
while(true)
{
Serial.print(“$$Ava,”);
Serial.print(counter++);
Serial.print(“,TIME,”);
sensors.requestTemperatures();
Serial.print(sensors.getTempCByIndex(0));
Serial.print(“,”);
Serial.print(sensors.getTempCByIndex(1));
Serial.println(“,”);
delay(2000);
}
}

Its becoming fairly apparent I don’t know much about coding on the AVR. I’ll have to have a chat with someone about it!

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Human test : * Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.