Overnight the higher areas received lots of snow, while it was raining in the lower areas, creating a ‘blue, white and green painting’. A new rain and snow weather front is coming, but there was a small blue sky window in the morning. With the sun coming up in my back, I captured the view towards the snow-covered Rigi mountain range:
The Föhn Wind kept me up tonight: it was pretty strong with 90-110 km/h browsing through the central valleys of Switzerland. An amazing sunrise with colors I have rarely seen compensated for that restless night with a natural painting:
Morning Clouds with Föhn Wind
The clouds are arranged in lines: this because the Föhn Wind is building ‘standing wind waves over the mountains: if the wind goes up it, water condensate and builds the cloud lines.
In “openHAB RGB LED Light Cube with WS2812B and NXP Kinetis” I started experimenting Kinetis boards, a LED cube diffuser and Adafruit WS2812B NeoPixel LEDs. That worked well, but I was not to very happy about the visual effect. So here is my next version: I wanted to have control over each side of the cube. For this I have built a cube inside the cube with a 3D printed structure:
I have been asked to provide a command line shell example for a bare-metal (no RTOS) application, so here we go!
Having a way to communicate to the firmware on a board is essential for most of my projects: it is simply, incredibly helpful and easy to do (see “A Shell for the Freedom KL25Z Board“). This tutorial shows how to add a simple command line shell to the NXP Freedom board which then can be extended as necessary.
Overnight it was raining a lot in the central part of Switzerland. Additionally it is warming up so it adds water with all the snow melting in the higher areas. As a result, a dangerous rock- and mudslide went down today nearby in Moutathal, damaging bridges and power lines. A video records the destructive power of nature:
Does everybody still know why in the ‘old’ days there was the need for running a ‘screen saver’ on the computer? With the modern LCD displays they lost their initial purpose. After “3D Printed Classic Mac Apple Watch Charging Station” I’m doing more ‘good old days’ 3D printing. The ‘elder ones’ might remember the “After Dark” screen saver software for Apple Macintosh and Microsoft Windows machines. Yes, that was 1991! For me most famous and iconic theme were the “Flying Toasters”:
There are plenty of different software packages available for microcontroller these days from all the silicon vendors. Finding a good software package is one challenge, getting what I really need is another one. Freescale is now part of NXP since December 2015, so this is probably the first release of the former Freescale part now as NXP: The NXP Kinetis SDK Version 2.0.
It comes with an interesting distribution way: instead of downloading huge packages with all-and-everything in it, I can build it ‘on demand’ online and get what I need, on demand from a web based front end:
In “Blinky LED with openHAB on Raspberry Pi” I have used openHAB on a Raspberry Pi to control an LED attached to the Pi, and in “xx” I have explored how to connect a NXP Freedom Board over USB CDC to the Raspberry Pi. In this article I’m going to combine both: to control the LED on a NXP Freedom board remotely with openHAB on the Raspberry Pi.
Sometimes it is all about doing fun stuff: to carry and store the tinyK20 (NXP/Freescale Kinetis K20) boards needed for next course, I wanted to build something geeky: a MUFG capsule to store and duplicate Kinetis boards :-)
Many times it is very useful to debug multiple boards at the same time. For example if I’m debugging a communication stack between two boards: that way I can debug the protocol on both sides. Eclipse is a great framework which allows that. This post shows how to debug multiple boards (e.g. the NXP Freedom boards) in parallel from the same Eclipse IDE using GDB and the Segger J-Link:
Waiting in the cold in the early morning can have an aesthetic aspect:
When ice builds beautiful structures on glass we call it ‘Eis Blume‘ (‘Ice Flowers’). In the past this happened on the windows in unheated buildings. These days it is a rare species with all the heated building. This one is more like snow flakes building up nice structures. With the sun coming up in the background their beauty will be gone very soon….
The reset and signal line of a microcontroller is probably the most important signal to a microcontroller. And if things go wrong, then a first thing to check is the reset line. So having control over reset is an important aspect for embedded development. You would think that if you download a program to a microcontroller, the debug probe would put the device into reset at the start with a short pulse like this:
One of the first machine I used for development many years ago was a Apple Classic Macintosh computer. My days of development with Pascal and Modula-2 are long gone. But with the availability of 3D printers I can print a Classic Mac :-). But now it is not used for development: I use it to charge an Apple Watch:
I’m not much monitoring what is happening on Kickstarter or Indiegogo, only for time reasons, but maybe I should? For a while I’m looking for the next level for the tinyK20 project: better and more powerful microcontroller with touch display/graphic LCD. And when I see a Freescale/NXP Kinetis microcontroller on a crowd funding platform like this one, I hardly can resist ;-) :