Breaking
December 16, 2024

Sony Vaio Revived: How Does One Start? Arya Voronova | usagoldmines.com

A long-term project of mine is the the Sony Vaio new mainboard project. A year ago, I used it as an example to show you the cool new feature in KiCad 8, known as “background bitmaps”.

There are a heap of cool aspects to this specific Sony Vaio. It’s outrageously cute and purse-sized, the keyboard is nice enough for typing, motherboard schematics are available (very important!), and it’s not too terribly expensive. Of course, the most motivating aspect is that I happen to own one, its mainboard is not in the best state, and I’ve been itching to make it work.

It turned out to be a pretty complicated project, and, there was plenty to learn – way more than I expected in the beginning, too. I’m happy to announce that my v1 PCB design has been working wonders so far, and there are only a few small parts of it left untested.

I know that some of you might be looking to rebuild a lovely little computer of your choice. Hell, this particular laptop has had someone else rebuild it into a Pi-powered handheld years ago, as evidenced by this majestic “mess of wires” imgur build log! In honor of every hacker who has gotten their own almost-finished piece of hardware waiting for them half-assembled on the shelf, inside a KiCad file, or just inside your mind for now, let’s go through the tricks and decisions that helped made my board real.

Barely Any Space? Plan It Out Well

I recently finished and tested the first revision of this motherboard. It’s a tightly packed four-layer board, populated from both sides, and I want to show it off – describe how I designed it, the various low-level and high-level decisions that went into it, and strategies that I used to make sure this board became real and workable despite the odds.

First of all, the original article has helped in more than one way. Most importantly, I was lucky be contacted by [Exentio], a hacker who was also looking at remaking this particular Vaio with a Compute Module. He had designed two crucial blocks: a display parallel RGB to LVDS converter and a keyboard controller board. From my side, I could help and design review these boards, and design the backlight circuit, uhhh, eventually. Having these blocks was instrumental in me feeling comfortable enough to start the Vaio board design!

At some point in May, I realized I had the board outline and two of the crucial building blocks tested and ready to go, thanks to [Exentio]’s effort – there was barely anything else left that could hold me back. I started playing with the design by throwing these blocks into the schematic and copy-pasting some of my own general building blocks in, for instance, a PAM2306 dual-channel buck regulator, a USB hub, and two simple powerpaths for initial power management.

One trick that’s definitely helped from the start, is planning out locations for the building blocks using empty squares on the silkscreen, ensuring I’d keep space for everything. It didn’t have to be the perfect kind of planning, and I still had to move things here and there during layout, but it’s definitely helped in that I didn’t end up requiring any giant moves and rearrangements.

The silkscreen separations turned out to be super helpful for starting the board. Half of them ended up moving, but they did serve as a helpful “what to expect and where” TODO list

If you want to make your estimates more precise or make more educated layout guesses, don’t limit yourself to squares – just throw footprints (“Add Footprint”) onto the board before you even get to their schematic – any little bit of pre-planning that helps you avoid moving large chunks of your layout later. This applies doubly to connectors – you might not have the symbols for them wired up or even ready yet, but if you make sure the required external connectors are present on the board from the start, it will help you avoid some nasty moves.

Another crucial trick was spending about an hour-two on this board every day, for a week or two. A large project like this will take a fair bit of time, so you’ll want to make sure you can put tons of effort into it, and be emotionally prepared that it won’t happen in an evening’s time – this one took about two weeks. I also kept a TODO list in the schematic – you really want a place to note even the smallest things, from features, to potentially problematic spots that you’ll want to pay extra attention.

Space Constraints

When planning out a board with a large amount of passives, you want to make sure they’re as uniform as possible, so you have less to worry when ordering. In particular – what’s the size of passives you can afford in terms of board space? If you pick too large ones, you might run out of board space way way too quickly, becoming unable to route tracks

I standardized on 0402 components, which also meant I’d certainly be stenciling this board. It gets tiring to hand-solder parts given that this board has a thousand or two solder pads to touch. I opted to use 0805 for larger-value bulk capacitors for switching regulators and power rail purposes because 0402 10uF and 22uF capacitors get expensive if you want to get reliable ones, as we’ve discussed previously. In a few spots, though, I had to switch some 0805 capacitors to 0603, purely due to space constraints.

There are about a hundred resistors and a hundred capacitors on this board – remember, at some point, you can get a PCB fab to assemble just the passives for you, purely to spare yourself all the resistor and capacitor placement. You won’t get to stencil the ICs together with the passives, though, which is why I didn’t bother, because the RP2040 QFNs alone are annoying to handle without solder paste. Have you heard of Interactive HTML BOM for KiCAD? Make sure to use that, it’s simply wonderful and will prevent assembly errors of the kind that burn your board up before it’s even placed into the case.

This was one of the high-power inductors for which I didn’t estimate physical size early enough, and as a result, I had to somewhat bend reality around it

Inductors in the switching regulator can be an unexpected contribution to board space – if you need a 4.7 uH inductor and you need it to pass 5 A or more, take a look at online marketplaces before you even start designing the circuit, and see what the average size is for an inductor that fits your parameters. In my case, I got lucky, but only barely – some inductors definitely didn’t fit as well as I would’ve had hoped.

For this specific board, expected to fit inside the thin Sony Vaio’s shell, I had one more different thing to consider – component height. The original Vaio board was definitely designed in a way where all switching regulator components were placed on only one side, with plenty of height room for inductors and capacitors specifically. I placed all the switching regulators on one side, except one – the PAM2306 for the display 2.5 V and mod board extra 3.3 V rail.

In the end, I mis-estimated the inductor height, and had to shop for lower-profile inductors for that regulator. Thankfully, I found some decent lower-height inductors – they work wonders for powering the screen, and the only problem is that the inductor heats up more than I’d expect, but not too badly.

Source Considerations

Ordering the components for your board? Missing a position or two will really suck, and could delay your project by a week or two easily. My advice is to make sure that all component values are assigned and correct, and to pay the most attention to configuration and feedback resistors! Then, optimize the BOM, export the BOM out of the board into a .csv, and go through it line by line as you’re ordering. Alternatively, you can use the checkboxes in the InteractiveHTLMBoM – just that you’ll have to keep it open all throughout, a page refresh might have the checkboxes disappear.

When it comes to resistors, remember that you might have to improvise them on the spot – again, you don’t want to wait on them, so get a collection of resistor values. I bought a $15 book of 0402 resistors from Aliexpress, and it proved instrumental – especially given it lets you adjust values during bringup, and, it let me basically not worry at all about missing resistor values at all during sourcing. The earlier you order, the more likely will it be that one IC won’t go out – which has very much prevented me from testing out the display properly.

Apart from that, the book let me be a little more lazy and figure out switching regulator feedback circuits during assembly – and there’s nothing like being able to adjust your USB boost regulator to 5.25 V post-factum, or increasing backlight current in case you notice that the resistors you’ve calculated before result in a dim screen.

Hacks For Routability, Bootstrap, Motivation

This board’s switching regulators are probably worth their own article. There were two power hacks I ended up doing. The first one was having a separate always-on linear regulator for the EC, avoiding chicken-and-egg power problems. This one was certainly a success, and if you’re planning a motherboard that will also have to go low-power at times, you might really want a separate regulator for your EC.

The second one was making use of the Pi Zero’s 3.3 V regulator for powering a ton of stuff, like the keyboard controller chip, the LVDS transmitter, the USB hub, and – basically, everything that would only need to run once the Pi would be powered. This constrains the Zero’s onboard 3.3 V regulator, sure, but it’s not too much of a problem – I’ve powered tons of stuff from the Pi Zero’s 3.3 V rail in the past. It also has helped quite a bit, because the less switching regulators I have to design and keep track of, the better.

An experiment – replacing a less-connected part of a 3.3V plane with a GND plane in a spot where 3.3V is barely necessary but GND is highly present (power distribution parts)

A big problem was making use of board layers correctly. I went for four layers on this board, with one 3.3 V layer which carries the output 3.3V rail from the Pi Zero, and one GND layer: SIG-GND-PWR-SIG. Later on, I took a look at the 3.3 V polygon, and realized that nothing used 3.3 V on a big chunk of the board. I deliberated some, and added an extra GND polygon covering a good third of the 3.3 V layer on the path where all the switching regulators were concentrated, and specifically, the path where the DC input jack current would flow into the switching regulator providing 5 V. It’s a plane split, sure, which is not great as far as signal return currents go, but there was one continuous GND layer right next to it already. Fingers crossed it works out for me long-term!

I kept inner layers as clean as possible generally – however, some tracks still had to go on inner layers. My compromise for having good inner polygons was keeping the inner layer traces as close as possible to the edge of the board, ensuring that there’s the least amount of plane splitting possible.

The cherry on top of the cake? I used the KiCad board image generation hook for GitHub that I covered this year, and, it’s added a surprising source of motivation to the project. Each time I’d push changes to the repository after a day of board design work, the board image would regenerate, showing off my changes – a lovely conclusion to my work and a reminder that I’ve done well with it. Also, I could demonstrate the board additions to my friends, including [Exentio] – can’t deny, having a social element to this design has really helped in getting this board completed!

There are a few fundamental aspects left – like power management, making plans for board assembly and bringup before you send off the board to manufacturing, and giving yourself the best chances for success when assembly and bringup time comes. That’s within a week – together with a report on how the board is working out so far!

 

This articles is written by : Nermeen Nabil Khear Abdelmalak

All rights reserved to : USAGOLDMIES . www.usagoldmines.com

You can Enjoy surfing our website categories and read more content in many fields you may like .

Why USAGoldMines ?

USAGoldMines is a comprehensive website offering the latest in financial, crypto, and technical news. With specialized sections for each category, it provides readers with up-to-date market insights, investment trends, and technological advancements, making it a valuable resource for investors and enthusiasts in the fast-paced financial world.

Recent:

Using A Smartphone As A Touchscreen For Arduino Lewin Day | usagoldmines.com
3D-Printed Boat Feeds The Fishes Lewin Day | usagoldmines.com
A Red Ring Light Show For Your Xbox 360 Lewin Day | usagoldmines.com
Keebin’ with Kristina: the One With the Curvy Centerfold Kristina Panos | usagoldmines.com
Building the Spectacular Fibonacci128 Simple Add-On Tom Nardi | usagoldmines.com
Single Crystal Electrode Lithium Ion Batteries Last a Long Time Al Williams | usagoldmines.com
Documented Source Code for Elite on the C64, BBC Micro and Others Maya Posch | usagoldmines.com
Finally… a Man Page for Life Al Williams | usagoldmines.com
Hackaday Links: December 15, 2024 Dan Maloney | usagoldmines.com
Rainwater From the Road to the Garden Bryan Cockfield | usagoldmines.com
Wago Terminals Make This Ham Radio Dipole Light and Packable Dan Maloney | usagoldmines.com
An iPhone Case Study Bryan Cockfield | usagoldmines.com
ESP8266 Keeps Tabs on Wood Stove Temperature Tom Nardi | usagoldmines.com
Running Fusion 360 on Linux with Wine Maya Posch | usagoldmines.com
A Portable Chainsaw Sawmill Bryan Cockfield | usagoldmines.com
Might Morphin’ Antenna Al Williams | usagoldmines.com
How the Lost Mystery Pigment ‘Maya Blue’ Got Recreated Donald Papp | usagoldmines.com
Behold a Geared, Continuously Variable Transmission Donald Papp | usagoldmines.com
tldr-pages Keeps it Short, Wherever You Need It Tom Nardi | usagoldmines.com
Hacker Tools, Hacked Tools Elliot Williams | usagoldmines.com
A Self Balancing Bike for Crash Dummy Billy Al Williams | usagoldmines.com
Personal Traffic Light Stops Them In Their Tracks Kristina Panos | usagoldmines.com
Origami-Inspired, Self-locking Structures With 3D Printing Donald Papp | usagoldmines.com
Walkie Talkies, Jedi Style: Building a Communicator Heidi Ulrich | usagoldmines.com
Flashy Paper Christmas Tree Does It With a 555 Kristina Panos | usagoldmines.com
Apple Newton Gets Rebuilt Battery Pack Bryan Cockfield | usagoldmines.com
The Stern-Gerlach Experiment Misunderstood Al Williams | usagoldmines.com
Hack On Self: How’d My Day Go? Arya Voronova | usagoldmines.com
Saving an Electron Microscope from the Trash Maya Posch | usagoldmines.com
Hackaday Podcast Episode 300: The Dwingeloo 25 m Dish, a Dead-Tech Twofer, and Deconstructing PCBs K...
This Week in Security: Recall, BadRAM, and OpenWRT Jonathan Bennett | usagoldmines.com
Chirality Could Kill Us All, If We Let It Jenny List | usagoldmines.com
Use Your RTL, In The Browser Jenny List | usagoldmines.com
Automated Rig Grows Big, Beautiful Crystals Fast Dan Maloney | usagoldmines.com
A Look Back at Google’s 2015 Chromecast Maya Posch | usagoldmines.com
British Spooks Issue Yearly Teaser Jenny List | usagoldmines.com
Good Lighting on a Budget with Cordless Tool Batteries Dan Maloney | usagoldmines.com
The Disappearing Capacitor Al Williams | usagoldmines.com
The 6GHz Band Opens in the US Al Williams | usagoldmines.com
It’s Critical: Don’t Pile Up Your Fissionable Material Lewin Day | usagoldmines.com
Ore To Iron In A Few Seconds: New Chinese Process Will Revolutionise Smelting Jenny List | usagoldmi...
Pico Logic Analyzer Gets New Version Al Williams | usagoldmines.com
Tiny PONG, Big Ambitions: World’s Smallest Arcade Heidi Ulrich | usagoldmines.com
Danger-Klipper Fork Renamed to Kalico Maya Posch | usagoldmines.com
Chaotic System Cooks Meat Evenly Bryan Cockfield | usagoldmines.com
Retrotechtacular: 1980s Restoration of San Francisco’s Cable Car System Maya Posch | usagoldmines.co...
FLOSS Weekly Episode 813: Turn Off the Internet Jonathan Bennett | usagoldmines.com
It’s Remotely Ham Radio Al Williams | usagoldmines.com
Amateur Radio Operators Detect Signals from Voyager 1 Bryan Cockfield | usagoldmines.com
The Hovercraft Revolution and Finding the Right Niche for a Technology Maya Posch | usagoldmines.com
Unexpectedly Interesting Payphone Gives Up Its Secrets Dan Maloney | usagoldmines.com
The Math Behind the Music of the 80s Bryan Cockfield | usagoldmines.com
From Felt to Fate: Building Your Own Sorting Hat Heidi Ulrich | usagoldmines.com
A Potential Exploit with the Ext Filesystem Bryan Cockfield | usagoldmines.com
Flying Drones That Can Walk and Jump into the Air: An Idea With Legs? Maya Posch | usagoldmines.com
3D Printer Eliminates the Printer Bed Bryan Cockfield | usagoldmines.com
Trying to Shatter the World’s Fastest RC Car Record Maya Posch | usagoldmines.com
2025 Hackaday Europe CFP: We Want You! Elliot Williams | usagoldmines.com
Creating A Radiation King Radio In The Real World Lewin Day | usagoldmines.com
Disc Film,When Kodak Pushed Convenience Too Far Jenny List | usagoldmines.com
Updated Mouse Ring Does It With a Joystick Kristina Panos | usagoldmines.com
An Engineer’s Perspective on Baking Gingerbread Houses Heidi Ulrich | usagoldmines.com
A Simple Robot For Learning About Robotics Lewin Day | usagoldmines.com
Smartphone Runs Home Server Bryan Cockfield | usagoldmines.com
PlayStation Motherboard Sanded and Scanned, But There’s More To Do Lewin Day | usagoldmines.com
Raspberry Pi 500 and the Case of the Missing M.2 Slot Maya Posch | usagoldmines.com
Do 3D Printers Dream of LEGO Sheep? Heidi Ulrich | usagoldmines.com
Keebin’ with Kristina: the One with the Funny Keyboard Kristina Panos | usagoldmines.com
Electric Bike Uses No Electronics, Weird Motor Lewin Day | usagoldmines.com
Finally Putting the RK1 Through its Paces Jonathan Bennett | usagoldmines.com
Robot Rodents: How AI Learned to Squeak and Play Heidi Ulrich | usagoldmines.com
Debugging the UE1 Paper Tape Reader and Amplification Circuit Maya Posch | usagoldmines.com
Magic Eye Images In Your Spreadsheet Jenny List | usagoldmines.com
Silicon Carbide May Replace Zirconium Alloys for Nuclear Fuel Rod Cladding Maya Posch | usagoldmines...
Hackaday Links: December 8, 2024 Dan Maloney | usagoldmines.com
Pedaling your Mobile Web Server Across the Globe Heidi Ulrich | usagoldmines.com
New Tullomer Filament Claims to Beat PEEK, Aluminium and Steel Maya Posch | usagoldmines.com
Tiny NFC-Powered Keychain Thermometer Heidi Ulrich | usagoldmines.com
The Audiophile Carrot Jenny List | usagoldmines.com
WASM-4: Retro Game Dev Right in Your Browser Heidi Ulrich | usagoldmines.com
Cheap FPGA PCIe Development Al Williams | usagoldmines.com
A Look inside IKEA’s Vallhorn Motion Sensor Teardown Jenny List | usagoldmines.com
Microchess Remembered Al Williams | usagoldmines.com
$600,000 Drained From Woman’s Bank Accounts As Morgan Stanley, JPMorgan Chase Issue Repeated Warning...
Hackers Infect 8,000,000 Smartphones As ‘SpyLoan’ Drains Bank Accounts, Steals Sensitive Data for Ex...
The £25,000 Tom Evans Pre-Amp Repair and a Copyright Strike Maya Posch | usagoldmines.com
Liquid Metal Ion Thrusters Aren’t Easy Dan Maloney | usagoldmines.com
Tis the Season Elliot Williams | usagoldmines.com
Printing in Multi-material? Use These Filament Combos Donald Papp | usagoldmines.com
FlatMac: Building the 1980’s Apple iPad Concept Maya Posch | usagoldmines.com
3D Printed Caliper Extensions Make Hole Measurement Easier Dan Maloney | usagoldmines.com
This Week in Security: National Backdoors, Web3 Backdoors, and Nearest Neighbor WiFi Jonathan Bennet...
The 6809 8-Bit Microcomputer: A Father-Son Odyssey Heidi Ulrich | usagoldmines.com
Hackaday Podcast Episode 299: Beaming Consciousness, Understanding Holograms, and Dogfooding IPv6 To...
Ampere WS-1: The Other APL Portable Computer Maya Posch | usagoldmines.com
VNAs and Crystals Al Williams | usagoldmines.com
Retro Computer Goes Back to the 1950s Bryan Cockfield | usagoldmines.com
Antenna Measurement in Theory and Practice Al Williams | usagoldmines.com
Sniffing Around Inside a ThinkPad Battery Tom Nardi | usagoldmines.com
Fluke Meter Fails with a Simple Problem Al Williams | usagoldmines.com

Leave a Reply