LowPowerLab Forum

Hardware support => Moteino => Topic started by: petertohen on November 15, 2017, 05:33:56 AM

Title: Serial errors on Moteino with RadioHead
Post by: petertohen on November 15, 2017, 05:33:56 AM
Hi,

I have an arduino pro mini 328 and a moteino. They both have a LoRa radio.
The software is almost the same except that the moteino has the special moteino version of the radiohead library.
The software talks over a 9600 bps connection via an fdti converter to a pc.
Now the problem is that on the pro mini, all communication is fine but on the moteino I constantly get serial errors: I added a CRC check to the protocol.
I use regular Serial.read/available/write to do serial communication.
https://lowpowerlab.com/guide/moteino/
Any ideas how to resolve this?
thanks
Title: Re: Serial errors on Moteino with RadioHead
Post by: Felix on November 15, 2017, 09:03:24 AM
Can you give more detail about the serial errors?
Not sure if it's relevant but to which protocol did you add the CRC?

FWIW currently you don't need the custom RadioHead library, only if nothing else works. RadioHead now supports Moteino. In any case, a promini+LoRa can and should be able to use the same library as the Moteino+LoRa (assuming the radios are wired the same way to the SPI).