Showing posts with label PCB. Show all posts
Showing posts with label PCB. Show all posts

Friday, February 14, 2020

My Smart Sprinkler System Part 2.


Introduction
You might be aware that I have been frustrated about forgetting to switch off appliances before leaving home. I guess its a sign of old age, my forgetfulness is becoming fairly pronounced. but instead of grumbling, as a technological determinist, I decided to create a smart home.

I have been tinkering with microcontrollers for some years, but creating a smart home got me jumping into the deep end of Internet of Things IOT. I have short listed several projects that I will need to create to have a smart home, and you can find them from looking through my blog for IOT and my smart home. here -

As you can see I have a whole lot of projects to keep me busy for a long long time. but not to worry, they are all simple modular systems that latch unto each other to create a smart system. I usually, will share them here with you. you can follow the steps and recreate them for yourself if you have the basic skills of soldiering and following simple instructions. I will also share Gerber files, circuit diagrams and a whole lot of information to help you build these circuit systems on your own.

To Sprinkle Or not to Sprinkle
for today, I will focus on the plants in my compound. I want to be able to automatically water the lawn, plants around the compound at preset times every single day of the year without much manual intervention. Yes one can easily buy a working water sprinkler off the shelve in any hardware store. but there is no fun in that. Plus, we can build a smarter system that takes cognizance of the weather to decided if it should give the plants their usual dose of water, or not water at all if it has rained in the last 24 hours. We could also throw on a Big Bank effect that brings in the watering sequence to a crescendo as part of the Christmas Lighting experience.

Examples of making of the Project Circuit Boards PCB abound on the internet. 1. Transfer a circuit trace from a Laser Printer to a paper and unto a PCB board. and 2. Rule traces manually by hand. 3. etch in an acid bath and 4. Solder on the components. etc.

Feel free to look them up and choose which one to use. For the 1st step - there are basically only two methods open to you, One, to carefully draw it with your hand using a permanent maker like a fine point sharpie, or two, to use a purpose built application to design the circuit and print it out using a Laser printer (not a bubble jet ink based printer). I have written an article on how to make a a PCB using the manual process. If you don't want to use that method, I will explain here how to follow another more precise method.

Laser Heat Transfer Method
If you desire a more professional end product, you can create professional PCB files using purpose built applications - there are a lot of applications that take away the stress of sweaty and shaky hands to deliver crisp looking products. See a list of the top 9 free PCB softwares. I have tried my hands on a couple of these, they all have their pros and cons, but I especially like Fritzing software. Its intuitive features allow you  make professional looking double sided PCB. Below is the image of the PCB I designed for the water Sprinkler. Along with its Gerber files if you wish to print it out and transfer it to the board.

Here are the Gerber files from my Fritzing design, for the sprinkler system.

