Ribbit-Network / ribbit-network-frog-hardware

The sensor for the world's largest crowdsourced network of open-source, low-cost, GHG Gas Detection Sensors.
https://www.ribbitnetwork.org/
MIT License
94 stars 26 forks source link

Design Better Sensor Bracket #16

Closed keenanjohnson closed 3 years ago

keenanjohnson commented 3 years ago

The current sensor bracket is only half of what's needed. It's approximately the correct size and the clip on the top works well, but there are not attachment points for the physical hardware.

Current Hardware .stl file Current Hardware OnShape Design

image image

keenanjohnson commented 3 years ago

I think the easiest thing would be to create some holes in the bracket and then attach the boards with some brass standoffs like this: image

eaudiffred commented 3 years ago

Looking for help on this one still?

I like the standoff idea. What are the board dimensions? I can add the holes in the bracket.

Are you set on the current layout? Depending on the hole dimensions, you can also stack the boards using these same brass spacers. I guess overall space in the housing would come into play then too.

The small square board and the sensor look kind of tricky to mount. I'd have to think about that.

This STL file just has holes for 2.5mm threaded standoffs.
image image image

Sensor Clip v1.zip

keenanjohnson commented 3 years ago

Yeah, possibly there is just a better design for this bracket altogether :). I can get you some dimensions shortly!

Thanks for helping!

keenanjohnson commented 3 years ago

Here are some dimensions. I believe all the boards have holes for M2.5 bolts.

eaudiffred commented 3 years ago

Here is an updated draft based on the dimensions.

Let me know what you think.

image image image image image

keenanjohnson commented 3 years ago

Wow @eaudiffred this is incredible! Thanks! Great idea for the clip! Do you have an stl file or a link to the cad source so I can try to print a test version?

keenanjohnson commented 3 years ago

And yes there is a carrier board for the scd30 sensor that I should have linked to instead of the sensor board. Here are the dimensions for that :)

72F6B381-B653-4FE4-A7BA-5CEA312D9972

https://cdn-learn.adafruit.com/downloads/pdf/adafruit-scd30.pdf?timestamp=1628525130

eaudiffred commented 3 years ago

Do you have a measurement for the GPS attachment? I guessed at that dimension too. I'll update those and get you a file.

keenanjohnson commented 3 years ago

The GPS antennae (Tan block in the picture) has these dimensions:

L: 15 mm W: 15 mm H: 6 mm

You rock!

eaudiffred commented 3 years ago

Glad you like it!

The dimensions are exact right now, so after we see how the first print comes out I can adjust tolerances as needed.

I'm a little worried about the attachment clip being too small to get a good print, or not quite flexible enough to snap into place, but I guess we will see what happens.

image image Sensor Clip.zip

Let me know if that zip attachment opens. I couldn't get the STL file to attach on here.

keenanjohnson commented 3 years ago

The stl file opened just fine for me! Starting a test print now. I had to split the file into two parts that I'll glue together because I have a tiny printer for now. A bigger printer is coming later this week luckily.

Thanks again for all your help Eric! What cad tool are you using?

https://user-images.githubusercontent.com/2559382/128767674-1a27d177-6c4f-403e-b898-7f4aa5d9e9df.MOV

eaudiffred commented 3 years ago

Nice! What's the bed size on the new one you have coming?

Right now I'm using Fusion 360 (you can get a free trial for one year). I prefer SolidWorks, but it's pricy.

This project is really a cool idea, and I love doing CAD design, so I'm happy to help!

keenanjohnson commented 3 years ago

I got an Ender-3 V2 3D Printer which can print 220 x 220 x 250mm. :)

keenanjohnson commented 3 years ago

Excellent news! I printed the first bracket and glued the two pieces together for a test assembly this morning! Overall this is excellent! The brass inserts I had worked perfectly in the holes provided and all the holes lined up correctly! Great work!

Brass Inserts

IMG_9204

Finished Assembly

IMG_9212

Issues Encountered

I just ran into a few snags while putting it together that I think can be easily fixed :)

eaudiffred commented 3 years ago

Great feedback.

What do you think about this modified layout? More cable conscious.

Also shrink the body width by 5mm.

image

keenanjohnson commented 3 years ago

I like it!

eaudiffred commented 3 years ago

