-
Kurt Rosenberger replied to the topic Bringing in serial data through UART on 20-Pin connector in the forum Mayfly Data Logger 4 years, 6 months ago
Folks
OK, I have data coming in, and can print to serial to see the output on serial monitor. Now I’m having a lot of difficulty declaring the new variables in my sketch in order to log the data using the LoggerBase, and I think it might be how the author of the GPS C++ code that I’m using set up the structures and classes in the header file. I…[Read more]
-
Kurt Rosenberger replied to the topic Bringing in serial data through UART on 20-Pin connector in the forum Mayfly Data Logger 4 years, 6 months ago
OK, I got it to work. The original sketch called for use of SoftwareSerial, and I replaced this with Serial1, and I realized that if I use Serial1, I don’t have to designate the pin numbers. Got the Airmar plugged into the correct pins (A7 and A8), and voila, data coming in! Now my next task is to figure out how to log the 1Hz data to a buffer of…[Read more]
-
Kurt Rosenberger replied to the topic Bringing in serial data through UART on 20-Pin connector in the forum Mayfly Data Logger 4 years, 6 months ago
Hi Shannon and Sara
Thank you for your replies – yes, I was not able to communicate with the Mayfly while I had data coming in, so I will switch to RX1/TX1. However, I’m still not clear on how to designate that in the initial setup in the sketch. It was fine with A6 and A7, but when I try to use A8/A9 or RX1/TX1 in the ‘static const’ declaration,…[Read more]
-
Kurt Rosenberger started the topic Bringing in serial data through UART on 20-Pin connector in the forum Mayfly Data Logger 4 years, 8 months ago
Hello
I’m just getting started with the Mayfly, and am trying to bring in met data from an Airmar PB-100, using a GPS sketch I found for the Arduino (it is formatted as NMEA-0183, as they were built for boats). But my first hurdle is to even get the data in. I have an RS-422-TTL converter to bring the data in on the UART (I know this thing works…[Read more]
-
Kurt Rosenberger became a registered member 4 years, 10 months ago