VSCP
27 posts in this category
This page describes how to automatically send events on the VSCP bus on specific, pre-determined moments. This is useful for example to every night turn off any lights that might have been left on. …
This article describes how to control VSCP events from a web page. It is based on websockets which connects to the VSCP daemon. Web page # Button # To be able to trigger events on the VSCP bus from …
This is a quick video tour of my home automation system. .
This article is a check-list for configuring Mespelare nodes as I integrate them into my house’s lighting and power system. It describes the steps to follow to properly configure each node, so that I …
Here’s an overview of how to install vscp_software on a Raspberry Pi. It is based on the tutorial on setting up the VSCP daemon on Unix. I’m not only giving the commands but also the verbose output …
The Hasselt code uses a non-standard bus speed of 250kbps. In order to stay in sync with the rest of the VSCP development community, I changed it back to the 125kbps which everyone else is using. …
An important design criteria for my home automation is that nodes should be able to continue performing (basic) actions autonomously, even when they loose connectivity to the VSCP bus. Therefore I …
/Frontpage thumb.png) Since version 1.0.0.70, VSCPworks reads registers using CLASS2_LEVEL1_PROTOCOL, EXTENDED_PAGE_READ. In reply to this request, the VSCP node …
The original Hasselt firmware runs a 10ms timer on Timer0 in interrupt isr_low. The code for Mespelare could use a timer that is a bit less granular than 10ms, for example for the new output PWM …
The Hasselt code has defined several actions for its outputs: On, Off, Toggle and PWM. My house’s lighting system uses pulse relays so I couldn’t really use any of these actions, I need the action to …
VSCP uses registers to read and write information to and from a node. This article describes the way the addressing of these registers works in VSCP. It describes the mapping of registers in the MDF …
As the C18 compiler is no longer supported by Microchip and the rest of the VSCP group has migrated their code to XC8, I needed to migrate my Mespelare firmware as well. This article describes the …
Before putting the Mespelare board into production, I wanted to do a final proof-of-concept test to make sure the hardware design is 100% correct before ordering the boards and components. I wanted my …
This article describes my roadmap for developing a home automation system based on VSCP. While I generally try to avoid any Project Management in my hobby projects, this roadmap does keep me focussed …
Now that I have the code for the Mespelare module mostly working, it is time to update the VSCP firmware to the latest version. A few years have passed since Kurt has written the firmware for Hasselt …
After lots of testing, reading code and checking, I came to the conclusion that the MDF file for the Hasselt module is bad. That statement goes for any version of the MDF that I was able to find …
Learning the way existing code works is much easier when you can have insight in the code as it runs. While we can’t really look inside a running microcontroller the way we can with programs on a …
In the previous articles we’ve [ran the modified firmware for our Mespelare module for the first time](/posts/Running the Mespelare firmware/). In this article we’ll play with the Decision Matrix so …
The firmware for the Mespelare board will be based on kurtsidekick’s Hasselt firmware. To gain a good understanding of how this firmware works, we will dissect it in detail in this article. We’ll be …
This article describes how to use the USB2CAN interface with VSCP on Linux. While I am installing the interface on Ubuntu Linux, there is no reasons why it shouldn’t work on other distributions as …
The VSCP Daemon is a service that forms an abstraction layer between the application(s) and the hardware interface. We’ll use it to allow multiple applications to connect to the bus through the same …
This article is a collection of links to documents that have good information for people starting with VSCP. Besides reading the complete protocol specification, they explain some of the basic …
In the previous articles we’ve set up our tool chain and compiled source code for the first time. In this article we’ll be modifying the source code we’ve downloaded to fit the Mespelare board. We’ll …
In previous articles we’ve set up our tool chain and developed a new VSCP interface board. Before we start writing firmware for the Mespelare board, we’ll try to compile Kurtsidekick’s code for the …
I’m experimenting with VSCP. The Very Simple Control Protocol is a simple but clever protocol implementation. Its creator made some of the same design choices I would have made, so it will be …
The Mespelare node is a VSCP board based on the Hasselt board by kurt_sidekick, used to read a Niko 6-way potential-free button set, and control it’s 6 indicator LEDs as well as 6 outputs …
An MDF has a fixed structure as outlined below. Header # The file starts with a header. This tells the software reading the MDF what XML version and encoding to expect, sets the MDF version number and …