Kyle Christensen
TVWBB Fan
Is there a trick to monitoring my HM output via say.. an arduino?
I have my HM board hooked up to my arduino (3.3v & GND, digital 0,1 crossovered to the tx/rx), running a sketch like:
#include <SoftwareSerial.h>
SoftwareSerial HeterMeter(0, 1);
void setup()
{
Serial.begin(9600);
Serial.println("Startup complete");
HeterMeter.begin(9600);
}
void loop()
{
if (HeterMeter.available())
Serial.write(HeterMeter.read());
}
I run the sketch on my arduino, watch it print "Startup complete" and see my HM LED blink twice (which I understand means it got past initialization), but that's it as far as output is concerned, so HeterMeter.available() is false...
I have my HM board hooked up to my arduino (3.3v & GND, digital 0,1 crossovered to the tx/rx), running a sketch like:
#include <SoftwareSerial.h>
SoftwareSerial HeterMeter(0, 1);
void setup()
{
Serial.begin(9600);
Serial.println("Startup complete");
HeterMeter.begin(9600);
}
void loop()
{
if (HeterMeter.available())
Serial.write(HeterMeter.read());
}
I run the sketch on my arduino, watch it print "Startup complete" and see my HM LED blink twice (which I understand means it got past initialization), but that's it as far as output is concerned, so HeterMeter.available() is false...