To install I download tar.gz and run ./

Arduino Makefile

I use Arduino Makefile to compile and flash to arduino

sudo apt-get install arduino-mk

It gives some files I could ignore path to arduino dir since I used system arduino

# ~/config/bashrc/
export ARDUINO_DIR=/usr/share/arduino
export ARDMK_DIR=/usr/share/arduino/

So for your project you have to define

# Makefile
BOARD_TAG    = uno
include $(ARDMK_DIR)/

In vim you can run

make upload
make monitor
# you can exit with Ctrl+C or Ctrl+A + K (and y)
make show_boards

In case you have an error avrdude: can't open config file "/usr/../avrdude.conf": No such file or directory than define in makefile AVRDUDE_CONF = /etc/avrdude.conf

Ignore build files


To exit from serial monitor (screen or minicom, which I could not setup to work from makefile) you can Ctrl + A and than K and than Y

Low cost tx rx

VirtualWire works fine on ATMEGA Follow installation and download zip and extract to sketchbook/libraries in my case is /home/orlovic/Arduino/libraries. Than you can find examples of it: File -> Examples -> VirtualWire -> transmitter Pin 12 is for sending, Pin 11 for receiving.

But since it is not updated I used Manchester

GRBL drive step motor using g codes

To install grbl download and extract and inside Arduino Sketch -> Include library -> Add zip library navigate to grbl folder. This will create ~/Arduino/libraries/grbl Then upload firmware example: Open File -> Examples -> grbl -> grblUpload


To install UGS universal g code sender, go to and download to programs and link to bin

ln -s /home/orlovic/Programs/ugsplatform-linux/bin/ugsplatform ~/Programs/bin/
ugsplatform Set Machine -> Firmware settings -> $20 $21 $22 to 0 Soft hard limits and homing cycle In console


a4988 Driver arduino modul v3 for a4988 drivers

200 steps x 16 resolution = 3200 steps for one round (360 degres) steps per milimeter is 83 400 steps for Z axis, ie 1mm is 45 degres.

CNC foam cutter To prepare image you can use :

  • gimp : clear background and use right click -> Colors -> Levels and move to right input level

Solar food dehydrator

Air quality monitor