↓ Skip to main content

Mespelare VSCP

15 posts in this category

Mespelare VSCP
Change CAN speed
2015-02-22

Switching the Hasselt VSCP firmware from its non-standard 250 kbps CAN bus speed back to the 125 kbps everyone else uses. A small register change in vscp18f_init().

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

Making a Mespelare VSCP node switch its own relays from its own buttons, so the lights keep working when the bus is down. Covers the code hook, a configurable output mapping and output modes.

Mespelare VSCP
Update sendCANFrame()
2015-02-05

Fixing a hang in sendCANFrame() when VSCP Works reads many registers at once, with a one-second send timeout.

Mespelare VSCP
Changing interrupt timer period
2015-01-27

Changing the Hasselt firmware’s Timer0 tick from 10 ms to 1 ms for the Mespelare node, and updating the code that relied on the old period. Includes a scope capture of the result.

Mespelare VSCP
New action Pulse
2015-01-24

A new Pulse action for the Hasselt firmware, so the decision matrix can drive the pulse relays in my house. Firmware, MDF and decision matrix changes.

Mespelare VSCP
VSCP register addressing
2015-01-20

How VSCP register addressing works: how registers in the MDF map onto the node’s application space and how the firmware stores them.

Mespelare VSCP
Building a custom MDF
2015-01-20

A walk through the structure of a VSCP Module Description File, from the XML header and module information to the registers, using the Mespelare module’s own MDF as the example.

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

A final prototype, Mespelare v9, to make sure the board design is right before ordering production PCBs. The fixes from v6, the tests and the firmware.

Mespelare VSCP
Updating VSCP firmware
2014-12-30

Updating the Mespelare node to the latest vscp_firmware from GitHub, and the compile errors and changes that came with it.

Mespelare VSCP
Dumping EEPROM contents
2014-11-29

A DumpEEPROM() routine that prints the node’s EEPROM over the serial port, to check what VSCP Works actually wrote. Needed because every published Hasselt MDF turned out to be wrong.

Mespelare VSCP
Adding serial debugging
2014-11-18

Adding a serial debug port to the Hasselt VSCP firmware, so you can watch variables and program flow while the PIC runs. One #define switches all the debug output on or off.

Mespelare VSCP
The Mespelare Decision Matrix
2014-11-17

Configuring the Mespelare node’s decision matrix through its registers so it reacts to events on the VSCP bus.

Mespelare VSCP
Running the Mespelare firmware
2014-09-23

Adapting the Hasselt code to the Mespelare board: pin assignments, the MDF location and setting the registers, then running it on the hardware for the first time.

Mespelare VSCP
Mespelare VSCP firmware
2014-09-19

Compiling kurtsidekick’s Hasselt firmware for the first time in MPLAB X, as the starting point for the Mespelare firmware: target settings, preserving EEPROM and programming the test board.

Mespelare VSCP
Mespelare VSCP node
2014-09-15

The Mespelare VSCP node: a CAN bus board that reads a Niko six-button panel, drives its LEDs and six relay outputs, and breaks out the rest of the pins for expansion boards.