Home

Welcome! Log in or Join us

Forums Getting Started Correct groups and group_size settings

Subscribe to Correct groups and group_size settings 2 posts, 2 voices

Reply to topic
 

 
Icon_missing_medium
Jul 26, 2014 5:49am
1 post

Hi All,

I've got a three channel SegMeter to play with.  I want three seperate channels.  But at the moment, its showing up as just one channel.

I think the problem might be with the groups and group_size settings in the code.

I'm thinking it should be:

#define GROUPS 0

#define GROUP_SIZE 0

#define SUB_GROUPS 0
#define SUB_GROUP_SIZE 0

But not sure...

 
Samotage_300_medium
Aug 1, 2014 8:53am
555 posts

Hey Murray,

I know you have already solved this... To add some additional info for people

SEGmeter operates in two modes, SINGLE_PHASE or GROUPED for three and multi phases.

In SINGLE_PHASE mode, all channels are output as so.

In GROUPED mode, the GROUPS and GROUP_SIZE are used to group three phases into one, e.g.

For a 12 channel SEGmeter, this will support four three channel measurements, and should be:

GROUPS 4

GROUP_SIZE 3

This above 12 channel SEGmeter could measure a 3 phase main, and single phase submains, and the config would be:

GROUPS 1

GROUP_SIZE 3

The remainder, that is 4-12 will be output for single phases.

There are certain cases where say lights may be combined up on say two channels and power on two channels, these use Sub Groups, and these follow on after the main GROUPS number, so in the 12 channel example for a three phase mains, two phases for lights, and two for power the rest singles the config should be:

GROUPS 1

GROUP_SIZE 3

SUB_GROUPS 2

SUB_GROUP_SIZE 2

the remainder will be output as single phases.

There are also other interesting options for additive and subtractive, subtotals and green energy in the config too.

Read up more here:

https://github.com/samotage/Aiko/blob/master/SEGmeter/seg_meter_v25_1_4.pde

Sam, @samotage

Log in to reply to this topic

Forums Getting Started Correct groups and group_size settings

copyright © 2008 Smart Energy Groups pty ltd