https://blog.flipperzero.one/electronics-testing/ [68075533] Flipper Zero Blog * Shop * Zero * FAQ * Blog Subscribe to updates Production Log Flipper's Electronics: How it's Made and Tested * Pavel Zhovner Pavel Zhovner Jun 30, 2021 Flipper's Electronics: How it's Made and Tested Electronics and plastic casing parts of Flipper Zero are manufactured at different factories. Today we will visit the electronics factory and take a look at the automatic PCB testing. There is always a non-zero defect rate when it comes to high-volume production. Some produced PCBs might turn out faulty, some might have barely noticeable defects like degraded radio performance. Defective Flippers must not get to users. To ensure this, all components undergo two stages of testing in production: individual electrical testing of each board and then testing of the entire assembled device. In this article, we are going to focus on the first stage - automatic electronic testing of individual Flipper Zero boards. Flipper Zero PCBs Production [7_ts6mzo3g9mssr3stimmig_ydc]Flipper Zero PCBs layout Flipper Zero consists of 4 PCBs: * Main PCB is the main board on which the STM32 microcontroller, the display, the Sub-1 GHz module, and buttons are located * iButton PCB has special iButton pogo-pins, the buzzer, and the infrared transceiver * NFC_RFID PCB has RFID 125 kHz and NFC 13.56 MHz components * The Antenna PCB is a combo dual-band 125 kHz + 13.56 MHz antenna, which is located right under the NFC_RFID board Every PCB is produced and tested separately. First, a bare PCB is produced. It consists of layers of insulating material and copper foil, on which signal tracks and contact pads are etched. The PCB layers are glued together, and the tracks are connected between the layers using special holes called vias. The most sophisticated Flipper Zero board is Main PCB, which consists of 6 layers! [zc_hssgpekanhice0ofy2oxiynw]Bare Main PCBs [pq0cg5lwwv4ounak16i4hhpfiwm]Main PCB close-up [778cg9t91anjhaie-2y-unbrwr0]Bare NFC_RFID PCBs without components [xovd8amqzju4ikz7u4g6fkltvyg]Bare iButton PCBs Every PCB is visually analyzed and electrically tested before component placement. The visual analysis takes place under a microscope to examine all contact pads, a solder mask (paint separating the soldering points from the rest of the board), silk screen printing, etc. At this step, manufacturing defects are revealed, for example, in our case, the lack of a solder mask on the Main PCB. There was no mask at all between the BGA component pads, which greatly increases the chance of getting a jumper, that is, contacts stuck together. [jxjam6neuoekl5zavwqyhhqhrc0]PCB defect, lack of mask between the BGA pads. This increases the chance of getting a solder bridge When the quality of the printed circuit boards meets our requirements, they move on to the next step - assembling the components. The boards are loaded into the SMT (Surface Mount Technology) -- a special machine that places the components automatically. This process is also called "pick-and-place". The machine grabs the component with a vacuum arm and places it on the PCB with great precision. [0hqf7bh_by0s15tnkwdcdlmzmzw]SMT machine configuration, the IR led from iButton PCB is visible on the screen[smssmmt-2]SMT machine configuration Boards with installed components are baked in an oven with a tuned thermal profile. The solder paste is melted and the components are soldered to the board. At this stage, surprises and problems might also occur. If electronic components have not been properly stored and have accumulated moisture inside the case, they may crack at high temperatures. Therefore, we order components only from official suppliers who provide a guarantee. This is the only way to get the predicted quality of the final device. [flipperzer] [Video] Baked PCBs coming out of the oven [bfudkf5x371xgi8za9_z_n3bxv0]NFC_RFID PCBs after component installation[djxluhhlqntsg0emoa--pvmrfzs] After that, the boards are separated and packed in plastic antistatic trays. At this stage, we do not yet know if these boards work or not. There are probably some defective ones in each batch. Therefore, the batch goes to electrical testing. [f4vtijftbngdhotmaiy61061msu-1] [wjndkdetoujyc1m-5zi2n_-hz-g-1] Ready NFC boards awaiting the first testing stage [lsy-ihmolmwkq_g1yidbxv42nou]Assembled iButton boards Electrical Testing [ir9eircsvefebmn58m6v-w1lcbu]Schematic representation of the test bench: the needles are connected to the test board, the board is connected to the computer, which uploads the test results to the database A test bench is developed for each Flipper board, also called "test jig" or "jig" in professional slang. Test jig components: * A rig with pogo-pins (so-called bed of nails) designed for specific PCB. Consists of a frame in the shape of a PCB, and a PCB clamping mechanism (red handle on top) * A control board, which is connected to all the pogo-pins. We developed this board from scratch, as well as the firmware for it. For simplicity, a ready-made STM32F4 Black Pill module is inserted into the board * A computer, which runs the testing software. The set of tests for each PCB is different, just like the software * A database, where all test results are sent We have developed a separate test bench for every Flipper Zero PCB. It is a huge amount of work, comparable to developing full-fledged devices. [ocrryd7uuerlgcs0is9szl9dttg]Test jigs for all 4 Flipper Zero PCBs (Main, NFC_RFID, iButton, Antenna) and the assembled device test jig [6yfmaejmzcd0jggp0iexwq76wh4]Insides of the NFC_RFID test jig [i39dlla6e3e8vi4t8ovpnvdwce0]NFC_RFID test jig board [wewd5ldzh5bk3cyeai9-ffueftq]Testing NFC_RFID boards on the test bench Every Flipper Zero board has special test pads for test bench pins to touch. Through them, power is supplied to the device, and communication with the electronics on the board takes place. The testing process looks like this: 1. The board is inserted into the test jig by hand and clamped from above 2. The spring-loaded pins touch the test pads on the board 3. Automatic tests are executed 4. The tests finish with a "PASS" or "FAIL" result, along with additional comments 5. All faulty boards are subject to analysis [jutqvekxrb5cnp-hfqrn3zij3hk]NFC board rig with pogo-pins. The board is clamped in the rig and the tests are executed [electronic] [Video] Spring-loaded pins touch the PCB test pads The test results of each board are saved in a database along with its serial number, so later we can check how it passed the tests, when it was produced, and from which batch the components were mounted on it. This helps to solve issues a lot. [bgk7uwwpjb6kuyapvkjwz2m191y]Test bench operator's workplace As a result, the operator only has to press one button and look at the result on the screen. They will see either "PASS" if the test is successful or "FAIL". Their job is to set aside defective boards for further analysis. [tmc7d1pimxjjiv3j_eo8sjib4do]"Pass" indicates a successful test Why Test Individual Boards Why test each board separately when you can assemble the entire device and then test all the functions on the finished device? In a well-functioning production, each step of the assembly line must check what it gets from the previous one. When the resulting components have a systemic defect, you need to investigate the situation and take action to improve the process of the previous step. If this is not done, a significant percentage of the assembled devices will have problems of unknown origin. The price of a defect discovered at the stage of the finished product is much higher. Because time has already been spent on the entire production cycle and the final manual assembly of the device. It's much more reasonable to localize the problem earlier, on a separate board, and immediately remove the defective board, than to find the problem in the finished device. [evpfugqami-hmd8x0zkm96dqbly]BGA component soldering defect, two pads stuck together into one. Revealed by automatic testing For example, a real situation: one of the 3 IR LEDs wasn't properly soldered. This problem is immediately detected during the first tests, by the presence of incorrect resistance on the test pads. But if such a board had got into the finished device, tests of such device would show only low emitted power of the IR transmitter. And then the reason for such a defect would have to be guessed: problems with connecting loops, problems with power drawdown, etc. [ivee33jh5tpox2schvg0ehnlx6s]Defect detected during the automatic test - IR LED is not soldered properly Test Boards Sources Inside each test jig is a Black Pill STM32-based board specially designed for it with its own firmware. Below you can see the source files of these boards through the interactive Altium viewer. It shows schematics, PCB design, and 3D models, right on the blog page! Main PCB Testing Board [Main_PCB]Click to open 3D-viewer NFC_RFID PCB Testing Board [NFC_RFID_P]Click to open 3D-viewer iButton PCB Testing Board [ibutton_pc]Click to open 3D-viewer Stay Tuned Our social media subscribers get all the Flipper Zero news first! Join in and get access to sneak peeks, insides, and more. [icon-twitt] @flipper_zero [icon-insta] @flipper_zero [icon-faceb] @flipperzero Subscribe for more like this. Enter your email Subscribe Taming iButton Keys with Flipper Zero Taming iButton Keys with Flipper Zero iButton is a generic name for an electronic identification key packed in a coin-shaped metal container. It is also called Dallas Touch Memory or contact memory. Even though it is often wrongly referred to as a "magnetic" key, there is nothing magnetic in it. In fact, a full-fledged microchip operating * Sergey Barsukov Sergey Barsukov Jun 16, 2021 * comments Bringing Cases to Perfection Bringing Cases to Perfection Although all Flipper Zero parts are produced in high-quality factories, it's impossible to start the production of such a complex product instantly. All the parts must go through several stages of improvements and fixes to become perfect and finally go into mass production. Today we will tell you about the * Anna Prosvetova Anna Prosvetova Jun 10, 2021 * comments Case manufacturing behind the scenes Case manufacturing behind the scenes We are actively preparing the mass production of the Flipper Zero. The components are manufactured in several factories: plastic casing parts in one factory, electronics in another. Today we are reporting from the factory where the casing is made. There are many ways to make plastic parts, but the only * Pavel Zhovner Pavel Zhovner May 14, 2021 * comments Community Kickstarter Habr.com Discord Forum Blog For developers Developer Program Github CLA Partners Neuron Hackerspace Design Heroes Slozhno.Media About Contacts Company Careers Press kit Privacy Policy FAQ [Discord-Lo] [twitter] [youtube] [facebook-7] [instagram] Copyright (c) 2021 Flipper Devices Inc. [noroot]