by davidw · 3y ago · 0 comments
I see a lot of pages where they show some bare-looking board, but in the real world you want to package that up.
If you're a software guy like me, you would likely prefer to pay a bit extra to just have that tidied up for you rather than fiddle around with stuff.
If you've got a 3d printer, you make a 3d print.
If you're more of a acrylic guy, then you take your laser-cutter, cut out some shapes, drill a few holes and bam you've got a box.
If you got none of these and just want a bare-necessities box, you use an Altoids Tin that costs about $25 for 12 tins... and they have these kinda useless mints in them though. So you buy those boxes, then you throw away the mints and shove your project in there.
If you want slightly better than the Altoids tin, you buy a Hammon Enclosure. (https://www.hammfg.com/electronics/small-case).
If you're like me, you wrap it in electrical tape, and then wrap that in duct tape or something. Maybe color on it with permanent marker.
https://www.hammfg.com/ https://www.budind.com/ http://takachi-enclosure.com/ https://www.adafruit.com/product/903
If you want something nice, that can be done, now you need to pay someone (could be yourself!) to design a package. ESP32 is designed to be easy to put into your own products, this means design a circuit board and case to fit each other, and so on. Then you buy the ESP32 chips in bulk and assemble them onto the circuit board. The board you buy for a prototype is officially only a reference board and not what they expect you to ship (though shipping the board is common: they are small, cheap, and someone else did the hard board design)
Say I want to do some one-off project and put it outside somewhere, out of the weather, with some batteries to power it.
Or an indoor thing with an AC hookup of some kind.
Doesn't have to be perfect or beautiful or as tiny as possible; just sort of a complete package.
There are literally tens of thousands of off the shelf electronics enclosures for every likely possibility. From massive control panel boxes measured in multiple feet, to watch-sized enclosures with straps for items designed to be worn on your wrist. You'll find something suitable no matter what.
Altoids box is a classic. Food plastic boxes also works depending how hot the components run.
I don't work for them, I just really like their products and own about 10 of them. Downside, the documentation is rudimentary so you should enjoy steep learning curves (but not too steep - The ESP-IDF and MicroPython docs will get you through most problems).
Then, you reach out to local manufacturers and ones from bigger markets. You get some samples, you check if things work like they should. If you like it, order a smaller batch. Design a quality assurance workflow, or find a specialist who can help you with that so that the manufacturer doesn't ship you 20% faulty products.
Get your products onto the shelves of a brick and mortar store, and/or create a website, sell on Amazon and other portals.
Talk to your customers, listen to their feedback, improve every step a little.
It sounds overwhelming.
I worked for a small smart home startup, and I learned that, for example, in Shenzhen, there is a whole industry ready to help entrepreneurs realize their dream products, and at every step of the way, you can contract someone to help you. In our experience, the Chinese service was both much better, cheaper, faster than European offers.
I use a tupperware container if I'm feeling fancy.
example: https://www.printables.com/model/72839-stable-and-waterproof.... If I am using screw terminals, wires are terminated with ferrules.
For some projects that use 120V AC directly, I've purchased nice receptacle with fuse, and grounded the metal casing. But I don't feel comfortable distributing those.
I have also been known to encase an entire project in clear epoxy (the first "maker" project I did, thanks to an enlightened shop teacher in the 1980s, was a nightlight using only 3 components, encased in epoxy; they work some 35 years later!)
Some things I can think of to go further: designing my own PCB instead of using perma-proto. FInding better temporary connectors (duponts are not reliable). Eliminating the ESP32, replacing it with simpler logic circuits when possible.
I've shipped a couple of consulting products based on them and it really cuts down on the work I need to do in order to build product.
It took me about 20hr to learn how to use Fusion360 and make a simple circuit and case this way.
I wanted something simple and cheap and now I need to go deal with this whole other thing I don't know much about and either rent or buy into it?
The next best option is injection molding with PCBWay (or other similar provider): https://www.pcbway.com/rapid-prototyping/manufacture/?type=4...
An alternative is a sheet metal enclosure: https://www.pcbway.com/rapid-prototyping/manufacture/?type=4...
But 3d printing with JLCPCB is really the most convenient way unless you need a lot of parts (thousands) or the material properties of the UV resins would not be enough (high-temperature, outdoors, etc).
But once you have it and know how to maintain it, anything where you’re like “man wouldn’t it be nice if I had a physical object like X” becomes a relatively solvable problem. There are lot of materials with many different properties. When you skip into a zone of material or print you can’t afford the equipment for, there are a bazillion print shops.
The harder skill frankly is the 3d modeling. But I find openscad is sufficient for almost everything and then for the rest I use Build123. They’re both parametric code driven design tools so fit well inside a software project (better than GUI tools, and more easy to be precise with). Openscad is absurdly easy, build123 is more advanced and requires Python skills as well as effort to learn the conceptual model.
I sort of felt the way you seem to once upon a time until I said screw it and figured it out one day. Now I feel like I lived most my life hobbled for want of this tool.
So, yeah, overkill for printing an esp32 enclosure. But doing so unlocks a lifetime of possibilities.
Nothing about making a nice presentation is beyond what amateurs can do. However it is a lot more effort and so most decide it isn't worth it.
https://www.amazon.com/s?k=esp32+enclosure
If you want to sell a more finished commercial quality project and don't want to print your own, there are places that will fabricate one for you (but in low quantities, having them 3d print it probably cheaper)
If you take the time to make the holes nicely, the result often looks good enough that non-makers will think you are a god of manufacturing.
There's a lot of files running around with existing models for common projects, so you probably don't need to design your own enclosures a lot of the time unless you want to.
And printers have gotten cheap, like $99 gets you a jumping off point into the hobby.
The board in the article is $13.49 ( https://www.amazon.com/dp/B072HBW53G ). If you could get an enclosed, complete thing for $20, including the board and whatever you need for it to run, that'd be much less of a PITA than "brand new hobby" or "find someone to 3D print stuff for me locally and deal with that whole hassle".
solving something would be like $700 calibrated out of the box, like the old prusa 3 something or the bambu p1something.
So what I do is I usually look around what everyday objects could become nice enclosures for microcontrollers and such things.
See my comment below on how to productize this: use a 4 cent off the shelf microcontroller on a 10 cent pcb or much better: make a custom chip with all the sensors on board but with $25K minimum Capex but tiny Opex
You shouldn't productionize an esp32 dev kit but you should absolutely productionize an esp32 on a board you've designed that has the specif features to do your thing (whatever that is).
https://www.espressif.com/en/products/socs/esp32
The ESP32 is a SoC. It's available in QFN packaging (Quad Flat Pak No Lead).
The ESP32 is available included with a number of "modules" (and of course devkits). These modules are designed for production use and it can be economical to do so. You clearly don't have the foggiest idea about these product lines so don't seem to be in a good position to comment on the economics.
Plus, woodworking is very satisfying by itself. And also easy to get started with - for small box-like things like this you only need a few cheap hand tools.
See my comment below on how to productize this: use a 4 cent off the shelf microcontroller on a 10 cent pcb or much better: make a custom chip with all the sensors on board but with $25K minimum Capex but tiny Opex
In some cases, you may luck out and find that a widely available dev board is actually a really good match for your needs, in which case, run with it. You'll cut out a lot of NRE and get your product in customers hands faster. Once you've shown that you can sell in volume, do a DFM pass for V2 to minimize cost. OP probably fits this case, as all they need is Wi-Fi and Bluetooth, depending on their eventual power solution.
If you find that you're taking a dev board and soldering a lot of extra components to it, then I agree, you want to move to a custom PCB before doing any real volume. But you still might make a dozen first cuts with this and a 3d printed case to see how some product beta testers respond.
Using an off the shelf MCU and off the shelf sensors saves you all those headaches.
Also, ESP32 is not a "pcb".
morphle@ziggo.nl if you want me to design it
Jokes aside, if you know how to design a custom chip for 3k USD, I would like to know about it.
Designing one for $3K is possible because I already have a tested chip design that I just have to modify for you.
A master student project is usually a free design with a free tapeout at Google MPW, Mosys of Europractice.
I also design bigger chips and $500 wafer scale integration with 10000 cores : https://vimeo.com/731037615