Custom PCB-The Ultimate Guide To Getting The Best Results

Author: Geym

Aug. 04, 2025

Custom PCB-The Ultimate Guide To Getting The Best Results

PCB boards are all around us in every gadget we use. Be it a smartphone or a simple calculator; their function depends on the performance of PCBs.

With competitive price and timely delivery, Moonleds sincerely hope to be your supplier and partner.

Do you know what the PCB circuit boards are made of?

PCB vs. PCBA-What is the differences?

Have you ever opened up your iPhone to see what's inside?

You would find only a few things, from the digitizer and battery to soldering and, of course, the PCB.

The logic board keeps your iPhone running, and any damage to it results in your being unable to power on again.

For instance, the compact circuit board design of the iPhone X has wowed many analysts and techies. It is a feat of engineering that not many companies have been able to surpass.

So, what is it that makes circuit boards so unique?

What makes one circuit board better than the other?

What does a circuit board consist of?

No worries!

We have prepared this helpful guide where you can learn about the materials used to make PCBs.

You can also get a picture of how a manufacturer produces them. Let's begin by looking at what the circuit boards are made of.

Then, we will look at how you can make your circuit boards.

At the end of this article, we will guide you through the path to ensuring that you get the best from the right vendor.

1、Custom PCB--Custom PCB

1.1: What are the PCB prototype boards or PCB Circuit Boards Made Of

Circuit boards are also known as printed circuit boards or PCBs. They drive the different electronic and electrical equipment and tools we use daily.

Most PCBs are formed by combining two or more layers depending upon the complexity and nature of the device they will be used in.

PCBs use a variety of materials for their composition. One layer can be made from fiberglass or resin derived from paper.

Other materials, such as copper, solder mask, and silkscreen layers, are also used.

In the next chapter, we will know what materials the PCB circuit boards are made of.

1.2: What Materials are Printed Circuit Board Made Of

PCB is generally made from four layers bonded by heat, pressure, and other methods. Four PCB layers are made of the substrate, copper, solder mask, and silkscreen.

The material encompassed by the printed circuit board includes:

• Copper: the copper gathers on the thick layer of foundation known as the substrate. Depending on the board type and use, one or two copper layers can be present.

The copper layer can exist on one side of the PCB, or it may be present on both sides of the substrate. Simple electronic devices use PCBs, which have a copper layer only on one side.

Copper layers are much thinner and more delicate than the substrate.

The copper used in PCBs is referred to by weight and presented in ounces per square foot.

Most common PCBs come with a copper content of 1 ounce of copper per square foot.

While the amount of copper in the PCB determines the amount of power, it will exchange.

• Silkscreen: the silkscreen is responsible for making the printed circuit board readable to technology programmers by adding numerical and letter indicators.

• Substrate: the substrate is known as FR4, an acronym for Fire Retardant.

It provides a thick layer of foundation for the printed circuit board, which varies.

However, you will find their thickness changes. It is the layer that offers rigidity to the PCB.

It can also be made from flexible materials, which can sometimes be stretched. Recently many innovative materials have been used to create the substrate, some of which are plant-based.

Custom PCB

• Soldermask

It is important to note that other board types do not use the above-listed materials. Instead, they make use of epoxies. A disadvantage attached to this type of commission is that they are thermally sensitive, making them susceptible to fast loss of their lamination.

One way to recognize this type of board is through the smell they give when undergoing soldering.

A green top layer of PCB is known as the solder mask and is applied over the copper layer to contact other electrical parts. On Top of the solder mask, a silkscreen layer is provided to create marks and labels for the placement of various components.

The substrate is generally made of fiberglass, also known as FR4. FR refers to the fire retardant and provides the foundation of the PCB. The substrate layer is the thickest in any PCB

Some other materials are also used for making the substrate, such as epoxy or phenolics.

The boards made from epoxy resin suffer thermal sensitivity, and the lamination can sometimes fade quickly.

