Comments (4)
I bought a stronger 12V 4A power supply and a new KY-040 rotary encoder (since I thought the first one might be faulty). Now the display shows "Err1" immediately after I press the "move down" button during the calibration.
I found Issue #97 while searching for similar issues and increased the WATCHDOG_TIMEOUT
to 15000
while testing (the motor is still attached to the table), now the motor is moving again and the Arduino won't reboot after I release the buttons but I am still not able to finish the calibration successfully. Here is what happens:
- Display is flashing with dashes, set desk to lowest position
- Pressed "tilde" until message '-rst' shows
- Set desk to highest position (display is showing 0000 the entire time and is not counting up)
- Pressed "tilde" until message '-rst' shows
- Display isn't flashing anymore and displays "0000", nothing happens if I press a button
aenniw commented this on Issue #97:
also could you try to compile with HALF_STEP as some of the KY-040 seems to skip steps...
Could you provide some logs if possible? compile with
__DEBUG__
Where do I have to define HALF_STEP
? I searched for HALF_STEP
inside the entire repository and didn't find it.
How do I get logs after compiling it with __DEBUG__
?
from arduino.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from arduino.
I am still having the same issue. I connected the rotary encoder to a Arduino Mega and created a simple sketch to verify the rotary encoder is working. The rotary encoder does work (see picture below) so I think it is a software issue.
Right after that I found the HALF_STEP
constant inside Rotary.h
and changed it from this:
// Enable this to emit codes twice per step.
// #define HALF_STEP
to this:
// Enable this to emit codes twice per step.
#define HALF_STEP
But even with watchdog disabled the movement stops instantly and the display shows Err 1. If I deactivate HALF_STEP
again (watchdog is also disabled) I can move the table but I won't be able to complete the calibration process (like described above).
from arduino.
"Remove stale label or comment or this will be closed in 5 days"... 🙄
from arduino.
Related Issues (20)
- Are sensors required? rot vs hall vs sonar benefits? HOT 3
- What case(s) are required HOT 2
- Model sizes to small? HOT 4
- Home Automation integration HOT 1
- Problem installing "lib deps" HOT 1
- Error 3 HOT 1
- Easy way to build for ATmega168? HOT 1
- Female 8 pin socket as gnd/5v slot HOT 3
- Panel Cover V2 - Not semi transparent HOT 2
- CAD Files? HOT 1
- Wrong coupler size and link HOT 5
- Table not moving (H-Bridge version) HOT 7
- Rotary sensor STL missing HOT 4
- Update wiring diagrams for v2 cases, plus other improvements HOT 5
- M3-6mm seems to short for motor-sleeve in case_motor-v2 HOT 2
- Motor start when initiate? HOT 1
- Motor Tech Specs HOT 3
- [REQUEST] Working Firmware.hex for nanoatmega328-bridge or nanoatmega328-ubridge HOT 1
- Motor Hall Magnetic Encoder got Error 3 (wiring) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino.