I am pleased to announce the DBPedia Places map. Since I wrote my master thesis about vague places I wanted to do something like this. The vague-places generator was one of the outputs of such work, but I felt the need to see DBpedia points on a map, changing every day.
The final result can be poked at the dbpediamap.tk, this post is an overview of how this small project works.
As a quick taste, here’s a screenshot showing a dataset presented on the website:
DBpedia viewer USA
Explain me a little bit more
Filed under code, gis, Maps
Still alive and kicking. And with another year in my back in Embedded Development.
My recent tamperings have been about creating a bootloader for a Cortex-M0 µ-processor that performs firmware update either from UART or SPI.
There was a interesting bit on how to set-up the system to have two Firmwares running (Boot Mode and application mode). And that is what I’ll explain in this post. How to set up a project to build a boot and successfully run your main application.
Boot me up
Filed under code, electronic
Unit testing is something that lots of developers are used to, and in environments like Python or Java can be even bundled in some awesome libraries. Easy to use, easy to implement, great results.
Then it comes C Embedded: The environment is different, even the people is different!!. Praising the benefits of unit testing is not that easy sometimes, even writing the unit test functions is not as straigtforward.
In this post, I’ll talk about Unity, a small unit test library for C.
See how we test
One of the main functionalities of the clock will be… suprise surprise, keep track of time!
For this task we’ll interface with a DS1307 RTC using the RTClib. You can just include that library and forget how it works. But that’s not the way this blog works. Let’s dive a little deeper.
How arduino RTClib works
For the clock project I require text to appear in a small container, that is 4×4.
Since in this 4×4 I have to add vertical and horizontal spacing this ends with a 3×3 font.
Never in my life I designed a font, and if you check my hand writing… it is horrible. Luckily 3×3 only leads up to 2^9 options, 512 different characters, and I believed I could handle this.
After writing the font in a squared notebook, I checked that other fronts already exist, and, unsurprisingly they were very similar to mine.
Show me your font
Filed under code, curious, DIY
Quick note, for those who might be banging their head, like I did.
ST HAL library 7 bit I2C address has to be shifted before passed to their functions.
EDIT: Let me google that for you situation. I’ve been working with the official ST documentation, when I just had to google to find this beautiful blog post from 2 years ago.
Filed under code, curious