You can find these cost-effective boards easily in the market and recognize them by the smell they give off.

The material also needs the components to be soldered to it.

Next, let us see how you can develop a custom circuit board using a computer application.

1.3: Custom PCB--Types of PCB

As briefed earlier, the PCB is a crucial component in different electronics. Now, let's consider the masterpiece behind your TV set and remote; the TV set can change channels from a press on the remote due to the presence of a kind of PCB in the remote.

There are many applications of the PCB which ease our very existence and make our daily activities flexible.

Depending on the use, PCB manufacturers use varying types of PCB to suit different products. The type of printed circuit board includes;

Single-sided PCB

In the earlier part of this article, we mentioned that the substrate varies with use. In the single-sided type of PCB, the substrate contained is just one.

A suitable electrical conductor such as copper is used to shield a side of the substrate, the solder mask is present on the copper layer, and a silkscreen coat is usually used to mark the parts of the board.

This type of PCB entails designs such that only one side accommodates the circuit and another electronic component. They are commonly referred to in simple electronic manufacturing.

An advantage attached to this type of board is that it is more pocket-friendly than other printed circuit boards.

Double-sided printed circuit boards

Unlike the single-sided printed circuit board, the double-sided printed circuit board has its two substrate surfaces coated with conductive metal layers with the parts fixed to the two sides.

The double-sided printed circuit boards are in more use when compared to the single-sided printed circuit boards.

The holes in the double-sided PCB connect one circuit on one side to the course on the other through one or two techniques.

The first technique through which the holes connect the circuit is the surface mount technology –this type of technology or method involves no wires.

The advantage of this method is that it saves space. The second method is through-hole technology – this technology or process involves thin wires passed through the holes and soldered to the right component.

Multilayer printed circuit boards.

The multilayer printed circuit board serves more functions when compared to the double-sided printed circuit board.

This printed circuit board contains numerous substrate boards with insulating materials parting them into single sheets. Of course!

When we talk about how much space can be saved, the multilayer printed circuit board can save even more space than the double-sided printed circuit board.

The multilayer printed circuit boards can have up to 10 layers or more. They are used in well-known inventions such as machinery and so on.

Rigid printed circuit boards

Combining the advantages of having many layers with rigidity is a characteristic of this type of printed circuit board.

This type of PCB uses materials that prevent them from bending; fiberglass is used. An example of a rigid printed circuit board is the board inside your device.

Flex printed circuit boards.

Of course, from the word "flex," the substrate is flexible. Since the rigid printed circuit board cannot form the desired shape, the flexible printed circuit board can fit well into this category.

They offer an excellent advantage over the rigid type because they are flexible and hold an advantage due to their cost.

Rigid-Flex printed circuit boards.

The rigid-Flex printed circuit board offers the characteristics of both the rigid-printed circuit board and the flex-printed circuit board.

This printed circuit board allows a wooden printed circuit board to be attached to another flexible printed circuit board, which appears to be more difficult than other printed circuit boards.

1.4: Custom PCB--PCB components

Irrespective of the mindset behind creating any device, there must be components required for different circuits.

Below are some of the essential features of any electronic product or device.

LEDs: the LED is an acronym that led to the emitting diode. The led emitting diode allows current through it; it is only permitted to flow in a direction.

Resistor: the resistor performs a critical function by regulating or controlling the current; to determine its value, they are color-coded.

Battery: as the general function of the storm, it is responsible for the energy supply. The battery is responsible for the supply of voltage to the circuit.

Transistor: the transistor renders a critical function in that it is responsible for the intensification of the charge.

Switch: the switch serves as a component that is used in the control of electric current.

The button can be used to permit the entrance of the current or block wind access.

Diode: the diode is a component that permits the entrance of electric current in one direction.

Other passages are blocked while electric current flows in only a guide.

Inductor: the inductor is responsible for the storage of charge.

2、What is PCB DESIGN?

2.1: PCB design basics

