Berlin 10A AC/DC current meter

Back to VSCP Modules

Current Harware Version DIN model: 0.0.1
Current Firmware version DIN model: Not yet released 

Current Harware Version selfcontained model: 0.0.2
Current Firmware version selfcontained model: Not yet released 

Download

Got to http://www.grodansparadis.com for up to date info :!:

Firmware

No firmware release yet.

Schematics

DIN Model - Selfcontained

I2CModel

About

The Berlin module can be used to measure AC or DC currents in the range 0-10A. It come in two models. One with embedded intelligence and the other with just a I2C interface for interfacing a module with more intelligence (Amsterdam with special firmware) that can handle a maximum of eight current sensor modules and export a VSCP interface to the world.

Typical use can be sening if equipment is on, device failure detection, energy calculations etc ect.

The firmware can handle eight channels but only one is available for the selfcontained unit.

Registers

Configuration
Register 0(0x00) - Zone. Read/write.
Register 1(0x01) - Subzone 0. Read/write.
Register 2(0x02) - Subzone 1. Read/write.
Register 3(0x03) - Subzone 2. Read/write.
Register 4(0x04) - Subzone 3. Read/write.
Register 5(0x05) - Subzone 4. Read/write.
Register 6(0x06) - Subzone 5. Read/write.
Register 7(0x07) - Subzone 6. Read/write.
Register 7(0x07) - Subzone 7. Read/write.

The firmware can handle up to eight channels. Each channel can have its own subzone.

Channel current value
Register 8(0x08) - MSB of current reading for channel 0. Read Only.
Register 9(0x09) - LSB of current reading for channel 0. Read Only.
Register 10(0x0A) - MSB of current reading for channel 1. Read Only.
Register 11(0x0B) - LSB of current reading for channel 1. Read Only.
Register 12(0x0C) - MSB of current reading for channel 2. Read Only.
Register 13(0x0D) - LSB of current reading for channel 2. Read Only.
Register 14(0x0E) - MSB of current reading for channel 3. Read Only.
Register 15(0x0F) - LSB of current reading for channel 3. Read Only.
Register 16(0x10) - MSB of current reading for channel 4. Read Only.
Register 17(0x11) - LSB of current reading for channel 4. Read Only.
Register 18(0x12) - MSB of current reading for channel 5. Read Only.
Register 19(0x13) - LSB of current reading for channel 5. Read Only.
Register 20(0x14) - MSB of current reading for channel 6. Read Only.
Register 21(0x15) - LSB of current reading for channel 6. Read Only.
Register 22(0x16) - MSB of current reading for channel 7. Read Only.
Register 23(0x17) - LSB of current reading for channel 7. Read Only.

Current readings for each of the channels in Amps * 100.

Channel Control Registers
Register 24(0x18) - Channel 0 Control Register.  Read/Write
Register 25(0x19) - Channel 1 Control Register.  Read/Write
Register 26(0x1A) - Channel 2 Control Register.  Read/Write
Register 27(0x1B) - Channel 3 Control Register.  Read/Write
Register 28(0x1C) - Channel 4 Control Register.  Read/Write
Register 29(0x1D) - Channel 5 Control Register.  Read/Write
Register 30(0x1E) - Channel 6 Control Register.  Read/Write
Register 31(0x1F) - Channel 7 Control Register.  Read/Write

The channel control bits enable disable intelligent channel functionality

  • Bit 0 - Send Power event.
  • Bit 1 - Send measurement current on even intervals.
  • Bit 2 - Enable high alarm.
  • Bit 3 - Enable low alarm.
  • Bit 4 - Send OFF event on high alarm.
  • Bit 5 - Send ON event on low alarm.
  • Bit 6 - Invert ON/OFF that is send ON on high and OFF on low.
  • Bit 7 - Reserved.

Stream events report the state of all channels as strem event(s) for all channels with a frequency set in the time between stream events registers.

Channel report interval Registers
Register 32(0x20) - Report interval for channel 0 in seconds. Read/Write
Register 33(0x21) - Report interval for channel 1 in seconds. Read/Write
Register 34(0x22) - Report interval for channel 2 in seconds. Read/Write
Register 35(0x23) - Report interval for channel 3 in seconds. Read/Write
Register 36(0x24) - Report interval for channel 4 in seconds. Read/Write
Register 37(0x25) - Report interval for channel 5 in seconds. Read/Write
Register 38(0x26) - Report interval for channel 6 in seconds. Read/Write
Register 39(0x27) - Report interval for channel 7 in seconds. Read/Write  

Set the time in seconds between which measurement events are sent for each channel.

Available channels
Register 40(0x28) - # available channels. Read only.

Different hardware modules can have different number channels. The available number of channels can be read in this register.

