• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPIX-RS485 with auto direction control now available
#1
We changed the RS-485 transceiver used on module NIOT-E-NPIX-RS485 in REV#2.

The new part - MAX13488E - features auto direction control and is switching between TX (transmit) and RX (receive) mode automatically once you enabled it. The advantage is to be no longer compelled to handle switching in software causing unpredictable/prolonged switching times and loss of serial receive data if too long.

The MAX13488E is pin compatible to the previous used transceiver SN65ALS176 in #REV1. Instead of using the TX_EN pin to switch between TX/RX as done before on #REV1 you have now just to set the TX_EN pin to "high" state a single time and automatic direction control is enabled.

With Node-RED for example you could just inject a "true" to a rpi gpio node directed to GPIO17 (TX_EN) and you are done:

Code:
[{"id":"287692d1.c61e06","type":"inject","z":"d31910c1.fd0618","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":295.5,"y":599,"wires":[["6bbb3ed9.4bb6d8"]]},{"id":"6bbb3ed9.4bb6d8","type":"rpi-gpio out","z":"d31910c1.fd0618","name":"","pin":"11","set":"","level":"0","freq":"","out":"out","x":483.5,"y":599,"wires":[]}]


After pulling the TX_EN pin to high state the NPIX-RS485 module will get compatible with any serial communicating program or Node-RED node.

Download the latest NPIX modules documentation highlighting the modules' difference in the download section here .

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Dual RS485 Ports primmer 2 17 September-25th-2019, 09:43 AM
Last Post: primmer
  Designing own NPIX extension modules Armin@netPI 0 15 September-12th-2019, 11:54 AM
Last Post: Armin@netPI
  NIOT-E-NPIX-RCAN availability andreash 4 20 April-26th-2019, 01:25 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-4DI4DO Module clogomes 1 14 April-15th-2019, 12:39 PM
Last Post: Armin@netPI
  NPIX board outline Armin@netPI 2 174 April-25th-2018, 06:40 PM
Last Post: Armin@netPI
  Custom NPIX modules Armin@netPI 0 145 February-9th-2018, 12:33 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)