In discussing the basics of PCB design, we require a background familiarity with the terminologies used.

When referring to schematic capture, we discuss a program that permits the operator to make a schematic diagram of the component and other features.

The schematic capture is just the representation of this in a graphical way. Different terminologies used include:

Gerber files: the Gerber files refer to those Computer-aided design files sent to the printed circuit board producers to build the PCB layer structure.

PCB layout tool: the program responsible for the PCB layout permits the wiring connection structure to be applied on multiple layers.

After completion, the operator can generate the CAD files needed to make a printed circuit board.

2.2: PCB design steps

In this present age, there are different approaches to designing a PCB. Depending on the manufacturer of the PCB, there are many ways to do this. Below are the essential steps noted in designing a printed circuit board.

Step 1: use of a software

It is the designing of a printed circuit board using software; it involves the schematic representation of the circuit with the help of the software.

Examples of layout software are computer-aided design (CAD), mutism, and eagle software.

Let us make use of the eagle software in this article, and in doing so, we have; Open the software board designs>>>click on file menu>>>select new design>>>click on library menu>>>select from the drop-down menu 'pick devices/symbol'>>>double click on a relevant comment>>>add the components and represent the circuit with proper connections.>>>enter the rating for each element>>>click text editor on the command toolbar>>>click on variages>>>close the window>>>after the appearance of a black screen, save as an image format.

Step 2: the generation of film

With the aid of the finalized circuit board diagram of the printed circuit board layout, the generation of the film occurs.

Step 3: Selection of raw materials

Less expensive printed circuit boards manufactured from paper phenolic bonded with copper foil are used in simple devices.

The value of the copper-clad laminate is 0.059 thick with either a single or double-sided board.

Step 4: Drilling holes

A hole in the PCB was implemented using a machine and drill bit. The hand machine is the first type of machine used in drilling holes into the printed circuit board.

The second type of machine is the automatic type called the CNC machine.

This type of device requires the effort of the operator to make holes in the board. The programs provide the convenience of punching holes on printed circuit boards.

Step 5: fixing the image

Laser printers are one of the best options for printing the layouts on the PCB. The process involved in this includes; placing a clean copper layer on the printer>>>storing on the computer the designed layout film>>>printing the command received from the computer by the laser printer.

Step 6: Etching and Stripping

This stage uses a variety of chemicals to eliminate the useless copper attached to the printed circuit board.

Step 7: testing

After completing the above process, the board will be tested to ensure its functionality. Recently, many devices have been manufactured to aid in testing the large volume of printed circuit boards.

2.3: PCB design software list

PCB Artist

Ultiboard

Altium Designer 17

SOLIDWORKS PCB

DipTrace

PCBWeb

BSch3V

XCircuit

Gerbv

KiCad EDA

DesignSpark PCB

Eagle PCBs

CircuitMaker

Pad2pad

OrCAD

ZenitPCB

CircuitStudio

If you are looking for more details, kindly visit Custom Led Pcb.

PCB123

AUSPICE

FreePCB

The above list is the program used to design printed circuit boards.

2.3.1: PCB design software comparison

In comparing printed circuit board designs, we would consider two software: EAGLE CAD and DIPTrace. These two software is, of course, picked at random.

DipTrace features:

Capable of schematic captures with components linked to a library, creating patterns with a decent library editor, availability of perfect tutorial and support, great for smaller and simpler boards.

EAGLE CAD:

Electrical rule check, the schematic hierarchy for a design organization, forward and backward annotation between schematic and printed circuit board.

2.3.2: Custom PCB--best PCB design software

Out of the significant number of PCB design software available these days, some plain ones are highly recognizable for their perfect functionality.

• Readily Applicable Graphical Layout Editor (EAGLE): the eagle is a user-friendly PCB design software with a moderate price.

EAGLE has a wide range of proper functions,s which include: batch execution of script files, copper cladding, and more.

Altium Designer

