hominoids / SBC_Model_Framework

A framework for the generation of SBC and micro-controller models
GNU General Public License v3.0
100 stars 20 forks source link

Radxa Rock5B+ Support #18

Open hominoids opened 4 weeks ago

hominoids commented 4 weeks ago

There are significant layout differenced between the Rock5B and Rock5B+ so a new SBC model is needed. The known physical differences so far include:

  1. Mini-HDMI changed to full size HDMI and moved to right side.
  2. USB-C placed in old Mini-HDMI Input location at front.
  3. SDCard moved to right side below new HDMI input location.
  4. Original m.2 location moved and another m.2 socket added.

At a minimum measurements are needed for the HDMI input and SDCard location on the right side for an initial SBC model release.

f1vefour commented 4 weeks ago

Will the step file of the board work for measurements?

https://dl.radxa.com/rock5/5b+/docs/hw/radxa_rock5bp_v1.2_3d_stp.zip

hominoids commented 4 weeks ago

It might if it's accurate and I can convert it to a STL. I didn't know there was a STEP file available for the plus. I have had problems with both the STEP and DXF files from Radxa for other SBC. Some won't convert correctly and the NIO12L STEP file was not accurate and had the wrong PCB thickness, skewed hole locations and other component issues. In the end I had to revert to hand measurements to get an accurate model. I'll take a look at the STEP file and see if it's workable.

f1vefour commented 4 weeks ago

I can certainly understand that. When I converted the file I have to OBJ using Freecad and Prusaslicer the type C power jack is missing, probably other issues also but that was a glaring one. It was also missing in both applications and I don't have access to fusion 360 since I'm Linux only.

I believe this is a new step file versus the one I have, I'll take a look at it this evening. When I compared it to a case option available for the 5B key components and holes were lining up.

If not I can try to provide any needed measurements, I will also be printing a case to verify.

hominoids commented 4 weeks ago

The STEP file had some issues but was usable enough for the most part. I was able to use it to place the HDMI-A input, SDCard, M.2 connectors and studs. The USB-C ports were missing in the STEP model but I already have one located correctly from the rock5b model and left the other in the old Micro-HDMI port location as a start. I created a test case called rock5b+_shell that uses 3mm inserts and fasteners in a top down configuration that you can try. I expect some further tweaking will still be needed.

FYI, because of the large overhang of the vertical HDMI ports and the angle needed for assembly, I find it easier to insert the SBC into the top first and then put the bottom on. Also, don't forget to update the submodule SBC_Model_Framework, otherwise SBC Case Builder will throw errors when you select the test case. If some adjustments are needed, straight on pictures of the problem area work best.

f1vefour commented 4 weeks ago

I printed a case but it wasn't the shell case and I couldn't get the board in the case. I'm now printing the rock5b+_shell case and will see how it goes. The print had a lot of stringing and just looks awful, likely due to the fact the filament is old and needs a bit of drying. Regardless I don't trust the dimensional accuracy due to the print issues so it's of no use, I will update when the new print finishes.

I appreciate you adding the board so quickly and I'm trying to reciprocate by verifying, I got overly anxious looking at the various options and forgot to go back to the correct variant when exporting.

hominoids commented 4 weeks ago

This SBC can be tricky to assemble for some designs because of the component overhang. Increasing the gap usually can solve the problem. It seems more of the Chinese OEMs are doing that recently so I added a comment in the README.md file under Notes, Tips and Things to Check to make people aware so they consider that situation.

I appreciate your effort to produce a test print immediately but take your time, it's a no pressure situation and I'm in no hurry. I have plenty of other things that can keep me busy in the mean time.

f1vefour commented 4 weeks ago

Yeah I don't understand the mentality with the overhang, it's not an issue on something which has all connections on one side but with something like this Rock 5B/B+ it doesn't make sense.

When you say increasing the gap what do you mean? One of the parametric options?

hominoids commented 4 weeks ago

