Eric·Jul 4A Walk Through Implementing a Single Consumer Single Producer QueueI recently started implementing a single consumer single producer queue. On paper, it sounds like a small data structure. In practice, it…
Eric·May 3, 2025MAX485 chaosI’ve been working on a reactor system that relies on Modbus RTU to read data from temperature and pressure sensors. It’s not my first go —…
Eric·Nov 11, 2024Daisy chaining SPI communicationhttps://www.ti.com/lit/an/slvae25a/slvae25a.pdf?ts=1731352798044&ref_url=https%253A%252F%252Fwww.google.com%252F
Eric·Oct 8, 2024Reservoir SamplingQuestion 1: what is a fair way of dealing with an over boarded airplane.
Eric·Feb 8, 2024Programming scene 1 in Factory IO using openPLC and structured textThe program has 3 variables running, sensor and conveyor1. running is mapped to FactoryIO running start/Play button. sensor — digital…
Eric·Jan 26, 2024CAN communicationis a communication protocol used mainly in automobiles. It’s almost similar to I²C communication protocol in that messages are sent in a…
Eric·Jan 23, 2024StackThe stack is a common data structure found in the execution image of any program.
Eric·Jan 18, 2024Writing ARM assembly code and creating bin files that are run in qemuIn the assembly program register R0 and R1 are loaded with values 1 and 2 respectively. In line 7, R0 and R1 are added and the result is…
Eric·Sep 17, 2023Factory IO Automated Warehousehttps://youtu.be/wh62SjLF5s4A response icon1A response icon1