Posts

Showing posts from August, 2012

The toolchain

Now we have necessary hardware, but still the only thing we can do is to login into the RasPi in a slightly different way. Now we need some software tools to convert our program sources into binaries for RasPi. I'm aware that there are some instructions floating around on how to acquire a toolchain more quickly, but I think the most correct way is to build one ourselves.  Since I'm using Debian as my primary desktop operating system for years, I'll provide instructions for it, but the same principle should be valid for any Linux-based OS. Tip for Windows users: you can run Linux inside VirtualBox. First thing we have to ensure that our host system has all the necessary tools. Open your terminal and run: sudo apt-get install build-essential wget Note that, instead of using sudo , you could also log in as root and execute the commands without it. In this tutorial I'll however prepend sudo to every command that requires elevated privileges. It should either

Building a serial add-on board (part 3)

Image
In Part 2 we etched a PCB. But our add-on board is not quite finished, there are still things left to do. Well, let's get to work. First thing to do - we need to drill holes for board's components. I'll use Dremel-like tool with 0.7 or 0.8 mm drill bits. As for surface, I'll use old chair, that I'm not afraid to ruin (even more). You may think of something else, but remember that while drilling holes in PCB you almost certainly will make some in surface below it. If you never did this before, it would be a good idea to practice a little on a piece of scrap FR-4. Also having few spare drill bits at hand wouldn't hurt. You never know when those tiny things break. Note also that dust from drilling is still as hazardous as in Part 2, so again I'm doing this outside. Done. There's however a manufacturing hiccup now. Mechanical pressure and vibrations from drilling proved to be too much for unconnected pads for 26-pin connector and almost all of