by wiremine · 9y ago · 0 comments
IMHO, the market is ripe for a hardware/software platform that bridges the ease of Arduino with a path to production. A bunch of the silicon vendors are in this space, but they offer weak solutions, and things like AWS IoT are really bad on the hardware side.
It's easy to bridge from Arduino to Atmel AVR IF you know how to do board layout. Startups need to either grow their knowledge of electronics or hire some electrical engineers.
The AVR documentation is excellent, you could easily design your own board if you have anything beyond rudimentary electronics skills.
A lot of IoT startups are dependent on attachment "blades" for interfaces. They get burned because a lot of their value proposition and profit is tied up in some other guy's blade they don't know how to build.
My employer has an EE/embedded team of 3, and we still rely on a local design house to rev our PCB's, do the generic infrastructure components of the embedded s/w, and design test fixtures. We write specs for electronics and keep the "secret sauce" firmware in house. There are other benefits -- as I write this we have an expensive instrument that we could never justify purchasing sitting on our lab bench because we borrowed it from our design house. We can get a few hours of specialist time here and there for things like FCC compliance testing to augment our in-house expertise.
One person who has been around the track enough laps to be able to write good specs and do program management is sufficient in the early days.
Thing I've found with embedded, is the pay is generally not as good as other work, and it's generally not as flexible (no remote). If you can do either generic webdev, or other things, those often look like better options.
Personally, I couldn't stand doing generic webdev -- I'd rather spend eight hours a day poking myself in the eye with a sharp stick. I've always lived on the EE/software boundary. I suppose staring at logic analyzer traces is some other person's sharp stick, but it works for me.
And the tooling is WAY behind where cloud and mobile is at.
But I'll probably go the web-dev route too.
Web dev/backend dev for the last 10 years.
I often wonder who, in the long run, would be the ones to push the boundaries when you can get a very good pay doing some generic software engineering job (similarly I have friends go several years into a STEM phd to drop and go into CS masters program)
We used them to design and build a custom board for our Sumo robots that had our V1 built from an Arduino board and a custom board that plugged into the Arduino. We couldn't really afford to pay them a big chunk up front, but we negotiated a pretty pleasant royalty deal that comes out to a few dollars per board (which we get manufactured for less than $10/board).
They did excellent work and I highly recommend them for that type of "prototype -> production" path.
* http://www.austinelectronicdesign.com/
* http://www.technologykitchen.com/
* http://www.concurrentdesign.com/
* http://www.produktworksdesign.com/
They all have their own specialties and pros/cons, but most of them deal with small startups to help bridge the gaps. As always YMMV so due diligence is required.
I think system-on-module approaches like Samsung's or Android Things' solve those problems, though.
I listened to this mantra for about 15 years but its like anything else that "looks hard" it becomes obvious after doing it.
RF design rules are well documented and pretty straightforward once you get past the smoke, mirrors and doom mongering. All the good RF subsystem manufacturers have white papers, dev boards and fully documented layout design guides for their chips and low power ISM sub-systems under 20dBM are more or less bulletproof.
I have made several commercial designs, my first ones were just copy/pasting the gerbers off the dev boards (I did not even need to buy the dev boards as the gerbers were downloadable for free) all these worked fine and even several dBM of transmission loss due to bad RF or enclosure design is not actually a game changer in most short distance/low power applications.
My first designs I actually understood very little, now I have all the toys to do proper RF design and understand it much better and so long as you read up on the basics there is no reason not to try too. Seriously it costs $15 for a PCB delivered worldwide these days so you can afford to experiment or tell your EE/intern to do it and dont be too surprised when it works.
Most ARMs up to even a few hundred MHz are also pretty easy to lay out.
For wireless you're right, but this is more or less solved by the recent proliferation of cheap plug-in wireless modules that are already certified.
Raspbian is pretty much only supported on Raspberry Pis, so I think the worry of lock-in is worse there; and it's significant, taking into account that it's harder to go from prototype to production with a Raspberry Pi than with a SoM-based board.
The UserDriver system is another factor: Android already does sensor fusion, so if your product uses, say, a GPS receiver, you can hook it up to the OS with a short amount of user-space Java code, and all existing Android code that uses the location APIs now works with your GPS. No need to modify client code nor compile anything into the OS. And your UserDriver works on any Android Things system.
The talks of this year's Google I/O explain these kind of things in more detail.
Design is half the battle: the other half is component selection and manufacturing. If you BOM is way off, you're SOL before you even start, and most people don't get this until it's too late.
https://www.crowdsupply.com/eoma68/micro-desktop/updates/274...
(Starting at: "The issue that is of more concern is the JAE DC3 mid-mount Micro-HDMI connector."(...))
It is unbelievable that they are not able to provide a decent hardware development platform that can match Arduino in ease of use & documentation, that use decent production-grade components, that's supported for sale for > 10 years and that has a clear path to switch from dev board to own IC.
I suspect that STM and TI are of similar difficulty, but I've only seriously played with Atmel because of the Arduino dev board (and related ecosystem).
10 year guaranteed availability of the exact same part is not guaranteed, but there's a clear enough lifecycle policy and paying any attention, you'll have a chance to a make a final "lifetime" buy. (If have the luxury problem that you're selling so much product that a lifetime buy is impractical, the NRE for a redesign is probably manageable for your business.)
That last part alone stops most people from playing with ARM, because you're almost forced to get boards made. At least with AVR/PIC you can prototype most of the Atmegas on a breadboard. Obviously there's a limit to what you can do with an AVR, but you can do a lot with 20MHz.
This may be an ARM thing though. I found it much more difficult to find development documentation for Atmel's XMega platform, I didn't even look at the SAM chips.
TI's website is a rabbit hole though. Sometimes the datasheet is enough, other times you have to go to their weird Wiki which looks unfinished. Sometimes it's available for free, other times you have to log in to get the information. STM isn't much better.
It's a crying shame. ARM is more capable and often cheaper and lower power than going the 8-bit route, but it's a pain in the arse to get started.
In terms of layout though, there isn't much in it. There are datasheets from ST that tell you what the mandatory hookups/passives are. Everything else is more or less identical to any other microcontroller, though you may need to worry about speed.
The core problem why many startups get stuck with Raspberry Pi, Arduino and friends is exactly the "dev board" problem.
When building an MVP and I have the choice between a $20 Pi/Arduino/Pi Compute Board and a $1.000+ dev board, hell I'll choose the Pi option. Lots more support, especially because any combo of I/O and a Pi has been tried by someone else before in contrast to $weird_sensor+$weird_niche_devboard, and especially you will want about 10 or more units so you can afford to blow a couple boards. This will happen inevitably during development, either by "fat fingering" +12V to a 3V3 input or by blowing the wrong eFuse, and better to lose 20$ than 1k$, not to mention you have to raise the 10k first...
It's not fun figuring out a board with no documentation and shit tools that noone ever used.
It doesn't justify why they make it so hard to set an IO pin or to load a program on their chips.
As someone who co-started (and later sold) a small privately funded company doing embedded software development about 15 years ago I think I can give some insight. We were a 3-person startup, all with a software background. Most we knew was how to use a multimeter and solder a jtag or DB9 connector, which we also needed on a regular basis - but that was about the extent of our knowledge.
One of our very early projects however involved requiring some custom hardware. So we started looking for electrical engineers, and quickly found out we were absolutely clueless about how to interview or evaluate these people. With one guy we interviewed it 'clicked' - and after talking to him, we quickly realized we knew nothing about hardware design, production and everything involved. We would have hired him, but he was very honest about thinking that would be a bad idea and rejected our offer. Looking back, he was absolutely right. You don't just need electrical engineers, you need people with experience in production, hw testing and following up on all those things.
We ended up outsourcing the hardware design and production to another company, and actually recommended them the guy we found, who ended doing most of the design for our project. Stick to what you know best, if you're small and need hardware designed, try to find a company that can do this and believes in what you're trying to achieve. It's easy to lose focus when you suddenly have to learn a bunch of new things - which includes failing a lot, something you can't afford in a startup.
>>It's easy to bridge from Arduino to Atmel AVR IF you know how to do board layout. Startups need to either grow their knowledge of electronics or hire some electrical engineers.
I agree, hardware can not agile like software is. So you have to re-design your product from prototype(like Arduino).
Even more, you should outsource your hardware design to other professional hardware company, such as design house.
You have to deal with yields from the fab process, a hardware testing/debugging process that often requires an expensive oscilloscope, an up front outlay of capital just to get the pcbs produced, you have to deal with getting it certified as being 'safe'.
It's easy to bridge from Arduino to Atmel AVR IF you know how to do board layout.
Startups need to either grow their knowledge of electronics or hire some electrical engineers.
The AVR documentation is excellent, you could easily design your own board if you have anything beyond rudimentary electronics skills.
If you're doing something very simple, maybe... but If you're doing something very simple, why do you need specialized hardware? Get something prebuilt that runs embedded c or linux, write your software, attach your controllers (build a nice case), and be done with it.If you're doing something more complicated, (multiple layers, pcie, etc.) You'll never get the yields that you need (to be profitable) out of your fab process without either a very skilled/experienced EE, or a team and a bunch of money. Even with a simpler (or no) fab process you still have to worry about defects in production and testing for those defects before you ship the item. But at least without a fab process it can be arranged to be someone else's problem when the widgets don't work.
It's not that you're wrong, its just that doing your own manufacturing is either:
a.) Adding a lot of expense to something that needn't be as expensive if you can buy something that already pretty much works in bulk. If you reach the state of mass production, it could make sense to do this yourself, but at that point you may be past the startup/proof of concept phase.
b.) Necessary but very expensive (more expensive than it appears on the surface) and problematic to both your margins and cash on hand. If you go this route you better have some backers with extremely deep pockets who believe in you and are willing to throw in extra cash when the first run of your board has issues and you get a low yield on them.
I agree, however, about the value prop issue.
But that's also kind of why I think hardware is a sucker's game. Either you get screwed by having to make your own stuff, or you get screwed by being dependent on a third party who may not be reliable (or in business, or still producing the thing that you need). Or both, because you're likely getting it fabricated by a third party, which will lead to the same issues as purchasing something 'off the shelf,' plus the possibility of having no one to blame but yourself.
source: did a hardware startup.
edit: I forgot to mention one other factor... If you're doing something high performance, there's a possibility that by the time you're ready to ship the product, it is out of date and there's some faster next-gen hardware out that will do the job better. This is exactly what happened to AMD with Bulldozer (there were some other fuck-ups there too, but for the most part it was superseded by intel's more advanced fab process).
There are over a million commercial devices on our platform, which is essentially a mass production platform that's excessively well documented, tested, scalable, and free to prototype with. Been in the market for 5 years now.
Critically, we take security very seriously and maintain the security stack on every device for its lifetime - whether or not the product owner has cycles to spend on security, we keep it up to date. We're also the first and currently only platform which has been UL2900-2-2 certified - yes an arbitrary standard but it's all sensible stuff.
It doesn't look like an Arduino, but that architecture is not well suited to IoT in our collective opinions, and individual customers with hundreds of thousands of devices on our platform agree.
A silicon vendor's interest generally dies off once they have a design win...
IMHO I can't imagine a technology that is closer to production that the Arduino, it gets you 90% and more importantly instills the limits of the technology before it goes to a electronic prototype house.
Prototypes are easy. Production is hard. This is the current issue with the Tesla Model 3, a few is easy, a full production line with all it's perils that's a massively harder proposition.
and there is always the Pit of Despair: https://www.sparkfun.com/news/909
To do so we had to:
1) Release the board files - fine.
2) Open source the code - ok.
3) Pay the foundation 20% of our retail profit - ~record scratch~ - not going to happen.
There is not enough margin in retail to justify asking for a $40 license per chip for a $5 hardware part. The Arduino compatible initiative was dropped and we built on bare metal instead.
Other Maker boards have some leverage here (Raspberry Pi, Next Thing Co, Electric Imp) because they have control of an exclusive chip supply. Arduino being a clone of the Wiring SDK + an off the shelf chip on a break out board never got to exercise their position effectively in the enterprise / mass market consumer electronics space.
Analogously the Apple ][ started as a development platform for hobbyists that became the business workhorse with VisiCalc. Arduino never left the hobbyist space and scared off a lot of legitimately interested businesses with the ambiguous licensing terms and Genuino debacle.
* Expensive
* Physically large
* Sucks power like crazy
* Slow
* Hardware is unreliable and inconsistent
* Constant hardware availability issues
* Form factor changes on every release
* CPU changes on every release
* I/O is adequate if you're building a PC replacement. It doesn't have the right sort of I/O for embedded tasks (multiple SPI buses, multiple serial buses and so on).
The RPi is a fine learning tool, but don't treat it as production-ready. I strongly recommend the BeagleBone Black instead.
> Hardware is unreliable and inconsistent
That's not true from my experience. I'm running a digital signage service based on the Pi. So far all devices are very reliable. Of course that depends on other factors such as SD card or power supply. If you don't try to save money on those, Pis run for many years without a single problem.
> CPU changes on every release
Some chipset revision changed (I would have to look up details), but they are all more or less compatible if you don't go too low level. I have no problem running the same build of my software on all Pi revisions. Of course you can benefit from NEON or multiple threads on later versions, but that's all optional.
Edit: since everyone else is promoting the competitors ;) : https://electricimp.com
A shame this post didn't come up in ~2 weeks, we're about to massively update our docs, API, and frontend IDE environment.
I've talked to our CEO and the original core team about this a couple times. In their minds LUA, while 7 years ago was more widely adopted, was also less well supported and more volatile than squirrel. Squirrel got the job done, was pretty straightforward, and was small to get going. And, once the decision was made and customers were already compiling it onto live projects.... Well, at least there haven't been growing pains as a result, it still gets the job done and we have metric tons of libraries for it.
Also the files end in .nut which is incredible.
Edit: to note, it's not exactly squirrel, we made some changes: https://electricimp.com/docs/squirrel/learningsquirrel/
Mmmh, that is probably the funniest file extension I have come across to this day. Awesome!
* There's no guarantee of long-term support; RPi and Arduino both regularly change form factors. They make no guarantees that they will continue manufacturing what you're already committed to.
* Maker vs. production system architectures are totally different. Linux is rare among production systems. It just needs too much hardware (see Cost). So you have to rebuild the thing anyway when cost-reduction time comes.
'Production' means different things to different people, of course. I'm thinking of a world where you want to ship 10k+ units of a device. If you're only shipping 100 units, your concerns are very different.
The Pi foundation guarantees the availability for the Compute Module 1 and 3 until at least 2023. See https://www.raspberrypi.org/documentation/hardware/computemo... (Section 11. Availability).
It's more a problem if you start on something big like Artik/RPi/Edison and try to downsize later. You'll find yourself locked in to that vendor's software stack.
Or if you try to ship 10k devices with whole RPis inside.
Using a whole Rpi 3 as part of a solution? Yes I agree that there's a risk in supply; but if making 10k devices, you are talking about a raw cost of at least 300k USD, right? So spending 30k for a few months of engineering time to make it production ready (idea: make sure that the OrangePi knockoffs also work, so you have 2 sources of supply) is feasible in the case you mention.
Now if your product is Arduino based (or another microcontroller platform) the barriers to doing a fully custom design are a lot lower, the markups on the Arduino board are a lot higher, and so the cutoff volume for where it makes sense to do a custom design is going to be much lower than 10k.
> Linux is rare among production systems.
AFAIK, Arduino has no OS, let alone Linux. It's a giant wrapper around "setup(); while (true) loop();" Which is itself a gigantic problem for power savings. Fortunately there exist alternative platforms, and some even run on the same Arduino platform: https://github.com/jmattsson/tinyos-arduino
Also there are places where Linux is appropriate and affordable at volume, depending on the application.
It's not so easy with hardware. If you don't understand your stack fully, things can get bulky and expensive fast. I don't know if there really is a good solution here.
The only thing that exists today is a white glove services. If you have enough money, there are plenty of engineering firms that will take your prototype and build you a production version.
Of course, all this assumes you can design a working board. It's not inherently difficult, but there's a considerable learning curve. There are lots of online resources. For board design, there are lots of packages. I use KiCAD, which is open source, but Eagle is probably more suitable for pro work. (KiCAD is a good package, but the component footprint libraries are not that complete and may be somewhat off.)
(I've used them for blank boards. They do a nice job, but it's not super-fast. All their boards have been good, although once, by mistake, I got boards intended for someone in Japan, and they got my boards. Seeed re-made the boards and shipped again.)
[1] https://www.seeedstudio.com/opl.html [2] https://statics3.seeedstudio.com/fusion/ebook/PCB+DFM+V1.0+....
Ironically, software really does fundamentally suffer from the same problem too. It just so happens that today's hardware is so powerful relative to most use cases these days that most developers don't run into those problems, until they try to scale (or they scale successfully, but as a result of the success now have the money and incentive to start caring about formerly tiny problems)
I was working in this space, but never got on to their beta program.
[0] https://www.baldengineer.com/arduino-prototype-into-product.... [1] https://www.postscapes.com/forum/arduino/47-if-arduino-is-fo...
Disclosure: I work on Android Things.
Having said that, there's a bigger market for micro controllers imo - which probably doesn't fit in to this strategy at all. There used to be Weave (RIP- which also makes one cautious about Android Things) - and there's Zephyr (kinda similar, but not really) - but no clear winners here yet.
I believe these are now available on digikey: https://www.digikey.com/en/product-highlight/s/samsung-led/a...
What would be an example of makers-grade hardware vs a production-quality system?
your comment is very packed, and your replies are even briefer.