Skip to content

4. Electronics production

nueval

  • nueval
    • Login with fablabs.io
    • Student’s checklist -> Send Message to Instructor(in English) -> Local evaluation
    • Progress -> Completed (Assignment done)
    • (Local eval) Completed x 2 -> Request to Global Evaluation
    • Global Evaluator will be assigned -> Global Evaluation starts
    • (Global eval) Completed all + Final Presentation -> Graduate!

Preparation for next week

3D Scanning and Printing
group assignment:
- test the design rules for your 3D printer(s)

individual assignment:
- design and 3D print an object (small, few cm3, limited by printer time)
that could not be made subtractively
- 3D scan an object (and optionally print it)

FAQ Define cannot be easily made subtractively

Answer: Your model has undercuts), overhangs, nested parts, meshes etc.

Ref. assesment

Preparation

  • idea or model for 3D printing
  • idea or find object for 3D scan

Group Assignment

characterize the design rules for your in-house PCB production process
extra credit: send a PCB out to a board house

Group assignment:

Assessment

Characterize the design rules for your in-house PCB production process:
document feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.

Note

In Mods’ path to G-code module, cut speed (mm/s) is used to calculate F(Feed rate) in G-code.

Example:
Mods path to G-code module
- cut speed 1(mm/s)
G-code .nc
- F60.0000(mm/min)

  • characterize the design rules

    • Material
      • FR1
      • Size: 100 x150 x1.6mm
      • Cu layer: 35um = 0.035mm
    • endmill
      • shank diameter
        • 1/8” = 3.17 mm
      • traces
        • 1/64” = 0.396748 mm
          • 2FL
        • V-bit 0.2mm 30deg (alternative)
      • outline
        • 1/32” = 0.79375 mm
          • 2FL
        • 0.7 mm (alternative)
  • CAM and Machine

CAM Gcode sender Machine PC
Fabmodules (included) Roland MODELA MDX-15 Linux in lab
Mods (included) Roland MODELA MDX-15 Linux in lab
Mods gSender Sainsmart Genmitsu PROVerXL Your PC
  • http://fabmodules.org/ -> 404
  • Mods

ToDo

Individual Assignment

make an in-circuit programmer that includes a microcontroller:
extra credit: customize the design
mill and stuff the PCB
test it to verify that it works
extra credit: try other PCB processes

MCU

Family MCU Interface in-circuit programmer
(Assignment)
original AVR ATtiny44
ATmega328P
ISP Fab ISP
AVR AVR-1
3216
UPDI USB-Serial board & Serial-UPDI board
ARM SAMD11C JTAG/SWD FreeDAP board
Xtensa ESP8266
ESP32
Serial USB-Serial board

Attention

FA2022 Trend
SAMD11C -> USB-Serial board
To Programm SAMD11C, need another DAP programmer board
(Not FTDI chip)

AVR-1

in-circuit programmer Adapter board Target Board

USB-FT230XS-UPDI

hello.t3216

USB-FT230XS-serial

serial-UPDI

hello.D11C.serial.5V.1.1

serial-UPDI.3

ARM

in-circuit programmer Adapter board Target Board

hello.CMSIS-DAP.10.D11C

hello.CMSIS-DAP.4.D11C

hello.SWD.10-4

hello.SWD.10-4.1

hello.D11C.echo.1

Xtensa

in-circuit programmer Adapter board Target Board

USB-FT230XS-serial

hello.D11C.serial.5V.1.1

hello.ESP32-WROOM

Commercial

DAP

ICE DAP board

Atmel-ICE

MAX32625PICO

Raspberry Pi & Seeeduino Xiao

Ref. FA2022 Embedded Programming Environment

Raspberry Pi4 Seeduino Xiao

USB-Serial

Digikey SwitchScience Akizuki

TTL-232R-5V

FTDI USE serial Rev.2

FT234X module

Note

Mkdocs tips

Open Link target in new page
[text](path/to/link){:target="_blank"}

Image Size (width)
![](path/to/image.jpg){width=300}

Click image to other link
[![](path/to/image.jpg)](path/to/link)

Todo

  • Mill in-circuit programmer and Adapter board for AVR-1
in-circuit programmer
(This week)
Adapter board
(This week)
Target Board
(week06/Pre-session)

hello.D11C.serial.5V.1.1

serial-UPDI.3

hello.t3216
  • Solder components

  • Set up programming environment

    • Raspberry Pi4
      • Install Ubuntu
      • Wifi Setting (lab’s and your_house’s)
      • SSH
        • no displey
        • no keyboard and mouse
      • install edbg
    • Seeeduino Xiao
      • Arduino IDE
        • Board manager
        • DAPLink sketch
  • Burn Bootloader

    • your PC —(WiFi, SSH)—> Pi4—(USB)—> Xiao—(jumper wiers)—> hello.D11C.serial.5V.1.1_board
  • Program 3216 board

    • your PC —(USB)—> D11C.serial—>UPDI_Adapter—>3216_board
    • Arduino IDE
      • Board manager
      • Example Sketch (Blink)

Last update: February 21, 2022