Channel high current level
Register 41(0x29) - MSB of high current reading for channel 0. Read/wite.
Register 42(0x2A) - LSB of high current reading for channel 0. Read/wite.
Register 43(0x2B) - MSB high of current reading for channel 1. Read/wite.
Register 44(0x2C) - LSB high of current reading for channel 1. Read/wite.
Register 45(0x2D) - MSB high of current reading for channel 2. Read/wite.
Register 46(0x2E) - LSB high of current reading for channel 2. Read/wite.
Register 47(0x2F) - MSB high of current reading for channel 3. Read/wite.
Register 48(0x30) - LSB high of current reading for channel 3. Read/wite.
Register 49(0x32) - MSB high of current reading for channel 4. Read/wite.
Register 50(0x32) - LSB high of current reading for channel 4. Read/wite.
Register 51(0x33) - MSB high of current reading for channel 5. Read/wite.
Register 42(0x34) - LSB high of current reading for channel 5. Read/wite.
Register 53(0x35) - MSB high of current reading for channel 6. Read/wite.
Register 54(0x36) - LSB high of current reading for channel 6. Read/wite.
Register 55(0x37) - MSB high of current reading for channel 7. Read/wite.
Register 56(0x38) - LSB high of current reading for channel 7. Read/wite.
Channel low current level
Register 57(0x39) - MSB low of current reading for channel 0. Read/wite.
Register 58(0x3A) - LSB low of current reading for channel 0. Read/wite.
Register 59(0x3B) - MSB low of current reading for channel 1. Read/wite.
Register 60(0x3C) - LSB low of current reading for channel 1. Read/wite.
Register 61(0x3D) - MSB low of current reading for channel 2. Read/wite.
Register 62(0x3E) - LSB low of current reading for channel 2. Read/wite.
Register 63(0x3F) - MSB low of current reading for channel 3. Read/wite.
Register 64(0x40) - LSB low of current reading for channel 3. Read/wite.
Register 65(0x41) - MSB low of current reading for channel 4. Read/wite.
Register 66(0x42) - LSB low of current reading for channel 4. Read/wite.
Register 67(0x43) - MSB low of current reading for channel 5. Read/wite.
Register 68(0x44) - LSB low of current reading for channel 5. Read/wite.
Register 69(0x45) - MSB low of current reading for channel 6. Read/wite.
Register 70(0x46) - LSB low of current reading for channel 6. Read/wite.
Register 71(0x47) - MSB low of current reading for channel 7. Read/wite.
Register 72(0x48) - LSB low of current reading for channel 7. Read/wite.
Hysteresis for high/low alarm
Register 73(0x49) - MSB of hystersis. Read/wite.
Register 74(0x4A) - LSB of hysteresis. Read/wite.
Voltage for power calculations
Register 75(0x4B) - MSB of hystersis. Read/wite.
Register 76(0x4C) - hystersis. Read/wite.
Register 77(0x4D) - hystersis. Read/wite.
Register 78(0x4E) - LSB of hysteresis. Read/wite.

This is a signed long representation of a current voltage value. It is stored with a defined action or by configuration g the value. The value is the voltage * 100. It is used to send out the power measurement event using P=U*I.

ON/OFF Zone information
Register 79(0x4F) - Zone for cannnel 0 on/off. Read/wite.
Register 80(0x50) - SubZone for cannnel 0 on/off. Read/wite.
Register 81(0x51) - Zone for cannnel 1 on/off. Read/wite.
Register 82(0x52) - SubZone for cannnel 1 on/off. Read/wite.
Register 83(0x53) - Zone for cannnel 2 on/off. Read/wite.
Register 84(0x54) - SubZone for cannnel 2 on/off. Read/wite.
Register 85(0x55) - Zone for cannnel 3 on/off. Read/wite.
Register 86(0x56) - SubZone for cannnel 3 on/off. Read/wite.
Register 87(0x57) - Zone for cannnel 4 on/off. Read/wite.
Register 88(0x58) - SubZone for cannnel 4 on/off. Read/wite.
Register 89(0x59) - Zone for cannnel 5 on/off. Read/wite.
Register 90(0x5A) - SubZone for cannnel 5 on/off. Read/wite.
Register 91(0x5B) - Zone for cannnel 6 on/off. Read/wite.
Register 92(0x5C) - SubZone for cannnel 6 on/off. Read/wite.
Register 93(0x5D) - Zone for cannnel 7 on/off. Read/wite.
Register 94(0x5E) - SubZone for cannnel 7 on/off. Read/wite.
Alarm delay time
Register 95(0x5F) - MSB Alarm delay time in milli-seconds. Read/wite.
Register 96(0x60) - LSB Alarm delay time in milli-seconds. Read/wite.

With the alarm delay time it is possible to delay the time before an alarm actually is issued. If the state normalizes withing the time set here no alarm will be generated. Set to zero to diable.

Registers for Decision Matrix
Register 112(0x70) - 127(0x7f) - Decision Matrix ( two elements)

Decision Matrix

The module have a decision matrix with seven entries.

Available Actions

0(0x00) - NOOP, No action.
1(0x01) - Send measurements. Can be used for sync requests. Argument byte tells which channels.
2(0x02) - Store Voltage value. Argument voltage measurement - 
             CLASS1_MEASUEMENT, Type = 16 (0x10) Electrical Potential.

Alarm register

  • bit 0 - low alarm.
  • bit 1 - high alarm.

Events

On

Can be sent when current readiing is under a configurable low value.

Class: 0x014 
Type: 0x03

Package:

Byte 0: channel
Byte 1: Zone
Byte 2: Subzone

Index is 0 for channel 0, 1 for channel 1 and so on.

Off

Can be sent when current reading is over a configurable high value.

Class: 0x014 
Type: 0x04

Package:

Byte 0: channel
Byte 1: Zone
Byte 2: Subzone

Alarm

If enabled the event is sent when a channel is over or under the alarm level.

Class: 0x001 
Type: 0x02

Package:

Byte 0: channel
Byte 1: Zone
Byte 2: Subzone

Contact Information

This is open hardware / software that is made by Ake Hedman, eurosource, Sweden. It is free to use for commecial or non commercial use.

Email: vscp@eurosource.se

Company:

eurosource
Brattbergavagen 17
820 50 LOS 
SWEDEN

info@eurosource.se
http://www.eurosource.se

Phone: +46 657 413430
Fax: +46 657 413503

Modules and components are sold at http://www.eurosource.se/catalog

More info about the VSCP and CANAL protocol can be found at http://www.vscp.org

modules/berlin.txt ยท Last modified: 2014/03/27 07:33 (external edit)
Public Domain
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0