HOW TO MAKE FLEXIBLE ARDUINO/PCB

by EDISON SCIENCE CORNER in Circuits > Arduino

320 Views, 8 Favorites, 0 Comments

HOW TO MAKE FLEXIBLE ARDUINO/PCB

ffg.png

Hello there, If you are an electronics enthusiast then you should be familiar with PCBs or Printed Circuit Boards. But may all of you be familiar with flexible PCBs. So Flexible PCBs or flex PCBs, are circuit boards designed to be bent, twisted, or shaped to fit into tight or irregular spaces. Unlike traditional rigid PCBs, flexible PCBs are made from materials that allow the board to flex without damaging the circuits. Here are some key features and advantages of flexible PCBs Flexible PCBs are usually made from polyester films, which provide flexibility while maintaining excellent electrical insulation properties. Just like rigid PCBs, flexible PCBs use copper as the conductive material, deposited into the flexible substrate. Despite their flexibility, flex circuits are designed to maintain their performance even in dynamic applications where movement is frequent.

Advantages of flexible PCBs:

  1. Space and Weight Saving: Flexible PCBs can be folded or twisted to fit into small or irregularly shaped enclosures, making them ideal for compact devices.
  2. Durability: They are highly resistant to vibrations and movement, making them suitable for dynamic applications like wearable electronics, robotics, or automotive systems.
  3. Reduced Connectors and Assembly: Because they can replace traditional wiring harnesses, flexible PCBs reduce the need for bulky connectors and additional assembly.
  4. Improved Heat Dissipation: Polyimide and other materials used in flex PCBs have good thermal properties, helping to manage heat better in tight spaces.

Applications of flexible PCBs:

  1. Wearable Technology: Smartwatches, fitness trackers, and other wearable devices.
  2. Medical Devices: Implantable devices and diagnostic equipment.
  3. Automotive: Flex circuits are used in dashboards, sensors, and under-the-hood electronics.
  4. Aerospace: Aerospace is used in avionics due to its lightweight and high reliability.
  5. Consumer Electronics: Smartphones, cameras, and other portable devices use flex PCBs for compact designs.

So these are the basic features and applications of a flexible PCB. So in this project, I am going to show you how we can build a flexible Arduino. I will explain all the details of this project in detail in the following sections. You may ask why I chose Arduino for this or what the need for a flexible Arduino is. Well, the answer is I love to build clones of Arduino Unos also Arduino uno is open source and we can modify it. Now let's get started.

Modifying the Original Schematic

Screenshot 2024-09-27 132838.png

Here you can see the traditional Arduino uno circuit. the circuit seems very complicated at first. But we can reduce the component count and rectify the circuit.

I used easyeda to recreate the circuit diagram for our Arduino. EasyEDA is a popular web-based tool for designing and simulating electronic circuits and PCBs. It is completely free and easy to use, which means it is beginner-friendly.

Circuit Modification

Schematic_flexible-pcb_2024-09-27.png

These are the changes that I made in the traditional Arduino uno circuit.

The circuit uses a DIP atmega328 IC as a microcontroller. Here I wanted to flex the Arduino so I replaced the DIP version with SMD.

The traditional board uses a USB type B socket for programming. Nowadays no one is using that connector and it is bulky., so I replaced it with Type C USB.

The existing board uses the ATmega16U2 to convert USB signals to serial communication (UART) that the ATmega328P can understand, allowing you to program the Arduino from your computer. To reduce the cost I replaced the ATmega16U2 with CH340.

Added two WS2812B neopixel LEDs

PCB Designing

Screenshot 2024-09-27 091058.png
Screenshot 2024-09-27 091112.png
Screenshot 2024-09-27 091152.png
Screenshot 2024-09-27 091143.png
Screenshot 2024-09-27 092431.png
Screenshot 2024-09-27 092404.png