Yes, there is a gap adjustment under the 3D Case Adjustment Tab called gap. It adjusts the amount of space between the PCB and the sidewall of the case. If the gap is greater then any component overhang then the SBC will drop straight in vertically. If the gap is less on any side then the overhang then that component will extend into the sidewall and maybe thru it and have to be assembled by angling in the side that extends into the sidewall. If there are also components with large overhangs on the opposing side then that would require a larger gap to accommodate the overhang of both sides. So depending on component location and their overhang amounts, the gap needed will vary. This becomes especially apparent for the fitted and snap top case designs because the height of the bottom exaggerates the problem.

f1vefour commented 4 weeks ago

Thank you for the information, definitely will need to adjust that for the first case I printed.

Everything looks to fit correctly except the side HDMI, it's a little off.

Printing the bottom now.

PXL_20240818_225720133 PXL_20240818_225705767~2 PXL_20240818_225634624

I need to switch this 0.6 nozzle out for 0.4, not printing those small vents too neatly but it's still perfectly serviceable.

hominoids commented 4 weeks ago

That looks good overall. The STEP model must not be accurate then because the HDMI input is perfectly aligned with what the STEP model shows. I'll wait until you have the two halves together to get a more accurate reading on how much to move the HDMI input. If it stays where it is currently after assembly then it looks like maybe .25-.5mm might work to center it, but it's hard to judge the scale from a photo so please provide your thoughts.

f1vefour commented 4 weeks ago

Will do, my power is currently out from a storm so I will update later this evening or tomorrow.

f1vefour commented 3 weeks ago

I've got to reprint the whole case, I don't know if it's something I did or if the case is actually this way but the bottom is smaller than the top.

Everything lines up it's just the walls are about 2mm smaller all the way around, very strange.

hominoids commented 3 weeks ago

I was looking at the model today and it looks like the HDMI-A placement was out of alignment with the OEM STEP model. I made a .25mm adjustment which I believe should correct the alignment Issue. You'll need to update SBCMF and SBCCB again to get the correction but let me know how your print turns out when you get to it.

f1vefour commented 3 weeks ago

Will do, I plan on reprinting the case tonight.

Have you had time to unbox and play with the M2 yet? All I've done is had a quick look but haven't had time to boot it and give it a go.

hominoids commented 3 weeks ago

I have unboxed it and spent sometime getting the HK STEP file converted to use for a SBCMF model. I have been working on a significant Timber Framing construction project all this summer which is taking most my time. It is a carry over from last summer which is when I started on it. I'm hoping to get a rain/rest day this weekend to spend more time with the M2.

f1vefour commented 3 weeks ago

It's amazing how much time a project like this can take when doing it yourself. My brother's and I just finished remodeling my mother's entire home and it took over two years, just pulled all her extremely heavy oak furniture out of storage yesterday. While I enjoyed spending time with my brothers I'm so thankful it's done.

Best of luck with your endeavor, here's to a rainy day.

f1vefour commented 2 weeks ago

Something is off, if you change the fan slot on the shell case to be just an open square the top and bottom won't be the same size.

I've tried printing this three times and something has been wrong each time.

I'm going to give it one more shot and print the plater STL as it's exported instead of splitting the STLs in Prusaslicer and printing the top and bottom separately. Maybe this is a bug in Prusaslicer and not an issue with your project at all.

hominoids commented 2 weeks ago

Hmmm, I can't think of anything that could cause that and it seems to be ok here for me. Try this, open the saved design rock5b+_shell and change the fan opening as needed. Instead of splitting the Platter View just generate each half separately by selecting the Tab View->view->part, use _individualpart to select the part you want, render(F6) and then export STL (F7) for the top and then the bottom and print those STL. I think most likely there is a problem being injected thru the splitting process for some reason.

f1vefour commented 2 weeks ago

Okay I'll try that, thanks.

f1vefour commented 1 week ago

I've not had a chance to print the case again, the only roll of filament I have (not in storage) is old and began snapping constantly towards the last 15% of the spool.

Still on the to-do list.

There is a new step file which has been corrected and has the components which were missing, I'm attaching it and a STL I converted from it if you want to take a look.

radxa_rock5bp_v1.2_3d_stp_stl.zip

hominoids commented 1 week ago

Thanks for the info. I took a look at the new STEP file and adjusted the USB-C port so pull the latest SBCCB and update SBCMF again before you get to doing the test print. With a little luck you will be set to go.