-
-
Notifications
You must be signed in to change notification settings - Fork 5
SoftwareSerial (FAIL) #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Regarding SoftwareSerial in Uno R4 Minima, I couldn't make it work using GPIOs 10 and 11. It seems nothing is being transmitted nor received using SoftwareSerial in Uno R4 boards in these GPIOs |
I have the same issue using pin 10,11. did you get it working with any other pins? |
I just received the response from Arduino yesterday. I have not had a
chance to try different pins. Since I need two Serial ports for the
project that I’m trying to create and it is beginning to appear that the
UART is reaching its end of life, I’m thinking of switching over to using
PWM instead. The sensor I’m using offers either serial or PWM. Needless
to say the project has moved to the back of the list for now.
…On Sat, Jul 15, 2023 at 4:15 PM Hsubtnarg ***@***.***> wrote:
I have the same issue using pin 10,11. did you get it working with any
other pins?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASJTJ2UK3DAOKRYWDWWSNALXQMP7JANCNFSM6AAAAAAZ26Q6J4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I tryed pins 8 and 9 and it seems to work although now Im getting corruption on the messages Im sending, but I get the same with the hardware serial, so there is still something wrong |
One of the reasons why I have put my project on the back burner is because
the New R4 chips need some time to work out the unforeseen “bugs.” I’m
sure that Libraries are not considered to be low hanging fruit on their
development tree and thus not the first problems to be resolved. I have
set a time line of several months before I revive my project to give them
the time they need to address all the issues. While they claim “Drop in
Compatibility” with the R3, since many Library files are developed by
3rd parties it could be some time before many of the “bugs” are worked out.
Just a thought to consider in my development process.
…On Sat, Jul 15, 2023 at 8:15 PM Hsubtnarg ***@***.***> wrote:
I tryed pins 8 and 9 and it seems to work although now Im getting
corruption on the messages Im sending, but I get the same with the hardware
serial, so there is still something wrong
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASJTJ2U46NDYAD5THYDFY4TXQNMDRANCNFSM6AAAAAAZ26Q6J4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello!
|
Alessandro,
Thanks for the information and clearing this up for us. Guess I missed
that note. However, I now know where to look for updated info for the R4.
It appears that it is in the code and not the documentation for the
libraries. The takeaway for me is that I need to check both.
Thanks again!
Doug
…On Mon, Jul 17, 2023 at 1:56 AM Alessandro Ranellucci < ***@***.***> wrote:
Hello!
Not all pins can be used for SoftwareSerial. See this note in the examples
for SoftwareSerial on UNO R4:
// Note any pin can be used for TX, but only the following pins
// can be used for RX:
// D0, D1, D2, D3, D8, D14, D15, A1, A2, A3, A4, A5
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASJTJ2UCMMA3QJ25GPMW7C3XQT43XANCNFSM6AAAAAAZ26Q6J4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
For the record: I use SoftwareSerial on R4 Wifi, using ports 0,1 (yes, ports of Serial1). When i disconnect USB C, Arduino capture the information without problems (im sending information via MQTT to see the data). |
Thanks, but it will depend on how the receiving device handles it. For my application it didn't. |
Add link to Example of SoftwareSerial on ArduinoCore-renesas |
Link to test program -> https://docs.arduino.cc/tutorials/communication/TwoPortReceive
UNO R4 Wifi was configured to use the pins as defined in the program. I was using two ultrasonic sensors (A02YYUW) and their RX and TX pins.
Fails to compile with reported error of " Class SoftwareSerial has no member named 'listen'
I reinstalled the AVR core libraries to make sure that I had updated libraries. I also drilled down to SoftwareSerial.h file on my computer to make sure that listen was included and it was.
FAIL
Hope I did this correctly as this is my first report here.
The text was updated successfully, but these errors were encountered: