Uri_ba's pit

Quick tip – Binary to HEX and DEC conversion

I’ve been doing some work on the code, mostly involving i2c commands and addresses. Those are usually given in Hex in the datasheet, sometimes with binary reference, but you might find yourself needing to convert between the two and sometimes to Decimal.

There is a quick way to convert back and forth between all of them by hand with nothing but a piece of paper (you can do it in your head if you are good with numbers – I’m very bad at it :))

Anyway it’s a good old trick but it works.

Uri_ba's pit

DED box – as real as it gets.

I’ve been using a hand built DED box made out of foam board. it was quick to build, and did the job it was intended. holding my DED in place. But then I was pointed towards a post in jSheppard blog, jshep, creator of the PScockpit system, has been using off the shelf plastic box by Hammond, which in a funny coincidence almost exactly in the perfect size to be a DED.

Shep is using the NH 2.8″ LED, I still prefer the ER 2.8″ due to it’s 5V compatibility, but it will not fit into the box due to the PCB side… or will it? (spoiler alert… it does fit ;))

it is a very long post, that will show how to get from this:

Mouser DED box - what you need
Mouser DED box – what you need

To this:

Assembled DED - final test
Assembled DED – final test