Author Topic: Castellated edges to make two boards in one?  (Read 1011 times)

0 Members and 1 Guest are viewing this topic.

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Castellated edges to make two boards in one?
« on: March 21, 2024, 10:15:16 pm »
I'm playing around with the idea of using castellated edges to make two PCBs in one design (at least, for a very simple small design), and I was wondering if this would be the right way to go about it? The idea behind this was to make an all-in-one design for a really simple schematic rather than having two separate designs. This may not be the most elegant, but I wanted to see if the idea was feasible.

So in this schematic, I just have a simple IC with 4 connections. The idea is that on one PCB, there's a sensor with traces going to a pin header. The header connects to another PCB, which holds a connector that goes off-board. It's really straightforward, and I hope the 3D render with parts helps illustrate the idea.

To make this castellated board idea, I used holes to form the line where the PCB will be split in two. You can see that there in the image as J5. They look like copper holes, but they're non-plated through holes in KiCAD. There shouldn't be any copper associated with them despite the solder mask around them. Also, I had to play around with the net names a bit so that they'll connect through the header but they don't require traces to each other. Finally, the copper pours on the board are not tied to any net. That way, there shouldn't be any issues when the PCB is split.

What do you all think about this approach? Is it a good idea? Seems like a great idea in practice, especially since I'm not dependent on traces at the point where the boards separate. I just felt that having separate PCBs for something so simple was tedious. That way, I don't have to purchase them separately and have all boards together at once.
 

Offline Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1327
  • Country: ca
Re: Castellated edges to make two boards in one?
« Reply #1 on: March 21, 2024, 10:52:57 pm »
PCB houses like JLCPCB will probably treat those as two designs and charge you accordingly. Normally, the way you'd do this is by palletizing the PCBs. (Kind of what you're doing with the J5 connector anyway)

EDIT: Another way is to make a bunch of identical boards. But then you only populate certain parts to make one type and populate different parts for the other.
« Last Edit: March 21, 2024, 11:55:52 pm by Kim Christensen »
 

Offline JustMeHere

  • Frequent Contributor
  • **
  • Posts: 744
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #2 on: March 21, 2024, 11:12:47 pm »
Just cut the board in half with a hack saw.
 


Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Castellated edges to make two boards in one?
« Reply #4 on: March 21, 2024, 11:45:19 pm »
Silly idea.
Just make  a couple of slots in the board outline. Does the same thing.
 

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #5 on: March 22, 2024, 01:29:08 pm »
That would be one required step, yes.
 

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #6 on: March 22, 2024, 01:32:03 pm »
Thanks. I didn't think of that concern. My fab house would be OshPark, and they seem to support such practices (with a little work).

Creating modular sensors would be very handy, but you would have to imagine the use cases and sensors to interface, make sure they all work.
 

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #7 on: March 22, 2024, 01:34:44 pm »
Thanks for the clarification. What would be the correct definition then? I just recalled seeing this practice on OshPark's pages and thought it could be of use here.

Still, everyone here really loves JLCPCB. Running it through OshPark, they seem to charge it as one big design with the board being as wide as J5. Since it's going off the board, I'm paying for empty space. There has to be a better way to do it.
 

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #8 on: March 22, 2024, 01:37:00 pm »
Thanks. That's an interesting idea. I'm a bit unfamiliar with slots though. From what it seems, they look just like long, oval-shaped non-plated through-holes. Essentially, you just throw one of them onto your board to have a space between my two "boards" (in my case, replacing J5)?
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6389
  • Country: ca
  • Non-expert
Re: Castellated edges to make two boards in one?
« Reply #9 on: March 23, 2024, 01:04:33 am »
Thanks for the clarification. What would be the correct definition then? I just recalled seeing this practice on OshPark's pages and thought it could be of use here.

Still, everyone here really loves JLCPCB. Running it through OshPark, they seem to charge it as one big design with the board being as wide as J5. Since it's going off the board, I'm paying for empty space. There has to be a better way to do it.

Please use the Quote button.
If you are using Oshpark then its all good and you can do designs like this. Your design is fine, but will result in a few more rough edges and splinters.

To do a proper edge route + tab you'd have to move the boards apart a little, usually its ~2mm based on the cutter diameter. Might be info on their site: https://docs.oshpark.com/troubleshooting/panelized-designs/
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: LoveLaika

Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Castellated edges to make two boards in one?
« Reply #10 on: March 23, 2024, 12:19:18 pm »
Thanks. That's an interesting idea. I'm a bit unfamiliar with slots though. From what it seems, they look just like long, oval-shaped non-plated through-holes. Essentially, you just throw one of them onto your board to have a space between my two "boards" (in my case, replacing J5)?

