Homemade DIY word clock – Part 2

 

Introduction

In this part of the series we’ll cover the electronics. I’ll show you how I planned to build the internals of the clock and how I built it afterwards. Just like in the first part of the series I wrote this article while the build was in progress. I planned to leave errors I might make during this build in the articles, so that me and others can review them and don’t make the same mistakes again. If I find out that something is wrong, I’m going to mark it as wrong in the article and correct it afterwards:

mistake I made
correction

However in the last part we planned our clock in general. So now it’s on to planning the electronics that’ll give the clock a function. Continue reading Homemade DIY word clock – Part 2

Homemade DIY word clock – Part 1

In this article I have something stylish for you: It’s a project idea, I had for a while. And today I decided to finally build it! I’m pretty sure almost everyone of you has already seen a world clock, even if most of you have just seen them on pictures. For everyone else: It’s one of these clever clocks that do not display the exact time, but display a sentence, approximating the time instead, composed from different words that light up:

WordClock_02.JPG
Figure 1: A word clock

As these clocks can be pretty expensive, I decided to build some cheap ones myself. Three of them will be given to two friends of mine and one is for me. This article will be a description of the steps needed to create such a thing, so you can build your own one at home!

Continue reading Homemade DIY word clock – Part 1

BeagleBone Black PRU clock cycle counter

Introduction

Today’s article will be a short one in which I’ll cover the so called cycle counter register (DWT_CYCCNT), which is present on the BBB’s PRU cores and on other CPUs from the Cortex architecture (See here). However this register is implementation dependent, so it might not be available on chips from some vendors. If this register is not present on a chip, it will always read zero. This register counts the number of cycles for which the PRU has been enabled. Continue reading BeagleBone Black PRU clock cycle counter