22 January 2017

Articles Backlog

I had quite a few articles saved that I wanted to talk about, but most are from so long ago that I don't feel it would be entirely worth writing a separate post for each one any longer, and it won't follow the usual format.
  • Intel/Lenovo prevents Linux users from installing Linux on Yoga notebook:
    • It wasn't the best idea, and they did remedy the problem, but hopefully they learned from it.
  • OpenOffice devs debate retiring OpenOffice:
    • Honestly, Apache shouldn't have touched it and left it dead. I haven't looked into this further since the articles, but I'm hoping they decided to retire it and let LibreOffice reign.
  •  Apple Airpods:
    • There were quite a number of people not happy with Apple's decision to pull the plug on the audio jack (pun partially intended), and there are other manufacturers also following the path. I do like having a headphone jack for headsets for when I do send/receive calls on my mobile phone, but I'll have to adapt when it's time to replace the Nexus 5X that I have. Other than that, it doesn't bother me all that much, considering I have a digital audio player for my music.
  • Windows 10 Anniversary Update:
    • Luckily I didn't become victim to this (Yay for utilising Windows less than one percent of the time!), but it still didn't look good on Microsoft to release a large update to have it cause problems on a majority of PCs.
  • Overnight phone charging:
    • I had always charged my phone overnight at 500mA to have a fully-charged phone for whenever I left the house so that the battery would last the longest time possible. Things changed with the Nexus 5X, since it uses USB Type C. Since the device communicates with the charger on the amperage it would like, I now use a Type C charger and let it decide the best amperage (whatever it may be).
  • Ubuntu server hacked:
    • The article is titled "Here's another really great reason to never touch Linux". The article title still gets me riled up, even though the article is written sometime last July. It seems like the writer isn't too familiar with the Linux universe, which is much more vast than just Ubuntu. Ubuntu is Linux, Manjaro is Linux, Fedora is Linux, but most importantly Linux is not Ubuntu. I would have been more settled if the article title used "Ubuntu" and not "Linux", but no sense in beating a dead horse.
Well, I think that takes care of the list that I can see from my saved articles. It seems like the articles I've been wanting to talk/rant about are slowly declining, but only time will tell though.

2017 Linux Distributions to Watch

The article I read is: The Best Linux Distros to Watch Out for in 2017

First distro in the article is Solus, and they go on to say that it's a new distribution that's not a derivative of some other distro and is based on the rolling-release model. While I haven't taken a close look at Solus (by perusing their website or utilising the Dell to test it), there are topics that come to mind.

First off is desktop environments and window managers, while the article doesn't specify about what desktop environments are included, it's usually best to support the ones that people can quickly become familiar with, ones that are lightweight, ones that are well known, and/or any combination of them. Over the time I've been toying around with Linux, I've used GNOME 2, GNOME 3, KDE, LXDE, XFCE, Unity, Openbox, and whatever Fedora uses. Taking a shot in the dark, I would think Solus probably has GNOME 3 and KDE as their "official" desktop environments, and then maybe LXDE and XFCE as their "supported" desktop environments. I could be wrong, but I'm not entirely in the mood to poke around Solus' website and find out for myself.

The next is the software repository... well, a couple things here, but let's just delve into it anyway. I'm assuming that they have some sort of GUI and/or CLI package manager specifically built for their repositories (for example: openSUSE has zypper, Fedora has yum, and so forth), and that it's not using one and/or based off of one from another distro (that would defeat the purpose of being a non-derivative, yes?). The other issue is with niche packages (the packages that have some sort of demand, but doesn't get prebuilt packages like popular packages). Does Solus walk in the same footsteps of most other distros by having their users manually compile these packages from source, or do they have something similar to the Arch User Repository?

Another is architecture support. This is always a major topic because it's not just x86_64 computers that Linux users install Linux on. Obviously I'm not saying that they need to support RISC, MIPS, and so forth, but they should at least support most of the popular ARM types if they want to "compete" with the other distros.

