I recently saw a post on Hackaday about a course in MIT where the students get to build an FMCW radar from mainly off-the-shelf components. I got pretty excited about it and immediately thought that I wanted to build a better one from scratch. The design presented in this post is just the preliminary design, a lot of things might change as I go along. Theory I won’t go to too much detail […]

I have added support for single-track gray encoders to my Inkscape optical rotary encoder disk generator extension. In a nutshell single-track gray encoders are similar to binary-reflected gray encoders because they give absolute position with multiple sensors, and two adjacent positions can only differ by one least significant bit. The difference is that STG encoder has just one track with multiple sensors. This makes it possible to make radially smaller sensors because […]

Categories: All posts, Programming

I added support for creating gray encoded absolute rotary encoder disks to my Inkscape extension (original post: Inkscape extension for creating optical rotary encoder discs). More specifically binary-reflected Gray code encoders! Basically these encoders enable you to get an absolute position of your encoder disk unlike normal rotary encoders which are incremental and cannot give you an absolute angle without knowing previous movements and starting point. With n number of tracks […]

Categories: Programming

I developed an extension for Inkscape which can create optical rotary encoder discs in any size/number of segments. It currently supports single and two-track (quadrature) encoders but I’m going to add support for gray encoded discs as well. Post a comment if you have any other suggestions for additional features! Usage should be pretty straightforward, if you for example do not want a second track, just set its diameter to 0. […]

Categories: Programming

I needed a display for a project of mine and was just going to use a regular HD44780 -based text LCD display, until I spotted some very neat looking TINY OLED-displays from eBay. The displays are monochrome 128×32 pixel displays with a 4-wire SPI bus and they are around 30x11mm in size (the actual display area is under an inch diagonally!). The exact type of the displays is UG-2832HSWEG04. I found […]