Skip to main content

VSCP

27 posts in this category

VSCP
Scheduling VSCP events
2015-10-25

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. …

VSCP
Controlling VSCP from a web page
2015-08-05

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 …

VSCP
Quick tour of my home automation system
2015-05-28

This is a quick video tour of my home automation system. .

VSCP
Check-list for configuring Mespelare nodes
2015-05-27

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 …

VSCP
Installing VSCP on a Raspberry Pi
2015-03-04

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 …

VSCP
Change CAN speed
2015-02-22

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. …

VSCP
Actuating a local output from a local input trigger
2015-02-10

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 …

No image
Update sendCANFrame()
2015-02-05

![](/images/Update%20sendCANFrame()/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 …

VSCP
Changing interrupt timer period
2015-01-27

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 …

VSCP
New action Pulse
2015-01-24

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
VSCP register addressing
2015-01-20

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 …

VSCP
Upgrading Mespelare firmware to XC8
2015-01-07

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 …

VSCP
Mespelare proof-of-concept
2015-01-03

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 …

VSCP
VSCP roadmap
2015-01-02

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 …

VSCP
Updating VSCP firmware
2014-12-30

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 …

VSCP
Dumping EEPROM contents
2014-11-29

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 …

VSCP
Adding serial debugging
2014-11-18

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 …

VSCP
The Mespelare Decision Matrix
2014-11-17

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 …

VSCP
Dissecting the Hasselt firmware
2014-11-14

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 …

VSCP
Installing USB2CAN on Linux
2014-10-31

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 …

VSCP
Installing VSCP Daemon on Windows
2014-10-20

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 …

VSCP
Getting started with VSCP
2014-09-28

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 …

VSCP
Running the Mespelare firmware
2014-09-23

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 …

VSCP
Mespelare VSCP firmware
2014-09-19

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 …

VSCP
VSCP toolchain
2014-09-15

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 …

VSCP
Mespelare VSCP node
2014-09-15

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 …

No image
Building a custom MDF
1015-01-20

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 …