Not quite. Slots are part of the board outline in KiCAD. Don't make them with square corners, the manufacturers' router uses a rotating vertical tool to mill them. As an example: create a 2 mm slot with semi-circular ends. Easy to manufacture.
 
The following users thanked this post: LoveLaika

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #11 on: March 25, 2024, 03:42:03 pm »
Thanks. That's an interesting idea. I'm a bit unfamiliar with slots though. From what it seems, they look just like long, oval-shaped non-plated through-holes. Essentially, you just throw one of them onto your board to have a space between my two "boards" (in my case, replacing J5)?

Not quite. Slots are part of the board outline in KiCAD. Don't make them with square corners, the manufacturers' router uses a rotating vertical tool to mill them. As an example: create a 2 mm slot with semi-circular ends. Easy to manufacture.

Thanks. I found this video after digging around, showing how to make slots on the Edge Cuts layer. It will be interesting to see how to incorporate this within DRC. It certainly seems more flexible than what I was doing previously.

https://odysee.com/@voltlog:b/how-to-create-high-voltage-isolation:1
 

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #12 on: March 26, 2024, 04:05:15 pm »
Thanks. That's an interesting idea. I'm a bit unfamiliar with slots though. From what it seems, they look just like long, oval-shaped non-plated through-holes. Essentially, you just throw one of them onto your board to have a space between my two "boards" (in my case, replacing J5)?

Not quite. Slots are part of the board outline in KiCAD. Don't make them with square corners, the manufacturers' router uses a rotating vertical tool to mill them. As an example: create a 2 mm slot with semi-circular ends. Easy to manufacture.

Would something like this be what you were mentioning? As you can see, I used the Edge Cut Layer to make a slot with rounded edges. You can see the result in the 3D viewer. Would this be the correct way to make slots?
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Castellated edges to make two boards in one?
« Reply #13 on: March 26, 2024, 06:00:35 pm »
Yes, that's exactly what I mean and the correct way of making slots.
 
The following users thanked this post: LoveLaika

Offline Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1327
  • Country: ca
Re: Castellated edges to make two boards in one?
« Reply #14 on: March 26, 2024, 07:21:20 pm »
Oshpark probably has some minimum spec for how close to the edge of the PCB you can go with the slot. Otherwise, looks good:
 
The following users thanked this post: LoveLaika

Offline LoveLaikaTopic starter

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: Castellated edges to make two boards in one?
« Reply #15 on: March 26, 2024, 07:35:28 pm »
Oshpark probably has some minimum spec for how close to the edge of the PCB you can go with the slot. Otherwise, looks good:

Good point. Thanks for pointing that out. I'll keep that in mind when I decide to use a slot for real.
 

Online shapirus

  • Super Contributor
  • ***
  • Posts: 1368
  • Country: ua
Re: Castellated edges to make two boards in one?
« Reply #16 on: March 26, 2024, 07:45:23 pm »
BTW does Kicad have a way of making slots without having to draw the entire outline manually? Ideally, you'd draw a path corresponding to the horizontal route of the milling bit's axis, then specify the diameter of the bit, and it would generate the respective outline from that, with proper round edges and corners etc. Maybe there's some plugin for this?
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Castellated edges to make two boards in one?
« Reply #17 on: March 26, 2024, 11:17:20 pm »
does Kicad have a way of making slots without having to draw the entire outline manually?

Better place to ask: forum.kicad.info
 

Online shapirus

  • Super Contributor
  • ***
  • Posts: 1368
  • Country: ua
Re: Castellated edges to make two boards in one?
« Reply #18 on: March 26, 2024, 11:33:36 pm »
Better place to ask: forum.kicad.info
Yes very likely it's a better place to ask. But it looks like a piece of shit, UI-wise, unlike a proper forum engine which is comfortable to use, so I'm not gonna bother to even register there. If someone on EEVblog knows, then cool, they'll share info, if they want, otherwise no big deal.
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Castellated edges to make two boards in one?
« Reply #19 on: March 26, 2024, 11:47:11 pm »
But it looks like a piece of shit, UI-wise

Wow!   :palm:

Looks are more important than content... well, happy engineering.
« Last Edit: March 26, 2024, 11:49:10 pm by Benta »
 

Online shapirus

  • Super Contributor
  • ***
  • Posts: 1368
  • Country: ua
Re: Castellated edges to make two boards in one?
« Reply #20 on: March 27, 2024, 12:23:02 am »
But it looks like a piece of shit, UI-wise

Wow!   :palm:

Looks are more important than content... well, happy engineering.
Poor usability raises the justifiable threshold of the initial setup effort. This applies to everything, not just forums. The fact that whoever runs that forum chose to use some weird software looking like a 90's guestbook instead of a well-established industry-standard solution is also an indicator that it's probably better to stay away.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf