Go Down

Topic: How Much Would This Sketch Cost To Write? (Read 1 time) previous topic - next topic

Yinno

Hello, I'm looking for code to accomplish the tasks outlined within the this thread: http://forum.arduino.cc/index.php?topic=180074.0

Ballpark, how much would this cost? You can Private Message me, if you prefer.

Thanks

robtillaart

The requirements are too incomplete so can only give an estimate of their interpretation of the missing pieces.
my wages are a differential equation - the less free time I have the more expensive they becomes ;)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Yinno


The requirements are too incomplete


Here's some more detail:

Arrch, that's exactly the dollar amount I had in mind. That's great.

The deal would include the following:
(1)   Commented and compiling sketch that:
a.   Receives data from the tester (I can send you a PDF of the tester manual, if needed)
b.   Calculates the absolute difference (delta) of the FLOW values for a single device and resets the displayed values to "Waiting" when a different device is tested.
c.   The following information displays on this LCD screen (I already bought this one, but can buy a different one, if you prefer): http://www.sainsmart.com/sainsmart-iic-i2c-twi-serial-2004-20x4-lcd-module-shield-for-arduino-uno-mega-r3.html
i.   FLOW 1
ii.   FLOW 2
iii.   DELTA
iv.   RESULT
d.   Includes a section to accommodate a physical momentary switch. At any time, when the momentary switch is depressed, all the values on the LCD would change to "Waiting". The sketch comments will note which two Arduino pins to connect the switch to.
(2)   Sketch delivered within 2 weeks of ½ payment provided. I understand if some debugging will be required upon receipt. The second ½ payment provided upon successful use.
(3)   Provide your phone number for potential communication if email doesn't do the trick



robtillaart

Quote
(I can send you a PDF of the tester manual, if needed)

You can post it here so all can see it and get a better idea what is needed

what country are you in?

Think the outline looks like this
Code: [Select]

// some vars...
#include <lcd.h>
#define BUTTONPIN 4

float flow1;
float flow2;
float delta;
float result; // ? how defined
char buffer[128];   // to hold input from tester

void setup()
{
  // setup thingies
}

void loop()
{
  if (digitalRead(BUTTONPIN) == HIGH)
  {
    resetScreen();
  }
  if (Serial.available() > 0)
  {
    readFromTester();
  }

  if (dataFromTesterComplete())
  {
    float delta = abs(flow1 - flow2);
    displayValues();
  }
}


Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Yinno


You can post it here so all can see it and get a better idea what is needed


Good thinking; the manual is attached. The applicable parts are around page 70.

what country are you in?


I'm in New Hampshire (USA) and have updated my profile.

Think the outline looks like this


Awesome!

robtillaart

You get a data report like on page 82 and you want that to be parsed by the Arduino
Code: [Select]

Cycle Prog Test Value Units Result
1 1 PD .005 PSIG PASS
2 1 PD .055 PSIG LEAK
1 2 Flow 110.12 SCCM PASS
2 2 Flow 180.03 SCCM HIGH
1 3 BURST 4.005 PSIG PASS
2 3 BURST .355 PSIG LOW


and then DELTA = 69.91 (= abs(180.03 - 110.12 ))
what should result be?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Yinno


...DELTA = 69.91...what should result be?


The result would be "PASS" because the DELTA is less than 150.

If the DELTA was greater than 150, the result would be "FAIL"

Thanks for looking at this.

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up