Electronics production

Milling a Circuit Board ⟨PCB⟩

A given design

Daniele made the design of the PCB board for us. He created it in eagle.
This is the schematic version
schematic version
Before milling the circuit, it has to be changed in a simpler and black and white template
Here you see the way step by step:
Clicking out the not using layers
PCB version
Export as an image
PCB version
Export setups
PCB version
Last steps in Photoshop or Gimp:
choose the crop tool and crop the space around
PCB version
save that file
choose the rectangular marquee tool to make a square and fill it white
The PCB will be milled on that square
PCB version
save both files as a png

Exporting the board

Daniele made the design of the PCB board for us. He created it in eagle.
This is the schematic version
schematic version
Before milling the circuit, it has to be changed in a simpler and black and white template
Here you see the way step by step:
Clicking out the not using layers
PCB version
Export as an image
PCB version
Export setups
PCB version
Last steps in Photoshop or Gimp:
choose the crop tool and crop the space around
PCB version
save that file
choose the rectangular marquee tool to make a square and fill it white
The PCB will be milled on that square
PCB version
save both files as a png

ATtiny45

description of the ATtiny45 microcontroller, which you can see in the middle of the sketch.
The high-performance, low-power Atmel 8-bit AVR RISC-based microcontroller combines 4KB ISP flash memory, 256-Byte EEPROM, 256B SRAM, 6 general purpose I/O lines, 32 general purpose working registers, one 8-bit timer/counter with compare modes, one 8-bit high speed timer/counter, USI, internal and external Interrupts, 4-channel 10-bit A/D converter, programmable watchdog timer with internal oscillator, three software selectable power saving modes, and debugWIRE for on-chip debugging. The device achieves a throughput of 20 MIPS at 20 MHz and operates between 2.7-5.5 volts.


Milling the board

First of all I put a copper plate in the milling machine and fixed it very well. After that I opend first the png-file PCB on that special program from Neil Gershenfeld, he has developed for the FabLabs. It is an open source program to use different machines. For milling PCB´s on the Roland milling machine we usually take that program
I usd the setups on the following images.
X0,y0 and z0 are the settings of the mill axis. Theses setups depends from your placement of the copper plate. The milling process start in the upper, right corner of the pduced PCB plate.
PCB version
PCB version
Before starting the machine, I had to make sure that the milling cutter has a slightly conection to the copper plate. I used a multimeter to make it sure. I took one wire of the mulitmeter and held it on the milling cutter and the other on the copper. When I heared a beep-sound, I was sure, that the millig cutter and the copper plate were conected. I could start the ctting process. The blue lines are the cutting lines of the milling cutter. The mill runs the way four times, with an overlap of 54%. The milling cutter has a diameter of 0.2mm.
PCB version
That was the process:
PCB version
PCB version

After cutting out the PCB, I had to cut out the plate itself. I chose he right image, Roland mill and process: PCB trces 1/64. Then I used the following setup:
PCB cut

PCB cut

Soldering the PCB

I was really afraid of soldering this small board, but I went well and I had no big problems.
Before starting soldering the real board, I trained myself with some resistors on a circuit board.
I only made sure to use less soldering as possible. See some snapshots:
PCB version
PCB version

Connect the ATtiny board to the arduino uno
and then to the computer

I followed the instructions below:
01 - open the arduino ide and finde under preferences the additional board manager URLs:
02 - copy in that fiel: https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
03 - click on OK button to save the changings
04 - connect the arduino uno to the pc
05 - select the right port and the arduino uno board under tools
06 - under file->examples find and open the arduino as isp sketch
07 - upload the sketch to the arduino
8 - disconnect the arduino from the pc
09 - connect the hello board with the arduino (check the connection schema)
10 - triple check the connections
11 - connect the arduino to the pc
12 - select the right board/processor/frequency -> attiny25/45/85, attiny45, internal 8mhz
13 - under tools select the arduino as isp programmer
14 - double check all the paramters
15 - click to tools-> burn bootloader
16 - write your own program
16 - to program the board do sketch->upload using programmer

Here is connection schema to connect the hello board with an arduino uno:
connection
I used the following code:
connection

png-file PCB

Download link

png-file square

Download link