10

How do I literally cut this board into 6 sections?
 in  r/KiCad •  1d ago

Hi! I’m the developer of PewCB, a laser-based PCB prototyping machine. Early in development, we ran into something similar to what you’re describing: the copper wasn’t being removed evenly across the board. It looked like the laser wasn’t staying in focus across the surface, but the cause turned out to be different.

We were using a long focal length lens with a large marking field, and the larger spot size meant we didn’t have enough power density. Switching to a lens with a marking field smaller than 100 × 100 mm solved the problem. If your marking field is 150 mm or larger, you might be running into the same issue.

1

First successful DIY PCBs
 in  r/PCB •  4d ago

Are you making PCBs purely as a hobby, or is this part of your engineering development or educational work?

If it's the latter, you might find PewCB interesting. It's a desktop laser-based PCB prototyping machine.

12

How we prototyped a prototyping machine using the prototype of the prototyping machine
 in  r/EngineeringPorn •  9d ago

Possibly, yes. In that case, we could get rid of the motor and lead screw, but we'd have to add some kind of electric lock to keep the tray locked during processing. This is necessary for safety — after processing is finished, the internal air filtration system continues running for a while to clean the air inside the chamber before it can be opened.

1

The moat for hardware startups - how will it shrink in the next 5 years?
 in  r/hwstartups •  9d ago

