Well, it’s been a couple weeks since I’ve updated my blog. This was not really my intention, but is my reality. I have been researching which (modern) technology is best used for the project I have in mind, when I fell head first into a rabbit hole. This rabbit hole I landed in, started off…
The beginning of a new project.
Starting off very simple I have decided on a new project. For this post, I will start off with a total of 25 lines of code in C, to generate an executable, that will print out the Linux Date-Time in something akin to ISO 1806 Date-Time, something that should also be readable by Javascript( Nodejs…
Simple Line / mux select
Originally posted by me on May 21, 2017 So, this is a variation on using GPIO, via direct memory access. The benefit to using this code, or similar. Is that there is only two syscalls for each line / mux select. Versus 12 syscalls if using the standard “Linux way” using open(), write(), read(), and…
Working with GPIO, closer to the hardware
Originally posted by me on May 15, 2017 In addition to the “traditional Linux” way of working through the file system when using hardware. One can use mmap() and /dev/mem/, when absolute performance is needed, or perhaps if one needs to minimize the load put on the processor when dealing with GPIO hardware. One does…
Working with GPIO
Originally posted by me on May 15, 2017 GPIO is probably one of the most easiest things to work with on a beaglebone. Once you understand a few things. First, the kernel through sysfs has no idea what pins are tied to which header pin. So one needs to find a spread sheet that will…
How to read an ADC
Originally posted by me on May 10, 2017 So this bit may seem a little odd to some. Hell I know the hardware, and wrote this really quick snippet as a demonstration, and I think it’s odd. The short story here. Is that we have a pin multiplexer on AIN6, and this multiplexer selects an…
Read from a DS18B20 temperature sensor
Originally posted by me on May 9, 2017 Again, very simple code to read from a device, and put that read information out to stdout. In this case, reading from a 1-wire DS18B20 sensor. The pin used is unimportant, so long as that pin is configurable as gpio, and is not already in use by…
Using the Maxim DS3232 on a Beaglebone black
Originally posted by me on May 9, 2017 So, this is partly for me, and partly for others who need a refresher, or just do not know how. But I will be making several post here over time on how to write very simply code, to do one thing, or another. These, used in conjunction with…
Considerations . . .
Not really a technical post, but more of a documentation of where I feel life is leading me. As Some of my readers may already know. I have been pursuing a certificate based course for “IT security professional”. Lately this course has been starting to feel like it has been getting in my way. Let…
WordPress, and MariaDB on Docker
The motivation for the post was quite simple. Currently, I’m running wordpress for a blog site, and never happy with Themes created by others. Often, I find myself wanting to design my own theme from scratch. Several years ago, when I ran the same domain, on a different server, I used WordPress then as well….