Practical guide on how to use marker decorators on TypeScript data structures.
[Read More]
Stateful event handling in PureScript
the big-canvas experiment
PureScript is a Haskell like purely functional programming language that compiles directly to JavaScript. In this post I explain one way to handle async DOM events in a stateful way using coroutines.
[Read More]
Juicy-footprint
an SMD Footprint designer DSL
Juicy-footprint is a domain specific language written in/for Java and Scala to design/reconstruct SMD footprints from the Recommended PCB Layout of the datasheet of an SMD component.
[Read More]
V-plotter math
kinematics with rotation compensation
This post explains the math behind an advanced coordinate transformation method / kinematics for v-plotters that also compensates the rotation of the carriage. Prototype implementation is also provided
[Read More]
On the viability of semi-indoor solar energy harvesting
with measurements
This is the log of my recent experiment on the viability of solar powering of an IoT device in a semi-indoor environment (indoor, but bright enough to enable a plant growing, e.g. by a window).
[Read More]
Arduino capacitive proximity sensor
with a square-wave signal generator
In this post I explain a capacitive proximity / touch sensor for Arduino based on a square wave generator. This design results in very stable sensor readings and it also works from a battery.
[Read More]
Arduino frequency counter experiments
In this post I summarize my recent experiments with different frequency counting approaches using the Arduino platform. My original goal is to develop a small, capacitive proximity sensor, that is more reliable than the default charge time measurement based one
[Read More]
Prototyping of an MCP73831 based battery charger
with breadboard and perfboard diagrams
One of my ongoing projects is a very low-power electronics device that supposedly runs on a single-cell Li-Ion or Li-Polymer battery for a very long time, hopefully many-many months. In my idea, the battery actually could be a rechargeable one, e.g. LIR2032 or LIR2450 button cell, and I might also...
[Read More]
Markdown rendering issues on Hackage
Just a quick post on some Markdown rendering issues I recently ran into on Hackage. They were very annoying as the markup was properly rendered on github, and I could not spot any obvious problems.
[Read More]
On the approximation of Bezier curves by circular arcs
with working prototype in C#
Approximating bezier curves by circular arcs, in spite of how useless it sounds regarding modern drawing APIs, has (at least) one raison d'etre. The G-Code language used by most CNC machines, and also adopted by most 3D printers, can deal with linear interpolation (lines) and circular interpolation (circular arcs) only....
[Read More]