DipTrace Lite

DipTrace Starter

Easy EDA

2.4: PCB design rules

Some rules are associated with the printed circuit board design that uses it effectively; you need to remember them.

Width and Spacing: for the width and Spacing, the parameters are usually denoted as "x/y rules" the X in this stands to represent the minimum trace width while they represent the Spacing, that is, the minimum trace spacing.

Thickness and size of the board: size and thickness can be set to suit the particular product. Many individuals use more boards on just a panel to conserve space and cost if mass production is done.

3、How To Make PCB Layout

3.1: PCB layout design

The printed circuit board layout design requires the technical know-how or professional skills that call for the knowledge of the printed circuit board software, the computer-aided design system, and the skills or methods involved in successfully transferring the primary circuit design to the final PCB.

3.2: PCB layout comparison

In the comparison of the printed circuit board, certain factors must be watched out for, and these include:

The size of the board

Layers available

Power delivery network analysis

3D modeling

Differential pair routing

3.3: PCB layout tutorial

This section will detail these steps:

Step 1: Custom PCB--the conversion of the schematic to a printed circuit board

It is the first step associated with the PCB tutorial. After you have successfully done your schematics, you can convert them into PCB by clicking on "convert to PCB" on the editor you are using.

Step 2: Custom PCB--drag and drop the component.

The second step is to place the document exactly where it is positioned. If you are the type that prefers a clean-looking printed circuit board, components with similar functions should be placed side by side.

Step 3: Custom PCB--sketching a custom outline

The first thing to do is go to the layer menu, click on the board outline layer, click on the current outline, and delete it after completing a new system with the PCB tools.

Step 4: Custom PCB--a copper area

The copper area is the best thought of when many parts are joined to just a signal. This copper area can be created using the tools menu.

Step 5: Custom PCB--Routing

Depending on the current type, there are two approaches to this method. If you have a low current creating the printed circuit board, the auto-router function can be used.

If you need different track sizes, it would be better if you did this manually. The auto-router function can be found at the Top of the page.

Step 6: Custom PCB--Holes

Of course, you might need to mount your printed circuit board on something, so holes are required. The Hole tool can be found on the Tools menu, and you can locate the spot you want.

Step 7: Custom PCB--pictures and text

To do this, you must stroll to the tools menu and locate either the image or text tool. You can position the text as you wish and change the required layer or the book itself.

Step 8: Custom PCB--photo view

After completing the above steps, you can review your work by viewing the result. You can change the color or some other features. Once you agree with the product, click "fabrication output" to buy the PCB.

4、Custom PCB--PCB Reverse Engineering Software

In cases where the schematic may not be available, the data created from the printed circuit board reverse engineering can be used to produce replacement parts or give hints in repairing parts that already exist.

5、Custom PCB--Custom Made Circuit Boards

We know PCBs are complex elements, and it can be difficult for hobbyists to design a working circuit. The first thing you will need is reliable software to create the blueprint of your PCB.

Then you can use many PCB design solutions, such as Eagle from Cadsoft Computer, which does an excellent job designing your PCB.

Custom PCB--Prepare Schematic View

You have to prepare the schematic view to create your custom PCB. Access the component library that is present in your design software and places them onto the canvas.

Now you have to connect the pins with the lines that symbolize electrical connections in the software.

The same part number may confuse you as you will find several options.

The packages can include a surface-mounted chip or a Dual-in-line box (DIP). If you are a hobbyist or have a DIY project, it makes sense to go for significant and noticeable system-in-packages (SIP) or DIPs.

You can find them quickly, and hobby outlets are far more friendly when selling them than surface-mounted devices reserved for commercial applications.

The different packaging options can appear to be similar in the schematic view. However, things will appear differently when you switch to the layout view to begin your design.

You will need to provide the necessary ground and power signals apart from placing your interconnections and components; you can use the features such as GND, VDD, and VCC found in the Eagle library for the job.

Custom PCB

