Skip to main content

Mespelare VSCP

15 posts in this category

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

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

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

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

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

No image
Building a custom MDF
2015-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 …

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

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

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

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

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

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

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

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