split-flap icon indicating copy to clipboard operation
split-flap copied to clipboard

EEPROM Offset Not Working

Open jdylanknight opened this issue 5 months ago • 0 comments

Hi y'all!

I am quite new to this and am working through the offset settings for my first unit.

I am not getting consistent results with the test_enable un-commented in Arduino IDE Unit.ino after using EEPROM_Write_Offset.ino to set the offset to 100 initially as is recommended -- it seems to be hitting random letters and not homing at all. It will spin a few full rotations and stop on a letter, then execute the following sequence in the code:

int calLetters[10] = {0, 26, 1, 21, 14, 43, 30, 31, 32, 39};

As I have tested the magnet for correct polarity and the hall sensor functions fine outside of this test, what else may I keep an eye out for?

Additionally, when setting EEPROM, it is recommended to start with the value of 100. I looked all over and am still unsure what unit this is in or how to adjust it should I see a consistent yet incorrect homed letter I can correct for (e.g., "B" instead of the " " as it should be).

Thank you in advance for your patience and any information y'all may provide. I am otherwise rocking and rolling with this project.

jdylanknight avatar Sep 27 '24 22:09 jdylanknight