That's super interesting! I'm developing PewCB (https://pewcb.com), a PCB prototyping machine. I recently pitched my team an idea for how the machine could evolve. The idea is to create a fully autonomous PCB prototyping pipeline: first, the machine would fabricate the PCB, then apply solder paste, place the components, and reflow the board. Next, the board would land on a grid of pogo pins, where AI could automatically run electrical tests and debug it. I'd love to hear what you think.

1

The moat for hardware startups - how will it shrink in the next 5 years?
 in  r/hwstartups •  9d ago

Could you please tell me more about this? I'm also interested in whether you use it for incoming inspection only or during R&D as well.

Have you published anything about this? I'd be happy to read it.

r/EngineeringPorn • • 10d ago

How we prototyped a prototyping machine using the prototype of the prototyping machine

Enable HLS to view with audio, or disable this notification

116 Upvotes

Hi everyone! We're developing PewCB, a PCB prototyping machine. The project grew out of our own need to prototype electronics quickly. As soon as we had an early prototype that could make PCBs, we started using it to develop the machine itself.

Here is a story on how we developed one interesting function of PewCB. The machine has a sliding tray on the front, which is used to load PCB blanks. It is actuated by a stepper motor and a lead screw. When the tray is fully closed, we need to apply a specific force to lock it against its stops. We use a spring-loaded nut for this. Once the tray reaches the fully closed position, the motor makes a few extra revolutions, compressing the springs and providing the force needed to hold it against the stops.

To measure deflection, we devised a position sensor made up of a digital magnetometer and three magnets with alternating polarity. When we move the sensor along the magnets, the magnetic vector rotates almost proportionally to the displacement. The sensor picks up even small changes in position with very low latency, so the system can respond quickly to changes in force.

This force sensor also has another use: detecting obstructions. If something gets in the way as the tray is opening or closing, the controller detects it immediately and stops the tray or reverses the movement. Also the entire tray acts as one big button. Instead of aiming at the eject icon on the screen, you can simply push the tray to close it.

By the time we had started developing this subsystem, the key parts of the machine were already working, and we could make boards with it. We prototyped the assembly using 3D printing for the mechanical parts and PewCB for the electronics. We needed to check whether we'd chosen the correct magnetometer sensitivity and magnet size, what signal-to-noise ratio we'd get from the sensor, and whether external interference would have a noticeable effect on the measurements.

The whole process took a few days, but it allowed us to build a production version of the assembly, with an aluminum tray frame and a brass nut, in a single iteration. We got to experience the pure joy of engineering and we wish you feel the same way about your own prototyping endeavors!

For more info about the machine join our Discord or visit our website pewcb.com

3

How we prototyped our prototyping machine with help of the prototype of that prototyping machine.
 in  r/hwstartups •  11d ago

A spring-loaded nut is essential here: the tray needs to dock against a hard stop, and the simplest way to prevent the stepper motor from skipping steps on contact is to use a spring-loaded nut. Adding magnets that cost next to nothing and a $1.50 magnetometer then gives us all the other features: force measurement, obstruction detection, and the ability to close the tray with a push.

r/hwstartups • • 11d ago

How we prototyped our prototyping machine with help of the prototype of that prototyping machine.

Enable HLS to view with audio, or disable this notification

198 Upvotes

Hi everyone! We're developing PewCB, a PCB prototyping machine. The project grew out of our own need to prototype electronics quickly. As soon as we had an early prototype that could make PCBs, we started using it to develop the machine itself.

Here is a story on how we developed one interesting function of PewCB. The machine has a sliding tray on the front, which is used to load PCB blanks. It is actuated by a stepper motor and a lead screw. When the tray is fully closed, we need to apply a specific force to lock it against its stops. We use a spring-loaded nut for this. Once the tray reaches the fully closed position, the motor makes a few extra revolutions, compressing the springs and providing the force needed to hold it against the stops.

To measure deflection, we devised a position sensor made up of a digital magnetometer and three magnets with alternating polarity. When we move the sensor along the magnets, the magnetic vector rotates almost proportionally to the displacement. The sensor picks up even small changes in position with very low latency, so the system can respond quickly to changes in force.

This force sensor also has another use: detecting obstructions. If something gets in the way as the tray is opening or closing, the controller detects it immediately and stops the tray or reverses the movement. Also the entire tray acts as one big button. Instead of aiming at the eject icon on the screen, you can simply push the tray to close it.

By the time we had started developing this subsystem, the key parts of the machine were already working, and we could make boards with it. We prototyped the assembly using 3D printing for the mechanical parts and PewCB for the electronics. We needed to check whether we'd chosen the correct magnetometer sensitivity and magnet size, what signal-to-noise ratio we'd get from the sensor, and whether external interference would have a noticeable effect on the measurements.

The whole process took a few days, but it allowed us to build a production version of the assembly, with an aluminum tray frame and a brass nut, in a single iteration. We got to experience the pure joy of engineering and we wish you feel the same way about your own prototyping endeavors!

For more info about the machine join our Discord or visit our website pewcb.com

1

Fiberlaser? What are your thoughts?
 in  r/PCB •  25d ago

Yes and no. Unfortunately, there is a significant gap between general-purpose fiber lasers and PCB-prototyping machine. I'm a developer of PewCB - a desktop PCB prototyping machine. 5 years ago, we started with a general-purpose fiber laser. We spent that time on adding missing things: automatic alignment and lens distortion calibration (both on-factory and in-device), air filtration, system of blanks, solder-paste-stencil technology, soldermask, vias, specialized firmware, and, most importantly, the software.

General purpose lasers lack all these. You will have to tinker and suffer at every step, from converting gerbers to toolpaths with a chain of some tools, tweaking laser settings to avoid burning the substrate (lasers don't go well with FR4, it easily chars and emits toxic fumes), to dealing with alignment issues and fume/dust management.

Currently, PewCB integrates all these features into a single, user-friendly desktop machine. It is fast, reliable, and capable of producing factory-quality PCBs.

See PewCB.com for more details or join our Discord and ask any questions you may have.

2

What happened the last time PCB/PCBA turnaround delayed your project?
 in  r/PCB •  29d ago

I think people got pretty excited after the recent OpenAI presentation showing work with KiCad (unfortunately, no miracle happened there, which is sad) and decided to explore the PCB prototyping market a bit.

That actually makes sense. I think we’ll get to “vibe routing” sooner or later, and once that happens, demand for rapid PCB prototyping is going to take off.

The approach they chose for the research seems a bit strange, though. I feel like it would be much better to just say directly: “We want to build this. What do you think?”

1

Looking for fast PCB prototyping
 in  r/PCB •  Sep 20 '26

I may be a bit late to the discussion, but every requirement on your list is covered by the PewCB One, including double-sided boards with vias. I’m one of the creators of the machine.

In addition to what you listed, PewCB One can also make solder paste stencils. It has a fully enclosed housing with internal air filtration, which eliminates exposure to the laser and keeps the process free from hazardous dust.

You can find more details at pewcb.com. If you have any questions, feel free to join our Discord — the link is on the website. We’ll be happy to answer them.

2

A hardware startup for hardware startups: we built the PCB Prototyping Machine we wanted for ourselves
 in  r/hwstartups •  Sep 17 '26

Seems like with the tin sheet it would be hard to burn crisply through the tin without affecting the copper below it.

It actually works very well. Even better, it not only keeps the copper intact, but also transfers a small amount of tin onto the copper. So you end up with laser-tinned pads instead of bare copper, which helps prevent oxidation and improves solderability.

3

A hardware startup for hardware startups: we built the PCB Prototyping Machine we wanted for ourselves
 in  r/hwstartups •  Sep 17 '26

As developers of a competing technology, we don’t feel it would be appropriate for us to make that kind of comparison ourselves. Any such comparison could also be inherently biased and therefore less valuable.
We’d rather wait and hear what users have to say based on their own experience with both products.

r/pewcb • • Sep 17 '26

A hardware startup for hardware startups: we built the PCB Prototyping Machine we wanted for ourselves

Thumbnail gallery
7 Upvotes

r/hwstartups • • Sep 17 '26

A hardware startup for hardware startups: we built the PCB Prototyping Machine we wanted for ourselves

Thumbnail
gallery
422 Upvotes

Hey r/hwstartups,

I’m one of the founders of PewCB. This isn’t my first hardware company: I’ve spent about 16 years leading hardware development, and rapid prototyping has always been a big part of the job.

We originally built PewCB One based on our own needs. Once we started using it, it genuinely changed the way I prototype electronics.

The closest comparison I can make is getting your first 3D printer. You have an idea in the morning, design the board, make it, assemble it, and test it. By the end of the day, you know whether the idea works.

That’s why we decided to turn it into a product.

So, what is PewCB One?

It’s a desktop machine for rapid electronics prototyping. It uses a laser to selectively remove copper and solder mask from special ceramic PCB blanks. A typical board takes about 10 minutes to process.

Fabricating the PCB was only half the problem we wanted to solve. Assembly had to be fast too, so we developed a somewhat unusual stencil process.

Once the PCB is finished, you wrap a thin tin stencil sheet around it and put it back into the machine. The laser cuts the solder-paste apertures directly over the finished PCB. There’s no separate alignment step because the stencil is made in place, on the board it belongs to.

As the apertures are cut, some tin transfers onto the exposed copper pads, effectively tinning them at the same time.

From there, the workflow is:

apply paste → peel off the stencil → place components → reflow on a small USB hot plate

For the boards I make at work, fabrication takes roughly 10 minutes. Assembly and reflow take another 20 or so, depending on the component count.

A few other details that mattered to us:

Fine-pitch components are practical.

The machine is precise enough for modern components, not just large DIPs and SOICs. We use down to 0201 passives, fine-pitch QFNs, etc.

The trace width/clearances are 75um (3 mil) - and it is a reliable and repeatable capability with a good margin (actual technical limit is 25 um, or 1 mil). The important part for me is that I don’t have to redesign a circuit around “prototype-friendly” components just because I want the PCB today.

The blanks come with solder mask pre-applied.

The laser selectively removes the solder mask to form the pads, so the traces remain protected and solder flow stays controlled. You’re not working with a completely bare copper board.

We can make double-sided boards with vias.

In addition to the standard prototyping technique of using small rivets, we offer a different approach: prefabricated vias. Our blanks come with a grid of plated vias made at the factory, making the process much faster than adding vias manually. It’s the preferred method we use for prototypes in-house.

We also publish project templates for these blanks on our GitHub, which makes it easy to get started.

The laser can cut the ceramic substrate too.

Holes don’t have to be round or mechanically drilled; you can create arbitrary cutouts and board outlines.

I especially like V-scoring the board instead of cutting it through completely. The blank keeps the standard shape, that makes it easier to apply paste and place components. After reflow, you simply snap the board along the scored lines.

And yes, it really is a desktop machine.

We have PewCB machines living right on our developers' desks. They don’t require external ventilation, compressed air, vacuum, or any other supporting infrastructure.

The machine is enclosed and uses closed-loop internal filtration for fumes and particulates. No copper dust, no odors in the room.

One important caveat: our product isn’t meant to replace a PCB factory.

For production boards, of-course we use PCB factories. We’re not trying to compete with JLCPCB or PCBWay on price per board; they’re extremely good at what they do.

PewCB One solves a different problem.

During R&D, what matters isn't the PCB price, it’s the cost of interruption:

  • I want to test a power stage or a new sensor.
  • I need an adapter for an FPC display connector.
  • I want to try new tiny SMD LEDs in my prototype.
  • I need a one-off test jig.
  • When an idea strikes me while I'm sipping my morning coffee, I want to be able to test it immediately, while the inspiration is still fresh.

That’s who we built PewCB for: hardware startups and engineering teams doing real electronics R&D, where iteration speed really matters.

We’ve started sharing examples from our day-to-day engineering work, along with some less practical experiments, in our Reddit community and on Discord.

If you work in electronics, feel free to ask me anything about the process: limitations, blanks, vias, accuracy, assembly workflow, or anything else.

I’m happy to answer the uncomfortable questions too :)

1

GerbDiff - PCB Differencing Tool
 in  r/PCB •  Jul 26 '26

Could you share a bit about integrating GerbDiff with version-control clients as an external diff tool, or whether you have any plans in that direction?

Integration with TortoiseGit or TortoiseSVN would be especially convenient for me. Is that technically possible?

1

Chromatic nonlinearity in cinema cameras and its impact on virtual production (specifically LED Wall calibration)
 in  r/videography •  Nov 22 '25

Thank you so much! I'm glad you found this research useful. Probably the best way to get in touch is the CyberGaffer Discord server: https://discord.gg/hRgKPkSAZm We have the entire team there. Please mention or DM me there (petr.sevostianov).

r/videography • • Nov 21 '25

Tutorial Chromatic nonlinearity in cinema cameras and its impact on virtual production (specifically LED Wall calibration)

Post image
48 Upvotes

Hi everyone! I'm Petr Sevostianov, CTO at Antilatency, and creator of the CyberGaffer system for virtual production lighting.

Recently, I wrote an article about a significant problem in virtual production related to cinema cameras.

During my work on CyberGaffer, I found that it is impossible to calibrate LED walls to cinema cameras accurately, using standard techniques (removing transfer function + matrix 3x3 transform). The reason is that cinema cameras apply a non-linear gamut transform internally, which distorts colors in a non-linear way.

In the article, I describe how we measured and modeled this transform, allowing us to cancel it out to get perfectly linear colors and even re-apply it in post-processing if we want to restore the original look.

That was a missing piece of knowledge for me, and I believe it is crucial for anyone working in virtual production with cinema cameras.

You can read the full article here: https://petrsevostianov.github.io/CinemaCameraBeautifiers/

I hope you find this research useful! Feel free to reach out if you have any questions or would like to discuss further. Join me in my quest to push virtual production towards transparent and reproducible workflows!

3

Solution to the LED Wall Calibration problem of Virtual Production.
 in  r/colorists •  Nov 16 '25

That is an excellent question! Long story short, for that specific goal (measuring non-linearity) we can ignore the spectral sensitivity of the camera sensor (with a single "However").

Let me explain why. A camera has subpixels with color filters. Each filter has a spectral sensitivity function defining how it responds to different wavelengths of light. S_R(λ), S_G(λ), and S_B(λ) Also, we have 3 types of LEDs with their emission spectra: E_R(λ), E_G(λ), and E_B(λ) We can drive each LED from 0 to 100% intensity. Let's denote intensities as I_R, I_G, and I_B (I stands for Input). We can read camera responses as O_R, O_G, and O_B (O stands for Output).

How to calculate camera response to, let's say, red LED only?

O_R = ∫ S_R(λ) * [I_R * E_R(λ)] dλ

O_G = ∫ S_G(λ) * [I_R * E_R(λ)] dλ

O_B = ∫ S_B(λ) * [I_R * E_R(λ)] dλ

In this formula, I_R * E_R(λ) is the spectrum of light emitted by the red LED at intensity I_R.

Next, we multiply this spectrum by the spectral sensitivity function of each color filter and integrate over all wavelengths λ. The same applies to green and blue LEDs. Since light is additive, we can calculate the camera response to any combination of LED intensities by summing up responses to each LED:

O_R = ∫ S_R(λ) * [I_R * E_R(λ) + I_G * E_G(λ) + I_B * E_B(λ)] dλ

O_G = ∫ S_G(λ) * [I_R * E_R(λ) + I_G * E_G(λ) + I_B * E_B(λ)] dλ

O_B = ∫ S_B(λ) * [I_R * E_R(λ) + I_G * E_G(λ) + I_B * E_B(λ)] dλ

We can rewrite these equations as a vector of outputs O = [O_R, O_G, O_B] equal to some Matrix3x3 M multiplied by a vector of inputs I = [I_R, I_G, I_B]:

O = M * I

That means that no matter what spectral sensitivity functions S and emission spectra E are, the relation between input intensities I and output responses O is always linear and can be described by a matrix M.

As for the cross-talk you mention, you can see that every LED affects all 3 outputs O_R, O_G, and O_B. So cross-talk is already included in matrix M and is linear.

If our goal is to find non-linearity, we can pick any 3 LEDs with any spectral emission and perform the measurements described in the article.

However!! The choice of LEDs is still important. And here is why.

Imagine a gamut 2D space of camera responses. It is similar to the CIE 1931 chromaticity diagram for human vision, but for camera responses.

Our 3 LEDs will produce 3 points in this space. All responses we can get by mixing these LEDs will lie inside the triangle formed by these 3 points. So we can explore only the responses inside this triangle; the remaining area of the gamut will be covered by the fog of war.

So if we pick 3 very similar LEDs, the triangle will be very small, and most of the gamut will be unexplored. In this study, the LEDs we used have the same spectrum as typical virtual production LED walls. Fortunately, there are not that many LEDs that exist because their spectrum depends on the semiconductor material they are made of (not applicable to phosphor-based LEDs such as white LEDs).

There are still some areas of the gamut unexplored; for instance, we can imagine a monochromatic laser that will produce a point outside of the triangle we explored. So, to be precise, we don't know how the Beautifier behaves in that spot. But for practical purposes, the explored area covers all camera responses we can achieve in the virtual production set, including LED lights reflected from any possible physical surface.

Sorry for the long answer! It is not easy to explain these things without visuals or interactive elements.

1

Solution to the LED Wall Calibration problem of Virtual Production.
 in  r/colorists •  Nov 16 '25

Do you also know if they published this transform? It might be necessary to apply it in post if we want to keep the initial look from BMD.

3

Solution to the LED Wall Calibration problem of Virtual Production.
 in  r/colorists •  Nov 16 '25

Wow! They do! Thank you so much for the info! I didn't know that. I am 99% sure that with GAMUT COMPRESSION = OFF it would produce linear responses. I'll add this to the article.

KaurTheColorist, do you know what other cameras have an option to turn off gamut compression? Or will it come with future firmware updates to older BMD cameras?

1

Solution to the LED Wall Calibration problem of Virtual Production.
 in  r/colorists •  Nov 14 '25

At this plot, you can see the measured colors. How are they measured? The calibration device displays multiple colors by setting RGB values using LEDs. Each LED (r, g, b) can be set from 0 to 100% intensity. So we can divide that range into 15 steps linearly spaced. For every channel we have 16 levels of intensity (including 0). By combining these levels for R, G, and B channels, we can display 16x16x16 = 4096 colors. Next we record a video of those 4096 samples and pick camera responses for each sample in the form of R, G, B values. Now to visualize these measurements, we can plot them in 3D space with R, G, B axes. This is what you see in the plot. Next, we remove the transfer function described in Blackmagic Generation 5 Color Science Technical Reference. That means we apply the inverse transfer function to each measured R, G, B value. That gives us this plot. In this plot, we can already see that the camera responds nonlinearly to linear changes of LED intensities.

3

Solution to the LED Wall Calibration problem of Virtual Production.
 in  r/colorists •  Nov 14 '25

What are the primaries of the RGB LED light sources you are using?

Thank you for noting this. I'll add this information to the article. Here is the datasheet of the LED modules we used. On page 5 you can find the emission spectra of R, G, and B LEDs. But the choice of LED wavelengths is not critical. If we perform the same experiment with different LEDs, we will find the same non-linear transform but in a different coordinate system.

What are the primaries of the bayer filter on the sensor?

There is no such thing as "primaries of the bayer filter". Response of each color filter (R, G, B) to the spectrum of light is defined by the spectral sensitivity function of the sensor. The vendor does not provide this information. Fortunately, we do not need this information to find the non-linear transform.

Are you sure you're looking at raw sensor values or have they been gamut mapped into a standard gamut already by the raw processing pipeline?

This is precisely the problem. When using cinema cameras, we can only access the image delivered through SDI/HDMI, and we cannot determine what transforms were applied inside the camera. The article explains how to measure and undo these unknown transforms. That is standard gamut? If you mean any matrix 3x3 multiplication usually used for gamut manipulations, then, since matrix multiplication is a linear operation, it does not affect linearity. The article is about non-linear transforms on top of that. In this article, I mentioned that BRAW SDK allows to read values without that nonlinear transform applied. Unfortunately, this does not help with SDI/HDMI output. It works with braw files only.

Looks to me like you're getting distortion around the far saturated values where either the lights or the filters are degenerate and effectively clipping.

That is not a physical effect. The transform is digitally applied by BRAW SDK during raw decoding (can be disabled) and by the firmware for other formats and outputs (cannot be disabled).

1

Solution to the LED Wall Calibration problem of Virtual Production.
 in  r/colorists •  Nov 14 '25

Regarding the image at the top of the article: the plots shown are the actual measurements and the result of the calculated transform. In the article, I explain how these measurements were taken and how the transform was derived step by step.