EE-SY310 and Arduino basic sketch without radio etc...

Started by mgvanosd, March 06, 2014, 10:57:04 PM

mgvanosd

I am new to working with the Arduino and recently purchased the SY310 premade circuit board that includes the resistors, from LowPowerLabs as I need the ability to count pulses from an ground irrigation meter. I have seen the sketch that includes the radio etc... but here is what I am trying to initially do:

1) I'm using an Arudino and as a start want to print the pulse counts to my computer that is USB attached to the Arudino. So basically I'm wanting to see what the sketch would look like only printing to the serial and not out wireless.

I have tried using a magnetic reed and also a hall effect sensor but the meters magnetic rotation is not suitable for this method for several reasons so it appears that the SY310 could be a great solution.

Any help anyone could provide would be much appreciated.

Felix

Hey welcome to the forum,
I think all you need is this WaterMote sketch: https://github.com/LowPowerLab/WaterMote/blob/master/WaterMote_RFM69.ino
But remove/comment out all the radio stuff and just print the sendBuf buffer using Debugln(sendBuf) or Serial.print(sendBuf) ... that's pretty much it.