Category Archives: Electronic

Test GUI for Grbl without Arduino using the Simulator and virtual com port under GNU Linux.

My Arduino is not accabale right now but I wanted to look at a new GUI or gcode sender program for Grbl called SourceRabbit GCode Sender. I already had the simulator compiled and ready to go and the next step was just to find a way to connect both together. I found that the program socat can do just this:

socat -d -d pty,raw,echo=0,link=/tmp/ttyV0 pty,raw,echo=0,link=/tmp/ttyV1

This creates two virtual serial ports with the names /tmp/ttyV0 and /tmp/ttyV1 and connect both together. Now I just need to direct the output and input of Grbl to one of the virtual serial ports:

./grbl_sim -n > /tmp/ttyV0 < /tmp/ttyV0

To test if this works I can use a command line terminal program like miniterm and connect to the other virtual serial port

miniterm.py /tmp/ttyV1

Now that everything is working I can finally test the new SourceRabbit GCode Sender program.

Grbl 0.9g settings for my Shapeoko

shapeoko

>>> $$
$0=10 (step pulse, usec)
$1=25 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=2 (dir port invert mask:00000010)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.050 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$14=1 (auto start, bool)
$20=1 (soft limits, bool)
$21=0 (hard limits, bool)
$22=1 (homing cycle, bool)
$23=1 (homing dir invert mask:00000001)
$24=25.000 (homing feed, mm/min)
$25=250.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=3.000 (homing pull-off, mm)
$100=87.489 (x, step/mm)
$101=87.489 (y, step/mm)
$102=640.000 (z, step/mm)
$110=4000.000 (x max rate, mm/min)
$111=4000.000 (y max rate, mm/min)
$112=650.000 (z max rate, mm/min)
$120=15.000 (x accel, mm/sec^2)
$121=15.000 (y accel, mm/sec^2)
$122=15.000 (z accel, mm/sec^2)
$130=204.000 (x max travel, mm)
$131=204.000 (y max travel, mm)
$132=54.000 (z max travel, mm)
ok

Selecting a video projector

One of my coworkers had ask me about my thought regarding video projector, here is what I came up with:

Getting a projector is only half or 1/3 the cost of your home cinema system. Don’t forget the surround sound system, this will cost a lot too. You may be able to save money by projecting against a white wall. I did this in 2001 and it looked very good (I suggest to create a black boarder around the picture, this gives a good contrast!). However a real screen is good to have too, I use a manual screen in my bed room and I have a automatic screen in my living room. If you get a high end programmable remote you can configure it the turn the projector on, put the screen down, turn the DVD on and turn the surround sound system on and set it to DVD – all with the press of just one button (same goes for turning things off). You will need some cable too, check http://www.monoprice.com/ for a cheaper options. Depending on your setup cable can be expensive too.

Good page to get an idea what projectors are available:
http://www.projectorcentral.com/

My first projector 800×600 (4×3) $2500 10 years ago, ;-), + cheap ~$50 / 5.1 surround sound system and manual ceiling mount screen (~$150): http://www.projectorcentral.com/Philips-cSmart.htm
Pro long lamp life, optical zoom
Con no optical lens shift (only digital), 1000 ANSI lumen

My second projector 1280×720 (16×9) $1000, + mid price ~$600 / 7.1 surround sound system and automatic ceiling mount screen (~$600): http://www.projectorcentral.com/Panasonic-PT-AX200U.htm
Pro optical zoom and lens shift, 2000 ANSI lumen
Con short lamp life
I got the AX200U from http://www.visualapex.com/ and I would buy from them again.

Right now I would look for features in this order:
optical zoom (gives freedom of installation on Y axis, the distance from the projector to the screen)
optical lens shift (gives freedom of installation on Z axis and X axis (ceiling mount or on table and corrects if not exactly center))
3D support
low price
long lamp life