- Requires
make
,avr-gcc
andavr-dude
for generating and flashing hex files - Requires
numpy
andmatplotlib
for generating plots
From project directory ( in the command line ), run:
make
- Make sure that the correct Arduino COM port is selected in the
Makefile
From project directory ( in the command line ), run:
make flash
Once the program has been flashed and running, select the correct COM port for the USB-TTL and run
python src/test.py > src/data
Hit Ctrl-C
to stop execution once you think you have enough data and then run
python src/plot.py