Author Topic: Replacing an ME-ARC with an Arduino  (Read 582 times)

earl

  • Newby
  • *
  • Posts: 13
Replacing an ME-ARC with an Arduino
« on: December 11, 2019, 02:21:53 PM »

If anyone is interested, I have documented how I am progressing in replacing an ME-ARC remote to monitor my Magnum Inverter with an Arduino and an RS485 IC (lowest cost possible).

https://microcontrollerelectronics.com/solar-power-system-monitoring-with-an-arduino/




ClassicCrazy

  • Hero Member
  • *****
  • Posts: 2317
Re: Replacing an ME-ARC with an Arduino
« Reply #1 on: December 11, 2019, 07:35:31 PM »
I don't have a Magnum but thanks for sharing - you sure do an excellent job of documenting a project !
I will pass this on to a friend who has Magnum .

Larry
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , 16s Calb 100AH LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batterie

boB

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3119
Re: Replacing an ME-ARC with an Arduino
« Reply #2 on: December 12, 2019, 12:48:49 AM »

This is pretty nice, Earl !

So, you don't just happen to live within commuting distance to MidNite Solar, do you ??   :) ;)

K7IQ

earl

  • Newby
  • *
  • Posts: 13
Re: Replacing an ME-ARC with an Arduino
« Reply #3 on: December 12, 2019, 01:41:09 AM »
Ah, boB.. when are you opening an office here in Belize? :)

boB

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3119
Re: Replacing an ME-ARC with an Arduino
« Reply #4 on: December 12, 2019, 03:56:27 PM »
Ah, boB.. when are you opening an office here in Belize? :)

Oh NO !  That would be a long commute !

 ;)
K7IQ

mike90045

  • Hero Member
  • *****
  • Posts: 755
    • The Ranch (via facebook re-direct)
Re: Replacing an ME-ARC with an Arduino
« Reply #5 on: December 13, 2019, 02:10:30 AM »
Ah, boB.. when are you opening an office here in Belize? :)

Oh NO !  That would be a long commute !

 ;)

But that's a business expense !
http://tinyurl.com/LMR-Solar

Classic 200| 2Kw PV, 160Voc | Grundfos 10 SO5-9 with 3 wire Franklin Electric motor (1/2hp 240V 1ph )| Listeroid 6/1, st5 gen head | XW6048 inverter/chgr | midnight ePanel & 4 SPDs | 48V, 800A NiFe battery bank | MS-TS-MPPT60 w/3Kw PV

WillEert

  • Full Member
  • ***
  • Posts: 164
Re: Replacing an ME-ARC with an Arduino
« Reply #6 on: December 25, 2019, 01:44:47 PM »
Merry Christmas Earle.

Thank You for this information and code. This is like a Christmas present for me. I have been studying Python Code samples that reads the Magnum equipment with the goal of converting it to Arduino C. I have not made much progress on this however so this code answers a lot of questions for me. The code compiles well and the hardware does not look that hard. I am modifying your code to accept an I2C 4X20 LCD that I prefer and also to use a standard RS 485 shield. I usually use the Mega so have lots of serial ports I can use without having use Soft Serial or worry about an extra wire for the LCD. Assuming I get this work in the next while I will post the code here.

A question? Did you ever try to send commands to the ARC?

Once again thank you.

Will
(1) 24 ET 185 mono, Classic 150,8x Surrette 6CS25p, 3x Magnum 4448, homecooked diversion system;
(2) 15 Heliene 330 mono, Classic 150; (3) 2 X 6 Hansol 345 mono, 2 stand alone Hotspot ACDC12C Mini-split heat pumps.

earl

  • Newby
  • *
  • Posts: 13
Re: Replacing an ME-ARC with an Arduino
« Reply #7 on: December 27, 2019, 11:35:50 PM »
Hi,

I have not yet tried to send anything to the inverter but plan on trying that. I had to have a means of doing that (keypad? did not like that idea) so I added/changed a few things from the original circuit.

I have an updated version and document it here.

https://microcontrollerelectronics.com/updated_solar_power_system_monitoring/

this has an OLED instead of an LCD and has an ESP8266 for accessing it wirelessly via a web interface. Also I switched to an STM32F103C8T6 so there are more serial ports (and it outputs 3 volts which i needed for the ESP8266)

Now with the WEB interface, I can get the commands via a browser and try sending something to the inverter.. at least off / on...

Earl