Sunday, December 06, 2015

3D Printer Auto Bed Leveling Geeetech Prusa i3 Pro X

I used a NPN inductive sensor model LJ12A3-4-Z/BX

It is specified to work on 6v to 36v power but mine worked on 5v off the GT2560 board so it was just perfect.

I wired it like below:

SENSOR               BOARD

GND(BLUE)------------------GND

V+(BROWN)------------------5v

OUT(BLACK)-----------------Zmin


Made the following changes to the Configuration.h file of the firmware, change the Z_MIN_ENDSTOP_INVERTING to true compiled and uploaded the firmware.

const bool Z_MIN_ENDSTOP_INVERTING = true;

Enabled bed auto leveling:

#define ENABLE_AUTO_BED_LEVELING

Set defaults on the leveling grid and sensor position:

    // set the rectangle in which to probe
    #define LEFT_PROBE_BED_POSITION 15
    #define RIGHT_PROBE_BED_POSITION 190
    #define BACK_PROBE_BED_POSITION 165
    #define FRONT_PROBE_BED_POSITION 20

Set the grid points to 3 so it will check 9 points in the bed.

    #define AUTO_BED_LEVELING_GRID_POINTS 3


Set the grid points to check:

      #define ABL_PROBE_PT_1_X 15
      #define ABL_PROBE_PT_1_Y 180
      #define ABL_PROBE_PT_2_X 15
      #define ABL_PROBE_PT_2_Y 20
      #define ABL_PROBE_PT_3_X 170
      #define ABL_PROBE_PT_3_Y 20


Compiled and uploaded the firmware.


The red light will always be turned on but will get brighter once it get nears a metal object.

The default Geeetech firmware can be downloaded from here: http://www.geeetech.com/forum/download/file.php?id=1589

You can buy the sensor here.

UPDATE 10/12/2016

I have replaced my sensor with a capacitive sensor and it works on glass or any surface:


For the one requesting the wiring here's an image of the Geeetech board. Power was taken from an unused fan port.




Saturday, May 09, 2015

How To Setup A Free Proxy Server Using Amazon Services CentOS

Tinyproxy is a small and fast HTTP/HTTPS proxy server daemon.

Open Amazon Web Services (AWS) Account


Register for a free AWS account. You will need a valid credit card to register. The free tier allows you to use their services free (limited) for up to 12months.

Create an EC2 Instance. Here's a great tutorial on how to do it. It includes how to connect to it via SSH.


Install tinyproxy


Connect to your instance via SSH and issue the following command:


yum -y install tinyproxy --enablerepo=epel


Configure tinyproxy


You must allow your IP to connect to the server

sudo vim /etc/tinyproxy/tinyproxy.conf

Allow XXX.XXX.XXX.XXX #Your public IP address

Then we need to make sure it runs even on restart.
sudo chkconfig tinyproxy on
sudo service tinyproxy start






TheFollowerShop - Where to buy Instagram Followers, Instagram Likes

Saturday, May 02, 2015

Microsoft Announced Partnership With the Arduino Community

Microsoft released as open source a Windows Virtual Shields for Arduino technologies and a wireless access application called Windows Remote Arduino.

With Windows Virtual Shields for Arduino, users can tap into the incredible power of their Windows 10 devices through wireless protocols. For example Lumia 530 contains a lot of Arduino Shield capabilities and allows designers/makers to connect all those components seamlessly. Imagine being able to create an Arduino project that includes GPS, Web connectivity/parsing, touch display, speech technologies and more!

With Windows Remote Arduino developers can create a wireless interface to Windows 10 devices as if they were physically attached to an Arduino Shield. Arduino functions can be accessed directly from the Universal Windows Application.

Read more here.