Rockhampton - Binary Current Sensor

Project Status

Current hardware version: 0.0.6
Current firmware version: Not available yet.

Download

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

Firmware

Not available yet.

Schematics

About

The Rockhampton binary current sensor is a simple current sensor for 110V/230V AC. It is just attached to the mains at the place where the measurement is needed and will than hold a one on its output as long as voltage is applied to that point. The module should be combined with the Kelvin SHT or Kelvin Smart II or the S:t Paul (with modified firmware) to be useful in a VSCP environment. The Nova Module is also a perfect match for this module.

Rockhamton firmware

The firmware can be configured to send a continuous ON/OFF, stopped/started event to give information about the test point or only send events when the state change. It is also possible to have an ALARM event sent when a channel goes off.

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 8(0x08) - Subzone 7. Read/write.

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

Channel status
Register 9(0x09) - Status register. Read Only.

Bit 0 is status for channel 0, but 1 is status for channel 1 and so on. Bit set mean voltage present, bit cleard mean no voltage.

Report type
Register 10(0x0A) - Report type channel 0. Read/write.
Register 11(0x0B) - Report type channel 1. Read/write.
Register 12(0x0C) - Report type channel 2. Read/write.
Register 13(0x0D) - Report type channel 3. Read/write.
Register 14(0x0E) - Report type channel 4. Read/write.
Register 15(0x0F) - Report type channel 5. Read/write.
Register 16(0x10) - Report type channel 6. Read/write.
Register 17(0x11) - Report type channel 7. Read/write.

Tells how state should be reported.

  • Bit 0 cleared to send on/off events continously. Set to send on/off events on state change only.
  • Bit 1 set to send ON/OFF events.
  • Bit 2 set to send Stoped/Started events.
  • Bit 3 set to send Alarm event on channel going from on → off.
Report Interval
Register 18(0x12) - Report interval for channel 0. Read/write.
Register 19(0x13) - Report interval for channel 0. Read/write.
Register 20(0x14) - Report interval for channel 0. Read/write.
Register 21(0x15) - Report interval for channel 0. Read/write.
Register 22(0x16) - Report interval for channel 0. Read/write.
Register 23(0x17) - Report interval for channel 0. Read/write.
Register 24(0x18) - Report interval for channel 0. Read/write.
Register 25(0x19) - Report interval for channel 0. Read/write.

Report interval in seconds. 0 is disabled.

Register 26(0x1A) - # available channels. Read only.

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

Registers for Decision Matrix
Register 71(0x47) - 127(0x7f) - Decision Matrix ( eight elements)

Decision Matrix

The module have a decision matrix with seven entries.

Available Actions

0(0x00) - NOOP, No action.
1(0x01) - Send state. Can be used for sync requests.
2(0x02) - Inactivate channel report for channel given by argument 0-7.
3(0x03) - Activate channel report for channel given by argument 0-7.

Alarm register

No alarm registers

Events

On

Can be sent on configurable intervals or on state transitions.

Class: 0x014 
Type: 0x03

Package:

Byte 0: Index.
Byte 1: Zone
Byte 2: Subzone

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

Off

Can be sent on configurable intervals or on state transitions.

Class: 0x014 
Type: 0x04

Package:

Byte 0: index.
Byte 1: Zone
Byte 2: Subzone

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

Stopped

Can be sent on configurable intervals or on state transitions.

Class: 0x014 
Type: 0x18

Package:

Byte 0: index.
Byte 1: Zone
Byte 2: Subzone

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

Started

Can be sent on configurable intervals or on state transitions.

Class: 0x014 
Type: 0x19

Package:

Byte 0: index.
Byte 1: Zone
Byte 2: Subzone

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

Alarm

If enabled the event is sent when a channel goes from active to inactive.

Class: 0x001 
Type: 0x02

Package:

Byte 0: index.
Byte 1: Zone
Byte 2: Subzone

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

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/rockhampton.txt · Last modified: 2011/12/01 14:30 by admin
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