382
edits
(13 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=== "Police Car Badge" === | === "Police Car Badge" === | ||
Line 50: | Line 51: | ||
<gallery> | <gallery> | ||
File: | File:Circuit Police Car Pcbnew complete .png | ||
File: | File:Circuit Police Car Pcbnew power supply.png | ||
File: | File:Circuit Police Car Pcbnew blinking.png | ||
File: | File:Circuit Police Car Pcbnew lighting up.png | ||
</gallery> | </gallery> | ||
Line 60: | Line 61: | ||
[[File: | [[File:Circuit Police Car Pcbnew blinking (2).png|400px]] | ||
Line 68: | Line 69: | ||
Like I have written in the first part of my documentation I've designed my PCB board to look like an american old school police car. I was generally inspired by the functionality of the "Astable Multivibrator Circuit". The two alternately blinking LEDs of the circuit reminded me of the typical police sirens. I chose this look of an old school police car because it is such an iconic design that everybody can recognize. | Like I have written in the first part of my documentation I've designed my PCB board to look like an american old school police car. I was generally inspired by the functionality of the "Astable Multivibrator Circuit". The two alternately blinking LEDs of the circuit reminded me of the typical police sirens. I chose this look of an old school police car because it is such an iconic design that everybody can recognize. | ||
I searched out some reference pictures and designed a drawing of the car in Inkscape. The model of the car I used as reference primarily is black and white but because I wanted to bring more color into the design, I changed the body of the car to be silver as well as changed the car doors and the engine hood to be green. This color scheme is more or less reminiscent of older german police cars. | I searched out some reference pictures and designed a drawing of the car in Inkscape. The model of the car I used as reference primarily is black and white but because I wanted to bring more color into the design, I changed the body of the car to be silver as well as changed the car doors and the engine hood to be green. This color scheme is more or less reminiscent of older german police cars. | ||
<gallery> | |||
File:reference police car1.jpg | |||
File:reference police car2 .jpg | |||
File:Inkscape .png | |||
</gallery> | |||
When I was satisfied with my design, I imported the finished layout into KiCad and aligned all the different layers. The actual police car design is placed on the backside of the PCB, whereas the circuit with all its parts, is located on the frontside. After aligning the design, I placed the components on the frontside of the board in an optimal way. Starting with where I needed the LEDs to be and then went from there. After placing all the components, I drew in the circuit tracks to connect all of parts in the same manner visualized in the schematics. | When I was satisfied with my design, I imported the finished layout into KiCad and aligned all the different layers. The actual police car design is placed on the backside of the PCB, whereas the circuit with all its parts, is located on the frontside. After aligning the design, I placed the components on the frontside of the board in an optimal way. Starting with where I needed the LEDs to be and then went from there. After placing all the components, I drew in the circuit tracks to connect all of parts in the same manner visualized in the schematics. | ||
Line 73: | Line 81: | ||
The frontside is covered with copper. This copper layer fulfills the role of the GND circuit tracks, which connects the rest of the circuit with the power supply. Of course there still are the general circuit tracks, that connect everything together, so power can reach all the components and the circuit can function. | The frontside is covered with copper. This copper layer fulfills the role of the GND circuit tracks, which connects the rest of the circuit with the power supply. Of course there still are the general circuit tracks, that connect everything together, so power can reach all the components and the circuit can function. | ||
Furthermore, there are labels corresponding to each component. When soldering the parts to the board, it is much easier because you know where to exactly place them. There also is a placeholder label for the manufacturer, that is covered up by the battery holder. In the production of the board the label was exchanged with a manufacturing number. Lastly, I put a short warning on the PCB, as a homage to one of my friends. All these labels are placed on the frontside Silkscreen layer. | Furthermore, there are labels corresponding to each component. When soldering the parts to the board, it is much easier because you know where to exactly place them. There also is a placeholder label for the manufacturer, that is covered up by the battery holder. In the production of the board the label was exchanged with a manufacturing number. Lastly, I put a short warning on the PCB, as a homage to one of my friends. All these labels are placed on the frontside Silkscreen layer. | ||
<gallery> | |||
File:PCB_Frontside1.png | |||
File:PCB_Frontside2.png | |||
</gallery> | |||
Before I explain the backside of my board, I wanted to comment on the components I used for my PCB. Almost all of the parts are SMD components, that have to be mounted only on one side on the board, facing outward. In the case of my project, it is the frontside. The battery holders on the other hand need through holes drilled into the board and copper pads on the backside of the board, so they can be soldered to it. The LEDs I used also need through holes because they are a special type of LEDs, called reverse mount LEDs. They are mounted on the board facing inward. The middle part of the LED is placed into the hole, while the pads of the LEDs still sit on the frontside of the board. With this way they shine through the PCB. I designed it like that because I wanted the side of the PCB board with the actual design to look neat and flat but I also wanted the parts of the layout resembling the siren and headlight to light up/blink. | Before I explain the backside of my board, I wanted to comment on the components I used for my PCB. Almost all of the parts are SMD components, that have to be mounted only on one side on the board, facing outward. In the case of my project, it is the frontside. The battery holders on the other hand need through holes drilled into the board and copper pads on the backside of the board, so they can be soldered to it. The LEDs I used also need through holes because they are a special type of LEDs, called reverse mount LEDs. They are mounted on the board facing inward. The middle part of the LED is placed into the hole, while the pads of the LEDs still sit on the frontside of the board. With this way they shine through the PCB. I designed it like that because I wanted the side of the PCB board with the actual design to look neat and flat but I also wanted the parts of the layout resembling the siren and headlight to light up/blink. | ||
[[File:PCB_Frontside3.png|400px]] | |||
I altered the footprint for a reverse mounted LED, that already exists in the KiCad footprint library, a bit to better fit the LED I wanted to buy and solder to my PCB. To do that I used the data sheet for the component, that I got from the manufacturer’s website. I repeated the same process for the slider switches footprint but instead of changing an already existing one I made it on my own by recreating the recommended layout found in the parts data sheet. | I altered the footprint for a reverse mounted LED, that already exists in the KiCad footprint library, a bit to better fit the LED I wanted to buy and solder to my PCB. To do that I used the data sheet for the component, that I got from the manufacturer’s website. I repeated the same process for the slider switches footprint but instead of changing an already existing one I made it on my own by recreating the recommended layout found in the parts data sheet. | ||
[[File:Custom reverse mount LED_Footprint.png|300px]] [[File:Custom Slider Switch_Footprint.png|300px]] | |||
Line 94: | Line 114: | ||
Normally when you assign a layer just to be copper it will always have a soldermask layer above it. | Normally when you assign a layer just to be copper it will always have a soldermask layer above it. | ||
To give the body of the police car that silver color I stacked the soldermask and copper layer on top of each other, to expose the metal. For the wheels, the windows, the siren holder and the radiator cowling at the front of the car I just assigned them to be one layer of copper. The soldermask layered above the copper is a bit lighter in color and because the copper layer is about 35µm thick you can see and feel a height difference between the different layers. The windshield has some reflection highlights on it. To do this I created a silkscreen layer above the copper layer of the window. For the sirenlights and the headlights of the police car I made the layer to just be soldermask. This exposes the bare PCB Material. In this case it is FR-4, glass fiber. FR-4 lets the light of the LEDs shine through it, not just through the holes. I also assigned the parts of the design that are made to look like the car doors and engine hood a soldermask layer. With this you can see the bare PCB as well. | To give the body of the police car that silver color I stacked the soldermask and copper layer on top of each other, to expose the metal. For the wheels, the windows, the siren holder and the radiator cowling at the front of the car I just assigned them to be one layer of copper. The soldermask layered above the copper is a bit lighter in color and because the copper layer is about 35µm thick you can see and feel a height difference between the different layers. The windshield has some reflection highlights on it. To do this I created a silkscreen layer above the copper layer of the window. For the sirenlights and the headlights of the police car I made the layer to just be soldermask. This exposes the bare PCB Material. In this case it is FR-4, glass fiber. FR-4 lets the light of the LEDs shine through it, not just through the holes. I also assigned the parts of the design that are made to look like the car doors and engine hood a soldermask layer. With this you can see the bare PCB as well. | ||
<gallery> | |||
File:PCB_Backside 1.png | |||
File:PCB_Backside 2.png | |||
File:PCB_Backside 3.png | |||
File:PCB_Backside 4.png | |||
File:PCB_Backside 5.png | |||
File:KiCad, 3D-Viewer Backside LED 1.png | |||
File:KiCad, 3D-Viewer Backside LED 2.png | |||
File:KiCad, 3D-Viewer Backside LED 3.png | |||
File:KiCad, 3D-Viewer Backside LED 4.png | |||
</gallery> | |||
When I was happy with my layout and design of the PCB in KiCad I finally ordered it from JLCPCB. I changed the material of the copper layers to HASL, so the car body is actually silver, not copper. I changed the color of the soldermask layer to black and the silkscreen was already set to white, the color I wanted. | When I was happy with my layout and design of the PCB in KiCad I finally ordered it from JLCPCB. I changed the material of the copper layers to HASL, so the car body is actually silver, not copper. I changed the color of the soldermask layer to black and the silkscreen was already set to white, the color I wanted. | ||
After a while I finally received the PCBs and they look nice. I am just a bit disappointed by the streakiness of the silkscreen layer. | After a while I finally received the PCBs and they look nice. I am just a bit disappointed by the streakiness of the silkscreen layer. | ||
<gallery> | |||
File:KiCad, 3D-Viewer Frontside.png | |||
File:KiCad, 3D-Viewer Backside.png | |||
</gallery> | |||
'''Finished project:''' | '''Finished project:''' | ||
The PCB board is about 83mm times 153mm and it is 1,6mm thick. | The PCB board is about 83mm times 153mm and it is 1,6mm thick. | ||
Before actually finishing the board, I had to get new capacitors because the ones I bought before did not have the right capacity. | Before actually finishing the board, I had to get new capacitors because the ones I bought before did not have the right capacity. | ||
I had to improvise a bit and the end result looks clunky, since the capacitors a quite big. They lie above the resistors R1 and R4 but because of the plastic at the bottom of the parts they do not interfere with the resistors. It functions how I wanted it to and I am happy with that. | I had to improvise a bit and the end result looks clunky, since the capacitors a quite big. They lie above and overlap with the resistors "R1" and "R4" but because of the plastic at the bottom of the parts they do not interfere with the resistors. | ||
I had some spare resistors left and I experimented with them. I soldered two on top of the resistors "R2" and "R3", that were already mounted on the board, so that they are connected in parallel to each other. By doing this I increased the blinking speed of the LEDs. | |||
It functions how I wanted it to and I am happy with that. | |||
When I was finished with the soldering process, I clipped of the pin from the battery holder that was sticking out from the backside of the PCB. But only the top one. The one pin below that I bend to make it look like a door handle. | |||
As a last step I cut out green, orange, red and blue crafting foil in the shape of the sirenlights, the headlights, the car doors and the hood of the car. I stuck the foil onto the board and with this my badge is finally complete. Now it has all the colors I wanted it to have but I could not create, due to the limited option of layers and colors. | |||
GitHub Repository: | |||
https://github.com/Rik3Kat/PoliceCar_PCBArts | |||
With my GitHub repository you have access to the KiCad files for my project, I developed over the span of this course and download them. | |||
<gallery> | |||
File:PCB finished (3).jpg | |||
File:PCB finished (4).jpg | |||
File:PCB finished (2).jpg | |||
File:PCB finished (6).jpg | |||
File:PCB finished (5).jpg | |||
File:PCB finished (7).jpg | |||
File:PCB finished (8).jpg | |||
File:PCB finished (9).jpg | |||
File:PCB finished (15).jpg | |||
File:PCB finished (16).jpg | |||
File:PCB finished (11).jpg | |||
File:PCB finished (10).jpg | |||
File:PCB finished (12).jpg | |||
File:PCB finished (13).jpg | |||
File:PCB finished (14).jpg | |||
File:PCB finished (17).jpg | |||
File:PCB finished (1).jpg | |||
</gallery> | |||
Here are two videos demonstrating the functionality of my PCB: | |||
{{#ev:youtube|L2tGN1L0s-I}} | |||
{{#ev:youtube|GiVNKXc-w_Y}} | |||
edits