Here are the new files.
The thickness is now 5mm. I adjusted the dimensions of the clip too. I think it will work without scaling.

Sensor Clip v24.zip

keenanjohnson commented 3 years ago

You are the best! I'll start this printing now and report back when it's done!

On Tue, Aug 10, 2021 at 3:47 PM Eric Audiffred @.***> wrote:

Here are the new files. The thickness is now 5mm. I adjusted the dimensions of the clip too. I think it will work without scaling.

Sensor Clip v24.zip https://github.com/Ribbit-Network/ribbit-network-frog-sensor/files/6964865/Sensor.Clip.v24.zip

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Ribbit-Network/ribbit-network-frog-sensor/issues/16#issuecomment-896361337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATQ3FXOVJCZYIAHLYYIZILT4GUAPANCNFSM5BNWBIDQ .

keenanjohnson commented 3 years ago

@eaudiffred great news! In the past few days, I've successfully set up the new printer and I've successfully printed a few of the brackets above. Great work!

However, I've run into a supply chain issue where I could actually procure more than just a few of the Raspberry Pi Zero we were using in the design above. Given that, I made the decision to switch to a different board and I've updated the BOM accordingly here

Unfortunately, that board is quite a bit bigger and the bracket needed to be redesigned. I was impatient and you're doing more interesting work on the enclosure itself, so I went ahead and did the modeling.

I used OnShape, since it's free for public files and therefore lends itself well to Open Source like this, though maybe it's not really the best long term CAD tool. The OnShape design is here for everyone to check out.

I made a few other changes to our design and I feel good about this. I'm going to assemble one tomorrow and then close out this task if there aren't any issues found. Check out the CAD images below

Changes:

Front

image

Back

image

Side Profile

image

eaudiffred commented 3 years ago

Glad you got the printer up and running! The changes look great, everything fits on there nicely. Great idea modeling the electrical components too! Post some pictures when you have it printed and assembled.

I'll check out OnShape.

keenanjohnson commented 3 years ago

Awesome! I built one today after a few revisions yesterday and I'll post pictures shortly.

Let me know what you think about OnShape. You're more of the expert on which tool is correct than me, I just know the basics of OnShape and I like that it's free to use for OpenSource, but if it's the wrong tool for the job (vs Fusion 360 ) we can definitely switch :)

eaudiffred commented 3 years ago

I like On Shape. Its really nice for being free software. I've only made that housing so far, but its user friendly, intuitive, and has a multitude of functionality that I think a lot of the free stuff often lacks. I'm on board with using it. The file and navigation structure is great too once you get used to it.

keenanjohnson commented 3 years ago

This bracket came together super well! I might make a few minor adjustments for cable routing but then I'm going to call this done I think for this version.

image

image

eaudiffred commented 3 years ago

Looks great! Efficient use of space.

Is the GPS antennae glued into that hole/does the clip work? If it's not working I'll try to think of a different mounting method.

keenanjohnson commented 3 years ago

Haha oh yeah good reminder. I actually just stuck it in there temporarily while the clip was printing but I should pull it out of there and try the clip. Orienting it in that orientation is better for the GPS antennae reception, so in my current CAD, I changed the clip dimensions to still use the clip, but keep it in that axis. I'll report back if that works haha.

keenanjohnson commented 3 years ago

Here's the bracket with the clip installed. It seems to work well.

image

image

image

I noticed that if the gps antennae cable is touching the usb cable, the gps will fail to get a gps lock indicating that the usb cable is fairly RF noisy. I probably need to add some little feature to retain the cables apart from each other.

keenanjohnson commented 3 years ago

Ok I've made a few minor tweaks to this original bracket and I'm printing one to test now. The biggest change is I've also added some sidewalls to help protect the sensors from getting bumped against the interior ribs of the enclosure when you take it in and out. I also made some slight adjustments in placing of things to help with cable routing.

image

Onshape File

I released this as V1 of the bracket in OnShape.

eaudiffred commented 3 years ago

I like it. Have you had a chance to print it?

keenanjohnson commented 3 years ago

Indeed! I assembled the first one today and it looks great! image

image

keenanjohnson commented 3 years ago

This looks good to me, so I'm going to close this ticket out as complete for this version of the sensor.