Make

From Fab Lab Wiki - by NMÍ Kvikan
Revision as of 17:28, 13 April 2011 by Frosti (talk | contribs)
Jump to navigation Jump to 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