Also, integrate the connectors on the board so that the ground and power can be employed. At this stage, you will also have any external device you want, such as a potentiometer or LEDs.

Your design needs to go through an electrical rule check or ERC after putting everything in place.

The test is crucial to ensure that there is no error present that will hamper your circuit board's functionality.

One common issue you face is wired that appear to be connected but are not real.

You can check for little dots in your Eagle software, representing the connection intersections of the wires.

Other problems may include ground and power signals that you forgot to connect.

So you should remember that the automated tests won't tell you if your board will carry out the desired action, but they can always validate the electrical properties of your design.

Custom PCB--Access Board Layout View

After doing everything you need to do in the schematic view, you must move over to activate the board layout view.

Then you have made the switch, and you will find the components spread randomly in your Eagle software.

You will also see that the wires directly hook to the pins.

To make the picture a bit less messy, move the components until they make meaning.

For example, you can move the connectors to the edges so that things make sense.

You still have much work to do to produce the circuit board. So you have to dedicate signals to the layers but remember that the different layers present in the same layer should not touch each other.

The professional version of the Eagle solution comes with an auto-layout feature that can route the signals with a single click.

However, for users of the standard version, you must take things into their own hands. You may also find a design solution from your PCB manufacturer to take care of this step.

After you have laid down the signals, the time has come to run the DRC or the design check.

The check ensures that holes are drilled too close to a signal line.

It also notifies you if the traces are not at an optimum distance from each other or the edge of the board.

Custom PCB

You can customize the rules, and sometimes your PCB vendor will offer a file that can be integrated with Eagle solution with specified DRC values. Then you can upload your design files if your project passes the DRC.

You should utilize a particular layer to add silkscreen lettering to the Top. The printing will help you know which component fits, presenting part numbers and outlines.

That enables you to avoid mistakes like placing a 100K resistor instead of a 1K one.

A Gerber file reveals the language of PCB design, and 3each board can have many files associated with them.

You will have a separate file for the specifications of the solder pads and different files for each layer. The drill files also carry the specifications of the drilling.

You can then upload the design to your manufacturer, who can use another program to present the final look of the layers, and you can also find out if the components are the right size to fit the holes.

With this, you have come to the end of creating a custom circuit board using design software. In the next chapter, we will explore how a manufacturer produces PCBs.

6、Custom PCB--How are Circuit Boards Made

By now, you know how to custom design your PCB by reading the earlier chapter. The technology of PCB is complicated, and it needs to go through a multi-stage manufacturing process.

You also have to choose a manufacturer with all the high-precision equipment to bring your project to life.

We are going to discuss the PCB manufacturing process in brief just for you.

1. Custom PCB--Making the Substrate

You can think of PCBs as sandwiches that come in multiple layers. The base material found in the middle is known as the substrate. Then the substrate material is responsible for giving width to the PCB.

You can view a PCB from the side angle and find that the thickest layer is the substrate.

Traditionally PCBs were made with fiberglass substrate, which is rigid. Nowadays, you can find flexible substrate material.

Many materials can be used, but one standard option uses special plastic for the substrate to tolerate high temperatures.

The material used to make the substrate is generally spread out. The manufacturer then dips or sprays it with epoxy resin.

Next, the material is rolled on to get the desired thickness, just like rolling your pie crust using a rolling pin.

The rollers stop rolling when the substrate reaches the desired thickness and passes to the next step, and the substrate is now placed in the oven to turn out solid and firm by curing it.

After completing this step, you have created the first layer of your PCB.

2. Custom PCB--The Copper Layers

Depending on the purpose, PCBs have a simple or complex design. Apart from the foundation layer of the substrate, copper layers are another essential component.

The copper layers are essential to carry electricity throughout your PCB.

Your PCB cam comes with a single layer of copper applied to the Top or two layers on both sides of the substrate.

The PCB can also have numerous layers with other copper and substrate.

