Nano every won't work with RS485_HalfDuplex example

I just bought a nano every hoping that I can use the same code I was successfully using with an arduino UNO. Specifically, I'm using "RS485_HalfDuplex" from the IDE examples and had successfull communication with an Epever solar controller. I have exactly the same code, wiring and the very same MAX485 board (only exchanged the UNO for the NANO Every) but it doesn't read any data or write any single register on the controller.

And yes, I realized NANO boards have the Rx/Tx pins inverted compared to the UNO. PLease Help!!!

I think that it will be useful to post your code.

I can't find "RS485_HalfDuplex" in my libraries / library examples; please provide details of the library that you installed for this.

Also note that on the Nano Every, the Rx/Tx pins are Serial1, not Serial.

Thanks so much. I just switched from "serial" to "serial1" and everything went well.

Thanks so much. I just switched from "serial" to "serial1" and everything went well. I liked the Every but it won't be plug and play and Arduino should advice customers about it.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.