Author Topic: CLASSIC 150 - Data Specs  (Read 194 times)

NotAHeroMemberYet

  • Newby
  • *
  • Posts: 4
CLASSIC 150 - Data Specs
« on: October 10, 2017, 08:20:59 PM »
Hello Forum!

First post so please be nice  :o

I want to read the data coming from my CLASSIC 150 directly via serial data to an Arduino, I have read that most MPPT controllers output serial data, I have looked through the site, having a hard time finding any specs that talk about how to connect tx.rx, baud rates, commands etc. could someone point me in the right direction?

The basic idea, but he is using an RPI same principle though -)

https://youtu.be/1VxP38XlVEQ

Thanks in advance!!


Robin

  • Hero Member
  • *****
  • Posts: 511
Re: CLASSIC 150 - Data Specs
« Reply #1 on: October 11, 2017, 12:01:38 AM »
The Classic has a few ways to communicate. I believe they all use Modbus, but I am not the expert.
Please e-mail our network engineer, Andrew Top. Andrew now lives in France, but he is a full time employee.
E-mail him at:    Andrew@midnitesolar.com
Robin Gudgel

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 1445
Re: CLASSIC 150 - Data Specs
« Reply #2 on: October 11, 2017, 12:02:44 AM »
If you look through this forum you should find the info - dgd has posted code on how to get modbus data out to arduino .
http://midniteftp.com/forum/index.php?topic=2393.new;topicseen#new
Also in this has the info too
http://www.midnitesolar.com/pdfs/classic_register_map_Rev-C5-December-8-2013.pdf

Do you want to get data with wire plugged in to Classic or via IP ? link above has wiring connections I believe.

bikino has been working on Raspberry Pi to read the data to a webserver - there is a discussion going on that topic on forums now .
http://midniteftp.com/forum/index.php?topic=3835.0

Graham has an Android app that reads all the Classic data and has great graphical display . Available on playstore

Also there is a way to have Classic spit out some serial data via the same cable that the firmware update  USB  cable plugs into . You  need to change a setting somewhere to have it do that - should be in the Classic Manual . 

Also remember the Classic only allows one IP connection at a time so if you have Grahams android app you can not also connect to it with Local Status App at same time.

All depends what you want to accomplish

Larry
« Last Edit: October 11, 2017, 12:05:48 AM by ClassicCrazy »
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

dgd

  • Hero Member
  • *****
  • Posts: 1700
    • Lorylink
Re: CLASSIC 150 - Data Specs
« Reply #3 on: October 11, 2017, 12:56:58 AM »

I want to read the data coming from my CLASSIC 150 directly via serial data to an Arduino, I have read that most MPPT controllers output serial data

You will find all the code for an Arduino UNO to read serial port modbus data from a Classic in the Arduino area of this forum. This is a complete small web server.
There is also a more complex web server system using Mega2560 that uses graphical gauge displays and variosu graphs for data reporting. The C code can be directly loaded to your IDE and the html pages copied to microSD card.
Everything still appears to be good as I have been conversing with two MN users who just downloaded everything in July this year.

dgd
Classic 250, 150,  20 140w, 6 250w PVs, 2Kw turbine, MN ac Clipper, Epanel/MNdc, Trace SW3024E (1997), Century 1050Ah 24V FLA (1999). Arduino power monitoring and web server.  Off grid since 4/2000
West Auckland, New Zealand

atop8918

  • Sr. Member
  • ****
  • Posts: 475
Re: CLASSIC 150 - Data Specs
« Reply #4 on: October 11, 2017, 02:48:39 PM »
Hi,
All the Classic Modbus specs are here:

http://www.midnitesolar.com/documents.php?productCat_ID=21&productCatName=Charge+Controllers+-+Classics&model=CLASSIC%20150&product_ID=256&act=

Under the Specs category you'll find our modbus spec:
http://www.midnitesolar.com/pdfs/classic_register_map_Rev-C5-December-8-2013.pdf

It is all over the place and can be hard to follow. Feel free to email me at the address Robin posted above. I don't much check the forum anymore I'm afraid.

atop8918

  • Sr. Member
  • ****
  • Posts: 475
Re: CLASSIC 150 - Data Specs
« Reply #5 on: October 11, 2017, 02:50:31 PM »
If it's not called out in the spec we use 19200-8-n-1 MODBUS RTU. We also do _not_ follow the 40000 holding register address convention.
 

NotAHeroMemberYet

  • Newby
  • *
  • Posts: 4
Re: CLASSIC 150 - Data Specs
« Reply #6 on: October 11, 2017, 06:38:53 PM »
Thanks, everyone you have been tremendously helpful!

CDN-VT

  • Hero Member
  • *****
  • Posts: 711
  • Thats a C/V-107 pulling a barge on candled ice. ^
Re: CLASSIC 150 - Data Specs
« Reply #7 on: October 11, 2017, 10:09:33 PM »
NotAHeroMemberYet
Many are  tremendously helpful here ..


Let us know how your doing & keep US all informed .
I did like the Video link very much .

VT
Canadian Solar 350W 37.6 VOC  30.6 VMP 8.22 ISC 7.87 IMP ,-15 c +30c max  4 strings in 2 in Series for 24v Classic 150 -1020 Ah  Freezers & fridges ~~~ Second Array same panels of 3sx3 parallel for 24 V Classic 150 -440 Ah Outback Barns & out blds.
48Vdc almost done.

NotAHeroMemberYet

  • Newby
  • *
  • Posts: 4
Re: CLASSIC 150 - Data Specs
« Reply #8 on: October 13, 2017, 11:51:09 AM »
Until I get everything hooked up, I have a bit more $$ to spend, but that's another "ok with the Wife" story -), is there some demo account I can use for read-only viewing to look at some live data from www.mymidnite.com

Using something like this?
http://www.zoneblue.org/cms/page.php?view=getting-data-off-midnite-classic







Westbranch

  • Hero Member
  • *****
  • Posts: 2516
  • Building System (sort of) 1 weekend at a time
Re: CLASSIC 150 - Data Specs
« Reply #9 on: October 13, 2017, 01:04:11 PM »
You might get a faster reply from Andrew @ MidNitesolar dot com...  I believe he is still the database guru...

cheers
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub Hughes 1100 Sat. Modem
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

NotAHeroMemberYet

  • Newby
  • *
  • Posts: 4
Re: CLASSIC 150 - Data Specs
« Reply #10 on: October 20, 2017, 05:33:26 PM »
Hopefully my last question:
What register value would supply 'Energy' in the attached local app image? 4371 from a Wizbang? attaching the register PDF, just not sure of the terminology?





boB

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2625
Re: CLASSIC 150 - Data Specs
« Reply #11 on: October 22, 2017, 02:02:31 AM »
Energy from the Classic is register 4118  (address 4117)

kW--Hours   Energy to the Battery.  This is reset once per day

This value is from the ammeter shunt in the Classic itself and not from the Whizbang Junior BTW

boB
K7IQ