Some PCBs used in advanced devices or smartphones have more than 12 or 16 layers of copper.

Copper layers are much lesser in width than the substrate layers, and you won't have any electricity flowing through your circuit if they are absent.

The manufacturer can use a combination of different methods to bond the copper to the surface of the substrate.

Any standard methods involve heat, pressure, and adhesive so that the copper layers are firmly fixed on the substrate.

You can take your PCB for drilling after the copper has bonded with the substrate.

Custom PCB

The PCB needs to transmit the charge to the right points from one layer to another layer in the board for your device to function.

You will have to create holes referred to as via for the cost to flow through.

The manufacturer has several options to drill holes in the PCB and use a CO2 laser, UV laser, or other equipment.

The accuracy and efficiency of the drilling machine determine the preciseness and complexity of the PCB.

You have to clean the holes of any debris or any material that might have been left behind after the process of drilling.

They can also be deburred to get additional material clinging to the PCB.

After that, the inner sides of the vias are coated with copper to carry the charge from one layer of the circuit board to another.

Next, you have to print the pattern of the circuit on the PCB. The manufacturer can deploy the copper accurately following the design to get the way on board.

Otherwise, they may apply copper to the entire board and remove it to etch out the circuit pattern.

The PCB may be subjected to an alkaline bath to remove unnecessary copper.

You must add other components, such as transistors, capacitors, or LEDs, on the PCB.

You can solder the pieces onto the PCB using a soldering iron. Before adding the features, the PCB is passed through a succession of electrical tests using a grid tester or flying probe to ensure no short circuits or open connections.

Your manufacturer may also use a machine to pump the parts to your PCB.

3. Custom PCB--The Final Solder Mask

The metals that remain exposed on the circuit board can get damaged. The nature of copper is to rust, rendering your PCB useless.

You can adequately protect the copper plating and other components of the PCB by adding an extra protective layer on Top.

Generally, manufacturers use gold, nickel, or tin-lead to plate specific vulnerable parts of the PCB. To top it all, the manufacturer provides another layer on Top called the sold to ask.

The green color that you see in PCBs is due to the application of the solder mask layer; the solder mask also has some other functions apart from covering and protecting all the metal parts that don't need to form a connection with anything, the layer of solder mask also ensures that current flows to the right places following absolute paths.

Sometimes you may also find a layer of silkscreen on Top of the solder map used to carve labels on necessary parts.

After everything is done, the manufacturer will trim and shed off any extra material or unnecessary parts not required in your PCB.

7、Custom PCB--Conclusion

The best for just you.

We have given you the gist, and we hope you liked and benefitted from this.

As promised from the early part of the article, we would ensure that you do not just get the right vendor but get the best from whatever it offers.

You wouldn't want to hesitate on this any longer, we are right behind you, and just a call will do! Contact us today and secure your interest in high-quality products.

For more information, please visit Smd Led.

How do I decide what components to use on a custom PCB?

As someone who is also trying to teach themselves hardware design with no background in electronics, engineering, or coding, good luck. In regards to diodes, you are looking to confirm that the diodes can handle the Amps of the circuit. USB (for our context) has 5v @ .500A (500 mV). Any diode you can find are going to work, I have used 1N with no issues.

I think the best solution for your design would be take as many variables out that you can. First one would be the actual MCU hardware design. Don't reinvent the wheel when it comes to microcontrollers (MCU). Find a MCU that has the amount of GPIO you need and design a PCB for the MCU to mount to. RaspberryPi Stamps are probably the best bet for available GPIO. Small, should fit in a bare area near the LEDs or near the arrow cluster.

