Coder Social home page Coder Social logo

Comments (12)

cnc4less avatar cnc4less commented on August 29, 2024

The same problem still waiting for an answer

from adafruit_seesaw.

caternuson avatar caternuson commented on August 29, 2024

What seesaw based product is being used?

from adafruit_seesaw.

cnc4less avatar cnc4less commented on August 29, 2024

Adafruit I2C Quad Rotary Encoder Breakout with NeoPixel - STEMMA QT / Qwiic
https://www.adafruit.com/product/5752

from adafruit_seesaw.

tomcostanza avatar tomcostanza commented on August 29, 2024

The same problem still waiting for an answer

Adafruit product number 5752, running on an Arduino Uno R3

from adafruit_seesaw.

cnc4less avatar cnc4less commented on August 29, 2024

Adafruit product number 5752, running on an Arduino esp32-s3 still the same problem.

from adafruit_seesaw.

caternuson avatar caternuson commented on August 29, 2024

Sorry about this, but it looks like the issue is with the current firmware run on the ATtiny based seesaw's. It does not have support for setting encoder position. Only reading. Opened a new issue for that here:
adafruit/Adafruit_seesawPeripheral#20

Options for your current board:

  • Handle the same functionality in user code
  • Reprogram them once updated firmware becomes available (see here for how)
  • Can refund if none of these options will works (for that, please post in forums)

from adafruit_seesaw.

tomcostanza avatar tomcostanza commented on August 29, 2024

Sorry about this, but it looks like the issue is with the current firmware run on the ATtiny based seesaw's. It does not have support for setting encoder position. Only reading. Opened a new issue for that here: adafruit/Adafruit_seesawPeripheral#20

Options for your current board:

  • Handle the same functionality in user code
  • Reprogram them once updated firmware becomes available (see here for how)
  • Can refund if none of these options will works (for that, please post in forums)

  1. Can I assume the same problem exists with Adafruit 4991. I have several of those but have not tried them yet.
  2. Is there an option of returning the boards to you and have you reprogram them instead of a refund?

Thanks,
-Tom

from adafruit_seesaw.

caternuson avatar caternuson commented on August 29, 2024

PID 4991 uses different seesaw firmware (for SAMD), so should be OK. Or, if there is an issue, would be something different.

However, PID 5740 would have this same issue:
https://www.adafruit.com/product/5740

Unfortunately, there is no option to return the items for reprogramming.

from adafruit_seesaw.

wim-number37 avatar wim-number37 commented on August 29, 2024

I can confirm that PID 5740 (Adafruit ANO Rotary Navigation Encoder to I2C QT Adapter) has this issue.

from adafruit_seesaw.

ScottFerg56 avatar ScottFerg56 commented on August 29, 2024

I just encountered this today. I can confirm that the single rotary encoder, 4991, works fine. I decided to expand to the Quad encoder, 5752, and discovered that setEncoderPosition() does not work. A day's work lost, but pressing on with a software workaround, if possible!

from adafruit_seesaw.

JeremyLaurenson avatar JeremyLaurenson commented on August 29, 2024

I am seeing this on "new" boards purchased in Feb 2024...

from adafruit_seesaw.

caternuson avatar caternuson commented on August 29, 2024

Closing this issue since it is resolved in terms of updating repo code. The actual issue lies in a different repo:
adafruit/Adafruit_seesawPeripheral#20
and has been fixed via this pull request:
adafruit/Adafruit_seesawPeripheral#21

There is no actual issue with this repo.

For anyone receiving hardware programmed with older seesaw firmware that does not support the seesaw set encoder position, options are generally as stated above:

  • Handle the same functionality in user code (see example below)
  • Reprogram them once updated firmware becomes available (see here for how)
  • Can refund if none of these options work for you (for that, please post in forums)

Here's some example stub code for what adding functionality in user code would look like:

volatile int32_t encoder_offset = 0;

void setEncoderPosition(int32_t pos) {
  encoder_offset = ss.getEncoderPosition() - pos;
}

int32_t getEncoderPosition() {
  return ss.getEncoderPosition() - encoder_offset;
}

from adafruit_seesaw.

Related Issues (20)

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.