rbaron / b-parasite

🌱💧 An open source DIY soil moisture sensor
1.85k stars 143 forks source link

How to order/Build #3

Open Flipez opened 3 years ago

Flipez commented 3 years ago

Hi and thanks for all the work!

I am interested in building some of them myself. Looks like I have to order pretty much everything myself. Could you give some hints/links on how to do that?

I've worked with a lot of sensors and smaller electronics in the past but never actually build/order my own pcbs. So I am a bit lost on that.

Thanks in advance!

drewzarn commented 3 years ago

Seconding this somewhat, even a screenshot of what options to pick in the JLCPCB order form would be huge! I zipped up the gerber files and uploaded them, but I don't know what all options to choose to end up with a usable board. Thanks!!

jaimevisser commented 3 years ago

Or even getting some prepackaged kits would be awesome. Soldering everything together is not a problem, but having to source all the hardware and pcb's is the hardest part here.

billypeanut commented 3 years ago

Maybe if there's a big interest, a Kickstarter or something could be set up to do a big batch build/order of certain parts and reduce costs.

jaimevisser commented 3 years ago

I think most people have multiple plants to monitor so even with a few people you'd get a considerable amount of parts that can be bought in batch.

spuiuk commented 3 years ago

I am keen on obtaining some of these devices for my plants as well.

rbaron commented 3 years ago

I'm super happy to see everybody's interest here and thanks for the kind words! I am thinking about putting together a wiki in this repo with:

I'll ping this thread once it's up.

I agree with @jaimevisser. Sourcing the parts is not trivial - specially during this crazy chip shortage. In the 3 batches I've ordered so far, I had to source the nRF52 module from aliexpress at a higher price, as JLCPCB ran out. The battery clip also has to be sourced separately, since it's mounted on the underside of the board.

Dza-byte commented 3 years ago

I too am very interested in this! Commenting so I can get the ping when the wiki goes up. No experience with putting boards together myself

MrEinstin commented 3 years ago

I'm wanting about a dozen or so of these myself. I was also looking at the files and saw the gerber files but I didn't see the schematic? Perhaps I'm overlooking it somewhere. I'd also like to see a USB port for easier programming. I'd also second a Kickstarter campaign as well.

rbaron commented 3 years ago

Hey everyone,

I took a first stab at documenting the ordering process in the How to order: PCB fabrication and SMT assembly wiki page. Let me know what you think! Please feel free to contribute too.

It mostly covers my experience with ordering from JLCPCB, but I'd love to hear other peoples' experiences with other fab houses.

rbaron commented 3 years ago

Hi @MrEinstin,

You can find the schematic in kicad/parasite.pdf.

As for adding a USB connector, I think it's a great idea and something that also crossed my mind, but I ended up not going for it. On one hand, the nRF52840 chip we use does offer a USB stack which we could use. For using that for programming, I believe we'd need a bootloader like Adafruit_nRF52_Bootloader. You'd still need a SWD programmer for burning it in first. It also adds a few hundred milliseconds to each run, chopping the battery life in ~half and/or requires a switch to toggle between boot modes, which adds a moving part to the board. I really wanted to keep things simple and as cheap as possible that we could deploy and leave it running for a long time, so I decided against it.

For development, I've been using one these pogo alligator clamps and I find it's super convenient to quickly hook it up and program/debug while testing.

drewzarn commented 3 years ago

@rbaron This is great, thank you! I just priced out 15 boards and it's just under $32 with assembly. JLCPCB is short of the SHTC3 as well at the moment.

rbaron commented 3 years ago

Awesome @drewzarn. Please keep us posted!

xlfe commented 3 years ago

These arrived from JLCPCB today

PXL_20210528_082228746

drewzarn commented 3 years ago

@xlfe Were you able to source the chips that JLCPCB was missing?

Senbei123 commented 3 years ago

Nice project!!!

xlfe commented 3 years ago

Only on back order for the temp sensor. AliExpress had heaps of the E73s

On Sat, 29 May 2021, 12:11 am Drew, @.***> wrote:

@xlfe https://github.com/xlfe Were you able to source the chips that JLCPCB was missing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rbaron/b-parasite/issues/3#issuecomment-850447430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI7RO3GTKT43ZY6LXJKV2TTP6QC3ANCNFSM45B4B24Q .

bit-bat commented 3 years ago

@rbaron Thank you for putting the wiki together! This will help me save 10s of hours. I have a request though - could you add the nRF chip as well in the BOM & placement files for JLCPCB?

This can save us some pesky SMT soldering when the chip is back in stock (and until then it doesn't hurt). I am planning to order around 30 of these (multiple pots and garden) and soldering that many SMT chips by hand is not fun.

rbaron commented 3 years ago

Thanks @bit-bat. I will update the nRF chip LCSC part in the design. I can't wait for this chip shortage to be over 😰

rbaron commented 3 years ago

Hi @bit-bat,

I updated the BOM and pick-and-place files with the E73 module in 753e5d832587b0f753ab5e64ed213f535deabbdf.

Since we can't order the SMT assembly with this part yet, we need to pay extra attention to the order when it does become available. This part requires special attention for SMT assembly because the footprint is not super standard. In practice, it's very likely JLCPCB engineers will take a look and fix the position and orientation of this component if there's an obvious error, or they might refuse the order if the footprint doesn't match. In that case, we'll probably need to find a way to use their specific footprint for it (sort of available here for EasyEDA - not sure if it's possible to download it for KiCad).

