Week #4

Make an in-circuit programmer by milling and stuffing the PCB, test it, then optionally try other PCB processes.

Making an in-circuit programmer


First of all, I had to make PCB by milling material, as the material we used FR1. FR-1 is a hard, flat material that consists
of a thin layer of copper over a non-conductive phenolic resin. It’s usually about the thickness of two or three credit cards.

User_manual_1

To mill FR1 I used the Roland SRM-20, which is small 3 axis milling machine.

cutting_vinyl_1

To start milling firstly I need to fix the shit of PCB material on the workspace of the machine, to do that I use the Double-sided tape.

Stickers_1 Stickers_1

Then I put the workspace back on in the machine, and take endmills I need 1/64 and 1/32, first one for milling traces and the second one for profile cutting. Then I put 1/32 end mill on the spindle.

Stickers_1 Stickers_1 Stickers_1

To make the CNC machine do something I need the G-code as well, to get g-code I used Fab Modules. Fab Modules was funny and simple process. Step one input format in our case that is png next choosing output format .nc that is g-code then choosing the endmill and that's all, after we can save it. Actually that is too simple, all parameters has been chosen and sated. I played with settings but after I set everything as it was to make risks minimum.

# # # # # #

After I had the nc files I open VPanel which is Roland’s software. VPanel is userfrandly and simple software with few buttons.

# #

At that point I was ready to start machining as I had all components needed endmills, .nc file, material fixed on table. I setted zero point, origines.As I was going to machine the usb board and cam test at once I setted two origines using G54 and G55.

# #

After everything described above were done I was ready to start machining, for that press cut bottom, choose (input) .nc files then pres output and magic starts. not everything goes right saying that I mean that I mixed up the g codes and as the result my CAM test looks like USB but that wasn’t critical because the important part survived.

After milling done I remove the parts cleaned machine and start reading tutorials about soldering.

# #

The second Step was to solder components on the PCB. AT that time I had no experience in soldering that’s why I tried soldering with non working boards which were unneeded and gat used to it in one hour. Our Instructors helped me alot to get some skills in soldering. One of the rules they told me was to keep the heating element clean by using wet sponge. For soldering first of all I need heating component to heat the point on the board then press solder on the heated point. It will melt and connect component to board. Soldering Iron temperature is 350 degree celsius.

# # # # After getting some experience I start working on my PCB and the next suggestion from our instructoror was to clean the boar before starting soldering. Then we need to find the components.
  • 1x ATtiny45 or ATtiny85
  • 2x 1kΩ resistors
  • 2x 499Ω resistors
  • 2x 49Ω resistors
  • 2x 3.3v zener diodes
  • 1x red LED
  • 1x green LED
  • 1x 100nF capacitor
  • 1x 2x3 pin header

I start the process. to be honest I forgot to solder one side of the diode and program It actually It works normal but after I improve It. I used this tutorial to assembling my ISP programmer

# #

Final step was to program the programmer to do that I used Azniv’s programmer and that was done in few steps. First of all for programing Linux is needed, then by using command line installing the the soft (CrossPack). To do installation I followed I can't write to much about programing because I only do steps described in tutorial and unlike every other time when I do something with tutorial it works perfectly. FabTinyISP_english | FabAcademy - Tutorials Brian Mayton’s tutorial which is written very thorough and explain everything in details.

#

Conclusion

This week I make something related to electronics first time in my life. I do soldering I do programing, actually that was not programing I only upload and follow the steps in instruction and fortunately everything works. In milling process I liked Fab Modules which is pretty simple and cool program and of course I do like the small machine (Roland) I haven't milled anything this small.

files

gcodes