Quantcast
Channel: ThingSpeak IoT Community - Forum: Arduino
Viewing all articles
Browse latest Browse all 172

wheato22 on My Water Meter Reading App Communication with ThingSpeak

$
0
0

Hi Rob and RW,
Rob's Points above are on target. Water pulses arrive at a max rate of 10/minute. No need to disable interrupt handler since it takes microseconds to do the math. I'll give that a try to eliminate interactions with the Ethernet routine. Other's doing water meter apps usually count the spinning leak detector in the meter and it pulses 1000's of times per gallon. I'll eliminate off/on interrupts code and test

RW identifies my fundamental knowledge gap of Arudino programming. I have had no sure idea how to correctly merge my Water Count void loop (which works standalone) with the the Ethernet example. I understand the only one "void setup()" concept but need help on how to structure the multiple routines "void loops" on one big Sketch.

I'll try RW's "Write Voltage" example first with my specific Ethernet shield and and get that working. Then add my Water Sketch without "disabling" interrupts between pulses .

Thanks for the help.
Larry


Viewing all articles
Browse latest Browse all 172

Trending Articles