# Nano every won't work with RS485\_HalfDuplex example

**URL:** <https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650>\
**Category:** Nano Every\
**Created:** [March 14, 2023, 2:10am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650 "2023-03-14T02:10:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![miltonch](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/miltonch/32/1098613_2.png) [@miltonch](https://forum.arduino.cc/u/miltonch)\
**Post date:** [March 14, 2023, 2:10am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650/1 "2023-03-14T02:10:31Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [March 14, 2023, 2:53am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650/2 "2023-03-14T02:53:21Z")

</div>

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

> [@miltonch](#):
>
> I'm using "RS485\_HalfDuplex" from the IDE examples

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

---

<div class="post-metadata">

**Author:** ![david\_2018](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/david_2018/32/1013044_2.png) [@david\_2018](https://forum.arduino.cc/u/david_2018)\
**Post date:** [March 14, 2023, 2:58am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650/3 "2023-03-14T02:58:04Z")

</div>

> [@miltonch](#):
>
> And yes, I realized NANO boards have the Rx/Tx pins inverted compared to the UNO.

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

---

<div class="post-metadata">

**Author:** ![miltonch](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/miltonch/32/1098613_2.png) [@miltonch](https://forum.arduino.cc/u/miltonch)\
**Post date:** [March 15, 2023, 1:33am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650/4 "2023-03-15T01:33:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![miltonch](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/miltonch/32/1098613_2.png) [@miltonch](https://forum.arduino.cc/u/miltonch)\
**Post date:** [March 15, 2023, 1:35am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650/5 "2023-03-15T01:35:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [September 11, 2023, 1:35am UTC](https://forum.arduino.cc/t/nano-every-wont-work-with-rs485-halfduplex-example/1101650/6 "2023-09-11T01:35:23Z")

</div>

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