Make: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
To check the python program | To check the python program | ||
python hello.step.45.py /dev/ttyUSB0 | python hello.step.45.py /dev/ttyUSB0 | ||
==hello.stepper.44.wave== | |||
stepper motor [http://academy.cba.mit.edu/classes/output_devices/] | |||
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 [http://academy.cba.mit.edu/classes/output_devices/stepper/hello.stepper.44.wave.c] and makefile [http://academy.cba.mit.edu/classes/output_devices/stepper/hello.stepper.44.wave.make] 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 |
Revision as of 14:59, 18 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
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