I will keep an eye on it and put an order for a trial batch once the E73 module is available. I'll report back here. If you're the first one putting an order with the E73 module, just pay extra attention and things should be good.

argupta23 commented 3 years ago

@rbaron Thanks for your efforts around pulling this all together and sharing it with the community. I am interested in ordering some as well. I do have a couple questions

  1. Does JLCPCB provide testing of the assembled product? Assuming they would need some of your firmware to do that
  2. Can the firmware you have listed here be shared with JLCPCB? Please advise.

@bit-bat While I understand the issue with chip shortages, based on the order you placed. can you please share some details around the total cost of each unit (complete with the pending parts cost)?

rbaron commented 3 years ago

Hi @argupta23,

I don't think JLCPCB offers such a service, but I may be wrong. I imagine big fabrication houses might do that for really big orders, but I don't have experience with that. For the orders I placed there, I soldered, programmed and tested the boards myself.

argupta23 commented 3 years ago

@rbaron Appreciate the feedback. given the shortages on SHTC3 and the NRF modules, I will anyway end up in the same situation. With regards to other discussions ongoing in different threads on possible alternatives, are you planning to make any changes to the current version of the PCB? If yes, can you share when will it be available and what would the updated parts list look like?

Please advise.

rbaron commented 3 years ago

@argupta23, I think a good plan is to update the slightly older and cheaper SHTC3 with some other Sensirion SHT*. I will update the design, do a trial batch and update the code accordingly.

For the nRF module, I am not so sure yet it's worth changing the design. Even though JLCPCB doesn't have it in stock, I've been getting them from aliexpress and I still see them listed for ~5-6 USD, which is okay given the circumstances. This wiki from nrfmicro lists some alternative modules, but I think they're all in a similar situation. I love the nRF52840, but it's a lot beefier than we need. Another possibility is to dial back and use something less powerful and cheaper, but that would incur considerable design and code change, and it's also not clear what the short term availability of that would be. We'd also lose the possibility of exploring ZigBee and on-chip USB for saving ~2 USD per board. At hobbyist's volumes, I don't think that pays off.

So, all that is to say that currently, on my mind, I think it's worth updating the SHTC3 and sourcing the nRF module separately.

argupta23 commented 3 years ago

@rbaron thanks for the feedback. I will go down the path of ordering the parts separately and put some builds together when I get them.

bit-bat commented 3 years ago

@bit-bat While I understand the issue with chip shortages, based on the order you placed. can you please share some details around the total cost of each unit (complete with the pending parts cost)?

Hi @argupta23. I did not place the order as I am waiting for the chips to be available. Soldering 50 SMTs with ~30 pads each is a lot of work that I am not ready to commit (yet). But I did walk through the steps and at the end the PCB (with most components) was under $1 / unit when placing order for 50 units. This price doesn't include 2 chips - SHTC3 and nRF

argupta23 commented 3 years ago

@rbaron Is there a way I can reachout to you directly? Thanks

Tirocinante01 commented 3 years ago

hello I'm sorry to bother I read the discussion and saw all the links and blueprints but I was wondering is there any way I could get a few b-parasite already built and soldered?

i sadly have no experience on doing this stuff and I dunno any closely company that could print/build these out for me im not looking for big numbers but just 3-4 for a project of mine I tried looking around but found no websites where to buy some

semperstew commented 2 years ago

Please forgive my ignorance if this has been discussed elsewhere. I'm trying to follow your instructions in the wiki for ordering the PCBs from JLCPCB. After uploading the zipped gerber files, I am unable to add the order to cart because the specification is missing "dimensions". I had thought those would be somewhere in the gerber files. Do you have a default set of dimensions that you would recommend?

image

rbaron commented 2 years ago

Hi @semperstew,

I believe this field has been automatically filled every time I put an order with them, just after the zip file has been uploaded.

Would you try again and let us know if that worked?

semperstew commented 2 years ago

@rbaron I created a fresh clone and tried again. Seemed to work much better this time. A lot more of the data was filled in on the JLCPCB order form. Sorry about the false alarm.

Thank you for your tremendous work on this project.

rbaron commented 2 years ago

No worries @semperstew. Glad to hear you got it working!

derwana commented 2 years ago

Regarding the SHTC3 shortage: i ordered myself some cheep sensormodules from AliExpress and desoldered the SHTC3. After preheating the little daughter board with a thick soldering tip the chips came of with no problem.

photo_2021-08-01_00-26-15

argupta23 commented 2 years ago

Can somebody please share instructions on how to program these boards? I do have a Jlink mini on order.

Appreciate the help

thanks

andreapx commented 2 years ago

is there any way I could get a few b-parasite already built and soldered?

I'm interested to to buy a fully built version of the b-parasite and maybe even of the w-parasite (I want to install some of these in my garden and a single BLE bridge will not work). Thanks!

