Quantcast
Channel: Reprap Forum - Repetier
Viewing all articles
Browse latest Browse all 1321

FW: I2C backlight, Z-probe, SD (1 reply)

$
0
0
Hey!

I recently switched over from Marlin, and the firmware looks pretty solid so far. Had some problems with the mm/sec calculations on my kossel, my extruder kept skipping steps for no apparent reason; it's doing its work faster now without skipping.

Anway. My Mini Kossel uses a Ramps 1.4 and I got three minor issues.

I got a LCD2004 connected via a SainSmart I2C shield (http://www.sainsmart.com/sainsmart-iic-i2c-twi-serial-2004-20x4-lcd-module-shield-for-arduino-uno-mega-r3.html). Using the following settings, the LCD itself works perfectly fine:

#define UI_DISPLAY_RS_PIN _BV(0)
#define UI_DISPLAY_RW_PIN _BV(1)
#define UI_DISPLAY_ENABLE_PIN _BV(2)
//#define UI_DISPLAY_D0_PIN _BV(3)
//#define UI_DISPLAY_D1_PIN _BV(3)
//#define UI_DISPLAY_D2_PIN _BV(3)
//#define UI_DISPLAY_D3_PIN _BV(3)
#define UI_DISPLAY_D4_PIN _BV(4)
#define UI_DISPLAY_D5_PIN _BV(5)
#define UI_DISPLAY_D6_PIN _BV(6)
#define UI_DISPLAY_D7_PIN _BV(7)

Now, the issue is the backlight - it just won't come on. And I'm 99% certain that all it needs is a pulse on pin 3 (the only one not defined) to turn it on. That's the backlight pin I configured in Marlin and over there, the backlight works perfectly, so I'm anticipating a firmware issue. Any tries with the start mask stopped the LCD or the printer from working. I even tried switching to the LiquidCrystal lib Marlin uses (and should work), but it won't come on at all over there.
Any ideas?

==

Next, the Z-Probe. Since I'm using a kossel, I would very much prefer a more detailled probing just like with Johanns Marlin fork, but for now the 3 point probing should do fine.
Issue is, the z-Probe doesn't work as expected. I have it connected to z_min, so that is what I put in the online configurator.
This way, it does absolutely nothing.
If I enable the z_min as an actual endstop in the configurator (which sets all the pins etc.), the G31 now correctly works perfectly - BUT - since it's now acting as a real endstop, the printer completely disables the Z-tower (because the now-configured endstop triggers that too).
So I either have the probe not working at all, or "too well". Huh?

==

Lastly, the SD card. All I did was enable it in the Configurator. It simply doesn't work. Again, it worked perfectly fine on Marlin. Any known issues there?


Thanks so much!
cheers

Viewing all articles
Browse latest Browse all 1321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>