Make

From Fab Lab Wiki - by NMÍ Kvikan
Revision as of 13:21, 14 August 2014 by LinWan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Make program for circuits programming in the Fab Lab

From [1]

  • install the python-tk package

Make the board

hello.ftdi.44.cad hello.ftdi.44.png 
hello.ftdi.44.traces.png 
hello.ftdi.44.interior.png

Download the c.code and .make file

hello.ftdi.44.echo.c hello.ftdi.44.echo.c.make
Open terminal write
make -f hello.ftdi.44.echo.c.make
sudo make -f hello.ftdi.44.echo.c.make program-usbtiny-fuses
sudo make -f hello.ftdi.44.echo.c.make program-usbtiny
python term.py /dev/ttyUSB0 115200

If you are programming with avrisp, you should write avrisp2 instead of usbtiny.


hello.step

step response [2]

  resistance, capacitance, inductance, position, pressure, proximity, tilt, acceleration, humidity, touchpad, ...
  hello.step.45.cad board traces interior
  hello.step.45.c makefile
  hello.step.45.py
  • Download hello.step.45.c and makefile in certain folder
  • open that folder in the terminal
  • Write
make -f hello.step.45.make
sudo make -f hello.step.45.make

To check the python program

python hello.step.45.py /dev/ttyUSB0

hello.stepper.44.wave

stepper motor [3]

stepper motor
  wave, full, half-, micro-stepping
  unipolar, bipolar
  electro-permanent
  hello.stepper.44.cad board traces interior
  wave makefile full makefile half makefile
  • Download hello.stepper.44.wave.c [4] and makefile [5] in certain folder
  • open the folder in the terminal
  • write
make -f hello.stepper.44.wave.make
sudo make -f hello.stepper.44.wave.make
sudo make -f hello.stepper.44.wave.make program-usbtiny