News:

To visit MidNite Solar click this link www.midnitesolar.com

Main Menu

CLASSIC 150 - Data Specs

Started by NotAHeroMemberYet, October 10, 2017, 08:20:59 PM

Previous topic - Next topic

NotAHeroMemberYet

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

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

#2
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
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

dgd

Quote from: NotAHeroMemberYet on October 10, 2017, 08:20:59 PM

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

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

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

Thanks, everyone you have been tremendously helpful!

CDN-VT

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,11Strings up of 3s11P same panels

NotAHeroMemberYet

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

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 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

NotAHeroMemberYet

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

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 🌛  He/She/Me