ATMEGA32 PCB drill machine

| August 3, 2019 Updated
ATMEGA32 PCB drill machine

This document describes the construction of a PCB drill machine driven by a master-controller board and three stepper motor driver boards. These four single sided PC boards each contain an Atmega16/32 microcontroller. Communication between the boards is performed using the RS485 protocol with all communication initiated by the master-controller. The Atmega16/32 software is completely written in Bascom-AVR.

On the master-board a PS2-connector to connect a PS2-keyboard. Furthermore a 8 x 24 LCD. A RJ45-connector for the RS485-bus. A Max232 for serial communication. An Atmega32 is controlling all.

pcb-drill-machine-block-schematics

On the stepper motor driver board an Atmega16. A RJ45-connector for RS485-communication. A fan to keep the temperature of the drivers for the stepper motor at a reasonable level. A stepper motor driver-board is an autonomic device. It gets a command from the master-controller-board and it takes care of the stepper motor motion, error-detection and error-correction. The initiative of communication on the RS485 bus is at the master-controller-board. It submits the stepper motor commands and will wait until the commands are done.

RS485-connection. The initiative for communication is always done by the master-board. It sends the commands to the slaves and waits till the slave comes back with a READY or ERROR-message. Depending on the ERROR-code a resend of the command is done (slave sends an error-message because the checksum is not right), slave sends a READY when the command is finished.

For the design of printed circuit boards we have chosen Eagle. With Eagle’s CAM-processor an Excellon drill-file is generated. This Excellon file is presented to the Drill-machine and the Drill-machine will do his drilling from top to bottom of the file. We haven’t made any tool change equipment, but by running the Excellon file several times from top to bottom, we can use different drills. To monitor the RS485-communication-bus we added a small piece of electronics.

And now, with a communication program, like HyperTerminal, we can monitor all traffic on the RS485-communication-bus.

PCB-drill-machine
PCB drill machine

PCB-drill-machine-avr-pcb

PCB drill machine electronic projects files:

FILE DOWNLOAD LINK LIST (in TXT format): LINKS-21822.zip

Published: 2012/03/12 Tags: ,



1 Comment “ATMEGA32 PCB drill machine

  1. Electronics CircuitsElectronics Circuits

    Simple Power Supply Circuits LM337 LM317

    When mixing my library I found 2 power supply circuits detailed drawings and so on. well prepared, easy to understand for beginners, especially electronics simply instructions, explanations about the circuit’s placement drawings. Adjustable symmetrical power supply @HAYDAR AKIN Anatolian Vocational High School Single output Regulated power supply HUNTERS Anatolian Technical and Vocational High School prepared by the think the education of students used in the documents of the two of them .. Especially single source supply smart designed mentioned earlier, the “bypass” method is used – who contributed Thanks to the people who prepare.

    MPS-0241 ADJUSTABLE POWER SUPPLY

    REPLY

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Comment moderation is enabled. Your comment may take some time to appear.