At this point you are left with designing a PCB to fit the stamp (which takes all the voltage regulation, crystal oscillation, etc out of the equation). Now you're left with:
1. Lock Indicator LEDs (x3) - Power + capacitor + resistor will get this working.
2. Per key LEDs (x104) - What kind of LEDs do you plan on using. They will likely be SMD so unless you have familiarity with soldering SMD or have a reflow oven, this will be very hard to do by hand.
3. Switches (x104) - Easy to find and are cheap
4. Diodes (x104) - Easy to find and are cheap
5. USB ports/Breakouts - Adafruit sells these in a variety of styles/shapes that could work.
6. Wireless capabilities - You would have to find out the specific circuitry design to implement this.
7. Hot swap capabilities (x104) - Not hard since you can buy hot swap sockets that solder to pads on the underside of the PCB.
8. RGB underglow LEDS (x??). These are also going to be SMD most likely, see above.
9. Cherry MX support + others - Don't even worry about that now. Alps SKCM/SKCL or cloness are the only other real switchtype to consider.

If you were to ask me I would pare down your wants to make the most complete, but simple board. All of the wants above need to be coded to actually work. It's not like a premade PCB that the firmware is already written for you need to flash. You would be needing to do a lot of, if not all of the coding by hand as it will be unique in which pins associate with what, etc.

I would scrap the per key LEDs and I would scrap the underglow LED. You just dropped x120+ parts (all surface mount) and remove hundreds of wire traces. Unless you have a real affinity for using Alps switches and plan to use it, ditch the multi switch or layout approach. It's complexity that would be nice, but will likely never be used. Alps keyboards never followed a standard layout. You would need to find a suitable host with all the keycaps, in a profile you like, and fits the curves of the board. I would also skip wireless as well. Unless you have the knowledge to create the circuit and understand the firmware to implement that hardware, you will have some struggles getting it to work properly.

Good luck with your adventures. I personally am trying to learn hardware design in relation to the ATMEGA32A. Through Hole components and a well documented history of use cases to gain inspiration. (Hmm.. I thought I had replied already... forum reset from backup or did I just not click Post?)

- Most people use the firmware QMK for custom mechanical keyboards. Even if your official firmware would not use it, I would still select an established microcontroller which is supported by QMK, so as to give builders a choice.
- Individual RGB LEDs will need one or more LED controllers. There is support for a few in QMK.
  A LED controller drives the LEDs in a matrix with PWM instead of varying voltage, and this method keeps the current draw within USB's 500 mA limits. It interfaces to the microcontroller over I²C or SPI.
The same for RGB side-glow.

I think supporting Cherry MX-compatible switches is enough. There is no room for two types of hot-swap sockets and LEDs (pick two out of three), and lower-profile switches are best in a lower-profile case altogether.

Both LED controllers, RGB LEDs and hotswap sockets are surface-mounted, but hotswap sockets are easier to solder by hand. I would have RGB LEDs only if I would have the PCBs manufactured complete with mounted components so that the buyer wouldn't have to solder anything. well the current consumption is more or less the same, whether you control your leds via pwm or separate controller (preferably integrated in the led; e.g. 'neopixel'). the power need for creating light is still the same and depends mostly on the efficiency of your circuits..
regarding the firmware, i would advise to go with an existing framework like the mentioned tmk, qmk, zmk or kmk. tmk has been around the longest from what i understand. qmk was forked from tmk at some point (been a while though) and is the most widely spread i think. from what i heard, zmk is very energy efficient. kmk is mostly python if i remember correctly, to me that was a no no, so i didn't look into it any further. i currently use qmk, but will at some point get into zmk, as i have some quarrels with qmk, totally personal preference though, qmk works perfectly fine and the people on the discord are very helpful and patient.
regarding multi switch style support.. i would probably make separate pcbs per switch style, or go for a solder pcb.
i made two pcbs so far and i used the stm32f401rct. it is a bit overkill for a keyboard, but also convinient to work with. but as someone already mentioned, the easiest way is to use a small dev board like the rp pico or the blackpills.

@TomahawkLabs if you want to make your own firmware from scratch, keep in mind that you will need a usb stack. writing that yourself will take a lot, REALLY A LOT, of time and effort.

