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 computer, we can use the serial port to send us information on the running code (values of variables, if statement conditions, signal specific points in the code etc). To add serial output to the existing Hasselt code, we’ll need to add a serial connection and add some code to the existing Hasselt firmware. We’ll start by looking at the code.
In the previous articles we’ve ran the modified firmware for our Mespelare module for the first time. In this article we’ll play with the Decision Matrix so we can make the module respond to events on the bus.
This article is a draft and is not finished yet. Proceed at your own peril.
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.
As a kid I used to have a tropical aquarium. When I moved out of my parents house, the aquarium was emptied and stored in the attic. A decade later my parents cleared the attic, and the aquarium had to go. Instead of storing it empty in my basement, I decided to put some simple plants and fish in it for the enjoyment of my kids (and my own). Easy maintenance and low cost are the key words.
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 well. We’ll be using VSCP’s built-in driver. The interface is subsequently tested using the VSCP Works suite.
After happily using Herma labels to label my beer bottles, I also want to use them to label jars in which I keep my SMD electronic components. Instead of printing multiple copies of the same label, I needed to figure out a way to print a different text onto each label, preferably without having to type over all the label information that I already have in an Excel file. Luckily, the Herma Label Designer has a feature to import information from a ‘database’. It has a small learning curve, so here’s a quick tutorial.
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 physical interface. Here’s how to install and test it on a Windows computer.
I have a table saw with a crappy fence. It takes a long time and lots of measuring to set it correctly, and even then it isn’t as stable as it should be. I replaced it with a sliding table. This table is guaranteed to run exactly square to the blade, and allows for easy setting of cutting distances.
Conveniently I label my beers on the cap and not on the bottle. This way they are easily readable without removing the bottle from the case, and once the bottle is uncapped and thoroughly rinsed, I put it in the crate on it’s head and it is ready for re-use, without removing any pesky bottle labels.
My cheap pillar drill comes with a standard table with two slots for installing a small vise. Rarely do I need to drill pieces that require tight clamping, so I figured my pillar drill would benefit more from a bigger table with an adjustable precision fence. I made one out of a few pieces of scrap wood.
Now this is old-school: I sometimes play Tekken 2 and Tony Hawk 1 with my mates on an old PlayStation 1. I used to have a borrowed PS1 which I had modded, but had to return it. I have since acquired my own PS1, so it is time to mod it so it can run copied game CD’s.
De flessenspoeler “Blast”, die verkocht wordt bij Brouwland, is een zeer handig hulpmiddeltje om snel de binnenkant van flessen te spoelen. Het enige nadeel is dat je hem steeds op en af je kraan moet schroeven wanneer je de kraan ook wilt gebruiken om de spoelbak te vullen of een slang aan te sluiten. Het zou zeer handig zijn om de Blast met een snelkoppeling op een standaard koppelstuk te kunnen bevestigen. Mits een kleine aanpassing is dit eenvoudig mogelijk.
I own a Rigol DS1052E oscilloscope. It is a 2-channel 50MHz scope which offers excellent value for its price, and as an unintended bonus can be easily hacked to increase its bandwidth to the 100MHz of its more expensive but otherwise identical brother DS1102E. This article describes the necessary steps, and where to find the correct firmware files & tools to successfully hack the scope.
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 concepts such as the general protocol concept, addressing, the Decision Matrix, masks/filters and much more in an understandable way.
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 be taking baby steps here so bear with me.
This article is a draft and is not finished yet. Proceed at your own peril.
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 Hasselt module. We’ll later base our own code on this foundation.
Here are all the recipes for the beers that I have brewed so far. Not all of them turned out so great, mind you. I like to experiment and sometimes make extreme things. Some of these beers are, mmm, more of an acquired taste… My better beers are listed in bold, although ‘better’ is a quite subjective statement. Let’s say that these are the beers that I would happily brew and drink again.
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 well-suited for my application as a home automation protocol. I’m not going to describe it here, you can read all about it on Wikipedia or on the VSCP website. Instead I will describe the set-up I have installed to learn VSCP and develop for it.
The Mespelare module 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 (teleruptors).
In case you wonder what technologies power this website, here’s the what and how.
Thanks for reading my website. No really, I appreciate it. This website is a minimalistic attempt to give something back to the web. As this is a personal website, don’t expect quality content and fancy layouts. If you however like to read, as I do, other people’s endeavours into all things technical, I hope that my sometimes incoherent ramblings offer some information or entertainment to you.
The original way to interface a TS-50 transceiver to a computer used to be through a serial interface converter. The serial interface has since been replaced with USB ports. Luckily it is even easier to build a homebrew USB interface for the TS-50!
I like brewing beer. This means I have to store a lot of beer. There was an unused space in the basement under the stairs so I set out to build a simple beer rack there. It holds 23 cases, is constructed out of cheap 46x21mm pine and designed to hold a Duvel case in such a way that a maximum of cases can be fitted, keep the bottles accessible without lifting crates, and to allow enough room for circulation. So I put the cases halfway on their sides.
I bottle all of my homebrew. Bottling is one of the more tedious tasks of brewing, and consists of different steps; filling the bottle, capping it, labelling and cleaning. The easier and faster I can make these tasks, the better. I have a pretty good work-flow for filling, labelling and cleaning bottles, but capping needed some improvement.
Crushing malt is an important step in brewing. It is important to crush the malt finely so that all starch is easily accessible for conversion into sugar, but care must be taken not to damage the husks too much since they are essential to the lautering process. An ideal mill for the job is a roller mill, since it crushes flour out of the malt grains while leaving the husks largely intact. As an exercise in metalworking skills I set out to build my own malt mill.
If you want to grow your own yeast, a magnetic stir plate is a great tool. It keeps the wort (and any suspended yeast) in constant motion, improving the access of the yeast to nutrients, and optimizing gas exchange so that produced CO2 is replaced by fresh oxygen. Commercial magnetic stirrers are quite expensive, even second-hand, luckily they aren’t too difficult to make yourself.
One day we were sitting by the waterside, fishing. We contemplated that it would be so comfortable to have a sofa on the bank of the river, no, it needed to be on a platform on the water! With a little barbecue on the side for food. And a sofa bed so we could sleep under a tent canopy. Well, things got a little out of hand from there… We built it, took the thing onto the water, lived on it for a few days and had lots of fun along the way!
This is a report of the third firing of the Ballistic Evaluation motor constructed by the Vlaamse Raket Organisatie (VRO). During the second firing a number of issues surfaced, which were since resolved and this third test is intended to verify these fixes.
The previous tests with the Ballistic Evaluation Motor (BEM) failed because the motor failed to ignite. To avoid ignition problems it was decided to increase the throat diameter from 2 or 3mm to 6mm. This allows the use of a beefier igniter. Pol machined a new insert for the throat region, and made a hollow brass tube with flange for the ignition, in which the igniter was glued in such a way that the head of the igniter protrudes from the underside of the tube.
Deze pagina beschrijft de ontwikkeling van een geïntegreerd meetsysteem voor statische motorttesten. Deze electronica interfacet met de Ballistische Evaluatie Motor, leest hier de meetwaarden uit en geeft deze door aan een computer voor opslag en analyse.
This page describes the construction and operation of a device for testing rocket motors. It allows the recording of the thrust generated by the motor during a static test. The recorded data is then analysed using an Excel spreadsheet.
This is a compact, programmable 4-channel rocket timer, based on the Microchip PIC 16F88 microcontroller. It features accelerometer or reed switch lift-off detection and 4 pyro channels that can be independently timed, disabled or grouped together.
This article describes a homebuilt interface for connecting the TS-50 transceiver to a computer using the serial port.
Note: this article is depreciated, for a more modern and easier way to interface the TS-50 to a computer, please check the post TS-50 USB interface.
The picture on the front of my QSL card was taken while departing for a DXpedition to Holmön island (EU-135), off the coast of Umea, Sweden. While preparing for the expedition, I was told that the only means of transportation to the island at the time I would be in Sweden, was a Hydrocopter. I could picture all sorts of weird vehicles in my head, like helicopters with floatation skids etc, but was quite surprised to see this nice vehicle sitting on the ice.