RS485 Module - Creating a bus

Поділитися
Вставка
  • Опубліковано 4 лип 2024
  • In theory I should be able to connect various RS485 devices together in parallel, in a bus network. In this video I'm going to give that a go with my EPEver solar charge controller, inverter and some monitoring modules.
    Items used in this video:
    ❗️These links are affiliated and I may earn a small commission if you purchase❗️
    Well Long RJ45 Module: s.click.aliexpress.com/e/_AOyLpy
    EPEver Tracer Solar Charge Controller: ebay.us/ljZnHU
    EPEver SHI Inverter: s.click.aliexpress.com/e/_AWQBEO
    EPEver MT75 Monitor: s.click.aliexpress.com/e/_AZy0TM
    EPEver MT50 Monitor: ebay.us/xAwqSU
    My RS485 Module Gerber & BOM: oshwlab.com/AdmW/rs485-rj45-m...
    0:00 Introduction
    0:56 Well Long Module
    2:08 First Test
    3:56 Issues
    6:19 Attempt to fix
    8:12 Soldering montage
    10:41 Fix Test
    12:29 Conclusion
    Thanks for watching - It'd be great to hear your comments.
    Please like, share and subscribe!

КОМЕНТАРІ • 49

  • @keyem4504
    @keyem4504 2 роки тому +3

    Very nice and clean solution. Really like it.
    The quick and free way to achieve that is to simply cut the patchcables and connect the wires directly.

  • @aglandorf75
    @aglandorf75 Рік тому

    Awesome, thats what I need. Thank you for sharing the Gerber file.

  • @RaithUK
    @RaithUK 2 роки тому +2

    Very nice dude... you took some thing simple and engineered a custom solution that fits your needs.. well-done indeed.

  • @BenMitro
    @BenMitro 2 роки тому +5

    Great insight, great observation and a magnificent conclusion - oh and the PCB you made - excellent. I suspect it will shortly be available from Well Long.

  • @johnvickers5750
    @johnvickers5750 2 роки тому

    Superb!👍

  • @breadsticks98
    @breadsticks98 2 роки тому

    Ha how mad is it that I live just 2 minutes from your house adam! See your solar shed most days! Love the videos!

  • @electronic7979
    @electronic7979 2 роки тому +2

    👍

  • @MarkusIngalsuo
    @MarkusIngalsuo 2 роки тому

    Hi! In your boots, I'd read up on Modbus. Modbus is a bus yes, but there are concepts of master and slave, using unique addresses. There can also be only one master. The MT50 etc. are Modbus masters with address 0 so having multiples of those may cause all kinds of fun.
    Each slave must also have a unique address.

  • @Gengh13
    @Gengh13 2 роки тому +1

    Be aware that you are making a sort of star connection that is not recommended due to impedance mismatches, if you have short distances or use a low enough baudrate you can get away with it but you also have to make sure that there are 2 termination resistors at the ends of the bus.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому

      Thanks. I imagine there are resistors built in to the devices - as they’re sold to be connected one to one without any external components. I should check though. All working ok at the moment though.

  • @dumindujayasinghe
    @dumindujayasinghe 2 роки тому

    Please create a video about diy “usb to rs485” adapter and rj45 wiring for adapter to connect epever charge controller (ls-b series) to laptop without buying epever usb to rs485 cable.

  • @darrenslater1913
    @darrenslater1913 2 роки тому

    Nice design. I would have used the top connector and cut the end off a cable, then either struck off the relevant link or just not connected the relevant wire.

  • @michaelbouckley4455
    @michaelbouckley4455 2 роки тому +1

    Be careful how many devices you connect, being powered by the SCC. I have a Tracer 6415AN, with 2x RS485 / RJ45 sockets. With an eLOG01 and MT50 daisy chained on one socket, used an RS485 to USB cable on the other. My SCC has been sent back for repair, after the 5V failed on the RS485’s. It’s also a good idea to leave the SCC in AUTO battery voltage mode.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому

      Thanks. I have been considering that. It’s outlined in the 1M2S manual that to have two outputs two inputs should be used. That’s why I left the terminal block on my pcb - I could power the meters separately and disconnect the five volts from both the solar charge controller and the inverter. Things to investigate. Thanks again.

  • @sergea1138
    @sergea1138 Рік тому

    great, good job ;-) is it for sell, or is the gerber available ? I just discover lately in epever invert manual, you can't bound neutral and ground at the ac output. this is totally crazy 😞

  • @hi-tech-guy-1823
    @hi-tech-guy-1823 2 роки тому

    You should look into Neutrik 8 + 2 pole XLR
    Canbus - RS 232 - RS 485 - TTL - UART + XLR all Serial bus protocols
    However serial does have a short fall Devices have to wait in turn due it cant multi Task simultaneously multi Devices calls due the serial Data Communication Packet frames are busy with DATA traffic however TTL did solve the issue due it a IP TCP Network and as has a network data kernel to time share multiplex
    6:10 Use optical isolators You See them on RJ 45 Ethernet cards (& TTL + USB )
    An example tp-link TG-3468 1 Port Gigabit PCIe Network Adapter 32Bit

  • @Jb13Smile
    @Jb13Smile Рік тому

    can use with another brands?

  • @keithw32123
    @keithw32123 2 роки тому

    at 8:47 You are forgiven by this viewer at least! :)

  • @Joshua5654
    @Joshua5654 Рік тому

    If I don’t have a mt50 should I Get a mt75 I need to change my cut off voltage it’s too high

  • @jimmywilson6388
    @jimmywilson6388 Рік тому +1

    Just got my Well Long module from China and it works a treat in sharing data between my MT 50 ( in the garage ) and my new Photonic Universe version of the Epever 2.4G RJ45 A Wifi Adapter. (black box). However , having problems setting up the Cloud App on Epever Share which just goes round in circles. The local app performs great. Have you looked at any of these more recent wifi adapters?
    Great stuff Adam. I have learned a lot from you videos. Have you retired or found some other interests?
    Best regards, JW

  • @swmike
    @swmike 2 місяці тому

    My understanding is that both MT50 and MT75 are bus masters, and there should be only one bus master.

  • @luisfidel6162
    @luisfidel6162 2 роки тому +1

    Hi Adam, we’ll done, great option. Did you ever workout why you are getting the errors on the MTs?. I have an epever 4210, a mt50 and a home made snektek dashboard with 3 rj45 ports as a hub. Whenever I plug in the mt50 I get errors and occasionally the dashboard crashes. I’m guessing the dashboard and mt50 are both masters.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому

      Yes it’s the fact there is more than one master. The rs485-1M2S overcomes this issue, or the MT80 meter should - but I’ve not tested that because when I looked I couldn’t buy one!

  • @jozefflak895
    @jozefflak895 2 роки тому

    Hi guys Can I connect in to my MPTT 5420AN one inverter + one ebox wifi ? Becouse my Epever MPTT have 2 LAN. Becouse I want monitor data from Solar and Load.

  • @thelwq
    @thelwq 2 роки тому +2

    Would not it be easier to make specialized cat5 RJ45 cable for inverter? 🤔

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому +1

      Yes I guess so. Cheaper too, but I liked the module idea and ran with it. Cheers

  • @RBMK--vj2rn
    @RBMK--vj2rn Рік тому +1

    Hi Adam, great video as always. Quite a while haven’t seen any new video from you.
    Hope you’re just doin’ fine.
    A quick question yet a bit out of topic mate, I personally use this Tracer 2210AN and about to try to use it as solar charge control for Lifepo4 batt 48v (15s). Despite of the fact that Lithium battery can’t be automatically identified by this Epever Tracer (I hope it won’t be locked somehow on 12/24v), I would like to take an advantage of that for 48V Li Batt, my solar array 1kW 4s 88V Voc (still below 92V as it stated)
    Do you think is this possible? Or maybe have u tried once?
    Thanks mate.

    • @AdamWelchUK
      @AdamWelchUK  Рік тому +1

      Hello. Sorry I’ve been quiet, all my spare time has been stripped away. Hope to be back soonish.
      Sadly the tracer 2210AN is only 12 or 24 vaults. You’ll blow something (capacitor, mosfet, regulator, all three?) inside if you connect to a higher battery voltage. With the size of your array and your battery voltage you need to look at a more serious controller I think.
      Thanks again.

    • @RBMK--vj2rn
      @RBMK--vj2rn Рік тому

      @@AdamWelchUK Ah I see.. the secondary side. Will blow the capacitor for sure at first, it’s 50v or even 35v rated as I recall.
      Well just wanna make use of my old Tracer AN 2210 which been laying around for quite sometime, as I’ve been using grid inverter directly to PV with no battery.
      Thanks anyway, will consider another competent charge controller in future.
      Keep having fun and stay healthy, hope to see you back with the vids soon 👍

  • @kapegede
    @kapegede 2 роки тому +1

    Then: What's the advantage of the Epever RS485-1M2S? Is it just connected through with some fancy lights?

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому

      It has a wide voltage for power injection and possibly manages the rs485 traffic. I must open it up one day :-)

    • @CollinBaillie
      @CollinBaillie 2 роки тому

      @@AdamWelchUK You should do this soon.

  • @lesliepieterse1072
    @lesliepieterse1072 2 роки тому +1

    Could have made an RJ45 up with just 7 wires and left out the POE wire :)

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому +2

      Yeah, I probably should have done but you know… I like making things. :-)

  • @lukewaller8927
    @lukewaller8927 2 роки тому +2

    Adam, interested in ordering one from you when you are comfortable.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому +1

      Let me test it a bit longer - send me an email and I’ll see what I can do.

  • @piconano
    @piconano 2 роки тому +1

    RS485 requires terminating resistors. I don't think I see them.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому

      I believe the devices have them. I should check though…

    • @piconano
      @piconano 2 роки тому

      @@AdamWelchUK Terminating resistors are supposed to be installed at the end of the line to kill off reflections. I Think the 2 resistors required are 120 Ohms each, but I am quoting you from memory and my memory is shit :)

  • @offgridwanabe
    @offgridwanabe 2 роки тому

    Might have been easier to clip the wire in the cable

    • @MistaTerps
      @MistaTerps 2 роки тому +2

      You can make yourself up a cable minus that wire easy enough too.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому +2

      This is true. I thought the pcb being able to connect and disconnect as I wanted was worth the few dollars it cost me. Cheers

    • @MistaTerps
      @MistaTerps 2 роки тому

      @@AdamWelchUK I spent half an hour unsuccessfully trying to process the BOM file before I came to realise that. Can you give me any pointers to process one successfully? I’m using an iPad if it makes the difference.

  • @yancymuu4977
    @yancymuu4977 2 роки тому

    Careful. The two meters will interrogate the charge controller every 30 seconds. There could be a collision between two modbus masters talking at same time with unpredictable results.

    • @AdamWelchUK
      @AdamWelchUK  2 роки тому

      Thanks. Interestingly the implementation by EPEver puts the sole charge controller and inverter as master devices and the monitoring devices as slaves. No issues as yet, but I’m doing this so others don’t have to! Thanks again.

    • @yancymuu4977
      @yancymuu4977 2 роки тому +1

      @@AdamWelchUK I didn't know about the charge controller being a master with a meter connected. I have been using an esp32 as a master to poll the controller using an Amazon generic rs485 adapter. I do not see anything coming from the charge controller on my scope without an esp32 command. However, using the factory supplied rs485 dongle does not seem to work when connected to a pc python program, but does work with the epever pc software. On the other hand the factory dongle does not seem to work with a python program. Maybe the factory dongle tells the controller to be the master. The factory dongle uses a special driver program on the pc. Thanks for your very good videos.

    • @MarkusIngalsuo
      @MarkusIngalsuo 2 роки тому

      @@AdamWelchUK, that's not how Modbus works. The bigger MT-unit must have two separate buses in which it is 0x00 and talks only to 0x01, which the chargers are preconfigured with.