Code Monkey home page Code Monkey logo

Comments (5)

Ano10 avatar Ano10 commented on May 22, 2024 1

That's weird !
With deej, we're not making a voltmeter, we don't need reference voltage to calculate precise voltage.
We only mesure variation of whatever voltage and no need for this voltage to be accurate.
So I uploaded original project code and rewired my hardware... and it works flowlessly ! 😮
I maybe had bad connection or damage wire... 😠
Thanks @omriharel for helping me and your quick answers, sorry 🙏 to have waste your time.

from deej.

omriharel avatar omriharel commented on May 22, 2024

Hi @Ano10, thanks for writing (and thanks for the kind words).

The initial issue that you've reported usually happens to users who have incorrectly wired their sliders (most commonly due to wrong assumptions about their slider's pin layout). I'm not completely clear on what the solution you found is, and whether it works completely (or just accidentally circumvents some of the problems you've been having).

Due to the nature of these hardware-related circumstances (whether it's faulty hardware or bad wiring), troubleshooting them in a GitHub issue could be quite tricky. I'd like to take this opportunity and invite you to join our community Discord server. It's full of people who are always happy to help with debugging and solving hardware issues like this one - please feel free to reach out!

from deej.

Ano10 avatar Ano10 commented on May 22, 2024

In fact I haven't received my sliders yet, so I'm using a potentiometer.
One outer pin goes to GND, other outer goes to 3.3v and middle pin to analogic input A0.
Arduino can't produce good 5V when connected to USB, but 3.3V may be correct on good quality board.
Arduino is not very accurate at reading voltage, specialy if not using outside reference. Measure can be correct on good quality board with rock solid 3.3V. Mine is not ... 😊
Some interesting intel http://www.skillbank.co.uk/arduino/measure.htm

from deej.

omriharel avatar omriharel commented on May 22, 2024

Thanks for the info. Sliders and regular potentiometers are electrically identical, so I use the two interchangeably :)

We've never seen this kind of issue even on cheap clone boards. Potentiometers that were wired correctly would always produce the full 5 volts, perhaps the board you're using is the problem. You should be able to wire your pots to 5v, run the original Arduino sketch and not worry about voltage read accuracy too much (deej has an adjustable built-in noise reduction system to help with the inevitable noise originating in hardware).

from deej.

omriharel avatar omriharel commented on May 22, 2024

Hey @Ano10, no worries at all! Glad you ended up figuring it out and solving the kinks. I hope you enjoy deej, and let me know if you run into any problems in the future!

from deej.

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.