Pages: [1]   Go Down
Author Topic: Using Arduino with C Bus  (Read 2442 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm doing a project on a H&V system running on C BUS and would like to replace a few of the nodes that are getting old and rather flaky with an Arduino board. Has anyone got any experience of how I'd interface the Arduino with the C Bus ? Thanks in anticipation.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm sorry but the term C Bus means little to me. There are so many Bus standards around these days. Do you have a link the defines or describes that Bus?

Lefty

Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think it is this one.

http://en.wikipedia.org/wiki/C-Bus_(protocol)
The controllers are XL100s http://www.softyon.com/
It's a honeywell system. Other than that I've basically got very little info on the system already in place and was hopeing to maybe tag an arduino in to capture all the commands being sent back and forth and work out the command set then use the arduino to replicate the controllers in the system.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah..not exactely a very interesting topic this one then ??
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8531
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

AFAIK c-bus works with "normal" serial data at 300-9600 bps with 9600 being the recommended speed.

It's a full ISO 7 layer protocol which seems something of an overkill.

Despite me having what appears to be a comprehensive set of documentation PDFs I'm buggered if I can see what the PHY layer is.

Quote
C-Bus supports a number of interfaces such as RS232 and TCP/IP
These of course are two totally different and non-comparable things so that's not much help.

Quote
cable lengths up to 1000 meter using Cat-5 cable
This implies RS-485, no way RS-232 will do this.


Anyway if you can figure out how to connect to the PHY layer it should be easy to sniff the data with a serial port, the protocol is well documented.

______
Rob
« Last Edit: July 03, 2011, 08:24:17 pm by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your input.
Even finding out what the PHY layer is would be a start. I'm guessing RS422 over Cat-5 cabeling but don't know. I'm your documentation does it mention how many bits it uses or what the packet is made up from?
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8531
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

C-bus is designed and pushed by Clipsal

http://www.clipsal.com/

However for the life of me I can't find their download page so I've copied some files to my site.

www.robgray.com/temp/C-Bus Applications.pdf
www.robgray.com/temp/C-Bus Interface Requirements.pdf
www.robgray.com/temp/C-Bus Quick Start Guide.pdf
www.robgray.com/temp/C-Bus Serial Interface User Guide.pdf

There's a lot of info there so knock yourself out.

I don't know much about this particular protocol, I just collect this kind of data because I'm interested in monitoring and control networks.

EDIT: Just found a Clipsal site that might have more info

http://www2.clipsal.com/cis/technical/


______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 94
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for that. When i get a few minutes later I'll give them a reading...
Logged

Pages: [1]   Go Up
Jump to: