Generating Flat Flexible Soldered Cable Designs

The connection system (FFSC / Flat Flexible Soldered Cable?) described in my last post should allow for a high reliability, cost effective connection in medium to low density applications. To produce a similar design manually can be extremely time consuming due to the iterative nature of the problem.  If you need the design to be completely symmetrical then this process becomes harder. If you need to change something part way through, then really a piece of software to do it becomes essential.

The following Python script takes a set of parameters and generates an Eagle script to produce a FFSC design, including the top reinforcement layer. A basic example below:


Almost all elements of the design can be adjusted to meet different applications, this includes all pad, track, spacing and reinforcement dimensions. Adjusting the length, taper and material thickness of the reinforcement layer allows you to get the mechanical gradient required for your application.


For more involved applications, the script supports any number of segments to allow joining together of PCBs in non-parallel applications.


The script is available to download from Github here.


Whilst many design features of this connector type are new, the manufacturing processes required to make this connector are fairly standard. Most flex-capable PCB manufacturers should be able to produce this with a little thinking.

In volume, each layer is usually die cut out to the required shape before they are bonded together. In lower volumes or for prototyping purposes it may be possible to have each of these layers laser cut.

Flexible PCB connections

Update: The Python script to generate these flexible designs, along with examples and instructions can be found here: Generating Flat Flexible Soldered Cable Designs.

During a past project I had to connect two PCB’s with multiple connections over a moving part. Normally this leaves two  options:

  • Flexi-Rigid PCB’s – Good, but can be fragile, often expensive and size limited due to tolerances.
  • Some type of connector / cable system. This could be a FFC, ZIF, IDC system or similar. Usually quite expensive and normally not designed for movement.

Here’s the solution I developed for the project:

Flexible PCB connection to connect two rigid PCB's

It’s a multi-layer flexible / Kapton / polyimide film PCB designed to be soldered directly to two rigid PCB’s. The key feature in the design is the addition of layers with a tapered or zig-zag design. This distributes the stress instead of creating a folding point at the edge of the rigid PCB. The additional layer makes it particularly strong at this point.

Closeup of flexible PCB connection

The pads are designed with a few details that make it quick and easy to solder. The top Kapton layer overlaps the pads with a radius, castellated ends are used and vias are present in the middle of the pads. These features allow the solder to easily flow under and through to the underside.

Underside of pads

The underside pad shape is extended to match the rigid PCB footprint.

Flexible PCB collection soldered on to a rigid PCB

Once soldered, it gives a solid joint that is extremely durable. It can be soldered at any angle, giving more design freedom in positioning the PCB’s.  It worked out quite a bit cheaper than any other alternative in this application, even after the additional assembly process. It is particularly suitable for any application that requires high reliability.

To simplify the process I have written a piece of software that generates the connector design as an Eagle script from a range of parameters automatically.

Hadron ORD Bot 3D Printer Build

This is my first 3D printer build based on the Hadron ORD bot design. It’s made from an extrusion called MakerSlide which allows the design to be pretty low cost and robust. Because of the hollow profile it allows most cable routing to be run through the centre of the profiles, keeping the build nice and clean.

Hadron ORD 3D Printer Back

For the electronics, I chose the Azteeg X1. It’s low cost and tiny. It can run most available firmware and fully integrates everything needed. The standard connectors have been swapped for 0.1″ screw terminals.

Hadron ORD 3D Printer Front

The Stepstruder MK7 is used as the extruder. It takes 1.75mm filament and comes with a stock nozzle with an extrusion diameter of 0.4mm. The small PCB above the extruder (MakerBot safety cutoff switch) is a hardware safety cut off designed to cut power if the extruder overheats for any reason.

Hadron ORD 3D Printer Side

All of the cabling is run through 8mm stainless steel extension springs. By using proper connectors throughout, the idea is that every moving part can simply be unplugged, rather than having to be desoldered or other less than ideal solutions. A standard multipole connector was used for motors and the extruder, JST-XH used for the bed limit switch / bed thermistor and a high current EC3 connectors (rated at 60A continuous) for the heatbed 12V supply.

A few improvements were made to the standard Hadron mechanics including swapping the default 1mm steel motor mounts for 3mm stainless steel laser cut brackets and flexible motor couplers. A new modified laser cut bed mount was designed to include cable routing and spring clamps.

Azteeg X1 on Hadron ORD 3D Printer

The cabling was a mix of LÜTZE Superflex 4 core cable for motors, twisted pairs from a good quality ethernet cable and high temperature silicone cable for the heat bed. 

Inside Apple’s new folding USB Charger (UK Plug) / Teardown

The new UK USB charger (part #  MGRL2B/A) includes a folding pin design – but isn’t that much bigger than a standard charger.


Rather than prying the mouldings apart and potentially damaging something in the process, I cut the rear casing in two using a fine toothed coping saw. Luckily I cut in exactly the right spot so it comes apart cleanly. It’s designed in two halves – the front half containing all of the mechanism and insulation and the second half containing the PCB with active components and USB socket.



The rear half of the housing has some copper shielding behind a plastic film – presumably to meet EMC standards.


The top of the PCB and USB socket moulding is secured using a single M2.5 torx head screw. Other bits are the Rubycon AX series electrolytic capacitors, (part # 400AX4.7M8X9), Fairchild bridge rectifier (part # MB10S), Everlight optoisolator (part # EL3H7-G) and a transformer (markings 157-00003 / HIG J 1503).




On the underside there’s a low profile, recessed inductor (markings T00405 SP451), a tantalum polymer capacitor from Kemet (part # T520T156M006ATE100 ) and what I think is a power MOSFET from Fairchild (part # STD7NM64N) but in a custom package, Fairchild’s PowerFLAT 5×5 package. The other large component is a diode (part # SBR8U60P5). Interestingly there is a blob of resin over R9 for an unknown reason.

What is surprising is the use of a low power PWM controller from Fairchild (part # FAN301). The FAN301 was released in 2010 and achieves a standby power of less than 20mW. It is currently marked as ‘This particular part was found to be patent infringing and we are unable to sell this product.‘ on Mouser. It appears to have been replaced by the FAN302 in 2013 – achieving a standby power of half; just 10mW. I’m not exactly sure why they are using this PWM controller for the above reasons, but it does hint that this charger design was a long time in the making. The FAN301 has a permanent injunction against it from Power Integrations (more on the story here).


Cutting away the side of the charger face reveals the contacts.

The Mechanism







The top cover has been fixed in place using overmoulding – once these overmoulded points are cut off, you can finally see underneath the cover! All of the parts feel solid and there’s very little play when the mechanism moves.



Underneath each mains contact is a thin layer of Polyimide (the yellow material) cut to shape – This is a high temperature, electrically insulating film. At a guess this is to meet insulation requirements.

Check the Apple folding plug teardown on iFixit!

RS232 / USB ‘Cloning Module’

This device is designed to connect to a specific system via RS232 and then receive or transmit a few kilobytes of settings, to or from the MCU flash. This allows you to clone the settings and reproduce the setup on another system easily. It appears as a serial USB CDC device when connected to the mini-USB port which then emulates the behaviour of being connected to the system via RS232.

The parts, footprints, physical construction and materials were chosen to minimise costs – it was built to be cheap and as minimal as possible!

An additional piece of board was routed out to frame the USB connector and support the strain relief for the cable. It locks in through slots in the main PCB and top perspex.

The top cover has been laser cut / engraved from frosted perspex. The buttons come almost flush with the surface.

Although this isn’t good practice, the PCB is threaded directly (normally you would use PEM ReelFast spacers) with the overlap of each screw acting as mini-feet. There’s a few mm clearance around each hole to the nearest active trace.

The whole design is routed on a two layer PCB with almost the entire underside being a ground plane.

Three LED’s sit between the buttons – red, green and amber to indicate the state.