📜 ⬆️ ⬇️

Wiren Board Smart Home batch production experience



Brief background


On the basis of our Wiren Board platform (a compact industrial computer with Linux and different interfaces), we made a fancy controller for Wiren Board Smart Home Home automation to which you can connect a bunch of wired and wireless devices from different systems and manufacturers. The device has ARM9 64MB RAM, GSM / GPRS, Ethernet, Wi-Fi, USB, 2xRS-485 / Modbus, CAN, 2 relays, ASK / FSK radio module 433MHz, NRF24L01 - full description here .

At the end of February, we presented a prototype and opened a pre-order for the controller. How was the pre-order, how we made a batch of devices and what we will do next - read under the cut.

')

Preorder


Start selling devices on pre-order was for us a very difficult decision. Users have to buy the device, not seeing it live, we - very hard to try to justify the enormous trust. To convince future buyers of the capabilities of the device, we even made a video about his work.

The second launch of the device, which we considered, was a pre-order without payment - once we carried it out when we launched the usual Wiren Board. In theory, this method allows us to estimate the demand and the required lot volume. But this method is not very accurate - last time the number of real buyers was less than a third, so this time we decided to check the real demand.

In general, we were very worried, but the result was not bad - we collected more than a hundred paid (!) Pre-orders, and decided to prepare a batch of 200 devices.

Launch party


We organized the production of a batch not for the first time - earlier we had already collected 55 pieces of Wiren Board rev. 2.8. But then the task was much simpler: though the boards were assembled at the factory, but by manual installation; we generally purchased processor modules. This time we assembled the entire device ourselves, with automatic installation.

Components

The first thing to do was purchase components and order printed circuit boards.
The purchase of most components was done in Elitan, a little in China, memory chips and modems in MT-Systems. Processors had to be bought from abroad. And our biggest miscalculation happened to them - the managers of the usually ideally working company Farnell could not at first form an order for processors subject to minimal export restrictions, and while coordinating all the permitting papers, they went on vacation, they simply did not respond. Having suffered an extra month with them, we made an order for Digikey, signed all the papers for the day, and on the third day our order flew from the States to Russia.
It was an unpleasant story with processors that served as the main reason for the failure of our shipment deadlines - during the pre-order we promised to send the first devices in early May, but could only do this at the end of the month.

Fees

Printed circuit boards ordered in HQEW . Before that, they were not ordered from them, but the COOLRF comrades wrote about them well . Judging by the status of orders on their website, they made them quickly, and then they delayed the dispatch rather unreasonably. I had to write angry letters to the managers both to the post office and to Skype, which they amicably ignored (it should be noted that before we paid them the money, they responded instantly).
In the end, they still answered, apologized and sent the order.



Board quality

The site declared a very high precision manufacturing. But in fact, for some reason, they removed the mask between the contact pads with a step of 0.5 mm (0.15 mm bridge mask) - although the same Resonite and Seeed Studio made them. This did not cause major problems with installation, but the sediment remained.


On the left - the board from Rezonit, on the right - from China. Pay attention to the cleaned soldering mask around the pads in the second photo.

Installation

Automatic installation was done in Tula - the company MT-electro . They asked to mount quickly - they did it very quickly, although it affected the cost.
Output installation was first done by the forces of its employee - it took only 20 minutes to pay. But he quickly got tired of this business, and had to hire a third-party installer.

Housing

A dozen cases in the desktop version made from two plates of plexiglass on the racks (the first photo in the article). We used the services of laser cutting at Seeed Studio.


Plastic housing for DIN-rail bought standard - Gainta D6MG. He demanded a little improvement - we needed slots for SIM and microSD cards, a button, and a little trimming for a USB connector. It was possible to order a revision, but why? If in the corner of dust cnc machine :). Put the spindle horizontally, make stops for the body - and mill the neat holes.



Testing

To test the assembled devices, they wrote a script that interrogated the chips, clicked the relyushki, checked the data transfer via RS-485, etc. It turned out that in the batch of RS-485 transceivers up to 20% of the marriage (and there are two such transceivers on the board). I was lucky that the defective chips were in the SOIC-8 package and it was easy and quick to change them.
We bought these transceivers in Platane; they never answered our angry letter. There were no such problems with the other components.

Production stages with terms




Before production


During the testing process, a couple of serious bugs were discovered:



Now


The first buyers have already managed to work with the controllers - we can say that the iron part turned out more or less well.

With software, things are getting worse now: out-of-the-box support for external Modbus devices is not yet ready, various Oregon Scientific sensors and Noolite devices are supported from 433 MHz radio devices. The controller has a native simple web interface where you can control the connected devices and watch the sensor readings. In addition, there is a gate to the Ninja Blocks cloud system, where you can create scripts and rules, watch history, etc.
We are going to finish the support of the local (non-cloud) system with the rules and history soon, the work with Domoticz will be implemented in the first place.

What's next


We receive invaluable help from our users on the forum, who are testing updates, and helping us with device support with radio dumps.
But, unfortunately, although all the software is open to us, so far none of the users have participated in software development.

Now we have some problem in that we ourselves can implement and test the operation of the device with all possible peripherals. We are constantly working on it, but we hope for help from the habrasoobshchestva.

Source: https://habr.com/ru/post/230251/


All Articles