Well, this is the result of my idea that I got while I had problem sleeping. And a quick search later, I was unable to find any box/cage that was ready for a HDD (2.5″).
So, I spent some time mocking up two brackets to mount an HDD and a Raspberry. The brackets allow you to move both the HDD and the converter-plate.
The converter-plate is just a plate to mount the Rpi above the HDD, extending the width of it from 56mm to ~69,85mm.
Please note that the screwholes might be slightly off, but for the HDD it’s M3-screws, and for the Rpi it’s M2.5. Also, I’ve not made any holes in the bottom of the brackets for mounting, I’ve left that up to one-self.
If you want the Sketchup-file, just comment and I shall provide.
First post on a rather fresh blog. (Well, second post actually).
Well, let’s get on with it. I’ve have been designing a 8-bit computer from scratch over a year one, most of the time I’ve spent researching and learning about the MCU and microprocessor I’ve chosen to use.
One of the feature that I want my 8-bit computer to have, is a rather expandable interface. And thus, I’ve chosen to go with the SPI-interface. And almost immediately ran into problems. I don’t want to spend all my I/O on Slave-Select (SS).
So I designed a 16-device SPI-bus, using two 8-bit shift-registers (74HC595). The only downside is that you can by mistake activate more than one device by shifting in more bits in the register. I can only assume that this will give you a crappy data-read/write.
But I will work in some restriction into the bootloader of the CPU.
If you’re wondering what I did to the MISO-bus, I will leave this article here. I’ve only implemented step 2, for now. Implementing a pull-up resistor is rather easy, just add a 10K between SSx and VCC.
An important note is that SPI-devices are active when the slave-select is low. So if you want to read/write data from, say device 5. You will have to shift in | 1111 1111 | 1101 1111 | (if I understand these registers correctly).
Another fun thing with this, is that you can daisy-chain these. As long as you have the power to drive all the circuitry.
Feel free to comment and correct me on things, I’m sure that I’m wrong on at least one point in this post. Also, I know that power-supply is missing for the 74HC595’s, it’s eagle CAD faults.