So while I do like the idea of a non-derived, rolling-release distro, I don't think it's for me. While Manjaro is a derivative of Arch, it is a very similar concept to Solus, and I prefer being able to utilise the AUR to automatically compile the not-popular-enough software that I use when it is updated (assuming someone didn't orphan it beforehand). Depending on the architecture support, it may become something worthwhile to me if it's something I can utilise on the Banana Pi, assuming it properly writes the boot data for kernel upgrades (with openSUSE Tumbleweed, I'm better off downloading the new image and setting the system back up than trying to utilise zypper to upgrade the kernel.

I do think that it should be great for most other users that want a rolling distro and not be using a derivative of some other distro.


Second up is Liri. While I've heard of the Papyrus project a bit, I can't say the same with Hawaii. I don't really have too much of an interest in it from the article itself, but I'll at least say that the desktop environment looks nice.


Next is LXLE. As a distro to revive old PCs, I'm somewhat interested in it, but in honesty, I'm more interested in PIXEL. I may give it and PIXEL a shot on the machines that are less powerful than Ziggy, but it will become a matter of which ends up being better.


Last in the article is KDE Neon. I've never been much of a fan of the KDE environment , since I had felt it to be awkward to use sometimes and a bit too much customisation in its appearance. While I do like making things nicely look the way I want things to look, the days of changing colours of every window aspect are long past me these days, and I just want a colour scheme I can grab from somewhere that fits what I'm looking for. There's a possibility that I may try it out to poke at KDE 5, but I highly doubt it.


None of ones in the article really struck me as well, since my needs are fairly met (with the old machines, ARM boards, and iBooks as the exception), but I will still keep my eyes peeled for something that seems would help me get closer to having my needs fully met.

21 January 2017

Soundcard Switchboard

As mentioned in my previous post, I have ordered the parts for this project and I haven't said a word about this. Why? Because the idea was realised between the second and third updates for the soldering station and protoboard power project thingy.

I don't really remember too much about how it was sparked, but I did remember that I had a PCI cover plate thing that has nine holes drilled 1cm apart. I actually have two of these, and I think one of them is being used for the Intel build at the moment, but that's not important for the moment. The plates came from a couple PCI capture cards that was used to record video and sound for a surveillance system (it's what the Dell originally was for before the HDD(s) corrupted to where the restore disks were of no use.

Anyway, I figured out that the very best way to switch between the soundcards was to have an internally-mounted board that has holds the latching relays to have the all the audio jacks as close as possible to each other, and to reduce the lot of external cables and the box. I opted for some pushbutton switches that has an LED in them instead of a toggle switch to make it easier to find, for durability, and for look. I had recalled seeing something that fit the description quite a bit before then when I was poking around for cheaper part alternatives for work.

I found some PCB-mounted audio jacks that fit the profile I needed (since 1cm spacing between the audio jack centres is fairly close), but was offset with the needed plated slot that was indicated in the datasheet. I drew a couple of variations for the part to accommodate with what OSH Park's DRU would "allow" me to do, though it was more of just ignoring the errors and tweaking the DRU a bit for some inconsistency I found between OSH Park's capabilities and their DRU.

Anyway, I drew a board to test OSH Park's capabilities seeing that they can do plated slots, but (like castellations) isn't fully supported.

I dunno what's floating around that's causing it to auto-zoom like this, but it should be good enough.

I didn't change all of the of them to be the same, and it doesn't show the actual cutouts with the holes, but you can see the lines with the holes where the cutouts are supposed to be. I think I stuck the third one in to satisfy the minimum size requirement, but I don't remember. Eventually I ordered the board along with something else, since it was fairly small (it also got automatically upgraded to the swift service thing as well).

I did draw another test board because I was having troubles uploading it to OSH Park... Rather it was that OSH Park's server was having trouble processing them, though it seemed to be fine the second time around... It also might've just been a hiccup in the transmission as well.

I was fairly surprised when I received the boards, since I was fairly edgy with their "we can do it, but we can't guarantee it'll turn out well" sort of attitude (for lack of better word). The slots weren't parallel with the board edge, but with the thickness of the pins and the width of the cutout, it's not going to matter much (the cutouts were parallel to each other, however). The large hole turned out fairly well, but there was the minimum distance missing from the hole plating from the board edge (0.015"). I'm glad the plated slots turned out decently, since I really wanted to avoid using the large hole for trace routing issues and having to utilise a lot of extra solder to fill the remainder of the hole.

I took pictures of the board, but lost it when my phone locked me out of the encryption after the November Android patch. I'll take a couple pictures when I'm at home and whatnot, but I probably won't upload them until the next post for this project, which will be in March when I get the audio jacks.

With the ability to use the plated slots confirmed, I then did the baseline design for the board, which was just lining up the audio jacks properly. I first decided to use the 4-pin Molex power connector to get power to the board, since the stand-alone SATA power isn't readily available (though if it would, it'd probably be more expensive anyway), and drew and tossed it onto the layout just to have it there for later placement.

I then decided how I wanted to connect the buttons to the board, and I had originally thought of using a 6-position connector and having a 6-conductor cable (22 AWG wire) route it to the front to a breakout board that would hold the SMD resistors for the LED and some 3-position connectors for the switches. I eventually decided that it would be much easier to solder a wire to each terminal than to awkwardly tie the positive to one of the switch terminals and the anode of the LED (and also that it would make the resistor have to be on the ground line instead of the positive line... though it doesn't matter).

I think the project sat for a while before I came back to it and realised that it would be much more efficient to run the wire from the switch directly to the board, since it would be less parts, less cost, and less work. Luckily I hadn't done any work with the design of the board, so it's not like I had to fix anything. I also decided that I would use the free circuit of one of the five DPDT latching relays to switch which light would be lit up, which would allow me to use just one resistor and to reduce the power consumption (by a measyly 20mA).

I decided to utilise the relays (and layout of the relays) from the first design for the board of the soundcard switchbox version 3, since it would be awkward to attempt to implement something that uses the single-coil relays that the soundcard switchbox actually uses. I also considered utilising only one pushbutton, but that would require me to utilise another relay (along with the fact that it might be difficult to properly select the side since the pushbutton would constantly switch between the soundcards until released).

I arranged the relays so that they would span the same amount of space as the audio jacks and then took some time to decide how I wanted to arrange the jack order to make routing the traces easier, I eventually opted for a similar arrangement to the soundcard switchbox, where all the greeen jacks are adjacent to each other, and so on. Basically it's where the output of a colour (green, to say) is flanked by the inputs of the same colour (I'll have a screenshot up in a moment).

With the traces done I placed the Molex power connector and the 4-position connectors before getting some measurements to find that I'm hitting the PCI express header housing, but is easily remedied. I can't remember if I had done the traces for the connectors or not, but it's probably not that much of a concern.

Anyway, I have the LED set up so that the LED of the inactive card is lit. For example, if I'm in Linux, the button to switch to the Windows sound would be lit, making it easy to find in the dark. With the silk screen, I marked which side is the motherboard, the pinouts for the connectors, the ordering of the audio jacks, and "Soundcard Switcher 3.0" on the flip-side (which would be visible through the window in the day).

Before and after ratsnest tool.

I really wanted to keep as much of the audio signals on the "top" side of the board (red traces), but didn't have a whole lot of options. Obviously, both sides have ground planes to somewhat shield any EMI, though the audio traces are relatively short anyway that it probably won't pick up anything. I remember having to redo the traces for the two 4-position connectors, but don't remember why - it might've been the movement, but I can't be certain. All the connectors and components are mounted on the top of the board (which becomes the bottom when mounted in the case), and I might do a bit of sleeving or something to make the cables look nice for the little they appear before disappearing into the power supply cover thing of the case.

It was a bit tough to figure out how I wanted to mark the ordering of the audio jacks, but eventually I decided to go with a sort of "type" and colour scheme (so WG is Windows Green, OG is Output Green, and so on). Also for once, I actually used the proper colour for the center and subwoofer channel which is orange and not peach.

I honestly really wished I spent more time thinking about this and coming up with this, but from the time I was developing the third version of the switchbox, I hadn't the crimper that I do now (and that I'd thought would never be so versatile). Such is life though.

The pushbuttons will be mounted in the front on a external 5.25 inch to 3.5 inch adapter that holds the card reader, and should look fairly nice, if the holes are drilled properly.

I think I've exhausted all I have to say about the project thus far, and I'll have to figure out how to nicely drill the holes so it looks fairly professional into the adaptor.

19 January 2017

Soldering Station and Protoboard Power 3

I would like to first apologise for my lack of posting again, I've been working on my stories as usual, and then more recently getting sucked into Pokémon Sun for about 200 hours. I'll probably post more about it separately... Maybe...

Anyway, at some point, I looked for a better replacement for that bloody square relay, and found one of the same model line as the others, which I think ended up being a bit cheaper as well, but I was more happy with the fact that the bloody relay was gone from the design. I, obviously, redesigned the board, and at some point, I found a questionable error with the glass fuses. I couldn't find any real solid answer, but it seemed to be that you can use AC fuses for DC systems, but it's not entirely recommended. I decided to look for something else and the only real option was SMT fuses. If I remember correctly, it raised the cost of the parts I needed to get from Mouser, but it also condensed the board size quite a bit (more on this in a bit).

Before and after ratsnest tool.

I kept the height of the board and got rid of the length... Again, I'm fairly certain there's another board design between the one above and the one from the previous post, but that requires me looking on Melty, which I don't feel like doing (I'm using Mei-chan to write this). Anyway I think I chopped off about 20 USD from the board, which well makes up for the slightly higher cost of the SMT fuses. While I was a bit irked with the SMT fuses, it's also a bit better, since if it blew while someone else was using it, they couldn't just replace the fuse and (maybe) be on their way - the problem would have to be traced before the fuse can be replaced. I also rearranged the pins so that it would be more sensible.

Once that was finished, I properly arranged the items on the fan/light power distribution board, which turned out larger than I was hoping for, but there's not a whole lot that can be done considering the size and number of parts.

Before and after ratsnest tool.

I made the traces relatively symmetrical and did a ground pad for both sides. While the positive trace for the fan lines aren't entirely efficient, there's probably no better way without spending a lot of time to find a good arrangement to enable a relatively equal path. I think 6 screws might be a bit overkill, but I'll worry about that when I properly mount it.

With those done, I began working on the mounting plate that the board mounts to, which attaches to a power supply. I originally tried to do it all in LibreCAD, but eventually moved to QCad when I found QCad worked a bit more like I wanted to. It took a bit of time to clean things up, but I eventually got it all worked out and then worked on making the title block, which was a bit tricky. I had gotten it to where I liked it, but recently, when I went to submit it to get quotes, I simplified it more, since there's not really a real need to have revision levels and/or revision details.

Screenshot from QCad.

I made separate layers for both inch and millimetre dimensions, though either can be used. While it would be nice to be able to strictly work with one unit of measurement, computers are a huge mess of metric and inch dimensions. A power supply uses 6-32 screws (which isn't a metric screw), where the holes are 6mm from the top and side of the corners (we're ignoring the long side where the offset screw is). Also, the power supply is 150mm wide... (I'm going to stop here before I rant any further.) Anyway, It's why there's some "weird" dimensions like the .236 radius, because that's actually a 6mm radius. I'm not sure how places are with mixed dimensional units, but I think it's generally better to keep it the same. There might be a way to do dual units in QCad, but I've not seen an option for it. I kinda wish I did the drawing in Solidworks now, so that the machinist can see that the radius I used as an example is 6mm and not .236".

I had printed out a few copies when doing the title block to see the size of the text, since QCad uses "units", which I have yet to understand (I've at least understood it enough to figure out what I want).

Anyway, I've recently sent out a few quotes (four exactly), and gotten "two" back. One of them was an automated quote, which was really cool, since I just had to upload a 3D model (Solidworks, STEP, etc) and click a few options as it updated the price in real time. The other quote I got back was actually an email saying that they don't work with sheet metal. I'm hoping to hear back from the other two places before next Wednesday, but we'll see. So far it seems like it'll be about 62 USD for one plate (I wanted three, but 180 something USD isn't cost-efficient to me), and while I did kinda want it to be made at work, I feel really awkward about putting in the order, since it's a personal project (even though I'd be paying for it).

It was earlier this week that I firmly decided to get the quotes out and get rolling with the project, and I first started with ordering the PCBs (I also ordered the PCB for the soundcard switchboard which I haven't talked about yet). I ordered the parts from Mouser (again, with the parts for the soundcard switchboard), and found that the relays for the fans were back-ordered and wouldn't arrive to Mouser's warehouse until mid-March or something. I figured the best option was to just compile the entire order into one shipment instead of spending an extra 5 USD for one line item to ship separately. I had a feeling that I should've ordered the parts for the soundcard switchboard separately, but alas, it is too late.

It was Tuesday after work when I started looking and getting quotes out, finding that most places wanted a 3D model, which was still on my computer at work (of course). Wednesday after work, I sent out the other three quotes, since I now had the model I made in Solidworks (which was just importing the DXF and extruding it .0625 inches).

I did also order the screws, some 6-32 button head socket cap screws (BHSCS) a quarter-inch in length, some 6-32 phillips pan head screws (PPHMS) also a quarter-inch in length, along with a few other screws so that I don't feel awkward about buying 125 screws that would total 5 something USD. I think it was the day after I ordered it that I received an email saying that it would be a few days before they can get my order out to me, and I was thinking to myself that it doesn't matter anyway since it'll be March before I get to do anything with the projects.

From what it seems like, I think the place with the automated quote thing will be the place I'll be getting the plate from (which also quoted 10-day turnaround).

It'll be a couple months before I update again, but hopefully not later. I'm thinking to create a sort of bill of materials with projects, but the plate would be the most awkward to try to link (everything else is easy) - I'll see what happens when the time comes.

02 October 2016

Soldering Station and Protoboard Power 2

I was talking about the project with a very close friend of mine (who requests to remain anonymous), and I realised that I should be a bit more realistic with trace widths considering the maximum amperage of the connectors and such.

The main thing is that she suggested I make a harness: I plug in connectors from the power supply into one end, and the other end plugs into the board. I attempted to do without it and while everything did fit fine on the board with the 24-pin ATX header and EPS12 header, the position of the two 12v pins on the 24-pin ATX header made it too awkward to utilise. I didn't have much of a choice but to take her advice and engineered the harness, which utilises the 24-pin ATX plug (which is very necessary), the EPS12, and a PCIe power connector for a total of 8 wires (the "middle" 12-volt pin of the PCIe isn't used, since by specification it's "not connected").

Anyway, I arranged it to where 3.3v, 5v, +5VSB, and PS-ON get one pin each (since none of them pull much current in general. 12v gets 8 pins (which I think I mentioned not long ago, and 10 GND pins. I had planned for 9 GND pins, but since the closest connector was 22 pins I'm not using 20 pins), I added an extra ground.

I found a 22-pin header with a flange, and while it is a bit large, it'll prevent anyone from attempting to plug in a 24-pin connector. I"m just hoping that it doesn't accept a 20-pin connector... I'll have to see later. It saved quite a bit of space compared with the 24-pin connector and 8-pin connector.

Since the maximum amperage is 5 (or was it 4?) amps for the power output to the fan/light board, I utilised a more sane trace width, which allowed me to fit the traces fairly well,. The lights I think I did at 3 amps, since the draw probably won't be more than 2.

Arrangement probably took the most time, since i wanted to keep the layout as compact as possible while allowing the traces to be run. I did a rough arrangement of the parts and checked it with the design rule thingy.

I ran the air-wires, routed them, ran more, etc., and was able to successfully fulfil the design rule requirements without much rework.

At some point I forgot about the mounting holes, but I remembered and inserted them.

I think the most annoying thing is the square relay, since it requires 5mm of spacing from the board edge.... as stupid as that is.

Anyway, it looks fairly messy, but still worked out fine.

Before and after ratsnest tool.

Bottom plane is GND, top plane is 12v. Again, it's a rough drawing, but I'm fairly surprised of the turnout. I'll eventually clean it all up so I can make the mounting plate.

It's good that I don't have to buy the "full" version of EAGLE to be able to create a larger board for this part of the project. One of the options I was considering (but didn't want to employ) was to split the main board into two. Since it would've made the project that much more of a headache, I'm glad it didn't go into that direction.

I did the maths for the light pipes and standoffs, finding 19/32in would be the best choice with the 2.0mm thick aluminium alloy plate, because I wouldn't have much thread on the top nut of the switch with 5/8in. I then did the maths for the light pipes and found a large gap between the SMD LED and the light pipe, so I went back to the maths and calculated for 1.6mm thick instead.

With the 1.6mm thick plate, I found that the 5/8in standoffs were much closer to the calculated distance and that it puts the light pipe closer to the LED, though still further than the light pipe's manufacturer's suggested maximum distance of 0.02in.

I tinkered around at some point, seeing that there's dead space on the other side of the board where the LEDs and resistors are, trying to use 3mm and 5mm (T 1 and T 1-3/4 cases respectively) along with light pipes, but the distance from the LED and the light pipe was still further than the SMD option.

I realised just now that there's SMD LEDs with taller casings that I didn't explore, and while I might explore that option, I think what I have is the cheaper option, but whenever I tinker around more with that, I'll see if it puts it closer to the light pipe's specified distance.

I really don't like mixing SAE and metric measurements, but there's not much I can do about it besides utilise maths to convert when necessary.

I also placed the parts down for the fan/light power distribution board and ran some airwires, but not much more than that.

Somewhat sloppy, incomplete "rough draft".

I wasn't ever worried about this board, since I figured that it would easily fit within the constraints of the 100mm by 80mm board size limitation. I'll eventually clean it up and such, but it'll be much easier than the main board, since there isn't a lot of parts with different sizes.

Oh, right, with the main board, I removed some of the power relays since the switches themselves are able to handle the current of the function (the lights and blower fans), which saved me a lot of space. I also had to add some smaller relays for the fuse indication lights, since I didn't look around for the part because I had forgotten that the LEDs would need them for power regardless if I place the relay before or after the fuse.

The fuses will more than likely be difficult to replace, but they should only blow if there's a problem somewhere - they're there to protect the traces and board connectors from melting which could lead to a costly fix (the main board itself will be about 62 USD for three boards).

The difficult part is now over, and though the remainder is tedious, it's still part of that "downhill slope."

Even though the project isn't at a state where I can purchase what's needed and build it, I've still learned quite a bit.
  • Do the maths and utilise sane trace widths instead of trying to utilise a trace width that is equivalent to the connector's current rating.
  • Custom harnesses may be much more beneficial than direct connections
  • Utilising different connector styles may seem more costly, but may be a better investment than utilising the same connector style.
  • Draw mounting holes (plated/unplated) before arranging parts.
  • Open up options by consulting others for ideas.

25 September 2016

Soldering Station and Protoboard Power

I can't remember how long ago it was I thought of utilising a computer power supply to provide power to the the solder-less breadboard that I have, but sometime after that I realised that I could actually just utilise the power supply to provide power to the solder station fan(s) and lights as well.

I originally was going to modify an AC/DC adaptor with an AC power switch, so that I could completely shut off the unit when not in use (which is a vast majority of the time), but this idea makes that obsolete. At the moment, that AC/DC adaptor is what I'm using to power my soldering station fan and lights (with all the connections going through the breadboard).

Finding the parts wasn't too bad, after a while of searching, I stumbled upon the ATX motherboard specification, which gave me a start with the part numbers for the headers that I would need.

Eventually I found the specifications for the power supply and was able to more part numbers. Though, with the last post, I'm sure you were able to tell because of the harness I made.

I spent my 3-day weekend (3-5 September) scouring, comparing, cross-referencing all sorts of parts for the project... Needless to say, it wasn't the ideal way to spend the extended weekend, even though I had all the parts I would need.

I slowly draw the PCB patterns over the week after for all the parts I gathered, and once I had them all drawn, I placed them all in the board designer and ran into a huge roadblock - I don't have space for the all the parts within the limitations of the freeware version of eagle (100 x 80mm).

I set the project aside and began working on one of the stories I was needing to write. But recently I've returned to this project a bit.

I suppose before I continue on, I should outline a bit of the project itself.

The project will use 4 fans at minimum, but will allow me to expand that amount to 30. There will be two sets of lights (I just realised now that I didn't set up two lines for the lights), a bright set of lights (one or two of the 48-LED arrays from MPJA.com), and a set of "dim" lights, which is an LED light strip that I had used to replace the trunk light of my car with (because something broke the stock light housing and I didn't want it to just dangle around). There's also a blower fan as well, which I also haven't considered, but that shouldn't be too much of a problem.

The power to the fans are split into three lines, so that I don't exceed the amperage load of the wire and/or connectors, and have a fuse on each line which is cheaper/easier to replace than anything else, if anything were to happen (which I highly doubt). All the other power lines will have an appropriate fuse as well.

The power supply will connect to the main distribution board, and supply the power from there to the fan/light board and to the breadboard. There will be a set of switches to control the power from the power supply (PS-ON), and the mainboard will attach to a aluminium plate that will attach to two of the mounting holes of the power supply.

There will also be indication LEDs as well, most of which won't be entirely necessary. The switch to turn the power supply will have a bi-colour LED above it, so if the switch on the power supply (which cuts the AC power into the power supply) is on, then it shows one colour, and then if the power supply is turned on, then it shows the other colour.

This is done with the 5VSB line, which always provides 5 volts, as long as the power supply is receiving AC power. When the PS-ON line is shorted to ground, then the 12 volt line engages one of the relay coils to switch the colour of that indicator LED.

The fan switch for the soldering station fans controls 3 relays, since the switch I chose would not be able to handle 10 amperes by itself (a close calculated maximum because the fans require a bit more amperes when starting up - about 10% more). I realised just now that I actually did include a switch for the blower fan which is separate from the switch to soldering station fans.

The indicator lights for the soldering station fans will show that all the fuses are fine, so if one of the fuses blows, the corresponding light would turn off - to do this, there is another relay on the other side of the fuse. I think I also did the same with the blower fan and the soldering station light... I can't remember that well right now.

I originally planned having all sorts of power-input connectors on the board, but after a realisation late last week, I've taken some out.

I realised I never thought about the rating of the solder-less breadboard, and wasn't really able to find anything definitive. I think I set the limits at about 2-3 amperes, since I probably wouldn't be working outside of that... If I was working on the breadboard anyway.

Because of the realisations, I've lowered the 7 ampere fuses for the lines to the solder station fans to 4 amperes, since it would be better for the fuse to trip much sooner. The reason why I initially chose 7 amperes was so that it would blow before the connectors/wires/traces melt, but still allowing maximum current. Though either way works, it's probably better to use something closer to the maximum load of the line.

With that realisation, I was able to change the connectors to something smaller, so that i would be able to save space as well as keep it sensible. I scoured last Friday after work (23 September) for the new connectors, and ended up with the new parts that night.

Since I realised that I forgot about the "dim" light, I'll have to replace one of those parts, but it shouldn't be all too hard, since it's just the header and the plug housing.

It took a while to find the parts, since I needed something that would be above the new fuse rating, but also priced decently, since this project won't be cheap at all (the parts total is already over 100 USD, and the PCB will be around that price as well). I remember when I was initially looking for parts, that I stumbled upon some connectors by Hirose, but couldn't use them because I wouldn't have been able to crimp them. Obviously that has changed since I've purchased a sort of general-purpose crimper.

So the "output" connectors I'll be using are all from Hirose if I remember correctly, with one of them being shared with the soundcard switchboard project that I'll post about later. (I had gotten that connector for the switchboard first, and then copied it to this project)

Because I'll be mounting the PCB to the mounting plate, I had to use some through-hole switches and SMD LEDs. I'll also be utilising some light pipes for those LEDs as well, since the LEDs will be far from the plate. I decided on the SMD LED and light pipe combination, since it would make it much easier than trying to solder LEDs at the correct height to protrude or whatever from the mounting plate.

I've actually gotten some light pipes and standoffs in the project list, but those will be replaced accordingly once I get to that point.

The mounting plate will be made with 6061-T6 aluminium alloy, which will be machined, since it will be hell trying to do it all by hand and maintain accuracy/precision. I'm debating whether to get 1.6mm or 2mm thick, since the 1.6mm is cheaper overall, but the 2mm thick has a lower price per volume. I also had 1.6mm 6061-O6 alloy in consideration because it's cheaper than the other two, but I think I will stick with the 'T6 instead.

I'm still fairly certain that the board size limitation is still a major roadblock, and hopefully I can figure something out. I'm considering splitting the main board into two boards, but I'd rather not have to.

The board for the soldering station fans and lights will be separate, but should be fit within EAGLE's limitation quite easily, so I'm not all too worried about it. Now that I think about it, I might move the appropriate fuses to this board to save some space on the main board, and then I would have to move the fuse-monitor relay to the ground line from that board, which isn't that big of a deal.

I think this is all on the project for now. It'll cost quite a bit, but it'll be quite nice to have, since it'll allow me to utilise just about any power supply and be fairly future-proof (or at least I hope it to be).

22 September 2016

Melty Upgrade and GPU Shuffle

Not sure if I wrote about it, but when news came out about AMD's RX480 GPU, I was pretty excited about it, seeing that it was going to be about 200 USD - which was better than the R9 390X I had in my wishlist. I had been planning on upgrading Melty's video card, and because of the price, I decided to wait.

I had followed somewhat closely on the RX480 news, and almost bought one of the reference cards, but decided not to because I wouldn't had time to do so - sure enough, it was sold out when I got home that day. It was a good thing though, considering that not long after (either next day or the day after), there was a slow flurry of articles about the RX480 drawing more power from the PCIe slot than the allowable amount in the PCIe specifications.

I find it funny that AMD somewhat denied and/or brushed the issues off to the side for about a week before they did something about it, which was to release a new driver that shifted where the power draw came from. I was a bit surprised that they were able to do so with a driver update, considering the fault is based in the hardware - what works, works.

It wasn't long after the reference RX480 release that Sapphire announced their NITRO+ version of the RX480, and was even more excited, seeing that I've never had any problems with Sapphire (knock on wood). I closely followed the news and such about it, and I think it was a couple days after the release date announcement (or something similar), I put in my pre-order for the non-overclocked version of the 8GB card.

As a month slowly passed by, I was researching on when it would be released and about when I would be getting mine. Seemed like a couple people on Reddit had talked to Amazon's customer service and gotten an answer of "beginning of September" and "mid-September". I think it was the 6th when I somewhat lost it, and poked around Newegg, finding that they had stock of all three models, and I quickly ordered the overclocked 8gb version, seeing it was only a few dollars more than what I would be paying on Amazon. Sure enough, it was on its way the next day.

I also ordered some of the peripheral connectors and pins to update the 5 volt source for the soundcard switchbox, and paid extra for expedited shipping so that I would have it before the weekend, since I knew the RX480 would arrive before the weekend as well.

I received the parts on Thursday, and took what I needed with me to work on Friday, since it would be easier than taking the crimper home with me.

The parts before assembly, and after partial assembly.

Close up of the power take-off crimp end. I used some heatshrink tubing to cover the exposed shield "wire", I then used more heatshrink to cover the end of the cable jacket (as well as the remainder of the shield "wire"), and finally, I used more heatshrink tubing after crimping to remove future wire strain from the crimp end of the pin to the insulation and cable jacket.

The finished product. (A bit more on this later.)

Forgot to mention that the mono cable was actually another one I took home for whatever reason, and wasn't the one I spliced together.

Since the RX480 uses a 8-pin PCIe power connector, I was going to have to swap the PSU out for Lie-chan's old 750-watt. Sure I could find connectors and such, but since the 8-pin PCIe power connector on the 750-watt is not removable (like the 24-pin ATX cord), might as well use it than having to dig around for a possible adaptor (or spend almost an hour grabbing one from the "local" computer parts store.

Anyway I started working on Melty the next morning, taking out the HD 6770, the Sound Blaster card, and the 500-watt PSU. After swapping the PSU (and I think installing the RX480), I did a bunch of cable management, considering Melty is nearing her "final form".

Too bad I didn't take a picture before the clean up. I used red ties where it would be visible (or possibly visible) from the window, since I didn't have any black ties. I also realised the weird loop things in the metal were tie-down points. I found that I could swap the EPS extension cable around to make it look much nicer from the window. I ended up wasting two sticky tie-down square things, but no one's going to see that unless the open the panel.

I also found that I was able to re-route the cord for the PCIe extension thing so that it wasn't blatantly obvious, and the interior looks much nicer.

Much nicer than it used to be. I might eventually reroute the fan cord to the PSU, but we'll see.

I also had flipped the side fan again, so that it would blow air in instead of out (I decided out would be the best way with how the HD 6770 was), and decided to put a tie-down point on the door so that the wire would be more cooperative.

I used a twist-tie so that I'm not wasting zip-ties when I remove the fan for cleaning.

Oh, right. I also did a bit of deep-cleaning as well before I installed the RX480. Anyway, Melty was now ready for driver installation.


Direct window view and angled window view.

Here's where I really ran into problems. I wasn't able to boot into Manjaro or Windows, for completely separate reasons. I noticed the Sound Blaster card was flashing and thought I might have killed something when I used the vacuum cleaner on it, so I just disconnected the power and was able to get Manjaro to boot... without X.

I was about to install amdgpu-pro (or whatever the package is called), but found that it conflicted with mhwd-gpu, and after a bit of poking around on the internet with my phone, I found the correct way to install the driver I needed. Once I rebooted, I was in business, and excitedly grabbed the spare monitors to test out quad-screening.

"T" configuration (ignore the bottom left and bottom right corners), and "grid" configuration.

It was a bit wonky at first, but eventually it worked with me and I was able to experience the awesomeness of native quad-screening. With that, I rebooted into Windows, which was still giving me problems. I poked around the internet more to try to figure out an easy way to fix the driver issue without having to put the HD 6770 back into Melty.

I forgot when I started shuffling the GPUs around, but I do know after lunch, I decided the best course of action was to use the HD 6450 from Lie-chan (which was going to the Dell) instead of the HD 6770. Once I rebooted, I got mostly to Windows, enabling safe mode before rebooting into the desktop to uninstall the driver. I actually tried to install the driver I needed for the RX480, but I wasn't able to, so I gave up and shut down to re-install the RX480.

I turned Melty on afterwards and she didn't post. I was somewhat stupefied, considering the RX480 was working not long ago. I opened up the door (or maybe it was already open?) and saw that I hadn't plugged in the PCIe power cable. Derp.

After that, I was able to boot fine into Windows (with the crappy resolution). I then installed the driver (which then appeared in the AMD install manager thingy), and then proceeded to test out quad-screening again. I think Windows was also slightly wonky with the settings, but I did get it to work, and then I promptly put the extra monitors away as I transferred Phantasy Star Online 2 files from Triela (since it would be much faster than downloading from the internet). I also remembered about the updated stand-alone character creator and proceeded to download that, since I couldn't find where I had previously downloaded it to.

I'll mention here before I forget again, that GRUB2 looks much nicer, since it's able to output a higher resolution. A bit sad that I've already gotten used to the sharpness now.

Once I was done installing and whatnot, I ran the benchmark within the character creator and got 21000 something as a score on max settings. I realised I should've ran the benchmark with the HD 6770 to get a point of reference, but it was obviously too late. I also updated and logged into Mabinogi to maximise all the graphical effects, but I think I didn't do much else with Windows before I went back to Manjaro.

At some point while in Windows, I set the LED colour to red to match Melty's theme (I used the onboard button to turn it off, since none of the presets matched the theme), and luckily, it stayed when I rebooted.

It was a mixed day. I was happy about the awesomeness of Melty, but was kinda upset with the loss of the soundcard, especially considering all the money/effort I put into the switchbox. (I was also kinda upset that it was kinda dark in Melty's case.

Sometime while winding down, I remembered that I was going to check the voltage going into the switchbox earlier in the day, but I had forgotten completely. I pulled the plug out and measured it to be 12 something volts. There's the reason why the soundcard wasn't working properly, because it was being under-volted. I debated whether I wanted to shower or poke around and fix the problem, and I figured I might as well.

I pulled Melty out again (she's pretty heavy, and the space she's under is awkward, so it's no joke), and poked around with the connectors, grabbing something to compare my custom harness to. Sure enough, I had flopped the pin order on the housing side (the side with the male pins), so instead of 12v - ground - ground - 5v, I had 5v - ground - ground -12v. I double checked the plug side (the ones with the female contacts) to ensure that it was correct, and it was. After swapping the pin order of the housing, I re-connected the harness, re-routed the PCIe extension cable thingy (I removed it since I had thought the soundcard was dead), and then put Melty back.

After I booted her up, the LED was steady and I booted into Windows to reinstall the driver and software thingy. I also checked the voltage with my bad multimeter (something happened to it and it gives a reading of roughly 25% more) and got 6 something volts, which was correct (so 5 something volts). I was quite happy that I didn't kill the soundcard and that the case glows like it used to.

Poor shot of the glow because of the phone's camera.

Oh, right. I was debating on staying up to fix it or not since there was going to be the usual birthday party gathering the next day, which usually means that I relax with my younger niece and nephew playing video games. While it only took about 30 minutes to fix, I would've been able to fix it the next day, since my nephew wasn't over.

The only "damage" was that the relays got over-volted a couple times (according to the datasheet, it can only handle an over-volt of 125% or maybe 150%), but it was only twice for a brief moment, so they still work just fine (if anything, I have extras).

As usual, learned a couple things:
  • Check housing/plug orientation on top of pin/wire sequence
  • Check hunches immediately, regardless of situation.
I have thought of a soundcard switchboard that would allow me to put it inside Melty, and allow me to utilise much shorter cables. It's slightly upsetting that I've cable managed the power take-off harness I made, but it won't be that big of a deal. I have also purchased a crimper to allow me to crimp the pins/sockets of common computer wire harnesses, so I'm much less restricted on what I can do (more on this later with the PSU power take-off board project).

Melty's HD 6770 went to Lie-chan, Lie-chan's HD 6450 went to the Dell, and the Dell's X1950 Pro (or whatever it was) went to the 820 (which I still need to name and such). Since the Dell is a BTX motherboard, the heatsink of the HD 6450 is facing upward, so I decided to go with the intended passive cooling design (there's also the Wi-Fi card plugged into the PCIe x1 port above it, so I can't put a cooling fan there anyway).

Melty's much quieter now that I don't have to listen to the Vantec fan card thing, and it took me a while to get used to, since if I came back after the screen turned off, I couldn't tell if she was on or not.

The Dell's a lot more quiet as well, mostly at boot, where it would spin all fans at 100% momentarily before the actual boot (or for a minute if the PSU needed to "catch up"... I really should replace the PSU at some point...).

Beside the soundcard switchboard, Melty will have one final upgrade. Well, not entirely an upgrade, more of a downgrade. Anyway, Melty will probably get a RX460 whenever I build something to replace her, since I'm not going to buy another RX480 for the new build.

The AM4 Zen-series FX CPUs are very tempting for numerous reasons (DDR4, PCIe 3.0 support, 14nm manufacture processes), but I'm not ready to spend the needed money, considering Melty does all that I need her to do. I'm thinking the soonest I might replace Melty is AM4+, but we'll have to see.

Whenever that does happen, Melty will stay in her case, considering the modifications I did to mount the PCIe extension thingy. That's it for now, since I'm up past my bedtime...