we are making flexible PCB. But that doesn’t mean we need to design a flexible PCB. We can design PCB just like any other PCB. In the easyeda, we can directly convert the circuit diagram into PCB. So I used the tool and convert the circuit into a PCB. Now I used the same outline of Arduino. I downloaded that Google and I added that as an image. Then I drew the outline on that. After making the outline I arranged the components. I used the original Arduino as a reference and arranged the components according to that. After completing the design of the PCB I downloaded the Gerber files for PCB fabrication.

PCB Fabrication

Screenshot 2024-09-27 090553.png
Screenshot 2024-09-27 092454.png
Screenshot 2024-09-27 092648.png
Screenshot 2024-09-27 092746.png
Screenshot 2024-09-27 092719.png

The next step is the fabrication of the designed PCB. We need a fabrication service that offers flexible PCB manufacturing. For that, I went to jlcpcb.com. they are the best PCB manufacturers and they offer only 2 dollars for 5 flexible PCBs and their PCB assembly starts from zero dollars. PCB ordering from JLCpcb is very easy.

Click on Order now, select it, and upload the Gerber file. Now select flex as the base material.in the PCB specifications, we can select the thickness of the PCB, PCB colour, silkscreen etc. Also in high-spec options, we can add stiffener type, gold fingers EMI shielding etc. Since we are just making a basic circuit we are not going to select any of that. also adding those parameters will increase the PCB cost too. so after selecting all the details we can select the correct shipping address and shipping method then we can place the order.

The Flexible PCBs

IMG_20240819_073150306.jpg
IMG_20240819_073156299.jpg

After 10 days I received the fabricated PCBs from jlcpcb. the PCBs came well packed and package quality is outstanding. The PCBs are perfectly printed. the flexibility of printed PCB is great. Nice job jlcpcb.

Components Needed for Making the ARDUINO

IMG_20240819_072740797.jpg
IMG_20240819_072754919.jpg
  1. Atmel Atmega328 Microcontroller
  2. CH340C USB to TTL converter
  3. 16MHz crystal oscillator
  4. 0805 22pF caps X 2 nos
  5. 0805 100nF caps X 4 nos
  6. 0805 LED X 4 nos
  7. WS2812B neopixel LED X 2 nos
  8. 1K 0805 resistor X 4 nos
  9. 10K 0805 resistor X 1 nos
  10. reset switch
  11. 1N4148 SMD diode
  12. AMS1117 5.0V Linear voltage regulator
  13. AMS1117 3.3V Linear voltage regulator
  14. 2.54mm 3-pin JST
  15. USB type C port
  16. Female header pins
  17. on/off switch

These are the components that you need to make this project. Wherever quantity is not mentioned consider it as one. Except for these, you will also need soldering equipment and some hardware tools to make the build easier.

Assembling the Flexible PCBs

IMG_20240820_130405436.jpg
IMG_20240820_134020003.jpg
IMG_20240820_131432604.jpg
IMG_20240820_131439657.jpg
IMG_20240820_135411779.jpg
IMG_20240820_135420310.jpg
IMG_20240820_135430569.jpg
IMG_20240820_141942690.jpg
IMG_20240820_142002610.jpg
IMG_20240820_135319360.jpg
IMG_20240820_141953920.jpg
IMG_20240820_141913202.jpg

I used my miniware soldering iron to solder all components to the flexible Arduino. I set the temperature to 315 degrees in the soldering iron. You can also use the hotplate method or reflow method to solder all components. don't use sharp tools on the PCB it will easily damage the PCB. Also, make sure to complete the soldering as soon as possible. I started with the main Atmega328 IC and then I soldered all other SMD components. you can finish the soldering in just 30 minutes. after finishing the soldering I cleaned the PCB with IPA. after doing all this we can use this board just as normal Arduino UNO.

Complete Video Tutorial

DIY Flexible Arduino | Flexible PCB Tutorial

in this article, I showed how you can build a flexible PCB. With this, you can build different projects and tools. In the next flexible PCB project, I will show you how to build a flexible RGB display.