After the traces have been printed on paper, they are ironed with high heat to melt the Laser Toner onto the board. As you may have noticed, this design was done on two sides - two sided boards are very difficult to make, the main problem is ensuring that the vias (the points where current passes from one side to the other side of the board. If the vias are not precisely placed, the PCB will not work.

Note: To esure that the vias line up, I utilize a light box to ensure that both sides of the mirrored print out match. I tape it on three sides before sliding in the measured fresh PCB. This way, when the PCB is etched and the holes are drilled, each trace matches. If the VIAS don't match point to point, all the vias will fail and your two sided board will fail.

After both sides are held in place, I iron both sides with a pressing iron until I can clearly see all the traces melted onto the board - most websites tell you to do this for about 5 mins, but I iron mine for longer periods than that. At the end you can clearly see that the traces have melted unto the PCB.

After allowing the PCB to cool down, I leave it in a bowl of water to soften the paper. softly rob off paper to reveal a perfect work of art...

Gloves On!!!
Handling or even inhaling chemicals is very dangerous. Please be careful with the following steps.

Choosing the etchant is very important. Boric chloride, off the shelve etchants, etc. are easily obtained in the west, but in the south, its not easy to come by. but not to worry, finding a chemical that corrodes copper is not very difficult. I use Hydrochloric Acid (easily obtained from any swimming pool shed) and Hydrogen Peroxide (From any pharmacy). One part peroxide, and two parts Hydrochloric Acid.



Please note that you should not dispose of the etchant in the drain - it could potentially corrode the pipes and sink. do not also throw it out indiscriminately as it could kill plants and pollute the earth. I use mine to clean concrete of moss. and water it down afterwards.


By now the PCB is looking very good. but we need to mark the points to drill each hole. I use a carbide score to nick the points for my pilot holes. these points are important to ensure the drill doesn't "runaway" and end up in the wrong place. scoring the PCB, only to make a dent, not to make a hole. Remember each via on the topside must match its corresponding via on the bottom. After the scoring, its time to drill the holes.


Monday, March 19, 2018

My Smart Sprinkler System Part 1.


Introduction
You might be aware that I have been frustrated about forgetting to switch off appliances before leaving home. I guess its a sign of old age, my forgetfulness is becoming fairly pronounced. but instead of grumbling, as a technological determinist, I decided to create a smart home.

I have been tinkering with microcontrollers for some years, but creating a smart home got me jumping into the deep end of Internet of Things IOT. I have short listed several projects that I will need to create to have a smart home, and you can find them from looking through my blog for IOT and my smart home. here -

As you can see I have a whole lot of projects to keep me busy for a long long time. but not to worry, they are all simple modular systems that latch unto each other to create a smart system. I usual, I will share them here with you. you can follow the steps and recreate them for yourself if you have the basic skills of soldiering and following simple instructions. I will also share Gerber files, circuit diagrams and a whole lot of information to help you build these systems on your own.

To Sprinkle Or not to Sprinkle
for today, I will focus on the plants in my compound. I want to be able to automatically water the lawn, plants around the compound at preset times every single day of the year without much manual intervention. Yes one can easily buy a working water sprinkler of the shelve in any hardware store. but there is no fun in that. Plus, we can build a smarter system that takes cognizant of the weather to decided if it should give the plants their usual dose of water, or not water at all if it has rained in the last 24 hours.



The making of the Project Circuit Boards PCB
Examples abound on the internet on how to create a PCB.

1. Transfer a circuit trace from a Laser Printer to a paper and unto a PCB board.
2. Rule traces manually by hand.

feel free to look them up and choose which one to use. but there are basically only two methods open to you, One, to carefully draw it with your hand using a permanent maker like a fine point sharpie, or two, to use a purpose built application to design the circuit and print it out using a Laser printer (not a bubble jet ink based printer).

1. Manual Trace
I typically use the manual tracing method only when the design is simple or I don't have access to a Laser Printer and time is of the essence. Though this would typically give a rough amateurish outcome, but as usual, I put a little method to the madness. As expected, this manual process, though fast, creates a not so professional outcome. but there are a whole lot of lessons to learn from this method, so I will show you how to make a PCB using the manual writing method.

1st step is to clean the PCB with steel wool and use 4 pins to sandwich the dotted project board, the two sided board against a piece of paper.




I usually pull out a dotted project PCB as a guide to help me mark the necessary points from studying my circuit on the bread board, I experiment with where each component will fit by placing them on the paper, punching a tiny hole through the doted project board.

 At the end I get a fair idea of where things would end up and I rule the lines on the paper.


I then manually rule the necessary traces with a sharpie (permanent marker). If I make mistakes, I wipe them off with cotton wool dipped in acetone and touchup with a fine tipped sharpie or any permanent marker after it dries.



These markings are actually thin plastic traces protecting the copper upon which they are written. the protection prevents corrosion by the chemicals when dropped in an etching bathe. Spend all the time you need reviewing the traces, make sure there are not shorts and that each pad connects to a matching hole that way when drilled the components will easily fall in place. this is particularly important if they are surface mounted components - I avoid  them cos they are very difficult to solder, but they are cheaper and also small, ideal for compact designs.

If you are able to follw these steps you will have something similar to the image above and ready for the next phase - etching the copper plate in an acid bathe. I will show you just how in another article. until then cheers.