week 4

electronics production

Group Assignment Page

Electronics Production

Choice Template & Verify Components

  1. First, I chose Neil's FabISP and downloaded .png files.

  2. Modified png files to illustrator. removed the logo, added my nickname and saved files as svg. (jpg files image trace - expand - exclude the white parts - unite images)

    Because the Bantam doesn't identify the png file, I had to convert png to one of the extensions the machine could identify.

  3. Verified the components of Neil's FabISP.
  4. Wrote down the name and amount of components that are needed to solder. After attaching a double-sided tape to my note, found the components and put them on the note.

Milling

  1. Turned on Bantam tools machine.
  2. Washed a copper board with water and measured the board.

  3. Removed the windows.
  4. Pressed the loading button to place the work surface in front of it.

  5. Set the Bantam tools machine. (put copper board and changeed the end mill to 0.4mm)

  6. Closed the windows

  7. Set the Bantam tools program options about tool, material and size. When change tool setting, the machine verified tool location. (measure the height of the milling tool.)

  8. Open files and set files options. (placement, scale, parts to mill, engraving depth, milling tools)

  9. Started program.

  10. When the engraving process ended, Removed the windows.
  11. Pressed the loading button to place the work surface in front of it.
  12. Cleaned the dust on the work surface with vacuum cleaner.

  13. Change the end mill to 0.8mm. To cut the outline, had to replace it with an end mill for cutting purposes. FYI, It doesn't need detailed work to cut, so use a thicker end-mill to speed up the work.

  14. Close the window.
  15. Set the Bantam tools program options about tool. (from 0.4mm to 0.8mm) And Cut line was bigger than I thought. So scaled the interior.svg file to 89%.

  16. Started cutout.

  17. When finished cutout process, cleaned dust and took off copper board.

  18. Made sure it's cut well and turn off machine.
  19. Washed the copper board with water.

Stuffing (Soldering)

  1. Prepared soldering.
  2. Brought components, circuit board(I made), and tin-lead.
  3. Wore protective glasses.
  4. Wet the sponge with water.
  5. Turned on filter machine, Soldering Iron.

  6. Started soldering.
    How to do Soldering

    1) First, Melt lead in one of the places where electronic component is to be.

    2) Melt the lead again with a soldering iron and attach the component to it.

    3) Melt a little bit of lead in the soldering iron and add where the part and the lead are connected.

    4) Melt lead in the soldering iron and place it in the area to be connected.

    5) I followed this process that my instructor taught me. So I was able to make my first solder not bad.

  7. Ended soldering.

  8. I didn't use test equipment in this week, I could have used it to find the problem. Share the method here.

Debugging

When my instructor told me, I noticed that I had a problem. That was engraving is not perfectly complete. So, I dug out copper and then I checked with Multimeter.

Programming

  1. Followed this tutorial process click here
  2. Downloaded the latest version of CrossPack.
  3. Downloaded XCode from the Apple App store.
  4. Opened terminal.
  5. Entered into the firmware file.

  6. Texted 'nano makefile' in terminal. (Success - But there was no need to revise it. Because the basic setting was appropriate. I used AVRISP as programmer and programmed on isp board. Later, I had to change that option to the upper thing when I prgrammed on friends ISP using my ISP as programmer.)

  7. Texted 'make clean' (Fail - I had a problem, Xcode not found. So I ran the Xcode installer.)
  8. Again Texted 'make clean'. (Success)
  9. Texted 'make hex' (Fail - Problem was CrossPack was not configured. I opened CrossPack to complete the installation.)
  10. Again Texted 'make clean' (Fail - Same problem. And opened new window and go ahead same process.)
  11. Again ran this process. (Fail - Another problem happened. Terminal showed the message 'avr-gcc : Bad CPU type in executable'. So, I removed old version CrossPack than my mac and searched Latest version. Searched google 'osx 10.15.3 avr-gcc'. and then I found hombrew-avr. I pasted install code in a macOS new terminal tab.)

  12. Next, Followed the Installing homebrew-avr formulae process.

  13. And Texted 'make fuse' in the first Terminal tab. (Fail - Avrdude not installed. I Texted 'brew install avrdude' in the new terminal tab.)

  14. Texted 'make fuse' again. (Fail - After tried other circuit board, Found out the problem was on my circuit board. My circuit board wasn't completely engraved. So, I dug out copper and then I checked with Multimeter.)

    Changed my circuit board to instructor's circuit board. I tested my toolchain by programming "instructor's circuit board" that I knew was working.

    Repaired my circuit board.

  15. So I had done this process that I did until 'make fuse'. (Success)

  16. Texted 'make program' (Success)

  17. Removed jumper of my circuit board and connected my mac

  18. And then I opened Arduino to test my ISP by programming another board.
  19. Tools - Port - select my circuit board.
  20. Download the ATTinyCore in website that my instructor sent me. (Because I needed to test my ISP board from the Arduino IDE.)
  21. Click 'Installation' in the ATTinyCore github site. and Followed 'Boards Manager Installation' process.
  22. Tools - Board - select ATtiny25/45/85
  23. Tools - Chip - select ATtiny45
  24. Tools - Programmer - select USBtinyISP
  25. Arduino - click upload (Success - It meant my circuit board connected completely with my mac.)
  26. File - Examples - 01.Basics - Blink / Changed 'LED_BUILTIN' to '2' in Arduino. (Finished - I succeed to change the red light in subboard to blue light.)

Etc

I made the sticker with vinyl cutter. I followed week3 process.

(03.09) My ISP baord had a problem in week 6. So I repair my ISP board by more soldering.

Before

After