rbaron commented 2 years ago

Hi everyone,

The current semiconductor shortage is making things a little difficult. I hope I can put together some boards soon.

Meanwhile, I added a new wiki page on How to Program the boards.

argupta23 commented 2 years ago

Should somebody put in an effort to pull together a small batch, I am curious to hear what price range do people think the assembled version of the b-parasite module should be in?

@Tirocinante01 @andreapx and what quantities are we talking about?

Thanks

andreapx commented 2 years ago

@Tirocinante01 @andreapx and what quantities are we talking about?

It actually depends from the price if it's simila to what @drewzarn said (about 2$/piece, but actually even 4$/piece), I'd buy 5/6 pieces, If it's more in the order of 10$/piece, I'd buy 1 or 2 pieces.

hubikj commented 2 years ago

I would buy 10 pieces if the price is reasonable.

rwmccoy commented 2 years ago

I would buy 10 pieces at any reasonable price.

argupta23 commented 2 years ago

@Tirocinante01 @andreapx and what quantities are we talking about?

It actually depends from the price if it's simila to what @drewzarn said (about 2$/piece, but actually even 4$/piece), I'd buy 5/6 pieces, If it's more in the order of 10$/piece, I'd buy 1 or 2 pieces.

@andreapx thanks for the feedback on price expectancy.

Given the chip shortage and current state of things, the raw material cost itself is around $13-15. Put in the additional efforts to assemble, flash, calibrate which is about 30-60min.

Having said that I don't think that anybody can match the prices you are looking at.

A sweet spot to make it commercially viable (beta versions) would be in the range of $23-25 + shipping. There could be some discount on purchase of 5+ units.

what @rbaron has IMO is a good start and can be extended down the line.

@hubikj @rwmccoy Does the price meet your expectancy? and would you still be looking at 10 pcs?

Thoughts and feedback are welcome.

hubikj commented 2 years ago

I think it is OK price for a fully assembled, flashed and calibrated units. I think I would still buy 10, definitely 5+.

rbaron commented 2 years ago

For context, @argupta23 reached out to me via email and I sent over these estimations, which he relayed here. We are by no means associated nor do I have any interest in pursuing any commercial partnership at this point.

I can provide some more insight into the economics of my last few orders and explain where these figures come from.

Let's take this batch of 30 b-parasites as an example.

JLCPCB costs

image

nRF52840 module

This module would cost around $8 if sourced at JLCPCB (+ smt setup fee), but they are unavailable. On AliExpress, you'd normally find them for around $6. For 30 boards, that would be $180

Battery clip

JLCPCB also does not assemble the battery clip on the bottom of the board, so we have to source it separately. They are cheap, but the shipping is significant.

Tax

I expect to be charged around $25 for orders this size.

Total cost

For 30 boards: $180 + $88.71 + $25 = $293.71 Per board: $293.71 / 30 = $9.80 ~ $10 / board

Manual work

We can easily pipeline this project and roughly estimate 10min/board (less if everything works on the first try; more if debugging is involved). You can plug in how one hour of work is priced and compute accordingly. For the sake of the argument, let's call it $5/board.

The indie hacker multiplier

To make these indie hardware projects remotely economically viable, considering hardware issues, delays, returns etc, it's usual to multiply the cost by 2.0 - 2.5x (source).

That would bring the end user price to around ($10 + $5) * 2.something = $30-$35

Final words

All of these values can be significantly brought down by optimizing the design, setting up huge (~10k+) orders, cutting features, picking a less capable RF module. These are all interesting options, but currently what brings me joy is keeping this a hacker friendly, completely open project. I would love for people to have a few of these in their houses to tinker with, hack it, extend it, learn and have fun, instead of optimizing for cost.

rwmccoy commented 2 years ago

I might dial back to 6 as the price goes up just to get to the discount point. I see the issues with setting the price, especially with manual assembly and calibration required. Thanks for the insight into the process.

RAYs3T commented 2 years ago

I'm also interested in buying about 5 Units (complete or partially assembled). So if anyone is going to order a few or even assemble them I would be happy to take part in the order (living in Germany).

Purii commented 2 years ago

Same for me. Also living in Germany and would be highly interested in buying around 3-5 units

andreapx commented 2 years ago

Ok, I'm up for 2/3 pieces!

icanhazpython commented 2 years ago

I'm attempting to order these from jlcpcb and C_0805_2012METRIC (5P) is showing as unselected. Anyone have any idea why? This is along with the coin cell holder and the NRF (due to shortages).

rbaron commented 2 years ago

@icanhazpython, I just pushed a commit removing the C_0805_2012METRIC resistor from the BOM file. It shouldn't have been there. You can safely ignore it.

janpfo commented 2 years ago

@rbaron I see that you mention "Applying the conformal coating", what conformal coating do you recommend to be apply?

Also, JLCPCB didn't have the red LED. It will not impact the final product to skip this part?

rbaron commented 2 years ago

@janpfo I've been using this Plastik 70 frmo Kontact Chemie.

The missing LED should be okay, but you can essentially select any other red 0402 LED from JLCPCB.