Mespelare VSCP
15 posts in this category
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 …
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 …
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 …
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 …
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 …
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 …