8. Embedded programming¶
from last week¶
Note
Hamamatsu CNC is using the 1 flute straight bit (Tool_dia: 6mm, Shank_dia: 12mm) by default.
Learn about Up cut and Down cut endmill from the Tip CNC tool
Sunshine Protection Act in US¶
- 2023 Autum -> never change the time
- FA2024 22:00-1:00
Preparation for next week¶
Molding and Casting
group assignment:
review the safety data sheets for each of your molding and casting materials,
then make and compare test casts with each of them
individual assignment:
design a mold around the stock and tooling that you’ll be using,
mill it (rough cut + (at least) three-axis finish cut),
and use it to cast parts
Assessment¶
FAQ
What does 3-axis milling mean?
Answer: You should have smooth tilted or curved surfaces instead of
“steps” towards axis Z.
some flat surfaces and depth -> X
Material ans Machine¶
- Machinable wax
- size: 152mm x 92mm x 39mm (real size is smaller)
- Machines
- Genmitsu PROVerXL
- work area: 400mm × 300mm × 110mm
- MDX-15
- work area: 152.4mm × 101.6mm × 60.5mm
- Genmitsu PROVerXL
- Endmill
- 0.1250” DIA 4FL SE LONG AlTiN 1/8
- Tool_dia: 1/8” =3.175mm
- OverAll Length: 2-1/4”(2.25”) =57.15mm
- Rough cut
- 0.0625” DIA 2FL SE AlTiN 1/16
- Tool_dia: 1/16” =1.5875mm
- OverAll Length: 1-1/2”(1.5”) =38.1mm
- Finish cut
- 0.1250” DIA 4FL SE LONG AlTiN 1/8
- Design to think…
- XY size: real wax size
- Final Part size < wax size - wax_wallx2 - mold_wallx2
- distance between bumps凸 & dents凹: tool size > 1.58mm(1/16”) > 0.79mm(1/32”)
- Z depth: 1.5 in mill > 38.1 - 10mm?_in_collet
- Registration Key, Registration post
- XY size: real wax size
- Process
- 3D modeling
- Fusion360
- Tool Path
- Genmitsu PROVerXL
- mods?/FusionCAM?
- gSender?/jscut?
- MDX-15
- Modela Player4 (Windows)
- Virtual Modela (Windows)
- Genmitsu PROVerXL
- 3D modeling
- Casting materials
- Silicone rubber (mold)
- Mold Star 31T
- Urethanes resin (final part)
- Smooth-Cast 320
- color: Off white
- So-strong
- Color Tints for Urethane
- Smooth-Cast 320
- Ref. last year
- Low melting point alloy (final part)
- 138 C
- Tin (final part)
- 231.9 C
- Silicone rubber (mold)
Preparation¶
- 3D modeling
- sample
- design final part (positive)
- design molds to make final part (negative)
- design wax to make molds (positive)
- Add pouring and vent ways
- make (next week)
- mill wax for 2-3 hours
- pour liquid silicone rubber into wax to cast molds (negative)
- pour liquid resin into molds to cast final part (positive)
Group Assignment¶
compare the performance and development workflows for other architectures
Todo¶
- Seeduino Xiao
- ARM
- Atmel SAMD21
- ARM
- Seeduino Xiao RP2040
- ARM
- RP2040
- ARM
- Raspberry Pi 4/3
- ARM
- Broadcom BCM2711/BCM2837
- ARM
- Microbit v1
- ARM
- Nordic nR51822
- ARM
- Raspberry Pi pico
- ARM
- RP2040
- ARM
- Arduino UNO
- AVR
- ESP32
- Espresoif
Ref. last year
individual assignment:¶
read the data sheet for your microcontroller
use your programmer to program your board to do something
extra credit: try other programming languages and development environments
Attention
resistor[ruh_zi_str] : electrical component that implements electrical resistance
register[reh_juh_str] : a memory location within the actual processor that work at very fast speeds
Note
Easier procedure to burn bootloader into USB-D11C-serial board
USB-D11C-serial (Arduino IDE + Xiao)
ToDo¶
Read/browse one of the data sheets¶
- AVR-1
- SAMD11c
- SAMD11C
- SMART ARM-Based Microcontroller
- SAMD11C
Document what you learn form one/two of the topics
Program your 1614/3216 board from USB-SAMD11C-Serial board via UPDI interface¶
Arduino Sketch¶
- Press Button and LEDs blink
- Echo in Serial monitor
- Flash sound
Arduino with register_bit¶
- Ref. register_bit