
Inventory
Python
pySerial
Tkinter
Numarray
Matplotlib
Sdraw (2D)
Blender (3D)
cad.blend
Eagle schematic/PCB
library
Atmel data sheets
cam.py toolpath generation
cam shell script
Modela milling machine
stty 9600 raw -echo crtscts </dev/ttyS0
move x y
cat out.rml > /dev/ttyS0
CAMM-1 vinyl cutter
cat out.camm > /dev/lp0
Epilog lasercutter
cat out.epi > /dev/lp0
AVRA assembler
include files:
tn15def.inc
tn26def.inc
avra hello.asm
rx.py host serial receive, DTR power
python rx.py
echo.py host serial transmit/receive, DTR power
python echo.py
UISP in-circuit programmer
load code:
uisp -dlpt=/dev/parport0 -dprog=dapa -dvoltage=3 -dt_sck=50 --erase --upload if=hello.hex
read fuse bits:
uisp -dlpt=/dev/parport0 -dprog=dapa -dvoltage=3 -dt_sck=50 --rd_fuses
write fuse bits:
uisp -dlpt=/dev/parport0 -dprog=dapa -dvoltage=3 -dt_sck=50 --wr_fuse_l=0xe4
ATtiny15 SOIC clip:
16 - Init - reset - 1 8 -
- 2 7 - SCK - Strobe - 1
- 3 6 - MISO - Busy - 11
18 - GND - GND - 4 5 - MOSI - D0 - 2
7 5 1 4 6 clip
1 2 3 4 5 6 7 8 9 10 11 12 13 DB25
14 15 16 17 18 19 20 21 22 23 24 25 DB25
ATtiny26 SOIC clip
2 - D0 - MOSI - 1
11 - Busy - MISO - 2
1 - Strobe - SCK - 3
4
5
18 - GND - GND - 6
7
8
9
16 - Init - reset - 10
3 1 10 6 2 clip
1 2 3 4 5 6 7 8 9 10 11 12 13 DB25
14 15 16 17 18 19 20 21 22 23 24 25 DB25
serial header:
4 3 2 1
Gnd DTR Tx Rx DCD
RI CTS RTS DSR
5 4 3 2 1
9 8 7 6
PIN PURPOSE SIGNAL NAME HEADER
Pin 1 Data Carrier Detect DCD
Pin 2 Received Data RxData 1
Pin 3 Transmitted Data TxData 2
Pin 4 Data Terminal Ready DTR 3
Pin 5 Signal Ground Gnd 4
Pin 6 Data Set Ready DSR
Pin 7 Request To Send RTS
Pin 8 Clear To Send CTS
Pin 9 Ring Indicator RI
serial output, programming clip (hello)
schematic
PCB
Gerber
serial output
serial output, programming header (hello0)
serial I/O, programming clip (hello1)
schematic
PCB
Gerber
serial output
serial echo
output: LED (hello2)
schematic
PCB
serial output
blink LED with serial output
input: step-response (hello3)
schematic
PCB
serial output
measure and send step-response curve
receive and plot step-response curve
Efe: button+LED
schematic
PCB
serial output
blink the LED
measure charging
plot charging
A/D: microphone (hello4)
schematic
PCB
serial output
measure and send microphone signal
receive and print microphone signal
D/A: speaker (hello5) [needs external power]
schematic
PCB
serial output
oscillator
display: LCD (hello7)
schematic
PCB
serial output
display hello world
LCD 44780
video: RS170 (hello8)
schematic
PCB
serial output
bit timing test
display hello world
RS170
motion: stepper (hello9)
schematic
PCB
Gerber
wave stepper