Howzit Martin
Dean Goldbaum from Johannesburg
One of the issues is the flimsy connection between the IR port and the board.
Would like the high res and data logging for my small solar setup
I blew my 2 day old inverter by trying to measure the output voltage while the lead of my dmm was in the amp socket!! Although I HOPE I have learnt from my mistake, the feature that gives you a warning noise for the incorrect lead placement would prevent that kind of thing from happening again!
Below is a pic of my dmm which cost R59 (~$7) on special from makro. It is attached to an arduino, measuring different voltage points. I am impressed how "reasonably close" they are (except for the 1.765V).
I will also include the code for the arduino and processing, would be interested to see how close it is on an accurate meter with higher res.
Thanks for the great job and well done for your 1st million, I will be included in your millions more to come!
int positive =11; //connect pin 11 to positive lead of multimeter
//connect GND to negative lead
void setup()
{
pinMode(positive, OUTPUT);
Serial.begin(9600);
}
void loop()
{
for(int i=0;i<=255;i+=15)
{
analogWrite(positive, i);
float volts=i*0.01960784; //5v/255
int res=4;
int counts=4;//change for higher count meter *1000
if(volts>=counts)
{ res--;
}
Serial.print(volts,res);//res changes the displayed resolution
Serial.print("V");
Serial.print("*");
delay(5000);
}
delay(12500);
}
//BEFORE RUNNING!: you need to create a font by clicking: tools> create font > select AgencyFB-Bold and change the size to 200
//Make sure the COM port is correct
//Base of code from Jeremy Blum
import processing.serial.*;
Serial port;
String volts = "";
String data = "";
PFont font;
void setup()
{
size(460,170);
port = new Serial(this, "COM2", 9600);
port.bufferUntil('*');
font = loadFont("AgencyFB-Bold-200.vlw");
textFont(font, 170);
}
void draw()
{
background(0,0,0);
fill(200, 10, 102);
text(volts, 15, 150);
}
void serialEvent(Serial port)
{
data = port.readStringUntil('*');
volts = data.substring(0,data.length() -1);
}