You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
I will try with higher baudrates ... also I changed my sketch (but without much improvement). To be honest, I have a Mega, but I don't 'dare' to use it, since that one is now on a breadboard circuit that I'm for sure knows it works (and by disassembling it, I'm afraid I don't have any working solution). I have ordered a new one, and will test it again when I receive it.Michel Keijzers– Michel Keijzers2017年06月25日 13:32:20 +00:00Commented Jun 25, 2017 at 13:32
-
1To the best of my knowledge, "Software Serial works better with higher baudrates. The lower the baudrate, the more trouble you get" is false. In general, software serial is incapable of handling data rates like 115200 without high incidence of errors. OTOH, it should handle 4800, 9600, etc okJames Waldby - jwpat7– James Waldby - jwpat72017年06月25日 13:32:24 +00:00Commented Jun 25, 2017 at 13:32
-
MichelKeijzers, The SoftwareSerial is useless for you, it can not transmit and receive at the same time. @JamesWaldby With lower baudrates, the interrupts are disabled for longer time. With a full sketch and lots of things going on, it will cause a lot of trouble for sure.Jot– Jot2017年06月25日 13:35:23 +00:00Commented Jun 25, 2017 at 13:35
-
I tried with 300, 9600 and 115200 (no changes) ... probably the duplex is the main problem ... I will try this test again when I have the new Mega.Michel Keijzers– Michel Keijzers2017年06月25日 13:38:23 +00:00Commented Jun 25, 2017 at 13:38
-
1In the Arduino IDE, in the Library Manager, search for: altsoft. Install the "AltSoftSerial by Paul Stoffregen". Find which fixed pins are for RX and TX ( pjrc.com/teensy/td_libs_AltSoftSerial.html ). Use 9600 baud, and it should work.Jot– Jot2017年06月25日 13:43:52 +00:00Commented Jun 25, 2017 at 13:43
lang-cpp