Thursday, October 9, 2008

Home-made Double Layer ATmega32 PCB for RS232/RS422 Communication testing

Hi guys,
after making my single layer starter's kit M32_Card, I was looking for making a double layer M32 PCB at home. So, here is my attempt to make it. Well, it didn't turn out to be as difficult as I had thought it to be earlier. I had to dump one PCB before making this one as the top-layer routine was not solder-friendly!!

I've made this one mainly for an application where RS232 & RS422 testing was required. It uses MAX232 & MAX488 ICs from for those serial communication. Selection between RS232 & RS422 is through jumpers. The board is using ATmega32 controller, just like my single layer pcb. It also has 4x4 matrix keyboard, an LCD interface, ADC connector, SPI connector (for In System Programming), a reset switch and an LED for beginner's programming. It operates with the standard 12v DC adapter.

Here is the schematic (click on the image to enlarge):

There is a small mistake here in the schematic, the RX/TX pin connections in the RS232 connector are swapped, which I found while testing the PCB. So, I had to correct it by cutting those two tracks and placing jumpers. After the correction, the communication with PC was established. The schematic is similar to the M32_Card, accept that I've removed the RTC DS1307 and placed the MAX488. Also, the individual push buttons are replaced with the 16 key matrix key-board.
Click here to get more info and for downloading code to interface the 4x4 matrix keyboard shown here

The PCB etching is done with Ferric Chloride. In making the double layer PCB, as I don't have any PTH (printed through holes) facility, I've put small pieces of single core wire into the holes and soldered both sides. Check out the top and bottom layers here

If you have an application where the circuit can not be contained in a single layer, a home-made double layer PCB is worth a try!!



cahcyber said...

How to maintain for component that should be on Top Layer and which component should be on Bottom Layer?
I try to design it using Protel 99 SE, can I do that?
How to connect between Top Layer and Bottom Layer on Protel Schematic?

CC Dharmani said...

Hi, usually one side contains all the components and some tracks and other side contains only the tracks, as all the tracks can not be routed on one side due to higher density of tracks.
you can do the same in Protel also. You can use auto-routing, and it'll take care of the connections between two layers. when you give the layout for manufacturing, they'll make proper connections between two layer using PTH (Printed thru Holes)
If you are making the PCB at home, it would be advisable to first run the auto-router for bottom-layer and then whichever tracks remain unrouted, you can manually route them on the top layer. This way the complexity of the tracks will remain minimum on the top layer.
In home-made PCB, PTH will not be there, so you have to connect the two layers by passing small wires thru the holes and soldering them on both sides.

Harsh Shah said...

Hi sir,

I live in Ahmedabad (Gujarat - India). I saw in your profile that u live in chennai. My question is that from where did u get the 4x4 matrix keypad ? Because i have searched all electronic shops here in ahmedabad and i'm unable to find it. Do u know any shop in ahmedabad from where i can get it ?

CC Dharmani said...

Hi Harsh, in Ahmedabad also, you can get this keypad from the electronics market where they sell electronic components or telephone accessories, I don't remember the area name right now.
You can try at following address, they have the 4x4 keypad:

Sunrom Technologies
33, 1st Floor, Yash Niketan Complex
Opp. Khokhra Police Station
Khokhra Circle, Maninagar(East)
Ahmedabad - 380026
(item model No. 5000-0007)

Anonymous said...

Hi sir, please send me all the steps of protel design the single layer pcb and double layer pcb
because i want to learn that PROTEL DESIGN application

rrb group d result said...

The RRB Group D Result will be declared separately for all these stages. However, the procedure to check the result will be same for all these stages.

Anonymous said...

The RRB Gorakhpur Group D Result will be declared soon on the official website of RRB.

Anonymous said...

This is a fantastic website Facebook AR
Augmented Reality
Snapchat Lens

4Hub said...

I love this post. Thanks for starting it. Loved the thought that was put behind writing this. I'm glad. :)


Geek squad support said...

Currently, it looks like an article is the top blogging platform available right now.
And really this is an informative blog.

