GPS & Serial Communication Conflicts...


hi guys,

this first post here please excuse me if i'm doing wrong...

i'm on internship working company called envision solar trying make monitor & control embedded system replace 3rd party stuff use on ev arc products , using arduino uno's prototype system.

so far has been working great , i've managed create complex system in arduino (1) measures bunch of inputs , sends them second arduino (2) ethernet shield sends data www , displayed on website etc. arduino 1 has few buttons , knobs stuff , flash lights , lcd screen displays of data. i'll spare nitty gritty , point...

on website there 2 buttons send trigger values arduino 2 sends them arduino 1 either reset either ev arcs ethernet or battery connections (currently flashing leds green red etc.). these buttons have been working seamlessly rest of system.

i have added adafruit ultimate gps module can coordinates of ev arc , send them website display on cool google maps thing. gps module works fine , can gps coordinates send web no problems. however, ethernet , battery reset buttons on website wont reset leds...

as far can tell, when print trigger value in serial monitor, arduino 1 appears receiving trigger values internet should reset corresponding outputs they're not doing job.

i've read arduino can process 1 set of serial commands @ time , thinking problem?

i've tried using gpsserial.end(); start , stop gps serial connection when it's not needed although i've heard software serial doesn't support line may doing nothing...

the gps module running in interrupt adafruit recommends , using softwareserial on pins 8 & 9 , 2 arduinos communicating via hardware(?) serial on pins 1 & 0.

the gps doesn't need update frequently, every 30 mins or on final product, i'm not bothered speeds etc.

would putting trigger commands in interrupt trick?

i've attached code both arduinos should want take look.

never mind... fixed it.

there conflicting serial data floating around due second arduino printing stuff didn't need to.


Arduino Forum > Using Arduino > Project Guidance > GPS & Serial Communication Conflicts...


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'