Architecture

FABLAB WINAM 2019

Fablab Winam 2019

ELECTRONIC PRODUCTION

Group Assignment

characterize the design rules for your PCB production process

PCB production process

We started to practice using the milling machine Roland SRM-20 with our whole group in the noon of 15.2.2018.

House

preparation of the input files for the milling machine. The input files are made in

Assignment

make an in-circuit programmer by milling the PCB, program it, then optionally try other PCB processes

This week, i built an In-System Programmer (ISP), which is used to program other microcontrollers that are already built into their circuits..
Electronics Design week,and in other weeks).

Milling the board

After download the designed PNG from class webpage i generate the Roland Mill file using Fab Modules.
I milled the board using the Roland SRM-20 Modela mill.
First of all we made a solid and uniform base using a 1mm milled SANMODUR blocking it on the workspace with double-side tape.
For milling the traces I used a 0.12mm conic tip (bolino) with 40° angle inch bit,
to remove all copper from the usb connector i used a 0,4mm tip,
while for cutting out the board i used the 2mm tip.

House House

My Design Work

House House

I have used Fabmoduls to generate the files needed for the machine in our lab.
I have upload the PNG traces file on Fabmodules

House House

House House

after the machine is done i did the same for the Outline but instead of Choosing
Traces (1/64) i Chose Outline (1/32). then pressed Calculate.
House

Result
After milling I have washed my board with soap and water to
remove waste material and allow solder material sticks better.

House

Soldering and Electronic Components

Soldering is the process of connecting electrical components to one another or to a conductive substrate.
We are using smd(surface-mount device) for this.
While gathering the smd's I wrote the components as follows

1 ATTiny 45 microcontroller
1 Capacitor 1uF
2 Capacitor 10 pF
2 Resistor 100 ohm
1 Resistor 499 ohm
1 Resistor 1K ohmv
1 Resistor 10K
one 6 pin header
1 USB connector
2 jumpers - 0 ohm resistors
1 Crystal 20MHz
2 Zener Diode 3.3 V
1 usb mini cable
1 ribbon cable
two 6 pin connectors

House

Programming the ATtiny45

House

What i need to have

1. Laptop,with installed arduino 1.6.4 ide
2. An arduino mega2560
3.My program85 board
4. jumper wires

What is Attiny45

This is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture.
By executing powerful instructions in a single clock cycle,
the ATtiny25/45/85 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed

Pin Configuration

ATTINY45 is an 8 pin iC as shown in the ATtiny45 pin diagram above.
All I/O pins of the chip here have more than one function.
We will describe the functions of each pin below.
Pin1, PB5 (RESET/ADC0)-used as RESET pin
Pin2 and Pin3 ,PB3 (XTAL1/CLKI/OC1B/ADC3)
Pin4,PB4 (GND)-Negative Terminal. Connected to ground
Pin5, PB0(MOSI/DI/SDA/AIN0/OC0A/OC1A/AREF)
Pin6, PB1(MISO/D0/AIN1/OC0B/OC1A)
Pin7,PB2(SCK/SCL/ADC1/T0/INT0)
Pin8,VCC-Positive Terminal.

h1>
Connecting Arduino pin With ATTINY45 PINS GUIDE
This turns the Arduino into a AVRISP using the following arduino pins: pin name:mega(1280 and 2560)
slave reset: 53
MOSI: 51
MISO: 50
SCK: 52
Put an LED (with resistor) on the following pins:
9: Heartbeat - shows the programmer is running
8: Error - Lights up if something goes wrong (use red if that makes sense)
7: Programming - In communication with the slave

FINALY

House

House

House

Then i run the make flash command
House House

FAB ISP FILE

Shematic