Posts Tagged ‘electronics’

90% of our pathfinder project was completed. Rest 10% was testing phase. We had one day before our final presentation. Kinda happy that robot no more looks like a piece of junk. Then, there came a the biggest tornado in my life. The biggest Tsunami. The worst  horror of my life. Guess what? There was a short circuit while we were working with the robot trying to test it. I could not believe it happened and was in shock that after so much of hard work the whole thing might not work at all because there was a small mistake with electronics. There was a thick smoke and the burnt smell. I pulled the plug, and checked if arduino was dead. It was working fine. The dc motors of both rear wheels and front wheels were working fine. To the worst of all the Servos were the one who went dead. Not one but all three on the hand. I opened up the servos to check and see if there was anything I could fix, but i could not find anything. And ordering new one was out of question, since we were already out of budget. This type of accidents are kinda normal when working with projects which use lots of power source. Honestly, I never really cared about electronics . I always tried to make it just to work with project. The simplest one I could make. But after this not only I realized that electronics is a bitch and should be handled with  most care, I also realized that last minute checkups and testing should be done using a back up. Always have a backup plan. Plan B or the exit door. I hope no one else will get the same fate as this project got.

What next?Well, Every baby who tries to walk falls down in a while. But you never actually learn if you are not willing to rise again and try walking again and again until you have perfected it, you will never learn to walk. The project is not destroyed yet, although our grades might get really low. I have a whole summer ahead of us and I will try my best to work on this again and take this project to 100% success!!

“It is common sense to take a method and try it. If it fails, admit it frankly and try another. But above all, try something.”
― Franklin D. Rossevelt

 

This was the first time we dealt with making a PCB(Printed Circuit Board). It was a great experience. Now, we will share the process we used to make our simple PCB. The whole process was supervised by Chaiyaporn Silawatchananai(Tom).

Making PCB is real simple if you have these required stuffs. The materials we used and the one you will need if you want to make one are as follows.

  • PCB of your desired size.( basically a copper plated board).
  • Drilling tools need to put and solder the components later.
  • Etch Acid(FeCl3 solution)
  • Thinning Solution
  • Cutter, Iron( or anything with which you can heat the plate).

 

back side of a plate

back side of a plate

Copper plate

Copper plate

First of all we need to make a PCB layout. We did this using a software which is called Eagle(http://www.cadsoftusa.com/) . This software is pretty easy to use or you can go through some tutorials on you tube or Google and you can figure it out. After the layout is ready, it should be printed on a glossy paper. Ours was something like the one in the picture below.

Layout of PCB designed through EagleCad

Layout of PCB designed through EagleCad

PCB layout and respective size copper plate

PCB layout and respective size copper plate

After the printed layout is ready and we have a desired size of PCB that can fit the layout, we need to mark the layout we have in the glossy paper to the PCB. This is pretty easy as well. First heat the PCB board. We used simple Iron used to Iron clothes to do this. Anything else which is safe enough can be used as well. The main purpose is to heat the PCB.

20130412279

After heating it for around 1 min(depends on the stuff you are using to heat PCB) , put the printed layout on glossy paper upside down on copper side of the PCB, as done in the picture below.

After heating and putting together glossy paper and copper plate

After heating and putting together glossy paper and copper plate

when the layout paper is positioned properly, heat the whole thing from above. If using Iron make sure to use different positions so that all sides of the layout is heated and gets pasted properly. Wait for another 2 minutes and use a heat-resistant gloves or any kind of grapper which will protect you from heated PCB. Dip it in water for minute or two. Now, slowly peel of the paper from the board. Be gentle here or the whole thing might be spoiled.

Dipping heated PCB stick with glossy paper in water

Dipping heated PCB stick with glossy paper in water

Peel out the glossy paper very slowly

Peel out the glossy paper very slowly

You will see markings of your layout on the PCB. Now, clear the wet papers stuck in the PCB very gently. Make sure the markings do not get spoiled. You might not get all the markings if this is the first time dealing with PCB. We could not get it in the first time either. The markings were not clear nor were complete in the first trial. However we some what did it in the second time.

One of the perfectly formed PCB

One of the perfectly formed PCB

Ours PCB missed a copper line we marked it with black marker

Ours PCB missed a copper line we marked it with black marker

After the papers are cleared the PCB with markings should be dipped in the Etch Acid solution. This solution carves away the copper part in the PCB keeping the markings intact.

Using Etch Acid

Using Etch Acid

Using Etch Acid to etch out unwanted copper

Using Etch Acid to etch out unwanted copper

Late view after using Etch Acid

Late view after using Etch Acid

You can see that the copper part is slowly getting peeled away. And after its all done , dip it in water again and there is you PCB ready .Now it needs to be cleaned so that only copper lines remain on the board. For that we used Thinning solution and slowly cleaned it. It kinda stinks so make sure to do it in some where open.  After this process you will get a board with copper lines in it. Now its time to drill holes so that components can be inserted.
We used small driller made out of Dc motor and very small drill nodes. Precision is very important here as we do not want to make holes in unwanted place and in some cases outside copper lines. The holes need to be on exactly where it is supposed to be.

Drilling holes to insert components

Drilling holes to insert components

inserting components to board

inserting components to board

THIS IS NOT HOW YOU SHOULD INSERT COMPONENTS!

THIS IS NOT HOW YOU SHOULD INSERT COMPONENTS!

 

 

Further parts needed for the circuit like registers, transistors as per the need should be soldered in the board. And there is a PCB board ready to go!

Soldering

Soldering

Soldered Backside of a PCB

Soldered Backside of a PCB

Back side of completed PCB

Back side of completed PCB

Our completed PCB

Our completed PCB

One of the perfected PCB made in class

One of the perfected PCB made in class

This PCB could take some voltage and using potentiometer change the output from the board. Pretty handy stuff in place where you have higher source but want a lower input on components.

Good luck With making your own PCB.

 

Since the hardware job was almost done, we had to move forward with electronics and add up soul to this work. We continued with using two arduino boards for processing. We used a breadboard for make a circuit. There was lots of soldering work done and jumper wires were used to connect modules. We also added up ultrasonic sensors  and arduino board. We had a hard time making space for all the components and we had the weight issue as well. However, we will be moving forward with the same plan as long we do not see any problems in it.  The wires are still not in their correct place in the pictures, however we will be uploading the schematics shortly.

two arduinos, one on top of another

two arduinos, one on top of another

messed up wiring

messed up wiring

arduino

arduino

DSC06675

ultrasonic sensor

ultrasonic sensor

back view

back view

should paste the sensors propperly

should paste the sensors properly