Category

Differences between lists in Unix

2022-06-27 unix

Using the comm(1) command in Unix we can see the difference between lists. The comm command takes two files as inputs and will output lines unique in ... Read More

Realtime Lidar Measurements with NodeJS

2022-03-19 hardware lidar

In this blog post we will plot near realtime Lidar Measurements on a browser. We will use a Raspberry Pi connected to the TF Mini+ Lidar from ... Read More

Unix Command for Epoch Time

2022-02-06 unix

This post provides some examples using the Unix date(1) command to interact with Epoch Time. We commonly need to print or parse the Epoch. Print the ... Read More

Skull with Blinking Red Eyes for Halloween

2021-10-25 hardware

For Halloween I attempted to do a little electronics with my young daughters to make a scary Halloween Skull with Blinking Red Eyes. Circuit Functions ... Read More

Ebyte e32 Lora Module - Client Socket Examples

2021-07-23 hardware lora wireless ebyte-e32-lora

This post currently has a example client in Python that sends information through Unix Domain Sockets when the e32 is running as a service. Adding ... Read More

Ebyte e32 Lora Module - Wiring and Configuring the Raspberry Pi

2021-07-18 hardware lora wireless ebyte-e32-lora

This post explains how to wire up the UART and the mode pins. We need 5 connections between the Raspberry Pi and EByte E32, as well as a power and a ... Read More

Ebyte E32 Lora Module - systemd service

2021-06-18 hardware lora wireless ebyte-e32-lora

The e32 program is intended to be run as a service in the backround with communication through sockets. This way you can write software in any ... Read More

Ebyte E32 Lora Module - Transfer Files

2021-06-18 hardware lora wireless ebyte-e32-lora

This post explains how to transfer files over Lora using the e32 program. See getting started for the background. Prerequisites We must first assume ... Read More

Stack Protection with a Canary

2021-06-11 c arm assembly

Buffer overflows can be detected by inserting a canary into a function. These canaries are inserted when a function’s stack frame is created. ... Read More

Ebyte e32 - Sockets

2021-06-08 hardware lora wireless ebyte-e32-lora

The e32 program can run as a daemon and listen on Unix Domain Sockets for data to transmit and receive. This post documents the functionality of the ... Read More