All posts in category Technical

TX vs RX naming conventions for USB 3.0 SuperSpeed pairs

Just a draft note for now, as a result of a mistake I made while designing a USB 3.0 board featuring a male USB type-C plug soldered directly to the board I designed! A classic problem with the TX and RX lines of UARTs & RS-232 systems is that the “TX” and “RX” nomenclature is […]

Share

Programming TrueSTUDIO .hex files over DFU on linux

So you have an Intel HEX (.hex) file from your microcontroller firmware (from Atollic TrueSTUDIO for a STM32 micro, for example), but you need a .dfu file in order to program your microcontroller using dfu-util? And can’t (or don’t want to) use the Windows-only DfuSe software? I hope this guide helps you out!

Share

Using MOSFETs as blocking diodes

Connecting a battery backwards to an electronic circuit can rapidly do a lot of damage — current will flood through (and destroy) many integrated circuits when powered up the wrong way, and electrolytic capacitors have a famous tendency to explode. For this reason, it’s common to use a blocking diode in a circuit to provide […]

Share

Deriving magnetism from electrostatics and relativity

Imagine a world where there was no magnetism at all — just electrostatic forces. It turns out that by adding Einstein’s laws of special relativity to that world, and looking at the effects that special relativity has on moving charges, the laws of magnetism appear — just by mashing electrostatics and relativity together. In other […]

Share

Where’s the North Pole on Google Maps?

I’ve seen several posts on the internet asking about the North Pole on Google Maps: where is it? Why isn’t there any snow there? Where’s Santa’s house? There’s a couple of reasons why the ice around the North Pole is not shown on Google Maps.

Share

The Galaxy Nexus PenTile display: comparing apples and oranges

There has been a lot of discussion on the ‘net about the infamous PenTile display. Lots of sites are throwing numbers around, comparing the ‘subpixel resolution’ of competing phones such as the Galaxy Nexus and iPhone 4/4S. Some commentary has been insane, comparing apples with oranges and declaring PenTile an abomination regardless of resolution. Others, […]

Share

Rattling Nikon MH-18a charger: how to fix/prevent

During my holiday in Thailand, I was silly enough to drop my Nikon MH-18a battery charger on the floor from a height of a metre or so. As soon as I picked it up, I heard a rattle. When I looked inside, this is what I found: The core of the inductor had broken into […]

Share

Setting up gmail as a relay host in postfix (without creating certificates)

When your linux box needs to send email (e.g., mail sent by a webpage, cron job output, etc), postfix can normally send the email directly to the recipient. However, if your ISP blocks port 25 outbound, or you want to keep a nice log of all outgoing messages, or want replies to arrive in your […]

Share