Make: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
New page: Make program for circuits programming in the Fab Lab From [http://academy.cba.mit.edu/classes/embedded_programming/index.html] *install the python-tk package Make the board hello.ft...
 
No edit summary
Line 1: Line 1:
Make program for circuits programming in the Fab Lab
Make program for circuits programming in the Fab Lab


Line 22: Line 20:


If you are programming with avrisp, you should write avrisp2 instead of usbtiny.
If you are programming with avrisp, you should write avrisp2 instead of usbtiny.
==hello.step==
step response [http://academy.cba.mit.edu/classes/input_devices/index.html]
  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

Revision as of 17:28, 13 April 2011

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