RAyWB

About

Username
RAyWB
Joined
Visits
2,124
Last Active
Roles
Member

Comments

  • OK, hope i´ll get it done correct ,I´m newbie to GITHUB. As I´m actually working on a "Finger Safe"   M6 implementation and dont want to use one more pin for acknowledge that tool change is done, what means that fingers are away from spindle.. M6 …
  • ok, thanks got it running now.just have to clean up now. I´m not really shure how the laser driver works, so may be youll find the time to explain the flow. when i finished i´ll send a pull request, i also implemented Z-Probe to quick menu just ta…
  • got stuck now , tried something in command loop, looks not too bad, but is there a possibility to stop actions in buffer? when i use this , it seems program doesn´t reach the code from my 1st proposal. can you please tell me about the order commands…
  • what do you think of checking the pin in command loop and set blocking mode there? #ifdef DEBUG_PRINT         debugWaitLoop = 1; #endif // if feature active check pin and set blocking mode here maybe also disable laser driver here         if(!Pri…
  • what´s your hardware/firmware setup? need more information to help
  • i think it is not possible to measure extruder temperature with handheld ir thermometer. Measuring area depends on distance , also eta-factor is strongly dependent on surface structure and material . metal surfaces are quite critical because dependi…
  •  What do you think about this : just doesn´t execute G-Code when Feature is selected , works fine for me : in Repetier.h (i put it to line 249) #if FEATURE_SAFETY_DOOR && SAFETY_PIN < 0 #error You need to define SAFETY_PIN to use …
  • changed the code , major problem was missing start bit for reading i2c chips.(that´s why beeper worked on PCF8574, 1 Byte writing was possible) some errors in other i2c routines , removed for example writes to read-only registers. modified i2cwrite …
  • works fine ! Thank you
  • after learning to understand how the I2C implementation should work , found the problems in HAL routines now . there are a few changes necessary , to meet the specs in ATMEL Datasheet. The I2C EEprom works because of different/additional use of the…
  • for test i went back to mega2560 and got running PCF8574 beeper and buttons also communication to MCP23017 via HAL routines . On Due no way via HAL , just EEProm and Beeper onPCF8574
  • ok as i wrote before pcf8574 works for beeper , if i want to use it for i2c buttons firmware hangs. (beeper address is same as key address) if i replace the  HAL code in uiCheckSlowKeys by Wire code as follows beeperworks with HAL,Buttons with Wire…
  • PCF8574 is specified from 2.5V to 6V ,Baudrate 100 K i know about the special level shifters , i use them in another application driving a Display on a 10m long wire through noisy environment (here i had to shift up to 12V and back to  5 after the w…
  • update: got pcf8574 running for beeper now ,  so hal seems to work but one question: firmware  hangs when i use #define UI_HAS_I2C_KEYS. so if i have non i2c buttons and i2c buttons ,  doesn´t that work? i´ll continue searching the next days , nee…
  • ok, i´ll try, but why doesn´t work pcf8574 on due? i use same uiconfiguration on mega and due only difference i found : eeprom uses void HAL::i2cStartAddr(unsigned char address_and_direction, unsigned int pos) other i2c stuff uses : void HAL::i…
  • did some more testing now with just i2c beeper on mega2560 : MCP23017 doesn´t work , found a mismatch in ui.cpp line 72 :   HAL::i2cWrite( 0x14); changed to   HAL::i2cWrite( 0x12);  beeper works now once, but it takes a few seconds without any …
  • ok, thank you. as my coding knowledge is limited i´ll continue the due project with the wire library but I´ll try the code on a mega2560 and inform you the result
  • sorry, no change. even if i write 0x40 it doesn´t work. i have due board + st7920 spi display+ encoder via direct(non i2c) pins. even if i just try to add i2c beeper without i2c buttons and without i2c encoder it doesn´t work. just pulled new files …
  • sorry, i forgot to copy some lines in not working code, now it´s complete #define COMPILE_I2C_DRIVER HAL::i2cInit(100000); HAL::i2cStart(MCP_IN_ADDRESS
  • tried harder , but no success with the HAL version... if i use arduino wire library it works, may be there is a trap i couldn´t see can you tell me what´s wrong? // CODE: #include //for arduino lib #define MCP_IN_ADDRESS 0x20 #define MCP_OUT_ADD…
  • OK, i tried to use the existing code as it is but could not succeed i used MCP23017 but it seems there is some mismatch when using NON-I2C Display.  there seem to be multiple I2C Routines (found some in HAL  , some in U8Glib) so i´m pretty confused…
  • Did you check the current setting ?  you get this issue with too low current or otherwise with overheated motor (overheated by too high current). if current setting is correct , try to swap the stepper driver from x to y vice versa , if the issue m…
  • Thank you for the quick response, what i´m thinking about is implementing user specific hardware , the idea came up as you  implemented the analog input to read buttons. That´s what i described in my post "manual positioning/jogwheel". I added now s…
  • seems you have one of the ramps i have where the jumpers don´t work...its a very cheap one. can you measure the voltage on jumper pins without jumper mounted ? one side should be 5V, the other 0V .on my ramps there are both pins on 5v so it doesn´…
  • If everything is ok you´ll find the z-probe in quick menu , should be menu point after homing
  • If you want to add a function , there are several files affected. assign function to a  number in ui.h : #define UI_ACTION_Z_PROBE                139  //number is from my assignment generate function in ui.cpp :  case UI_ACTION_Z_PROBE:         …
  • just a question to your probe setup.. do jou have an optocoupler installed on your probe pin? just for the case your heating nozzle will break and the +12V or 24V have contact to extruders nozzle you will toast your controller.... unfortunately I´m…
  • Sorry, not at the moment. I´m working on this but i´m low on spare time
  • Hi, as the level after mounting the glass panel is 4mm higher as the level you probed before you have  to set  Z_PROBE_Z_OFFSET 0  and Z_PROBE_HEIGHT to - 4mm.(the probed level is lower than the glass surface which should be 0 ). I tested it on my…
  • Seems to be my mistake. As i work without shield  i used PWM PINS after a look at the TOGGLE function i changed to normal digital I/O Pin . Now it works as it should. RAyWB