@TomahawkLabs if you want to make your own firmware from scratch, keep in mind that you will need a usb stack. writing that yourself will take a lot, REALLY A LOT, of time and effort.

I don't "want" to write the firmware from scratch. What I am currently researching is more of a baby step solution. From what I gather the 32U4 is more or less the same as a ATMEGA32A, but the 32u4 has built in USB support and the ATMEGA32 had additional GPIO, but lack integrated USB support, but that is resolved using V-USB, which shouldn't be too hard to implement. Some Zener Diodes, a few resistors, etc. My current plan of attack is to create a custom 32u4 board with a 3x3 switch matrix, 3 bare neopixel LEDS, a single LED for testing, a single switch wired to a specific GPIO for testing locking switches, and a reset/bootsel button. From there I should be able to use Arduino studio to make a quick and dirty macropad without any consideration for USB hardware/firmware. Once I get the firmware for the board to function (3 neopixels for the 3 status LEDs tied to caps, scroll, and num lock) to work as intended, I should be able to create another similar PCB but using the ATMEGA32A THT chip and the VUSB hardware to go into a prototype of what I want. If that works successfully, I can translate that to a full size PCB by expanding the matrix and import past versions of the firmware. Lots of work ahead, but then I can isolate certain variables to make it easier to add features.

The end goal is a full size PCB using VUSB and the ATMEGA32A for a complete THT project. USB data/power/ground pins vs a connector to use any style connectors. RGB LED status lights that are user changeable, and a locking capslock key. No underglow, no per key LEDs, no wireless, etc. Just a boring full size keyboard with THT parts and RGB LED (to assign color, not for effect) status lights. An ambitious project, but I have the time to learn.
well THT is quite the restriction in terms of microcontrollers.
i can come up with some reasons to go THT but i would like to hear yours.

It is very restrictive, but from my research the ATMEGA32A is the best choice for my project. It should be supported by QMK/TMK because it's the same family of microcontrollers as the 32u4 (once VUSB is configured). It comes in a DIP40 form factor which allows for more PINs than similar THT microcontrollers and is readily available. The justification for THT was user serviceability and accessibility. Anybody with a cheap soldering iron should be able to buy a bare (unpopulated) PCB and solder all the necessary components to the PCB without the need for reflowing or having the PCB manufacture pre-solder SMD components to complete the project. VUSB Solution B (Level Conversion on D+ and D-) is achievable with two 3.6v Zener diodes, and 3 resistors.

My personal goal is to make a THT drop in replacement PCB for the Apple M (Apple AEK II) keyboard that I can wire to the original ADB connector cable, with a USB end. The experience would be a drop in solution to make AEK II keyboards USB compatible using the original case, connector, and cable. The only visual give away would be the RGB status LEDS (I like the idea of choosing a color other than green) and the fact the cable has a USB port on one end and a Apple ADB (which is really just a 5-pin Mini-DIN connector).

The ATMEGA32A has 32GPIO pins. I will need 1 for "Data In" on the first Bare LED Neopixel, 1 for the Caps Lock (I have never been able to get locking switches to work in a matrix), 6 for the rows, and 21 for the columns for 29 total. 3 extra for expansion/additional features. subtract the LEDs and you have enough for SPI displays, etc.

I want to remove as many barriers as possible to get people into making their own custom keyboards. I want to, ideally, have an open source hardware "platform" where people can take the schematic and make their own PCB to revive old keyboards with a modern PCB. I see a lot of users on this forum who want to make their own modern PCB or custom layout, but due to a lack of engineering experience are stuck dreaming. Having the hardware already resolved, a user would just need to use KiCad to make the puzzle fit without worry about part values, schematics, design, math, etc.

26

0

Comments

Please Join Us to post.

0/2000

All Comments ( 0 )

Guest Posts

If you are interested in sending in a Guest Blogger Submission,welcome to write for us!

Your Name: (required)

Your Email: (required)

Subject:

Your Message: (required)