C-BUS Serial Driver aka Reinventing The Wheel!

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello All,

I'm about to start work on some C-Bus control routines.

Just the basics of calculating checksums, storing a table of the network status, and issuing on/off/ramp commands.

I thought it would be a good idea first though to ask if anyone else has done this in gcc yet!

Best Wishes to all,

Darren

PS C-Bus = Clipsal Building Lighting Automation System

----------------------------------------------------
Those whom the gods wish to destroy
they must first teach to use c
----------------------------------------------------

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well since no one has said anything i will continue with the project.

i'll post it when i'm finished!

Darren

EDIT: i'll post it when i get my dragon, stk501 and stk500 and debug it!

----------------------------------------------------
Those whom the gods wish to destroy
they must first teach to use c
----------------------------------------------------

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well a delayed update!

off, on and ramp all work now via modbus!

All i have to do now is get the reporting components
working and remove the clipsal nda bits.

It will be configures by a cbus.h file in which you enter the relevant parts from the clipsal protocol document.

Darren

----------------------------------------------------
Those whom the gods wish to destroy
they must first teach to use c
----------------------------------------------------

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just to stop you talking to yourself....

I believe K-Bus is 100% compatible with C-Bus?? Somebody in China ripped off Clipsal? Or so the legend goes.

How will you use C-bus? Is it just for your own use or plan to use it with other C-bus products?

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have no problem talking to myself...

...As long as I don't listen when the voices tell me to buuurrrrn things.

Seriously though, I have it installed in my house running all the lights and exhaust fans.

I heard the k-bus story at a texas instruments msp430 info day.

the old automation system was done using z8's and used a bsd unix server to interface with c-bus (via their java cgate server application)

A year ago the z8's started to fail!, so I decided to replace the system with avr's with an Atmel ngw100 replacing the server.

I registered for the protocol document when I started this thread intending to be finished in a few months!

The whole project will be very involved as the unix box also ran the dallas 1-wire bus (with the help of a Dallas TINI module)

Originaly I did plan to sell the system to other people but the home automation market is saturated with w*nkers promising that their systems will ever raise their children for them.

I'll probably just publish it as a project on the web, it may net me a few more real customers.

Indeed i've worried about my sanity since starting this project.

When you start fitting toroidal cores with hall effect sensors around each mains active, well then you may have a problem!

Darren

Although I do have to admit that when your security system causes a 15yo tagger to soil himself it seems all worthwhile :twisted:

----------------------------------------------------
Those whom the gods wish to destroy
they must first teach to use c
----------------------------------------------------