top of page

Hello

Home: Welcome

About Me

IMG_7861.JPG

Hi, welcome to my website! I’m not really sure what this is or should be; but hopefully it can be at least fun or interesting. I aim to make regular posts about things I find inspiring or technical things I hope I can remember in the future.

First, a little about me…


I am a professional physicist; I am a generalist with specialisms in all sorts. I am passionate about AI and I try to reflect on the use of AI in research and business. I also take a strong interest in the ways we run our projects and how we are influenced by the culture of work or research around us; I like to teach and to share knowledge and in part that explains this site.


I have spent the last decade in Durham, UK where I completed a BSc, Masters and PhD in theoretical physics. My interests are in the detection of dark matter, which sits somewhere between particle physics and cosmology. Although I have left academic research; I still maintain ties to the university. My tome of a thesis (500 pages!) was designed to be a useful textbook-like reference for students of dark matter, and it expands at length on my various published research topics.


The decision to leave academia wasn’t easy; but there is a world of skills and knowledge in industry which I was ready to tap. I started out as a software developer at a consultancy firm in Oxford; learning the ropes with C++ and Python and contributing as a developer to the Mantid codebase for muon beam analysis at Rutherford Appleton Labs. I moved back to Durham to join Kromek, a innovative R&D company who make detectors to work on X-ray security applications.


Now, I mostly spend my days running X-ray projects with a focus on AI. 

Home: About Me
Home: Blog2

Let’s Chat

Thanks for submitting!

DSCF2493.JPG
Home: Contact
  • Writer's pictureTom Jubb

Building the Ben Eater Computer

Updated: Feb 11, 2020

Here's the problem; you've always wanted to know more about how computers work at a fundamental level. You've got some basic knowledge of electronics from a theoretical level; but haven't really done much in the way of practical electronics.


I found the solution!


Ben Eater is an extraordinarily talented communicator and teacher and has managed to build a simple computer on a bunch of breadboards as a way to teach how the various parts of a modern computer work. His videos are incredibly detailed and go through everything in small steps. You follow each video; copying Ben as he explains how and why everything is the way it is. Slowly, a computer takes shape at your desk, with a clock, bus, RAM, CPU, program counter, display, etc etc.


I followed the videos and completed the computer in about two months of spare time. It is extremely satisfying to build it all up piece by piece and see all the parts working. It can be programmed just like a normal computer (limited to the ADD and SUB functions) to do simple 8-bit arithmetic (i.e. up to values of 255). Not only that; but I really understand computing in a way I didn't before.


The first video in the series can be found here.


Cost


The one downside of this project is that it costs a fair sum (components alone are around £350 in total, spread across a few months). I bought my components mostly from Mouser; with the odd few coming from Ebay if they are more rare (the RAM chips are a good example). Consider bulk buying a "kit" for resistors, capacitors (electrolytic and ceramic) and simple logic gate chips as you use them frequently.


There is a LOT of therapeutic wire cutting and stripping so buy a good 50m of different coloured 22 gauge copper wire, see for example here, along with some wire strippers and a decent pair of pliers (trust me on the quality of the pliers). Black for ground, red for power. At least three other colours.


Another big cost comes from the breadboards onto which the various parts of the computer are placed. You need a lot (16 minimum); and although the more expensive ones will have fewer power distribution problems, it will become very costly with those. I used much cheaper ones (around £3 each); but be prepared to add more power rails everywhere when you assemble the final configuration.


Power Supply


The easiest way to power the computer is using a 5V mobile phone charger. If you have a spare lying around check the plastic casing of the transformer, it should be rated 5V DC. Cut the end of the cable and strip the red/black wires (these can be stuck straight in the breadboard). Check with a multimeter that the voltage is correct; and this supply should be more than adequate for the computer. These are very low power so don't worry about getting any sort of nasty shock.


The difficult part of the power supply is providing enough current; the full computer draws rather a lot of it due to the inefficient power distribution across all the wires and components. My final computer takes around 0.6A. This is no problem from the mains supply; but if you try to run it from batteries be prepared to use quite a few of them (I needed 4 9V cells).


Alternatively; you can buy a DC power supply (Ebay has got some good low price supplies) and link it up directly to the breadboards (see pictures below of my one).


Mounting it on the wall


I was pretty happy with the final computer; when its performing calculations its very satisfying to watch all the diagnostic LEDs flicker on and off as the data is moved around from memory to CPU to display.


I decided it would be good to put it up on the wall.


To do this; I bought a deep box frame from Amazon. The breadboards all have an adhesive backing, so I carefully stuck the computer to the backing of the frame (try placing a pillow over the circuitry, carefully upturning the pillow and then sticking the backing to the breadboards).


Having trailing wires to the nearest plug sockets will look ugly; so this thing needs battery power! I drilled a little hole in the side and put a simple rocker switch there. The switch is attached to a 5V power supply module from ebay (be very careful of the voltage regulator as it gets HOT, I burnt my arm on it almost immediately). If you have a spare heat sink; its worth using it on the regulator.



The power supply can be screwed into the inside of the box frame. Four 9V cells are attached to the power supply in parallel in order to provide enough current.


Now the box frame can be hung on the wall and will execute your programmed code at the flick of a switch. It's a very impressive looking wall hanging; and even better once you know exactly how it works.



207 views0 comments
  • linkedin
  • generic-social-link

©2020 by Thomas Jubb.

bottom of page