Contribute
Register

PowerMac G4 Cube

Status
Not open for further replies.
You Sir, are truly amazing. This has got to be some of the finest work I've seen, the templates and stenciling, the welding, machining, painting. The attention to detail, that's truly amazing work. I am most certainly truly impressed. My hat's off to you...congratulations! I can't wait to see it light up :)

Thank you kind sir.

Very impressing, you are a 'metal'-poet :clap:

Hahahaha... Haven't heard that one yet. I think I'll use it.
 
@ayilm1
You're most welcome. Metal-poet sounds just about right, I think I'll use it too. The phrase was coined here first.... :)
 
After finishing up research on the sensor, I moved onto prototyping a control circuit that would interface it with the motherboard. For this particular board, the system power state could be indicated in two ways. The default is to flash the power indicator while in sleep and have it solid while awake. The other is to have a bicolour LED connected and the board switches the two pins between ground and high depending on the state. I have covered these indicator methods in more detail in my Switch research thread along with ways of interfacing with them.

For this board, I chose the bicolour LED approach since I didn't have to mess around with an ADC. The circuit that interfaces with it is very simple:

IMAG0148.jpg

The LED is connected through two diodes to two of the micro controller's input pins. If the top pin is high, the bottom pin will be grounded and vice versa. The resistors are there so the pins don't float when the machine is switched off. Again, this is covered in more detail in the dedicated thread.

My original plan was to use an attiny9 to just have a boardless solution. The tiny9 is a minuscule SOT23-6 package so I could just solder it in line with the cables and heat shrink around it. However I acted too hastily without doing enough research and found that this wave of tiny's used a new TPI programming protocol for which I didn't have a suitable programmer. It wasn't a huge loss since they were only about 50c a piece but it could have been a lot worse with a more expensive part. Do your research people. So anyway, I went for the ATMEGA328-AU instead since I had a 328p Arduino lying around that I could prototype on while waiting for the part.

The C source along with the compiled hex is attached at the end of this post. Make sure if you're using the same micro, to set the fuses so the internal oscillator is running at 8 MHz without CLK/8. It runs at 1MHz factory default. If you're using a different micro I suggest you just take the exponential function in the #define and set the timings up yourself. I was going to have the level update rate synced to a second internal timer but I got lazy and just used delay instead. Sloppy programming I know, but I have to wrap this project up and get back to more important things. The function has been scaled to output values for an 8-bit output compare value. So if you want to use a 10-bit PWM instead scale it accordingly. i.e. 2^10/2^8 * f(x). Other than that, the function is the correct shape. Again, check out the other thread if you're curious as to how it was derived.

IMAG0152.jpg
Poor man's programmer. (Pro tip: Don't do this)​

Now, onto the circuit. The interface board is pretty bare bones with five components and a header. I've attached the board layout as a high resolution .PNG. I would have uploaded an eagle schematic but I did this during a boring day at uni one a machine without eagle (but with autocad for some reason). There's also a solder-mask layer included which I intended to use, but my laminator wouldn't get hot enough to press it completely onto the finished board. So I just left it out.

The pcb blank is just regular single sided FR4 and the layout was printed onto high gsm matte paper. Don't even bother with regular copy paper. I've had some success with photo paper but it leaves a film like residue over the pattern that's much more laborious to remove. High gsm is your best bet.


IMAG0146.jpg


The copper clad was aligned and passed multiple times though a laminator. You can use a clothes iron for the process as well. In fact it would probably work better. The laminator was just exploratory. As you can see it didn't turn out so well. Some parts had to be recovered with black ink.


IMAG0153.jpg


To etch the board I used ammonium persulfate. There are a plethora of other etchants available, ferric chloride being the most popular; though it is more of a pain to dispose of. You can also use a 2:1 mixture of Hydrogen peroxide and HCL if your short on the real stuff. Ive used it many times successfully. Ammonium persulfate is the cleanest one to deal with and can be poured down the sink when you're done with it. The only down side is it has to remain heated so a hot plate, or a burner of some sort is a must.


IMAG0156.jpg



Toward the end of the etching process, the solution turns a light blue due to the copper.


IMAG0159.jpg


Here's the final board:

IMAG0160.jpg



Again with the holes drilled in:

IMAG0161.jpg

Components placed. The diodes are SOD123 packages and the resistors are imperial 0603. No reason why through hole can't be used; I just wanted a small footprint. The micro was preprogrammed before soldering but the attached layout has programming pads included in case things go south.


IMAG0162.jpg

The board is designed to be case grounded so I brazed on two M3 nuts. Ugly weld but it'll be hidden.


IMAG0163.jpg


And here's the sensor board connected.

IMAG0164.jpg
 

Attachments

  • PowerButtonAVRSource.zip
    3.6 KB · Views: 121
Hi,

congratulation to this nice build!

i have a lot of questions to the graphics card what for a pci-e riser card do you use? x4 to x16?
and really works the graphics card without external power supply? because intel specified the pci-e x4 slot with only 25w power...
and how much power has your power supply?

Thanks!
 
Hi,

congratulation to this nice build!

i have a lot of questions to the graphics card what for a pci-e riser card do you use? x4 to x16?
and really works the graphics card without external power supply? because intel specified the pci-e x4 slot with only 25w power...
and how much power has your power supply?

Thanks!

There are a few success stories for the 7750. I only needed it for additional monitor support. Don't expect to game on it though. Also the low profile sapphire version doesn't support UEFI/GOP and the BIOS throws a warning when UEFI is enabled.
 
mh, I think the best way is if the pci-e raiser card have is extra powered to deliver the full 75w. not take damage the mainboard due to high utilization...

Do you have a x4 to x16 raiser card or x1 to x16?

Thanks
 
mh, I think the best way is if the pci-e raiser card have is extra powered to deliver the full 75w. not take damage the mainboard due to high utilization...

Do you have a x4 to x16 raiser card or x1 to x16?

Thanks

You do realise the card can't draw any more than the board's able to supply. The system will switch off before the regulator voltage is allowed to sag. Hence why you probably shouldn't use the DQ77KB if you're planning on gaming with the system. In fact, a larger case all together would probably be a wise move. The cube isn't exactly the best design in terms of thermal efficiency. The polycarbonate skirting around the base has only a small opening at the back where cables come through and sucking air through it and expelling it from the top takes a fair bit of pneumatic grunt. The reverse cycle is even worse since any hot air expelled through the base is again trapped. And since hot air rises, it has no choice but to go back through the system. The best way to actually run the cube is on its side, though it does ruin the aesthetics. I logged on average about 7°C of difference in idle temperature between upright and sideways.
 
I've patched the HD7750 in my system to support UEFI/GOP booting which helps with boot times in Windows 8 and fixes resolution problems in Clover. It also eliminates the annoying "OptionRom Authentication Failed" error on Intel boards. I've posted the patched .rom into the Graphics sub-forum.
 
Status
Not open for further replies.
Back
Top