Coder Social home page Coder Social logo

hx711_endstop's Introduction

HX711_endstop

It's a sketch for Z-probe which is based on a weight sensor and HX711 module for my Rostock 3d-printer.

This module allows auto bed leveling for any 3d-printer with any firmware.

How to use:

You'll need some stuff to assemble the sensor:

  • Weight sensor like this sensor
  • HX711 ADC module
  • Any arduino module (I use nano at the moment)
  • Any optocoupler (I use 4n35)
  • 1kOm resistor
  • Some wires, solder iron, etc

First of all you need to speed up you HX711 module. By default it works on 10Hz, we need to change its speed to 80Hz. To make this you need to connect pin RATE to VCC HX711 diagram

There are two types of modules: the one with unsoldered pad that allows high speed mode, and the other one without it.

In first case just solder the pad HX711 1

In your module without this pad just unsolder pin 15 from board and connect it to VCC HX711 2

Ok, now it is time to connect the sensor to module.

Simply solder wires from sensor to module in this order:

  • Red -> E+
  • Black -> E-
  • White -> A-
  • Green -> A+

Now connect HX711 to Arduino:

  • VCC -> Arduino +5V
  • DT -> A2
  • CLK -> A3
  • GND -> Arduino GND

Enable DEBUG in sketch. Upload the sketch to Arduino and check that the weight sensor works fine over Serial monitor.

Next connect Arduino to printer board over optocoupler like it's shown on the scheme:

scheme

P2 is a pin from Arduino, P1 is a Z_MIN's signal pin from printers board.

Check that the sensor triggers from slightly touching the printing bed. If not, decrease the value of trigger variable.

If everything works fine, use G29 to autolevel.

hx711_endstop's People

Contributors

alpha6 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hx711_endstop's Issues

include Marlin

Hello,

can you help me this code in Marlin include as Probe Pin and read and write to i2c with hx711?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.