Anabia Irwin said...

Sharing with you one of the best happy 1st birthday wishes and greetings that you would definitely like.

netgear wifi extender said...

thanks for sharing these posts on microcontrollers they helped me a loy in my project

netgear extender setup said...

Thanks for sharing. We provide full support for all your Arlo devices, including guidance for your netgear extender setup .So if you are having issues with connecting to the Wifi or configure settings on the Arlo app, then contact us using our live chat services or our email.You can also call us using our customer support phone number.

jamesdeny123 said...

Security plays an important role in everyone's life. And, Norton setup antivirus software is the best antivirus software program. It always works to detect errors and protect our computer/laptop data from a number of different types of virus and malware attacks. Download norton.com setup to use security features to protect your system.

jarvis deny said...

If you are thinking about your security problems so you no need to worry about it because McAfee provides the best protection for devices that you are using for your business or other important thing for more details visit our website: mcafee security

Anurag Srivastava said...

thanks for sharing goo information...Railway Recruitment 2020 is one of the largest employers in the world and has over 1 million employees. Indian Railways recruit thousands of candidates each year for various posts in its different departments.

peter said...

if you are looking for McAfee activate product key then you can simply visit our website where we cover the full process to get product key. for more help, you can call our technical assistant.we are 24*7 available for our users. you can visit on mcafee.com/activate

activate myprepaidcenter said...

The myprepaidcenter is famous among users due to its applicability with any Visa or Master – Prepaid Debit Card

Doanh Doanh said...

Korean Air started using https://bookvedulich.blogspot.com/2021/03/thong-tin-ve-san-bay-tai-canada.html
the Boeing 707 on its trans-Pacific https://trithucdulich.blogspot.com/2019/05/top-nhung-khach-san-tot-nhat-tren-the-gioi.html
routes. In the following year, it started https://monanngondiadiemdulich.blogspot.com/2021/06/an-gi-an-o-dau-khi-di-du-lich-den-thanh-pho-bandung-indonesia.html
using the Boeing 747s on its European https://ngauhungdulich.blogspot.com/2020/04/du-lich-han-quoc-theo-mua.html
routes. In 1975, the airline became the first Asian https://nhungchuyendicuocdoi.blogspot.com/2021/03/thong-tin-san-bay-quoc-te-canada.html
carrier to operate Airbus A300s.

Unknown said...

The Imagine Studio is an India based web development/ 3d rendering company. Distributing high quality, cost-effective, reliable, and result-oriented solutions to our clients spreading all over the world. We specialise in Web Development, E-Commerce Solution, Digital Marketing, Architectural 3D Rendering, 3D Wak-though, 3D product modeling and 3d animation Services etc.

College Essay Help UK - Buyessay.org.uk said...

Thank you for creating such a fantastic website. I've been a fan for three years and have read practically all of your works; in fact, you've helped me academically in the same way that online tutoring does.

professional software testing services company said...

This is a great recipe for double layer cake. It is simple to follow and the results are delicious. This cake is perfect for any occasion.

call girls in delhi said...

nice a post

Delhi escorts service said...

Happy hours

escorts in Mumbai said...

A nice blogs

sivaleela said...

The Home-made Double Layer ATmega32 PCB for RS232/RS422 Communication testing is a remarkable DIY project that caters to electronics enthusiasts and professionals alike. This intricately designed printed circuit board (PCB) showcases a high level of craftsmanship and precision. Its dual-layer architecture, specifically tailored for ATmega32 microcontroller applications, allows for robust RS232 and RS422 communication testing. The inclusion of both communication protocols offers versatility, making this PCB an indispensable tool for those working in various fields that require reliable data transmission. The detailed instructions and documentation accompanying the PCB ensure accessibility for hobbyists and experts, allowing them to embark on this project with confidence. Overall, this home-made PCB exemplifies innovation and ingenuity, serving as an invaluable resource for individuals looking to explore and enhance their knowledge in the realm of electronics and communication technologies.
arbitration for contract disputes
estate tax lawyer Virginia